/* ==========================================
   CASINO SOCIAL FRANÇAIS - STYLE DYNAMIQUE
   ========================================== */

/* === VARIABLES CSS === */
:root {
    /* Couleurs principales - Thème Bleu Dynamique */
    --primary-color: #0066FF;
    --primary-dark: #0052CC;
    --primary-light: #3385FF;
    --secondary-color: #00D9FF;
    --accent-color: #FFB800;
    
    /* Couleurs de fond */
    --background-dark: #0A1628;
    --background-secondary: #162238;
    --background-light: #1E2F47;
    --background-card: #243244;
    
    /* Couleurs de texte */
    --text-light: #FFFFFF;
    --text-gray: #B8C5D6;
    --text-muted: #8A9DB5;
    
    /* Couleurs utilitaires */
    --success-color: #00E676;
    --danger-color: #FF1744;
    --warning-color: #FFC107;
    --border-color: #2A3F5F;
    --glow-color: rgba(0, 102, 255, 0.5);
    
    /* Espacements */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* === RESET ET BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--background-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* === TYPOGRAPHIE === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h4 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-gray);
    word-wrap: break-word;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-light);
}

/* === HEADER FIXE === */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-secondary) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-color);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.3);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.free-badge {
    background: var(--success-color);
    color: var(--background-dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    animation: pulse 2s infinite;
    margin-left: 0.5rem;
}

/* Navigation Desktop */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu li a {
    color: var(--text-light);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition-normal);
}

.nav-menu li a:hover::after {
    width: 100%;
}

.nav-menu li a:hover {
    color: var(--secondary-color);
}

/* Bouton Burger Mobile */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--text-light);
    border-radius: 3px;
    transition: var(--transition-fast);
}

/* === HERO SECTION === */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 120px;
    background-image: url('../images/hero_desktop_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.9) 0%, rgba(22, 34, 56, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 102, 255, 0.5);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.75rem);
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* === BOUTONS === */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-light);
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 102, 255, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* === SECTIONS === */
.section {
    padding: 5rem 2rem;
    position: relative;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: clamp(2rem, 4vw, 3rem);
    background: linear-gradient(135deg, var(--text-light), var(--text-gray));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* === CARTES === */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: var(--background-card);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition-normal);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(0, 102, 255, 0.3);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.card-description {
    color: var(--text-gray);
    line-height: 1.8;
}

/* === CARTES DE JEUX === */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.game-card {
    background: var(--background-card);
    border-radius: 25px;
    overflow: hidden;
    transition: var(--transition-normal);
    border: 2px solid var(--border-color);
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 50px rgba(0, 102, 255, 0.4);
}

.game-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: var(--background-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.game-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.game-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.game-description {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex: 1;
}

.game-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.game-btn {
    width: 100%;
    padding: 0.875rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-normal);
    margin-top: auto;
    text-align: center;
}

.game-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 102, 255, 0.5);
}

/* === FAQ ACCORDÉON === */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--background-card);
    border-radius: 15px;
    margin-bottom: 1.5rem;
    border: 2px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    padding: 1.5rem 2rem;
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    font-size: 1.5rem;
    transition: var(--transition-fast);
    color: var(--primary-color);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-answer-content {
    padding: 0 2rem 1.5rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* === DISCLAIMER === */
.disclaimer-section {
    background: linear-gradient(135deg, var(--danger-color), #D50000);
    padding: 3rem 2rem;
    margin-top: 5rem;
}

.disclaimer-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.disclaimer-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.disclaimer-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.disclaimer-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 700;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

/* === FOOTER === */
.main-footer {
    background: var(--background-secondary);
    padding: 4rem 2rem 2rem;
    border-top: 3px solid var(--primary-color);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links li a {
    color: var(--text-gray);
    transition: var(--transition-fast);
    font-size: 1rem;
}

.footer-links li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.compliance-logos {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.compliance-logo {
    height: 40px;
    width: auto;
    background: var(--text-light);
    padding: 8px;
    border-radius: 8px;
    opacity: 0.9;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    object-fit: contain;
}

.compliance-logo:hover {
    opacity: 1;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--glow-color);
    transform: scale(1.05);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

.age-restriction {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--warning-color);
    font-size: 1.2rem;
    margin-top: 1rem;
}

/* === NOUVEAUX RÉGULATEURS === */
.compliance-logos-new {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.compliance-item {
    background: #F5E6D3;
    border-radius: 12px;
    padding: 0.875rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: var(--transition-normal);
    min-height: 80px;
    min-width: 120px;
    max-width: 160px;
    flex: 0 1 auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.compliance-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Badge 18+ */
.age-badge {
    padding: 0.875rem;
    justify-content: center;
    min-width: 100px;
    max-width: 100px;
}

.age-circle {
    width: 60px;
    height: 60px;
    background: #DC143C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
    font-size: 1.3rem;
    margin: 0 auto;
}

/* GambleAware */
.gambleaware {
    background: white !important;
    padding: 0.875rem 1rem;
}

.gambleaware-text {
    color: #000;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.gambleaware-orange {
    color: #FF6600;
}

/* GamCare */
.gamcare {
    background: white !important;
    padding: 0.875rem 1rem;
}

.gamcare-g {
    width: 50px;
    height: 50px;
    background: #8B4C9F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.gamcare-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    flex: 1;
}

.gamcare-name {
    color: #000;
    font-weight: 700;
    font-size: 0.9rem;
}

.gamcare-subtitle {
    color: #666;
    font-size: 0.65rem;
    margin-top: 0.2rem;
}

/* ANJ */
.anj {
    background: #1E2F47 !important;
    padding: 0.875rem 1rem;
}

.anj-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.anj-text {
    color: white;
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.anj-subtitle {
    color: white;
    font-size: 0.6rem;
    margin-top: 0.3rem;
    letter-spacing: 0.5px;
}

/* gt */
.gt {
    background: #1E2F47 !important;
    padding: 0.875rem 1rem;
}

.gt-logo {
    color: white;
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 1px;
    font-style: italic;
}

/* JOUEURS-INFO-SERVICE */
.joueurs-info {
    background: #1E2F47 !important;
    padding: 0.875rem 1rem;
}

.joueurs-info-bubble {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 2px solid white;
    border-radius: 15px;
    padding: 0.75rem 1rem;
}

.joueurs-info-text {
    color: white;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.joueurs-info-phone {
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 0.4rem;
}

/* MÉDIATEUR DES JEUX */
.mediateur {
    background: #1E2F47 !important;
    padding: 0.875rem 1rem;
}

.mediateur-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.mediateur-text {
    color: white;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.mediateur-subtitle {
    color: white;
    font-size: 0.6rem;
    margin-top: 0.3rem;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .compliance-logos-new {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .compliance-item {
        max-width: calc(50% - 0.25rem);
        min-width: calc(50% - 0.25rem);
        padding: 0.75rem 0.875rem;
        min-height: 70px;
    }
    
    .age-circle {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
    
    .gamcare-g {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .gambleaware-text {
        font-size: 0.85rem;
    }
    
    .gamcare-name {
        font-size: 0.8rem;
    }
    
    .gamcare-subtitle {
        font-size: 0.6rem;
    }
    
    .anj-text {
        font-size: 1rem;
    }
    
    .anj-subtitle {
        font-size: 0.55rem;
    }
    
    .gt-logo {
        font-size: 1.3rem;
    }
    
    .joueurs-info-text {
        font-size: 0.65rem;
    }
    
    .joueurs-info-phone {
        font-size: 0.8rem;
    }
    
    .mediateur-text {
        font-size: 0.7rem;
    }
    
    .mediateur-subtitle {
        font-size: 0.55rem;
    }
}

@media (max-width: 480px) {
    .compliance-logos-new {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .compliance-item {
        max-width: calc(50% - 0.25rem);
        min-width: calc(50% - 0.25rem);
        width: auto;
    }
    
    .age-badge {
        min-width: calc(50% - 0.25rem);
        max-width: calc(50% - 0.25rem);
    }
}

/* === POPUPS === */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.popup-overlay.active {
    display: flex;
}

.popup-content {
    background: var(--background-card);
    padding: 3rem;
    border-radius: 25px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    border: 3px solid var(--primary-color);
    box-shadow: 0 10px 50px rgba(0, 102, 255, 0.5);
    animation: scaleIn 0.3s ease;
}

.popup-content h2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--text-light);
}

.popup-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--text-gray);
}

.popup-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 400px;
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-secondary) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    padding: 1.5rem;
    z-index: 9999;
    display: none;
    box-shadow: 0 10px 40px rgba(0, 102, 255, 0.4);
}

.cookie-banner.active {
    display: block;
    animation: slideInRight 0.5s ease;
}

.cookie-banner p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

.cookie-banner .btn {
    width: 100%;
    margin-top: 0.5rem;
}

/* === ANIMATIONS === */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

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

/* === MEDIA QUERIES - MOBILE FIRST === */
@media (max-width: 900px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--background-secondary);
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2rem 2rem;
        gap: 2rem;
        transition: var(--transition-normal);
        z-index: 1001;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero-section {
        min-height: calc(100vh - 60px);
        padding-top: 80px;
        background-image: url('../images/hero_mobile_bg.png');
        background-position: center top;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 3rem 1rem;
    }
    
    .cookie-banner {
        bottom: 0;
        right: 0;
        left: 0;
        max-width: 100%;
        border-radius: 20px 20px 0 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (min-width: 901px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Leaderboard et autres cartes */
.leaderboard-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
}

.leaderboard-card {
    flex: 1 1 calc(33.333% - 2rem);
    min-width: 280px;
    max-width: 400px;
    background: var(--background-card);
    border-radius: 20px;
    padding: 2rem;
    border: 2px solid var(--border-color);
    transition: var(--transition-normal);
}

.leaderboard-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
}

@media (max-width: 900px) {
    .leaderboard-grid {
        flex-direction: column;
    }
    
    .leaderboard-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

