/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --primary-color: #8b5cf6;
    --secondary-color: #c084fc;
    --primary-color-rgb: 139, 92, 246;
    --text-light: #f8f9fa;
    --text-dark: #a1a1aa;
    --bg-dark-primary: #0a0a0c;
    --bg-dark-secondary: #111115;
    --card-bg: #16161a;
    --border-color: rgba(255, 255, 255, 0.1);
    --primary-gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark-secondary);
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

header { width: 100%; padding: 20px 0; z-index: 1000; position: fixed; top: 0; left: 0; background-color: transparent; transition: background-color 0.3s ease, border-color 0.3s ease; }
header.scrolled { background-color: rgba(17, 17, 21, 0.8); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); }
main { padding-top: 81px; }

nav { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 700; color: var(--text-light); text-decoration: none; }
.logo-icon { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: var(--primary-gradient); border-radius: 8px; color: white; }
.nav-links { display: flex; align-items: center; list-style: none; gap: 32px; }
.nav-links a { font-weight: 500; font-size: 15px; text-decoration: none; color: var(--text-dark); transition: color 0.2s, text-shadow 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text-light); text-shadow: 0 0 8px rgba(var(--primary-color-rgb), 0.5); }

.btn-primary { background: var(--primary-gradient); color: white; padding: 12px 28px; border-radius: 8px; font-weight: 600; font-size: 15px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: none; transition: all 0.3s ease; box-shadow: 0 4px 20px rgba(var(--primary-color-rgb), 0.3); }
.btn-primary:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 8px 25px rgba(var(--primary-color-rgb), 0.4); }
.btn-secondary { background: transparent; border: 1px solid var(--border-color); color: var(--text-dark); padding: 12px 28px; border-radius: 8px; text-decoration: none; transition: all 0.3s ease; }
.btn-secondary:hover { background-color: var(--card-bg); color: var(--text-light); border-color: var(--primary-color); }

.hero-section { text-align: center; height: 100vh; display: flex; align-items: center; justify-content: center; background-color: var(--bg-dark-primary); position: relative; margin-top: -81px; }
#particles-js { position: absolute; width: 100%; height: 100%; top: 0; left: 0; z-index: 0; }
.hero-content { position: relative; z-index: 1; }
.hero-content h1 { font-size: 64px; font-weight: 900; color: var(--text-light); margin-bottom: 16px; text-shadow: 0 0 20px rgba(var(--primary-color-rgb), 0.4); }
.hero-content .highlight { background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-content .subtitle { font-size: 20px; max-width: 600px; margin: 0 auto 40px auto; color: var(--text-dark); }
.hero-content .buttons { display: flex; gap: 16px; justify-content: center; }

.section { padding: 120px 0; }
.section-title { font-size: 42px; font-weight: 800; color: var(--text-light); text-align: center; margin-bottom: 16px; }
.section-subtitle { font-size: 18px; text-align: center; color: var(--text-dark); max-width: 600px; margin: 0 auto 60px auto; }
.card { background-color: var(--card-bg); padding: 32px; border-radius: 16px; position: relative; overflow: hidden; border: 1px solid transparent; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: inherit; padding: 1px; background: var(--primary-gradient); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.3; transition: opacity 0.4s ease; }
.card:hover::before { opacity: 1; }
.card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 40px rgba(var(--primary-color-rgb), 0.1); }

.stats-grid, .why-us-grid, .offers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.why-us-grid, .offers-grid { grid-template-columns: repeat(3, 1fr); }
.stat-item { text-align: center; }
.stat-item .icon, .why-us-card .icon { font-size: 28px; color: var(--primary-color); margin-bottom: 12px; filter: drop-shadow(0 0 10px rgba(var(--primary-color-rgb), 0.6)); }
.stat-item h3 { font-size: 42px; color: var(--text-light); font-weight: 700; }
.stat-item p, .why-us-card p { font-size: 14px; color: var(--text-dark); }
.why-us-card h3, .offer-card h3 { font-size: 22px; color: var(--text-light); margin-bottom: 8px; font-weight: 600; }
.offer-card { display: flex; flex-direction: column; text-align: center; }
.offer-card .price { font-size: 48px; font-weight: 800; color: white; margin-bottom: 8px; }
.offer-card ul { list-style: none; padding-left: 24px; margin-top: 24px; margin-bottom: 32px; flex-grow: 1; text-align: left; }
.offer-card li { margin-bottom: 12px; position: relative; }
.offer-card li::before { content: '✓'; color: var(--primary-color); position: absolute; left: -24px; font-weight: bold; }
.offer-card .btn-primary { width: 100%; margin-top: auto; }

.testimonial-wrapper { position: relative; max-width: 700px; margin: auto; }
.testimonial-slider { overflow: hidden; }
.testimonial-slides { display: flex; }
.testimonial-slide { min-width: 100%; text-align: center; padding: 0 20px; transition: opacity 0.6s ease, transform 0.6s ease; opacity: 0; transform: scale(0.95); position: absolute; top: 0; left: 0; }
.testimonial-slide.active { opacity: 1; transform: scale(1); position: relative; }
.testimonial-slide .avatar { width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 20px; border: 2px solid var(--primary-color); }
.testimonial-slide .stars { display: flex; justify-content: center; gap: 4px; margin-bottom: 20px; }
.testimonial-slide .stars svg { width: 28px; height: 28px; fill: var(--primary-color); filter: drop-shadow(0 0 10px rgba(var(--primary-color-rgb), 0.7)); }
.testimonial-slide .quote { font-size: 20px; color: var(--text-light); line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.carousel-nav { position: absolute; top: 50%; width: 100%; display: flex; justify-content: space-between; transform: translateY(-50%); }
.carousel-btn { background: rgba(255,255,255,0.05); border: 1px solid var(--border-color); color: white; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; transition: all 0.2s; font-size: 24px; }
.carousel-btn:hover { background-color: var(--primary-color); border-color: var(--primary-color); }
.carousel-btn#prev-btn { margin-left: -70px; }
.carousel-btn#next-btn { margin-right: -70px; }

.cta-bottom-section { background-color: var(--card-bg); padding: 80px 40px; border-radius: 16px; text-align: center; }
.cta-bottom-section .discount-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(var(--primary-color-rgb), 0.1); border: 1px solid var(--primary-color); color: var(--text-light); padding: 8px 16px; border-radius: 30px; margin-bottom: 24px; font-weight: 500; text-shadow: 0 0 8px rgba(var(--primary-color-rgb), 0.5); }
.cta-bottom-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 60px; }
.cta-stat h4 { font-size: 32px; color: var(--text-light); font-weight: 700; }
.cta-stat p { font-size: 14px; color: var(--text-dark); }

.page-header { text-align: center; padding-bottom: 60px; }
.page-header h1 { font-size: 48px; font-weight: 800; color: var(--text-light); }
.page-header p { font-size: 18px; max-width: 600px; margin: 16px auto 0; color: var(--text-dark); }
.content-wrapper { max-width: 900px; margin: auto; }
.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; align-items: center; margin-bottom: 80px;}
.about-image img { width: 100%; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.content-wrapper h2 { font-size: 28px; color: var(--text-light); margin-bottom: 16px; border-left: 3px solid var(--primary-color); padding-left: 16px; font-weight: 700; }
.content-wrapper .infra-title { border-left: none; padding-left: 0; text-align: center;}
.content-wrapper p, .content-wrapper li { margin-bottom: 16px; line-height: 1.7; }
.content-wrapper strong { color: var(--text-light); font-weight: 600; }
.infra-list { list-style: none; padding: 0; margin-top: 24px; }
.infra-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.infra-list li svg { width: 20px; height: 20px; color: var(--primary-color); }
.legal-content-wrapper { background-color: var(--card-bg); padding: 40px; border-radius: 16px; border: 1px solid var(--border-color); }

.legal-content-wrapper a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(var(--primary-color-rgb), 0.7);
}
.legal-content-wrapper a:hover {
    color: white;
    text-decoration: underline;
    text-shadow: 0 0 15px rgba(var(--primary-color-rgb), 1);
}

footer { background-color: var(--bg-dark-primary); padding: 80px 0 30px; border-top: 1px solid var(--border-color);}
.footer-content { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-section h4 { color: var(--text-light); font-size: 16px; margin-bottom: 16px; font-weight: 600; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--primary-color); text-decoration: none; transition: filter 0.2s; font-weight: 500;}
.footer-links a:hover { filter: brightness(1.2); text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--border-color); padding-top: 30px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; }

/* Page Jeux Styles */
.page-jeux .page-header { text-align: center; padding: 40px 0 0; }
.page-jeux .page-header .section-title { font-size: 48px; }
.page-jeux .page-header .section-subtitle { max-width: 700px; }
.page-jeux .page-header .warning { display: inline-flex; align-items: center; gap: 8px; color: #ffc83d; font-weight: 500; margin-top: 16px; }

.page-jeux .offers-layout { display: flex; align-items: flex-start; gap: 40px; margin-top: 60px; }
.page-jeux .games-list { flex: 0 0 220px; display: flex; flex-direction: column; gap: 8px; position: sticky; top: 100px; }

.page-jeux .game-tab-btn { background: transparent; border: 1px solid var(--border-color); color: var(--text-dark); padding: 12px 20px; border-radius: 8px; cursor: pointer; font-size: 15px; font-weight: 500; transition: all 0.3s ease; text-align: left; width: 100%; }
.page-jeux .game-tab-btn:hover { background-color: var(--card-bg); border-color: var(--primary-color); color: var(--text-light); }
.page-jeux .game-tab-btn.active { color: white; background: var(--primary-gradient); border-color: transparent; box-shadow: 0 0 15px rgba(var(--primary-color-rgb), 0.4); }

.page-jeux #offers-content { flex: 1; }
.page-jeux #offers-content .offer-block { background-color: var(--card-bg); padding: 40px; border-radius: 16px; border: 1px solid var(--border-color); margin-bottom: 30px; }
.page-jeux #offers-content .offer-block h3 { text-align: left; font-size: 24px; font-weight: 600; margin-bottom: 32px; color: var(--text-light); }
.page-jeux #offers-content .offer-block ul { list-style: none; padding: 0; margin: 0 0 32px; }
.page-jeux #offers-content .offer-block li { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 16px; }
.page-jeux #offers-content .offer-block li svg { color: var(--primary-color); width: 20px; height: 20px; flex-shrink: 0; }
.page-jeux #offers-content .btn-primary { display: block; text-align: center; width: 100%; }

.page-jeux .panel-section.card { 
    padding: 60px 40px; 
}

.page-jeux .panel-carousel-container { 
    position: relative; 
    max-width: 800px; 
    margin: 40px auto 0; 
}

.page-jeux .panel-slider-container { 
    overflow: hidden; 
    line-height: 0; 
    border-radius: 12px; 
}

.page-jeux .panel-slider-wrapper { 
    display: flex; 
    transition: transform 0.5s ease-in-out; 
}

.page-jeux .panel-slide { 
    min-width: 100%; 
    flex-shrink: 0; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

.page-jeux .panel-slide img { 
    display: block; 
    width: 100%; 
    height: auto; 
    max-height: 450px; 
    object-fit: contain; 
    object-position: center;
    border-radius: 8px; 
}

.page-jeux .panel-carousel-btn { 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    background: rgba(255,255,255,0.05); 
    border: 1px solid var(--border-color); 
    color: white; 
    width: 44px; 
    height: 44px; 
    border-radius: 50%; 
    cursor: pointer; 
    transition: all 0.2s; 
    font-size: 24px; 
}

.page-jeux .panel-carousel-btn:hover { 
    background-color: var(--primary-color); 
    border-color: var(--primary-color); 
}

.page-jeux .panel-carousel-btn.prev { 
    left: -60px; 
}

.page-jeux .panel-carousel-btn.next { 
    right: -60px; 
}

.logo-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

.footer-section .logo-icon img {
    width: 28px;
    height: 28px;
}

/* Menu burger mobile */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(17, 17, 21, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu .nav-links {
    flex-direction: column;
    gap: 40px;
    text-align: center;
}

.mobile-menu .nav-links a {
    font-size: 24px;
    font-weight: 600;
}

.mobile-menu .btn-primary {
    margin-top: 40px;
    padding: 16px 32px;
    font-size: 18px;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablettes - 1024px et moins */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-content h1 {
        font-size: 52px;
    }
    
    .hero-content .subtitle {
        font-size: 18px;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .why-us-grid,
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .cta-bottom-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .page-jeux .offers-layout {
        flex-direction: column;
        gap: 30px;
    }
    
    .page-jeux .games-list {
        flex: none;
        position: relative;
        top: auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 12px;
    }
    
    .page-jeux .panel-carousel-btn.prev {
        left: -50px;
    }
    
    .page-jeux .panel-carousel-btn.next {
        right: -50px;
    }
}

/* Tablettes en mode portrait - 768px et moins */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 42px;
    }
    
    .hero-content .subtitle {
        font-size: 16px;
        padding: 0 20px;
    }
    
    .hero-content .buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .hero-content .buttons .btn-primary,
    .hero-content .buttons .btn-secondary {
        width: 250px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-subtitle {
        font-size: 16px;
        padding: 0 20px;
    }
    
    .card {
        padding: 24px;
    }
    
    .stats-grid,
    .why-us-grid,
    .offers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .offer-card .price {
        font-size: 36px;
    }
    
    .testimonial-wrapper {
        padding: 0 20px;
    }
    
    .carousel-btn#prev-btn {
        margin-left: -50px;
    }
    
    .carousel-btn#next-btn {
        margin-right: -50px;
    }
    
    .testimonial-slide .quote {
        font-size: 18px;
    }
    
    .cta-bottom-section {
        padding: 60px 20px;
    }
    
    .cta-bottom-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
    
    .page-header p {
        font-size: 16px;
        padding: 0 20px;
    }
    
    .content-wrapper {
        padding: 0 20px;
    }
    
    .legal-content-wrapper {
        padding: 24px;
    }
    
    .page-jeux .games-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .page-jeux #offers-content .offer-block {
        padding: 24px;
    }
    
    .page-jeux .panel-section.card {
        padding: 40px 24px;
    }
    
    .page-jeux .panel-carousel-btn.prev {
        left: -40px;
    }
    
    .page-jeux .panel-carousel-btn.next {
        right: -40px;
    }
}

/* Smartphones - 480px et moins */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-content h1 {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .hero-content .subtitle {
        font-size: 14px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .card {
        padding: 20px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .stat-item h3 {
        font-size: 32px;
    }
    
    .why-us-card h3,
    .offer-card h3 {
        font-size: 20px;
    }
    
    .offer-card .price {
        font-size: 32px;
    }
    
    .carousel-btn#prev-btn,
    .carousel-btn#next-btn {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    
    .carousel-btn#prev-btn {
        margin-left: -20px;
    }
    
    .carousel-btn#next-btn {
        margin-right: -20px;
    }
    
    .testimonial-slide .quote {
        font-size: 16px;
    }
    
    .testimonial-slide .stars svg {
        width: 24px;
        height: 24px;
    }
    
    .cta-bottom-section {
        padding: 40px 16px;
    }
    
    .cta-bottom-stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .cta-stat h4 {
        font-size: 28px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .content-wrapper h2 {
        font-size: 24px;
    }
    
    .legal-content-wrapper {
        padding: 20px;
    }
    
    .page-jeux .games-list {
        grid-template-columns: 1fr;
    }
    
    .page-jeux .game-tab-btn {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .page-jeux #offers-content .offer-block {
        padding: 20px;
    }
    
    .page-jeux #offers-content .offer-block h3 {
        font-size: 20px;
    }
    
    .page-jeux .panel-section.card {
        padding: 30px 20px;
    }
    
    .page-jeux .panel-carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    
    .page-jeux .panel-carousel-btn.prev {
        left: -20px;
    }
    
    .page-jeux .panel-carousel-btn.next {
        right: -20px;
    }
}

/* Très petits écrans - 360px et moins */
@media screen and (max-width: 360px) {
    .container {
        padding: 0 12px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content .buttons .btn-primary,
    .hero-content .buttons .btn-secondary {
        width: 100%;
        max-width: 280px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .card {
        padding: 16px;
    }
    
    .stat-item h3 {
        font-size: 28px;
    }
    
    .offer-card .price {
        font-size: 28px;
    }
    
    .carousel-btn#prev-btn {
        margin-left: -10px;
    }
    
    .carousel-btn#next-btn {
        margin-right: -10px;
    }
    
    .cta-bottom-section {
        padding: 30px 12px;
    }
    
    .testimonial-slide .quote {
        font-size: 15px;
    }
    
    .page-jeux .panel-carousel-btn.prev {
        left: -10px;
    }
    
    .page-jeux .panel-carousel-btn.next {
        right: -10px;
    }
    
    .footer-section h4 {
        font-size: 15px;
    }
    
    .footer-links a {
        font-size: 14px;
    }
    
    .footer-bottom {
        font-size: 13px;
    }
}

/* Optimisations pour les écrans tactiles */
@media (hover: none) and (pointer: coarse) {
    .card:hover {
        transform: none;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }
    
    .card:hover::before {
        opacity: 0.3;
    }
    
    .btn-primary:hover {
        transform: none;
        box-shadow: 0 4px 20px rgba(var(--primary-color-rgb), 0.3);
    }
    
    .nav-links a:hover {
        color: var(--text-dark);
        text-shadow: none;
    }
    
    .footer-links a:hover {
        filter: none;
        text-decoration: none;
    }
}

/* Optimisations pour les écrans haute résolution */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-content h1 {
        text-shadow: 0 0 20px rgba(var(--primary-color-rgb), 0.6);
    }
    
    .stat-item .icon,
    .why-us-card .icon {
        filter: drop-shadow(0 0 15px rgba(var(--primary-color-rgb), 0.8));
    }
    
    .testimonial-slide .stars svg {
        filter: drop-shadow(0 0 15px rgba(var(--primary-color-rgb), 0.9));
    }
}

/* Mode paysage pour les smartphones */
@media screen and (max-height: 600px) and (orientation: landscape) {
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding: 100px 0 50px;
    }
    
    .hero-content h1 {
        font-size: 38px;
    }
    
    .hero-content .subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .section {
        padding: 50px 0;
    }
}

/* Animations adaptées pour les performances mobiles */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .card {
        transition: none;
    }
    
    .btn-primary {
        transition: none;
    }
    
    .testimonial-slide {
        transition: none;
    }
    
    .page-jeux .panel-slider-wrapper {
        transition: none;
    }
}

/* Amélioration de la lisibilité sur petits écrans */
@media screen and (max-width: 480px) {
    body {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .content-wrapper p,
    .content-wrapper li {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .legal-content-wrapper {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .page-jeux #offers-content .offer-block li {
        font-size: 15px;
    }
}

/* Optimisations spécifiques pour iOS Safari */
@supports (-webkit-appearance: none) {
    .hero-section {
        min-height: -webkit-fill-available;
    }
    
    .mobile-menu {
        height: -webkit-fill-available;
    }
}

/* Amélioration de l'accessibilité */
@media (prefers-contrast: high) {
    :root {
        --text-dark: #ffffff;
        --border-color: rgba(255, 255, 255, 0.3);
        --card-bg: #000000;
    }
    
    .btn-secondary {
        border-color: var(--text-light);
        color: var(--text-light);
    }
}

/* Focus amélioré pour la navigation au clavier */
.nav-links a:focus,
.btn-primary:focus,
.btn-secondary:focus,
.carousel-btn:focus,
.page-jeux .game-tab-btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Corrections pour les très larges écrans */
@media screen and (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-content h1 {
        font-size: 72px;
    }
    
    .hero-content .subtitle {
        font-size: 22px;
    }
    
    .section-title {
        font-size: 48px;
    }
    
    .section-subtitle {
        font-size: 20px;
    }
}
