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

body {
    overflow: hidden;
    background: #1a0a2e;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#game-container {
    position: relative;
    width: 100vw;
    height: 100vh;
}

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

#ui-overlay {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 40px;
    pointer-events: none;
    z-index: 10;
}

#score-display, #high-score-display {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 10px 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.score-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffb6d9;
    text-transform: uppercase;
}

#score, #high-score {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 10px rgba(255, 182, 217, 0.5);
}

.screen {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 10, 46, 0.85);
    backdrop-filter: blur(8px);
    z-index: 20;
}

.screen-content {
    text-align: center;
    color: #fff;
    padding: 40px;
}

.screen-content h1 {
    font-size: 56px;
    font-weight: 800;
    background: linear-gradient(135deg, #ff6bcb, #ffb347, #87ceeb, #98fb98);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    text-shadow: none;
}

.screen-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.bunny-icon, .penguin-icon {
    font-size: 80px;
    margin: 20px 0;
    animation: bounce 1s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.controls-info {
    margin: 20px 0 30px;
}

.controls-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

kbd {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    padding: 3px 10px;
    font-family: inherit;
    font-size: 13px;
    color: #fff;
    margin: 0 2px;
}

button {
    background: linear-gradient(135deg, #ff6bcb, #ff8ed4);
    color: #fff;
    border: none;
    padding: 16px 48px;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 8px 30px rgba(255, 107, 203, 0.4);
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 107, 203, 0.6);
}

button:active {
    transform: translateY(0);
}

#final-score-display {
    font-size: 24px;
    font-weight: 700;
    color: #ffb347;
}

@media (max-width: 600px) {
    .screen-content h1 {
        font-size: 36px;
    }
    #score, #high-score {
        font-size: 28px;
    }
    button {
        padding: 12px 36px;
        font-size: 16px;
    }
}
