/* ========================================
   COSMIC BLAST - STYLES DU JEU
   ======================================== */

/* Variables */
:root {
    --primary: #00d9ff;
    --secondary: #ff006e;
    --accent: #ffd60a;
    --success: #4dff6b;
    --danger: #ff4b5c;
    --bg-dark: rgba(10, 10, 30, 0.95);
}

/* ========================================
   MODE PLEIN ÉCRAN
   ======================================== */

/* Bouton plein écran flottant */
#fullscreenBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: 4px solid var(--accent);
    border-radius: 50%;
    font-size: 0;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 
        0 0 40px rgba(0, 217, 255, 0.7),
        0 8px 25px rgba(0, 0, 0, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulseFullscreen 2s infinite;
    font-weight: bold;
}

/* Icône plein écran en CSS pur */
#fullscreenBtn::before {
    content: '';
    width: 32px;
    height: 32px;
    border: 4px solid white;
    border-radius: 3px;
    position: relative;
    box-shadow: 
        inset 6px 6px 0 white,
        inset -6px -6px 0 white;
}

/* Texte explicatif au survol */
#fullscreenBtn::after {
    content: 'Plein écran';
    position: absolute;
    right: 80px;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    border: 2px solid var(--primary);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.6);
}

#fullscreenBtn:hover::after {
    opacity: 1;
}

@keyframes pulseFullscreen {
    0%, 100% {
        box-shadow: 0 0 30px rgba(0, 217, 255, 0.6);
    }
    50% {
        box-shadow: 0 0 50px rgba(0, 217, 255, 0.9), 0 0 70px rgba(255, 0, 110, 0.5);
    }
}

#fullscreenBtn:hover {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 0 50px rgba(0, 217, 255, 0.9);
    animation: none;
}

#fullscreenBtn:active {
    transform: scale(0.95);
}

/* Cacher le bouton quand en plein écran */
body.fullscreen-mode #fullscreenBtn {
    display: none;
}

/* Mode plein écran activé */
body.fullscreen-mode {
    overflow: hidden;
}

/* Cacher le header et le bouton retour en plein écran */
body.fullscreen-mode header,
body.fullscreen-mode #backToHomeBtn,
body.fullscreen-mode .stars {
    display: none !important;
}

/* Container du jeu en plein écran */
body.fullscreen-mode #gameFullContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: #000;
    z-index: 9999;
    animation: expandFullscreen 0.4s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes expandFullscreen {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

body.fullscreen-mode #gameContainer {
    max-width: none;
    width: auto;
    height: 90vh;
    max-height: 90vh;
    aspect-ratio: 3/2;
    border-radius: 0;
    border: none;
}

/* Bouton pour quitter le plein écran */
#exitFullscreenBtn {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    background: rgba(255, 75, 92, 0.95);
    border: 3px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 900;
    color: white;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 
        0 0 30px rgba(255, 75, 92, 0.7),
        0 5px 20px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    display: none;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 1px;
}

#exitFullscreenBtn::before {
    content: '?';
    font-size: 20px;
}

body.fullscreen-mode #exitFullscreenBtn {
    display: flex;
    animation: slideInFromTop 0.5s ease-out;
}

@keyframes slideInFromTop {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

#exitFullscreenBtn:hover {
    transform: scale(1.05);
    background: rgba(255, 75, 92, 1);
    box-shadow: 
        0 0 40px rgba(255, 75, 92, 1),
        0 8px 25px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.7);
}

#exitFullscreenBtn:active {
    transform: scale(0.98);
}

/* Responsive mobile */
@media (max-width: 768px) {
    #fullscreenBtn {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }
    
    #fullscreenBtn::after {
        display: none; /* Cache le tooltip sur mobile */
    }
    
    #exitFullscreenBtn {
        padding: 10px 15px;
        font-size: 14px;
        top: 15px;
        right: 15px;
    }
    
    .btn {
        min-width: 240px;
        padding: 16px 40px;
        font-size: 18px;
        margin: 8px;
    }
    
    .btn .icon {
        font-size: 24px;
    }
}

/* Conteneur principal du jeu */
#gameFullContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px);
    padding: 20px;
    margin-top: 80px;
}

#gameContainer {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 600px;
    background: var(--bg-dark);
    border: 3px solid var(--primary);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 
        0 0 30px rgba(0, 217, 255, 0.4),
        inset 0 0 50px rgba(0, 217, 255, 0.1);
}

/* Canvas de jeu */
#gameCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(20, 20, 50, 1) 0%, rgba(5, 5, 15, 1) 100%);
    cursor: crosshair;
    touch-action: none;
}

#gameCanvas.playing {
    pointer-events: all;
    z-index: 5;
}

/* HUD (Interface en jeu) */
#hud {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    pointer-events: none;
    gap: 10px;
    flex-wrap: wrap;
}

#hud > div {
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 10px;
    border: 2px solid var(--primary);
    font-size: 18px;
    font-weight: bold;
    color: white;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.5);
    text-shadow: 0 0 10px var(--primary);
}

#hud span {
    color: var(--accent);
}

/* Écrans (Menu, Game Over, etc.) */
.screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(5, 5, 15, 0.98);
    z-index: 20;
    padding: 40px;
    overflow-y: auto;
}

.screen.active {
    display: flex;
}

/* Titre avec effet néon */
.title {
    font-size: 64px;
    font-weight: 900;
    color: var(--primary);
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 
        0 0 10px var(--primary),
        0 0 20px var(--primary),
        0 0 30px var(--primary),
        0 0 40px var(--primary);
    letter-spacing: 8px;
    animation: glow 2s ease-in-out infinite alternate;
}

.title span {
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.title span:nth-child(1) { animation-delay: 0s; }
.title span:nth-child(2) { animation-delay: 0.1s; }
.title span:nth-child(3) { animation-delay: 0.2s; }
.title span:nth-child(4) { animation-delay: 0.3s; }
.title span:nth-child(5) { animation-delay: 0.4s; }
.title span:nth-child(6) { animation-delay: 0.5s; }
.title span:nth-child(7) { animation-delay: 0.6s; }
.title span:nth-child(8) { animation-delay: 0.7s; }
.title span:nth-child(9) { animation-delay: 0.8s; }
.title span:nth-child(10) { animation-delay: 0.9s; }
.title span:nth-child(11) { animation-delay: 1s; }

@keyframes glow {
    from {
        text-shadow: 
            0 0 10px var(--primary),
            0 0 20px var(--primary),
            0 0 30px var(--primary);
    }
    to {
        text-shadow: 
            0 0 20px var(--primary),
            0 0 30px var(--primary),
            0 0 40px var(--primary),
            0 0 50px var(--primary);
    }
}

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

/* Statistiques */
.stats {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-item {
    text-align: center;
}

.stat-label {
    font-size: 14px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 0 0 10px var(--primary);
}

.stat-value {
    font-size: 36px;
    font-weight: 900;
    color: var(--accent);
    text-shadow: 0 0 15px var(--accent);
}

/* Boutons */
.btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: 3px solid rgba(255, 255, 255, 0.3);
    padding: 18px 50px;
    font-size: 22px;
    font-weight: 900;
    border-radius: 15px;
    cursor: pointer;
    margin: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    box-shadow: 
        0 0 30px rgba(0, 217, 255, 0.6),
        0 8px 20px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    justify-content: center;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 0 50px rgba(0, 217, 255, 1),
        0 15px 35px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn:active {
    transform: translateY(-2px) scale(1.02);
}

/* Icônes dans les boutons */
.btn .icon {
    font-size: 28px;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
    font-family: Arial, sans-serif;
    font-weight: bold;
}

/* Fallback pour les icônes problématiques */
.btn .icon::before {
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

/* Bouton secondaire (Boutique) */
.btn-secondary {
    background: linear-gradient(135deg, #9333ea, #ec4899);
    box-shadow: 
        0 0 30px rgba(147, 51, 234, 0.6),
        0 8px 20px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    box-shadow: 
        0 0 50px rgba(147, 51, 234, 1),
        0 15px 35px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Bouton success (Classement) */
.btn-success {
    background: linear-gradient(135deg, #10b981, #06b6d4);
    box-shadow: 
        0 0 30px rgba(16, 185, 129, 0.6),
        0 8px 20px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-success:hover {
    box-shadow: 
        0 0 50px rgba(16, 185, 129, 1),
        0 15px 35px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Barre de quête */
#questBar {
    width: 100%;
    max-width: 600px;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 15px;
    border: 2px solid var(--accent);
    margin-bottom: 30px;
    box-shadow: 0 0 20px rgba(255, 214, 10, 0.3);
}

#questDescription {
    font-size: 16px;
    color: white;
    margin-bottom: 10px;
    text-align: center;
}

#questProgressBar {
    width: 100%;
    height: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
    border: 1px solid var(--accent);
}

#questProgressFill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--success));
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--accent);
}

#questReward {
    font-size: 14px;
    color: var(--accent);
    text-align: center;
}

/* Notification de vague */
#waveNotification {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: rgba(0, 0, 0, 0.9);
    padding: 30px 60px;
    border-radius: 20px;
    border: 3px solid var(--accent);
    text-align: center;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 0 30px var(--accent);
}

#waveNotification.show {
    animation: waveNotif 2s ease-out forwards;
}

@keyframes waveNotif {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
    80% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
}

#newWaveNumber {
    font-size: 80px;
    font-weight: 900;
    color: var(--accent);
    text-shadow: 0 0 30px var(--accent);
    margin: 10px 0;
}

#waveWarning {
    font-size: 20px;
    color: white;
    text-shadow: 0 0 10px var(--primary);
}

/* Boutique */
.shop-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.shop-money-display {
    font-size: 28px;
    font-weight: bold;
    color: var(--accent);
    background: rgba(0, 0, 0, 0.7);
    padding: 15px 30px;
    border-radius: 50px;
    border: 2px solid var(--accent);
    box-shadow: 0 0 20px rgba(255, 214, 10, 0.5);
}

.shop-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 800px;
    margin-bottom: 30px;
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
}

.shop-item {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid var(--primary);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.shop-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(0, 217, 255, 0.6);
    border-color: var(--accent);
}

.shop-item-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.shop-item-name {
    font-size: 20px;
    font-weight: bold;
    color: white;
    margin-bottom: 10px;
}

.shop-item-description {
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 15px;
}

.shop-item-price {
    font-size: 18px;
    color: var(--accent);
    font-weight: bold;
    margin-bottom: 15px;
}

.shop-item-button {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.shop-item-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.8);
}

.shop-item-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.shop-item.owned {
    border-color: var(--success);
    background: rgba(77, 255, 107, 0.1);
}

.shop-item.owned .shop-item-button {
    background: var(--success);
}

/* Classement */
.leaderboard-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.refresh-indicator {
    font-size: 14px;
    color: var(--primary);
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid var(--primary);
    animation: pulse 2s infinite;
}

.name-info-tooltip {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.8);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid var(--primary);
    max-width: 500px;
    text-align: center;
}

.leaderboard-list {
    width: 100%;
    max-width: 700px;
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 30px;
}

.leaderboard-entry {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid var(--primary);
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.leaderboard-entry:hover {
    transform: translateX(5px);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
}

.leaderboard-entry.current-user {
    border-color: var(--accent);
    background: rgba(255, 214, 10, 0.1);
    box-shadow: 0 0 15px rgba(255, 214, 10, 0.3);
}

.leaderboard-rank {
    font-size: 24px;
    font-weight: bold;
    color: var(--accent);
    width: 60px;
    text-align: center;
}

.leaderboard-rank.top1 { color: #ffd700; }
.leaderboard-rank.top2 { color: #c0c0c0; }
.leaderboard-rank.top3 { color: #cd7f32; }

.leaderboard-avatar {
    font-size: 32px;
    margin: 0 15px;
}

.leaderboard-info {
    flex: 1;
}

.leaderboard-username {
    font-size: 18px;
    font-weight: bold;
    color: white;
}

.leaderboard-score {
    font-size: 24px;
    font-weight: 900;
    color: var(--success);
    text-shadow: 0 0 10px var(--success);
}

/* Animation pulse */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Bouton retour à l'accueil */
#backToHomeBtn {
    position: fixed;
    top: 100px;
    left: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: 2px solid var(--primary);
    padding: 12px 25px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.5);
    transition: all 0.3s ease;
}

#backToHomeBtn:hover {
    transform: translateX(-5px);
    box-shadow: 0 0 25px rgba(0, 217, 255, 0.8);
}

/* Avertissement orientation */
/* Responsive */
@media (max-width: 768px) {
    #gameContainer {
        height: 500px;
    }
    
    .title {
        font-size: 36px;
        letter-spacing: 4px;
    }
    
    .stat-value {
        font-size: 28px;
    }
    
    .btn {
        font-size: 16px;
        padding: 12px 30px;
    }
    
    #hud {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    #hud > div {
        font-size: 14px;
        padding: 8px 15px;
    }
    
    .shop-items {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    #gameContainer {
        height: 400px;
        border-width: 2px;
    }
    
    .title {
        font-size: 28px;
    }
    
    #backToHomeBtn {
        top: 80px;
        left: 10px;
        padding: 8px 15px;
        font-size: 14px;
    }
}

/* ========================================
   BOUTIQUE & CLASSEMENT STYLES
   ======================================== */

.shop-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    width: 100%;
    max-width: 800px;
    margin: 20px 0;
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
}

.shop-item {
    background: rgba(0, 217, 255, 0.1);
    border: 2px solid rgba(0, 217, 255, 0.3);
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.shop-item:hover {
    background: rgba(0, 217, 255, 0.2);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.shop-item.maxed {
    opacity: 0.6;
    cursor: default;
}

.shop-item.owned {
    border-color: #4dff6b;
}

.shop-item.selected {
    background: rgba(77, 255, 107, 0.2);
    border-color: #4dff6b;
}

.item-name {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 8px;
}

.item-level {
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 5px;
}

.item-price {
    font-size: 14px;
    color: #ffd700;
    font-weight: bold;
}

.skin-preview {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0 auto 10px;
    border: 2px solid rgba(255,255,255,0.3);
}

/* Classement */
.leaderboard-list {
    width: 100%;
    max-width: 600px;
    max-height: 450px;
    overflow-y: auto;
    margin: 20px 0;
    padding: 10px;
}

.leaderboard-entry {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 217, 255, 0.1);
    border: 2px solid rgba(0, 217, 255, 0.2);
    border-radius: 12px;
    padding: 12px 15px;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.leaderboard-entry:hover {
    background: rgba(0, 217, 255, 0.15);
}

.leaderboard-entry.current-player {
    background: rgba(77, 255, 107, 0.15);
    border-color: #4dff6b;
}

.leaderboard-entry .rank {
    font-size: 20px;
    font-weight: bold;
    min-width: 45px;
    text-align: center;
    color: var(--primary);
}

.leaderboard-entry .avatar {
    font-size: 28px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.leaderboard-entry .player-info {
    flex: 1;
}

.leaderboard-entry .player-name {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}

.leaderboard-entry .player-level {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

.leaderboard-entry .player-score {
    font-size: 18px;
    font-weight: bold;
    color: #ffd700;
}

.no-scores {
    text-align: center;
    color: rgba(255,255,255,0.5);
    padding: 40px;
    font-size: 16px;
}

/* Notification niveau */
#waveNotification {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

#waveNotification.show {
    opacity: 1;
}

#newWaveNumber {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary);
    margin-bottom: 10px;
}

#waveWarning {
    font-size: 18px;
    color: #ffd700;
}