* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: #1a1a1a;
}

.game-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.menu {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.menu-title {
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 48px;
    margin-bottom: 40px;
}

.start-button {
    background-color: #2ecc71;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 24px;
    padding: 16px 48px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.start-button:hover {
    background-color: #27ae60;
}

.glider-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    gap: 20px;
}

.carousel-arrow {
    background-color: transparent;
    color: #ffffff;
    font-size: 48px;
    border: none;
    cursor: pointer;
    padding: 10px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.carousel-arrow:hover {
    opacity: 1;
}

.carousel-content {
    min-width: 200px;
    text-align: center;
}

.glider-name {
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 8px;
}

.glider-stats {
    color: #bdc3c7;
    font-family: Arial, sans-serif;
    font-size: 16px;
}

.hidden {
    display: none;
}

.distance-display {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 32px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    z-index: 10;
}

.rotate-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1a1a1a;
    z-index: 100;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.rotate-message {
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 24px;
    text-align: center;
    padding: 20px;
}

.rotate-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

@media (orientation: portrait) {
    .rotate-overlay {
        display: flex;
    }

    .game-canvas,
    .menu {
        display: none;
    }
}
