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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* ==================== MODAL ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
    animation: fadeIn 0.5s ease;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a2e, #2d2d44);
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border: 2px solid #ffd700;
    box-shadow: 0 0 60px rgba(255,215,0,0.15);
}

.modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.modal-header h1 {
    color: #ffd700;
    font-size: 2.2em;
    text-shadow: 0 0 30px rgba(255,215,0,0.3);
}

.modal-header .subtitle {
    color: #aaa;
    font-size: 0.9em;
    letter-spacing: 2px;
}

.modal-body {
    color: #fff;
}

.rules {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
}

.rules h2 {
    color: #ffd700;
    font-size: 1.1em;
    margin-bottom: 10px;
}

.rules-scroll {
    max-height: 200px;
    overflow-y: auto;
    font-size: 0.85em;
    line-height: 1.6;
}

.rules-scroll p {
    margin-bottom: 8px;
}

.rules-scroll ul {
    padding-left: 20px;
    margin-bottom: 8px;
}

.rules-scroll li {
    margin-bottom: 4px;
}

.player-name-input {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.player-name-input label {
    font-size: 0.9em;
    color: #ccc;
}

.player-name-input input {
    padding: 12px 15px;
    border-radius: 10px;
    border: 2px solid rgba(255,215,0,0.3);
    background: rgba(255,255,255,0.05);
    color: #fff;
    font-size: 1em;
    outline: none;
    transition: border-color 0.3s;
}

.player-name-input input:focus {
    border-color: #ffd700;
}

.player-name-input input::placeholder {
    color: #666;
}

/* ==================== JEU ==================== */
.game-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 15px;
    max-width: 1200px;
    width: 100%;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.game-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.game-title h1 {
    color: #ffd700;
    font-size: 1.8em;
    text-shadow: 0 0 20px rgba(255,215,0,0.3);
    text-align: center;
}

/* ===== INFO JOUEURS ===== */
.players-scores {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    background: rgba(0,0,0,0.3);
    padding: 6px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
}

.player-info-card {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8em;
    color: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
}

.player-info-card .player-name-display {
    font-weight: bold;
}

.player-info-card .player-score {
    color: #ffd700;
    font-weight: bold;
    font-size: 0.9em;
}

.player-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.player-status-dot.online {
    background: #2ecc71;
    box-shadow: 0 0 10px rgba(46,204,113,0.5);
    animation: dotPulse 1.5s ease-in-out infinite;
}

.player-status-dot.offline {
    background: #e74c3c;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.player-info-card.computer-info {
    background: rgba(255,107,107,0.1);
    border: 1px solid rgba(255,107,107,0.2);
}

.player-info-card.computer-info .player-score {
    color: #ff6b6b;
}

.turn-indicator {
    font-size: 0.7em;
    color: #ffd700;
    padding: 3px 10px;
    border-radius: 15px;
    background: rgba(255,215,0,0.1);
    border: 1px solid rgba(255,215,0,0.2);
    white-space: nowrap;
}

/* ===== TABLEAU DES SCORES ===== */
.scores-table-container {
    margin: 5px 0 5px 0;
    background: rgba(0,0,0,0.25);
    border-radius: 12px;
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,0.05);
}

.scores-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    color: #ffd700;
    font-weight: bold;
    font-size: 0.85em;
}

.btn-reset-scores {
    background: rgba(231,76,60,0.2);
    border: 1px solid rgba(231,76,60,0.3);
    color: #e74c3c;
    padding: 2px 10px;
    border-radius: 15px;
    font-size: 0.7em;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-reset-scores:hover {
    background: rgba(231,76,60,0.3);
    transform: scale(1.05);
}

.scores-table {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: 130px;
    overflow-y: auto;
}

.scores-table::-webkit-scrollbar {
    width: 4px;
}

.scores-table::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 2px;
}

.scores-table::-webkit-scrollbar-thumb {
    background: #ffd700;
    border-radius: 2px;
}

.scores-row {
    display: grid;
    grid-template-columns: 28px 1fr 45px 45px 45px;
    gap: 4px;
    padding: 3px 6px;
    border-radius: 6px;
    font-size: 0.75em;
    color: #ccc;
    align-items: center;
    transition: all 0.2s;
}

.scores-row.header {
    color: #888;
    font-weight: bold;
    font-size: 0.65em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 4px;
}

.scores-row:not(.header):hover {
    background: rgba(255,255,255,0.05);
}

.scores-row .rank {
    color: #666;
    font-weight: bold;
    text-align: center;
}

.scores-row .rank.gold { color: #ffd700; }
.scores-row .rank.silver { color: #c0c0c0; }
.scores-row .rank.bronze { color: #cd7f32; }

.scores-row .player {
    font-weight: 500;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.scores-row .player.current-player {
    color: #ffd700;
}

.scores-row .wins {
    color: #2ecc71;
    text-align: center;
}

.scores-row .losses {
    color: #e74c3c;
    text-align: center;
}

.scores-row .ratio {
    color: #ffd700;
    text-align: center;
    font-weight: bold;
}

.scores-row .ratio.good { color: #2ecc71; }
.scores-row .ratio.bad { color: #e74c3c; }
.scores-row .ratio.neutral { color: #ffd700; }

/* ===== GAME STATUS ===== */
.game-status {
    text-align: center;
    color: #fff;
    font-size: 0.9em;
    margin: 6px 0;
    padding: 8px 12px;
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    border-left: 3px solid #ffd700;
    min-height: 38px;
}

/* ==================== CONTROLES ==================== */
.controls {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 6px 0 10px 0;
    flex-wrap: wrap;
}

.controls .btn {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-size: 0.8em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 3px 10px rgba(102,126,234,0.3);
}

.controls .btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(102,126,234,0.4);
}

.controls .btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.controls .btn-success {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.controls .btn-danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.controls .btn-warning {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

/* ==================== ZONES JOUEURS ==================== */
.players-area {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.player-area {
    background: rgba(0,0,0,0.25);
    border-radius: 12px;
    padding: 12px;
    border: 2px solid rgba(255,255,255,0.05);
    transition: all 0.3s;
}

.player-area.active {
    border-color: #ffd700;
    box-shadow: 0 0 25px rgba(255,215,0,0.15);
    background: rgba(255,215,0,0.05);
}

.player-area.inactive {
    opacity: 0.5;
}

.player-area.winner {
    border-color: #2ecc71 !important;
    box-shadow: 0 0 60px rgba(46,204,113,0.5), inset 0 0 60px rgba(46,204,113,0.1) !important;
    background: rgba(46,204,113,0.15) !important;
    position: relative;
    overflow: hidden;
    animation: winnerPulse 1.5s ease-in-out infinite;
}

@keyframes winnerPulse {
    0%, 100% { box-shadow: 0 0 60px rgba(46,204,113,0.5), inset 0 0 60px rgba(46,204,113,0.1); }
    50% { box-shadow: 0 0 100px rgba(46,204,113,0.8), inset 0 0 80px rgba(46,204,113,0.2); }
}

.player-area.loser {
    border-color: #e74c3c !important;
    box-shadow: 0 0 60px rgba(231,76,60,0.5), inset 0 0 60px rgba(231,76,60,0.1) !important;
    background: rgba(231,76,60,0.15) !important;
    position: relative;
    overflow: hidden;
}

.player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    color: #fff;
    font-size: 0.9em;
}

.player-name {
    font-weight: bold;
}

.card-count {
    background: rgba(255,215,0,0.15);
    padding: 2px 10px;
    border-radius: 15px;
    border: 1px solid rgba(255,215,0,0.2);
    font-size: 0.85em;
}

/* ==================== CARTES ==================== */
.cards-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.slider-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 12px;
    flex-shrink: 0;
    transition: all 0.3s;
    display: none;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: rgba(255,215,0,0.2);
    border-color: #ffd700;
}

.slider-btn.visible {
    display: flex;
}

.cards-grid {
    display: flex;
    gap: 6px;
    padding: 4px 2px;
    flex: 1;
    min-height: 90px;
    align-items: flex-start;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
}

.cards-grid::-webkit-scrollbar {
    height: 4px;
}

.cards-grid::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 2px;
}

.cards-grid::-webkit-scrollbar-thumb {
    background: #ffd700;
    border-radius: 2px;
}

/* Style PC : grille normale */
@media (min-width: 769px) {
    .cards-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(75px, 1fr));
        gap: 8px;
        overflow-x: visible;
        flex-wrap: wrap;
        min-height: 110px;
    }
    
    .slider-btn {
        display: none !important;
    }
}

/* ==================== CARTES ==================== */
.card {
    width: 65px;
    min-width: 65px;
    aspect-ratio: 5/7;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.card.hidden {
    background: transparent;
    cursor: pointer;
}

.card.hidden .card-back {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.card.hidden::after {
    display: none;
}

.card.hidden:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255,215,0,0.25);
    border-color: #ffd700;
}

.card:not(.hidden):hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.card.selected {
    transform: translateY(-6px);
    box-shadow: 0 0 15px #ffd700;
    border: 2px solid #ffd700;
}

.card.revealed {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255,215,0,0.4);
    border: 2px solid #ff6b00;
    animation: revealCard 0.4s ease;
}

.card.highlight {
    border: 2px solid #2ecc71;
    box-shadow: 0 0 15px rgba(46,204,113,0.4);
    animation: pulse 0.7s ease-in-out infinite;
}

.card.pair-found {
    animation: pairFound 0.5s ease forwards;
}

.card.dealing {
    animation: dealCard 0.4s ease-out;
}

.card.exchanged {
    border: 2px solid #ff6b00;
    box-shadow: 0 0 15px rgba(255,107,0,0.4);
}

@keyframes revealCard {
    0% { transform: rotateY(90deg) scale(0.7); }
    100% { transform: rotateY(0deg) scale(1.05); }
}

@keyframes pairFound {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); background: #ffd700; }
    100% { transform: scale(0); opacity: 0; }
}

@keyframes dealCard {
    0% { transform: scale(0) rotate(180deg); opacity: 0; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* ==================== ANIMATIONS DE PARTIE ==================== */
.deal-animation {
    background: rgba(0,0,0,0.8);
    border-radius: 12px;
    padding: 15px;
    margin: 10px 0;
    text-align: center;
    color: #fff;
    border: 2px solid #ffd700;
}

.deal-message {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.deal-progress {
    width: 100%;
    height: 16px;
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ffd700, #ff6b6b);
    transition: width 0.3s;
    border-radius: 8px;
}

.hidden-card-reveal {
    text-align: center;
    margin-top: 15px;
    padding: 15px;
    background: rgba(255,215,0,0.08);
    border-radius: 10px;
    border: 2px solid #ffd700;
}

.intruder-card {
    display: inline-block;
    padding: 10px 20px;
    background: white;
    border-radius: 8px;
    margin: 8px;
}

.intruder-card img {
    width: 60px;
    height: auto;
    display: block;
}

.done-message {
    color: #2ecc71;
    text-align: center;
    padding: 8px;
    font-weight: bold;
    font-size: 1em;
    animation: pulse 1s ease-in-out infinite;
    background: rgba(46,204,113,0.08);
    border-radius: 8px;
    border: 2px solid #2ecc71;
    flex: 1;
    min-width: 100%;
}

/* ===== FIN DE PARTIE - BADGES ===== */
.winner-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3em;
    font-weight: bold;
    color: #2ecc71;
    text-shadow: 0 0 30px rgba(46,204,113,0.8), 0 0 60px rgba(46,204,113,0.4);
    z-index: 10;
    animation: winnerBadge 1s ease-out forwards;
    background: rgba(0,0,0,0.6);
    padding: 15px 40px;
    border-radius: 20px;
    border: 3px solid #2ecc71;
    box-shadow: 0 0 50px rgba(46,204,113,0.3);
    pointer-events: none;
    letter-spacing: 3px;
}

@keyframes winnerBadge {
    0% { transform: translate(-50%, -50%) scale(0) rotate(-20deg); opacity: 0; }
    60% { transform: translate(-50%, -50%) scale(1.3) rotate(5deg); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1) rotate(0deg); opacity: 1; }
}

.loser-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #e74c3c;
    text-shadow: 0 0 20px rgba(231,76,60,0.6);
    z-index: 10;
    background: rgba(0,0,0,0.6);
    padding: 8px 20px;
    border-radius: 12px;
    border: 2px solid #e74c3c;
    animation: loserBadge 1s ease-out forwards;
    pointer-events: none;
    opacity: 0;
    animation-delay: 0.5s;
}

@keyframes loserBadge {
    0% { transform: scale(0) rotate(10deg); opacity: 0; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.grim-reaper {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4em;
    z-index: 10;
    animation: reaperMove 3s ease-in-out infinite;
    pointer-events: none;
    text-shadow: 0 0 30px rgba(231,76,60,0.8);
    filter: drop-shadow(0 0 20px rgba(231,76,60,0.5));
    opacity: 0.8;
}

@keyframes reaperMove {
    0% { left: -80px; transform: translateY(-50%) scale(1); }
    25% { transform: translateY(-50%) scale(1.2); }
    50% { transform: translateY(-50%) scale(1) rotate(5deg); }
    75% { transform: translateY(-50%) scale(1.1) rotate(-5deg); }
    100% { left: calc(100% + 20px); transform: translateY(-50%) scale(1); }
}

.fireworks-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

.firework-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: fireworkBurst 1.5s ease-out forwards;
    opacity: 0;
}

@keyframes fireworkBurst {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(var(--tx), var(--ty)) scale(0); opacity: 0; }
}

.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    top: -10px;
    animation: confettiFall linear forwards;
}

@keyframes confettiFall {
    0% { transform: translateY(0) rotate(0deg) scale(1); opacity: 1; }
    100% { transform: translateY(110vh) rotate(720deg) scale(0.5); opacity: 0; }
}

.player-area.winner .cards-grid .card,
.player-area.loser .cards-grid .card {
    opacity: 0.3;
    transform: scale(0.8);
    pointer-events: none;
}

/* ===== PIÈCES ===== */
.player-coins {
    color: #ffd700;
    font-weight: bold;
    font-size: 0.85em;
    background: rgba(255,215,0,0.1);
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px solid rgba(255,215,0,0.2);
    transition: all 0.3s;
}

.coins-gain {
    animation: coinsGain 0.5s ease;
    color: #2ecc71 !important;
    border-color: #2ecc71 !important;
}

.coins-loss {
    animation: coinsLoss 0.5s ease;
    color: #e74c3c !important;
    border-color: #e74c3c !important;
}

@keyframes coinsGain {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

@keyframes coinsLoss {
    0% { transform: scale(1); }
    25% { transform: scale(1.1) rotate(-5deg); }
    75% { transform: scale(0.9) rotate(5deg); }
    100% { transform: scale(1); }
}

.btn-coins {
    background: rgba(255,215,0,0.15);
    border: 1px solid rgba(255,215,0,0.2);
    color: #ffd700;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.btn-coins:hover {
    background: rgba(255,215,0,0.25);
    transform: scale(1.1);
}

/* ===== EFFET DE SUSPENSE ===== */
.suspense-animation {
    animation: suspensePulse 0.3s ease-in-out 4;
    border-color: #ff0000 !important;
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.6) !important;
    z-index: 10;
    position: relative;
}

@keyframes suspensePulse {
    0% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.05) rotate(-3deg); }
    50% { transform: scale(1.1) rotate(3deg); }
    75% { transform: scale(1.05) rotate(-2deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.suspense-halo {
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 12px;
    background: rgba(255, 0, 0, 0.15);
    animation: haloPulse 0.5s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes haloPulse {
    0% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.3); opacity: 0.6; }
    100% { transform: scale(1); opacity: 0.2; }
}

.card.suspect {
    border-color: #ff6b00 !important;
    box-shadow: 0 0 30px rgba(255, 107, 0, 0.5) !important;
    animation: suspectPulse 0.5s ease-in-out infinite;
}

@keyframes suspectPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

/* ===== MODAL DE RECHARGE ===== */
#rechargeModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
}

#rechargeModal.show {
    display: flex !important;
}

.recharge-modal .modal-content {
    max-width: 450px;
}

.recharge-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recharge-free {
    background: rgba(46, 204, 113, 0.05);
    border: 2px solid rgba(46, 204, 113, 0.2);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
}

.recharge-free h3 {
    color: #2ecc71;
    margin-bottom: 8px;
}

.recharge-timer {
    font-size: 2em;
    font-weight: bold;
    color: #ffd700;
    font-family: monospace;
    margin: 10px 0;
}

.recharge-info {
    color: #888;
    font-size: 0.85em;
}

.recharge-divider {
    text-align: center;
    color: #555;
    font-weight: bold;
    margin: 5px 0;
}

.recharge-pay h3 {
    color: #ffd700;
    text-align: center;
    margin-bottom: 15px;
}

.payment-offers {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.payment-offer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 12px 15px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s;
    position: relative;
}

.payment-offer:hover {
    border-color: #ffd700;
    background: rgba(255,215,0,0.05);
}

.payment-offer.featured {
    border-color: #ffd700;
    background: rgba(255,215,0,0.05);
}

.offer-badge {
    position: absolute;
    top: -10px;
    right: 10px;
    background: #ffd700;
    color: #000;
    font-size: 0.6em;
    padding: 2px 10px;
    border-radius: 10px;
    font-weight: bold;
}

.offer-price {
    font-weight: bold;
    color: #fff;
    font-size: 1.1em;
}

.offer-coins {
    color: #ffd700;
    font-weight: bold;
}

.btn-pay {
    background: linear-gradient(135deg, #ffd700, #f39c12);
    color: #000;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-pay:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255,215,0,0.3);
}

#rechargeTimerContainer {
    display: block;
}

#rechargeTimerContainer.hidden {
    display: none;
}

/* ===== BOUTONS SPÉCIAUX ===== */

/* BOUTON ENTRER DANS LE JEU */
.btn-enter {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
    width: 100%;
}

.btn-enter:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.4);
}

.btn-enter:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

/* BOUTON AUDIO */
.btn-audio {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
}

.btn-audio:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.1);
}

.btn-audio.muted {
    color: #e74c3c;
    border-color: rgba(231, 76, 60, 0.3);
    background: rgba(231, 76, 60, 0.1);
}

.btn-audio.muted:hover {
    background: rgba(231, 76, 60, 0.2);
}

/* BOUTON FERMER MODAL RECHARGE */
.btn-close-modal {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px 25px;
    margin-top: 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    font-size: 1em;
    transition: all 0.3s;
}

.btn-close-modal:hover,
.btn-close-modal:active {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

/* ==================== RESPONSIVE MOBILE ==================== */
@media (max-width: 768px) {
    body {
        padding: 8px;
    }
    
    .modal-content {
        padding: 20px;
        margin: 10px;
    }
    
    .modal-header h1 {
        font-size: 1.6em;
    }
    
    .game-container {
        padding: 10px;
    }
    
    .game-title h1 {
        font-size: 1.3em;
        text-align: center;
    }
    
    .players-scores {
        padding: 5px 8px;
        gap: 5px;
        flex-wrap: wrap;
    }
    
    .player-info-card {
        font-size: 0.65em;
        padding: 2px 6px;
    }
    
    .player-info-card .player-status-dot {
        width: 5px;
        height: 5px;
    }
    
    .turn-indicator {
        font-size: 0.6em;
        padding: 2px 8px;
    }
    
    .scores-table-container {
        padding: 6px 8px;
        margin: 4px 0;
    }
    
    .scores-header {
        font-size: 0.7em;
        margin-bottom: 4px;
    }
    
    .scores-table {
        max-height: 100px;
    }
    
    .scores-row {
        grid-template-columns: 22px 1fr 30px 30px 35px;
        font-size: 0.6em;
        padding: 2px 4px;
        gap: 2px;
    }
    
    .scores-row.header {
        font-size: 0.55em;
    }
    
    .game-status {
        font-size: 0.75em;
        padding: 6px 10px;
        min-height: 32px;
    }
    
    .controls {
        gap: 4px;
        margin: 5px 0 8px 0;
    }
    
    .controls .btn {
        padding: 5px 10px;
        font-size: 0.65em;
        min-height: 32px;
    }
    
    .card {
        width: 50px;
        min-width: 50px;
    }
    
    .cards-grid {
        min-height: 75px;
        gap: 4px;
        padding: 3px 2px;
    }
    
    .player-header {
        font-size: 0.75em;
    }
    
    .slider-btn {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }
    
    .player-area {
        padding: 8px;
    }
    
    .rules-scroll {
        max-height: 150px;
        font-size: 0.8em;
    }
    
    .player-coins {
        font-size: 0.65em;
        padding: 2px 5px;
    }
    
    .btn-coins {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }
    
    .winner-badge {
        font-size: 1.8em;
        padding: 10px 20px;
    }
    
    .grim-reaper {
        font-size: 2.5em;
    }
    
    .loser-badge {
        font-size: 0.9em;
        padding: 5px 12px;
    }
    
    .payment-offer {
        flex-wrap: wrap;
        gap: 5px;
        justify-content: center;
    }
    
    .offer-badge {
        position: static;
        font-size: 0.5em;
        width: 100%;
        text-align: center;
    }
    
    .recharge-timer {
        font-size: 1.5em;
    }
    
    .btn-audio {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
    
    .btn-close-modal {
        padding: 14px 20px;
        font-size: 1em;
        min-height: 50px;
    }
}

@media (max-width: 400px) {
    .card {
        width: 42px;
        min-width: 42px;
    }
    
    .cards-grid {
        min-height: 65px;
        gap: 3px;
    }
    
    .modal-content {
        padding: 15px;
    }
    
    .scores-row {
        grid-template-columns: 18px 1fr 25px 25px 30px;
        font-size: 0.55em;
        padding: 2px 3px;
    }
    
    .controls .btn {
        padding: 4px 8px;
        font-size: 0.6em;
        min-height: 28px;
    }
    
    .player-info-card {
        font-size: 0.55em;
        padding: 2px 4px;
    }
}

/* ===== MODAL CRYPTO ===== */
.crypto-modal .modal-content {
    max-width: 500px;
}

.crypto-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.crypto-option {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.crypto-option:hover {
    background: rgba(255,215,0,0.05);
    border-color: #ffd700;
}

.crypto-option.selected {
    border-color: #ffd700;
    background: rgba(255,215,0,0.08);
}

.crypto-icon {
    font-size: 2em;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,215,0,0.1);
    border-radius: 50%;
    color: #ffd700;
    flex-shrink: 0;
}

.crypto-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.crypto-name {
    font-weight: bold;
    color: #fff;
    font-size: 1em;
}

.crypto-address {
    color: #aaa;
    font-size: 0.75em;
    font-family: monospace;
    word-break: break-all;
    background: rgba(0,0,0,0.3);
    padding: 4px 8px;
    border-radius: 4px;
}

.btn-copy {
    background: rgba(255,215,0,0.15);
    color: #ffd700;
    border: 1px solid rgba(255,215,0,0.2);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.7em;
    cursor: pointer;
    transition: all 0.3s;
    align-self: flex-start;
    margin-top: 4px;
}

.btn-copy:hover {
    background: rgba(255,215,0,0.25);
}

.btn-copy.copied {
    background: #2ecc71;
    color: #fff;
    border-color: #2ecc71;
}

.crypto-payment-confirm {
    background: rgba(255,215,0,0.05);
    border: 1px solid rgba(255,215,0,0.1);
    border-radius: 10px;
    padding: 15px;
    margin: 15px 0;
}

.crypto-payment-confirm p {
    color: #ccc;
    font-size: 0.85em;
    margin-bottom: 8px;
}

.crypto-payment-confirm ul {
    padding-left: 20px;
    color: #ccc;
    font-size: 0.85em;
    margin-bottom: 10px;
}

.crypto-payment-confirm ul li {
    margin-bottom: 4px;
}

.btn-pay-crypto {
    background: linear-gradient(135deg, #f7931a, #f39c12);
    color: #fff;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-pay-crypto:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(247, 147, 26, 0.3);
}

.crypto-offer {
    border-color: rgba(247, 147, 26, 0.3) !important;
}

.crypto-offer:hover {
    border-color: #f7931a !important;
}

@media (max-width: 768px) {
    .crypto-option {
        flex-wrap: wrap;
        gap: 10px;
        padding: 12px;
    }
    
    .crypto-icon {
        width: 40px;
        height: 40px;
        font-size: 1.5em;
    }
    
    .crypto-address {
        font-size: 0.65em;
    }
    
    .crypto-payment-confirm {
        padding: 12px;
    }
    
    .crypto-payment-confirm p,
    .crypto-payment-confirm ul {
        font-size: 0.8em;
    }
}
/* ==================== MODALS LEGAUX ==================== */

.legal-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
}

.legal-modal.active {
    display: flex !important;
}

.legal-content {
    background: linear-gradient(135deg, #1a1a2e, #2d2d44);
    border-radius: 20px;
    padding: 30px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border: 2px solid #ffd700;
    box-shadow: 0 0 60px rgba(255, 215, 0, 0.15);
    position: relative;
}

.legal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.legal-header h2 {
    color: #ffd700;
    font-size: 1.5em;
    margin: 0;
}

.legal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 1.5em;
    cursor: pointer;
    padding: 0 10px;
    border-radius: 50%;
    transition: all 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.legal-close:hover {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    transform: rotate(90deg);
}

.legal-body {
    color: #ccc;
    font-size: 0.9em;
    line-height: 1.6;
}

.legal-body h3 {
    color: #ffd700;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.legal-body ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.legal-body ul li {
    margin-bottom: 5px;
}

.legal-body a {
    color: #ffd700;
    text-decoration: none;
}

.legal-body a:hover {
    text-decoration: underline;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    font-size: 0.85em;
}

.data-table th {
    background: rgba(255, 215, 0, 0.1);
    color: #ffd700;
    padding: 10px;
    text-align: left;
    border-bottom: 2px solid rgba(255, 215, 0, 0.2);
}

.data-table td {
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.data-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.cookie-settings {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 15px;
    margin: 15px 0;
}

.cookie-settings label {
    display: block;
    padding: 5px 0;
    cursor: pointer;
}

.cookie-settings input[type="checkbox"] {
    margin-right: 10px;
    accent-color: #ffd700;
}

.btn-save-cookies {
    background: linear-gradient(135deg, #ffd700, #f39c12);
    color: #000;
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
    transition: all 0.3s;
}

.btn-save-cookies:hover {
    transform: scale(1.05);
}

.data-actions ul {
    list-style: none;
    padding: 0;
}

.data-actions ul li {
    margin-bottom: 8px;
}

.data-actions ul li a {
    display: block;
    padding: 10px 15px;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s;
    color: #ccc;
    text-decoration: none;
}

.data-actions ul li a:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: #ffd700;
    color: #ffd700;
}

/* ===== FOOTER ===== */
.footer-links {
    text-align: center;
    padding: 20px 0 10px 0;
    color: #666;
    font-size: 0.8em;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 20px;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
    cursor: pointer;
}

.footer-links a:hover {
    color: #ffd700;
}

.footer-separator {
    margin: 0 10px;
    color: #444;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 20px;
        margin: 10px;
    }
    
    .legal-header h2 {
        font-size: 1.2em;
    }
    
    .legal-body {
        font-size: 0.8em;
    }
    
    .data-table {
        font-size: 0.7em;
    }
    
    .data-table th,
    .data-table td {
        padding: 6px 8px;
    }
    
    .footer-links {
        font-size: 0.7em;
        padding: 15px 0;
    }
    
    .footer-separator {
        margin: 0 5px;
    }
}
/* ============================================================
   SÉLECTEUR DE LANGUE
   ============================================================ */

.language-selector {
    position: relative;
    display: inline-block;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.8em;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 4px;
}

.lang-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
}

.lang-btn .lang-arrow {
    font-size: 0.6em;
    margin-left: 2px;
    color: #888;
}

.lang-menu {
    position: absolute;
    top: 110%;
    right: 0;
    background: #2d2d44;
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 10px;
    padding: 5px 0;
    min-width: 160px;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lang-option {
    padding: 8px 15px;
    cursor: pointer;
    transition: all 0.3s;
    color: #ccc;
    font-size: 0.85em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-option:hover {
    background: rgba(255, 215, 0, 0.1);
    color: #ffd700;
}

.lang-option .lang-check {
    color: #2ecc71;
    margin-left: auto;
}

/* Version mobile */
@media (max-width: 768px) {
    .lang-btn {
        font-size: 0.7em;
        padding: 3px 8px;
    }
    
    .lang-menu {
        min-width: 130px;
        right: -10px;
    }
    
    .lang-option {
        padding: 6px 12px;
        font-size: 0.75em;
    }
}
/* ============================================================
   SYSTÈME XP - NIVEAU ET PROGRESSION
   ============================================================ */

.player-exp-info {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.15);
    flex-wrap: wrap;
}

.player-level {
    font-size: 0.75em;
    color: #ffd700;
    font-weight: bold;
    white-space: nowrap;
}

.exp-progress-container {
    position: relative;
    width: 120px;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.exp-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ffd700, #ff6b6b, #ffd700);
    background-size: 200% 100%;
    border-radius: 10px;
    transition: width 0.5s ease;
    animation: expBarShine 2s linear infinite;
}

@keyframes expBarShine {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

.exp-text {
    font-size: 0.65em;
    color: #aaa;
    white-space: nowrap;
    min-width: 35px;
}

.exp-gain {
    font-size: 0.8em;
    font-weight: bold;
    color: #2ecc71;
    opacity: 0;
    transition: all 0.5s ease;
    white-space: nowrap;
}

.exp-gain.show {
    opacity: 1;
    animation: expGainPop 0.8s ease-out forwards;
}

@keyframes expGainPop {
    0% { transform: scale(0.5); opacity: 0; }
    50% { transform: scale(1.4); opacity: 1; color: #ffd700; }
    100% { transform: scale(1); opacity: 1; color: #2ecc71; }
}

/* ===== NIVEAUX SPÉCIAUX ===== */
.level-up-flash {
    animation: levelUpFlash 0.8s ease-out;
}

@keyframes levelUpFlash {
    0% { box-shadow: 0 0 0 rgba(255, 215, 0, 0); }
    50% { box-shadow: 0 0 80px rgba(255, 215, 0, 0.8), inset 0 0 80px rgba(255, 215, 0, 0.2); }
    100% { box-shadow: 0 0 0 rgba(255, 215, 0, 0); }
}

/* ===== NIVEAU LÉGENDAIRE ===== */
.player-level.legendary {
    color: #ff6b6b;
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
    animation: legendaryPulse 1.5s ease-in-out infinite;
}

@keyframes legendaryPulse {
    0%, 100% { transform: scale(1); text-shadow: 0 0 20px rgba(255, 215, 0, 0.3); }
    50% { transform: scale(1.05); text-shadow: 0 0 40px rgba(255, 215, 0, 0.8), 0 0 80px rgba(255, 215, 0, 0.4); }
}

/* ===== RESPONSIVE XP ===== */
@media (max-width: 768px) {
    .player-exp-info {
        padding: 3px 8px;
        gap: 6px;
        width: 100%;
        justify-content: center;
    }
    
    .player-level {
        font-size: 0.6em;
    }
    
    .exp-progress-container {
        width: 80px;
        height: 6px;
    }
    
    .exp-text {
        font-size: 0.55em;
        min-width: 30px;
    }
    
    .exp-gain {
        font-size: 0.7em;
    }
}

@media (max-width: 480px) {
    .player-exp-info {
        flex-wrap: wrap;
        gap: 4px;
        padding: 3px 6px;
    }
    
    .exp-progress-container {
        width: 60px;
        height: 5px;
    }
    
    .player-level {
        font-size: 0.55em;
    }
    
    .exp-text {
        font-size: 0.5em;
        min-width: 25px;
    }
}
/* ============================================================
   PROPOSITION 1 - INDICATEUR DE POSITION DE LA PAIRE
   ============================================================ */

/* Indicateur de position */
.pair-indicator {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: rgba(255, 215, 0, 0.9);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #000;
    z-index: 50;
    animation: indicatorPulse 0.8s ease-in-out infinite;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.pair-indicator.left {
    left: -15px;
}

.pair-indicator.right {
    right: -15px;
}

.pair-indicator.visible {
    display: flex;
}

.pair-indicator .arrow {
    font-weight: bold;
}

@keyframes indicatorPulse {
    0%, 100% { transform: translateY(-50%) scale(1); box-shadow: 0 0 20px rgba(255, 215, 0, 0.4); }
    50% { transform: translateY(-50%) scale(1.2); box-shadow: 0 0 40px rgba(255, 215, 0, 0.8); }
}

/* Effet de surbrillance sur la carte correspondante */
.card.highlight-mobile {
    border: 3px solid #ffd700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
    animation: highlightPulse 0.8s ease-in-out infinite;
    transform: scale(1.05);
    z-index: 10;
}

@keyframes highlightPulse {
    0%, 100% { transform: scale(1.05); box-shadow: 0 0 20px rgba(255, 215, 0, 0.3); }
    50% { transform: scale(1.12); box-shadow: 0 0 40px rgba(255, 215, 0, 0.7); }
}

/* Version mobile */
@media (max-width: 768px) {
    .pair-indicator {
        width: 24px;
        height: 24px;
        font-size: 14px;
    }
    
    .pair-indicator.left {
        left: -10px;
    }
    
    .pair-indicator.right {
        right: -10px;
    }
    
    .card.highlight-mobile {
        border: 2px solid #ffd700;
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    }
}
/* ============================================================
   STYLE DE L'UNIVERS
   ============================================================ */

.universe-display {
    font-size: 0.7em;
    color: #ffd700;
    background: rgba(255,215,0,0.1);
    padding: 3px 12px;
    border-radius: 15px;
    border: 1px solid rgba(255,215,0,0.2);
    display: inline-block;
    font-weight: bold;
    transition: all 0.5s ease;
}

.universe-display.unlocked {
    animation: universeUnlocked 1s ease-out forwards;
}

@keyframes universeUnlocked {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); color: #fff; background: rgba(255,215,0,0.3); }
    100% { transform: scale(1); }
}

/* Overlay de déblocage */
.universe-unlock-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.5s ease;
}

.universe-unlock-overlay h1 {
    font-size: 2.5em;
    color: #ffd700;
    text-shadow: 0 0 30px rgba(255,215,0,0.5);
    animation: scaleUp 0.5s ease;
}

.universe-unlock-overlay .universe-name {
    font-size: 1.8em;
    margin: 15px 0;
    animation: scaleUp 0.6s ease;
}

.universe-unlock-overlay .universe-streak {
    color: #aaa;
    font-size: 1em;
    margin-bottom: 20px;
}

.universe-unlock-overlay .btn-continue {
    margin-top: 30px;
    padding: 12px 40px;
    border: none;
    border-radius: 10px;
    background: #ffd700;
    color: #000;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.universe-unlock-overlay .btn-continue:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255,215,0,0.3);
}
