/* =============================================
   TrueLuck Casino — Main Stylesheet
   Dark theme + Neon Green (#00e785) accents
   Target: France market, SEO-optimized
   ============================================= */

/* --- CSS Variables --- */
:root {
    --bg-primary: #0d0b1a;
    --bg-secondary: #151228;
    --bg-card: #1a1730;
    --bg-card-hover: #211e3a;
    --accent: #00e785;
    --accent-dark: #00c46f;
    --accent-glow: rgba(0, 231, 133, 0.25);
    --accent-glow-strong: rgba(0, 231, 133, 0.45);
    --text-primary: #f0f0f5;
    --text-secondary: #a8a5bf;
    --text-muted: #6b6889;
    --border-color: rgba(255,255,255,0.06);
    --border-accent: rgba(0, 231, 133, 0.3);
    --gradient-dark: linear-gradient(135deg, #0d0b1a 0%, #1a1535 50%, #0d0b1a 100%);
    --gradient-accent: linear-gradient(135deg, #00e785 0%, #00c46f 100%);
    --gradient-hero: linear-gradient(180deg, rgba(0,231,133,0.08) 0%, transparent 50%);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-card: 0 4px 24px rgba(0,0,0,0.3);
    --shadow-glow: 0 0 30px rgba(0,231,133,0.15);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 1200px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: rgba(0, 231, 133, 0.15);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover {
    color: var(--accent-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* --- Container --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Header / Navigation --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 11, 26, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition);
}

.site-header.scrolled {
    background: rgba(13, 11, 26, 0.97);
    box-shadow: 0 2px 30px rgba(0,0,0,0.4);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-link img {
    height: 44px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent);
    background: rgba(0,231,133,0.08);
}

.nav-cta {
    background: var(--gradient-accent) !important;
    color: #0d0b1a !important;
    font-weight: 700 !important;
    padding: 10px 22px !important;
    border-radius: 50px !important;
    box-shadow: 0 0 20px rgba(0,231,133,0.3);
    transition: all var(--transition) !important;
}
.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0,231,133,0.5) !important;
}

/* Burger menu */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}
.burger-menu span {
    width: 26px;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition);
}
.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.burger-menu.active span:nth-child(2) {
    opacity: 0;
}
.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    overflow: hidden;
    background: var(--gradient-dark);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0,231,133,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--bg-primary), transparent);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,231,133,0.1);
    border: 1px solid var(--border-accent);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 28px;
    letter-spacing: 0.5px;
}

.hero-badge .badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

h1 .highlight {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-accent);
    color: #0d0b1a;
    box-shadow: 0 4px 25px rgba(0,231,133,0.35);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(0,231,133,0.5);
    color: #0d0b1a;
}

.btn-secondary {
    background: rgba(255,255,255,0.06);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
}

/* --- Hero Stats --- */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

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

.hero-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 6px;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* --- Sections --- */
.section {
    padding: 80px 0;
    position: relative;
}

.section-alt {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Cards Grid --- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity var(--transition);
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-card), var(--shadow-glow);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(0,231,133,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- Banner / CTA Blocks --- */
.promo-banner {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0,231,133,0.08) 100%);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-xl);
    padding: 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 40px 0;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0,231,133,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.promo-banner h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.promo-banner .promo-highlight {
    color: var(--accent);
    font-size: 2.5rem;
    font-weight: 900;
    display: block;
    margin: 16px 0;
}

.promo-banner p {
    color: var(--text-secondary);
    margin-bottom: 28px;
    font-size: 1.05rem;
}

/* --- Tables --- */
.info-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    margin: 32px 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--bg-card);
}

.info-table {
    width: 100%;
    min-width: 400px;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.info-table thead {
    background: rgba(0,231,133,0.08);
}

.info-table th {
    padding: 14px 20px;
    text-align: left;
    font-weight: 700;
    color: var(--accent);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--border-color);
}

.info-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.info-table tr:last-child td {
    border-bottom: none;
}

.info-table tbody tr {
    transition: background var(--transition);
}

.info-table tbody tr:hover {
    background: rgba(0,231,133,0.04);
}

.info-table td:first-child {
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.td-check {
    color: var(--accent) !important;
    font-weight: 700 !important;
}

/* --- Feature List --- */
.feature-list {
    display: grid;
    gap: 14px;
    margin: 20px 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.feature-list li::before {
    content: '✓';
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,231,133,0.12);
    color: var(--accent);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 2px;
}

/* --- Two-Column Layout --- */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.two-col-text h2 {
    text-align: left;
}

.two-col-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* --- FAQ Accordion --- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition);
}

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

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: color var(--transition);
}

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

.faq-question .faq-icon {
    font-size: 1.2rem;
    color: var(--accent);
    transition: transform var(--transition);
    flex-shrink: 0;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

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

.faq-answer-inner {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* --- Numbered Steps --- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    counter-reset: step-counter;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    position: relative;
    transition: all var(--transition);
    counter-increment: step-counter;
}

.step-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.step-number {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: #0d0b1a;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 18px;
}

.step-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* --- Tags / Badges --- */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0,231,133,0.08);
    border: 1px solid var(--border-accent);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
}

/* --- Footer --- */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand img {
    height: 40px;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.footer-flags {
    display: flex;
    gap: 12px;
    font-size: 1.4rem;
}

/* --- Disclaimer --- */
.disclaimer-section {
    padding: 32px 0;
    background: rgba(0,0,0,0.3);
}

.disclaimer-text {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.7;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* --- Rating Stars --- */
.rating-stars {
    display: flex;
    gap: 4px;
    color: #ffc107;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

/* --- Scroll to top --- */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: #0d0b1a;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0,231,133,0.3);
    transition: all var(--transition);
}

.scroll-top:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 30px rgba(0,231,133,0.5);
}

.scroll-top.visible {
    display: flex;
}

/* --- Age Badge --- */
.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #ff4444;
    color: #ff4444;
    font-size: 0.85rem;
    font-weight: 800;
}

/* --- Provider logos --- */
.providers-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.provider-badge {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.provider-badge:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================================
   RESPONSIVE — Mobile-first optimization
   =========================================== */

/* --- Touch device essentials --- */
@media (hover: none) and (pointer: coarse) {
    /* Bigger tap targets on touch */
    .main-nav a,
    .faq-question,
    .footer-col ul li a {
        min-height: 48px;
        display: flex;
        align-items: center;
    }

    /* Disable hover transforms on touch (prevents sticky hover) */
    .card:hover,
    .step-card:hover,
    .provider-badge:hover {
        transform: none;
    }

    /* Better touch feedback */
    .btn:active {
        transform: scale(0.97);
        transition-duration: 0.1s;
    }

    .card:active {
        border-color: var(--border-accent);
        background: var(--bg-card-hover);
    }

    .faq-question:active {
        background: rgba(0,231,133,0.06);
    }
}

/* --- Tablet: 1024px and below --- */
@media (max-width: 1024px) {
    .two-col {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-section {
        min-height: auto;
        padding: 110px 24px 70px;
    }

    .section {
        padding: 64px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .providers-grid {
        gap: 12px;
    }

    .provider-badge {
        padding: 12px 18px;
        font-size: 0.85rem;
    }
}

/* --- Mobile: 768px and below --- */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 64px;
        font-size: 15px;
    }

    /* Header — compact */
    .site-header {
        border-bottom: 1px solid rgba(0,231,133,0.1);
    }

    .header-inner {
        height: 60px;
        padding: 0 16px;
    }

    .logo-link img {
        height: 36px;
    }

    /* Burger menu */
    .burger-menu {
        display: flex;
    }

    /* Mobile nav drawer */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(300px, 85vw);
        height: 100vh;
        height: 100dvh;
        background: var(--bg-secondary);
        flex-direction: column;
        align-items: stretch;
        padding: 80px 20px 40px;
        gap: 2px;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0,0,0,0.6);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        z-index: 1000;
    }

    .main-nav.open {
        right: 0;
    }

    .main-nav a {
        font-size: 1rem;
        padding: 14px 16px;
        border-radius: var(--radius-sm);
        width: 100%;
    }

    .nav-cta {
        margin-top: 12px;
        text-align: center;
        justify-content: center;
    }

    /* Mobile overlay */
    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 999;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .nav-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

    /* Hero — mobile */
    .hero-section {
        min-height: auto;
        padding: 84px 16px 48px;
        text-align: center;
    }

    .hero-section::before {
        width: 400px;
        height: 400px;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
        margin-bottom: 20px;
    }

    h1 {
        font-size: 1.55rem;
        line-height: 1.25;
        margin-bottom: 18px;
    }

    .hero-description {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 28px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        margin-top: 36px;
        padding-top: 28px;
    }

    .hero-stat-value {
        font-size: 1.6rem;
    }

    .hero-stat-label {
        font-size: 0.78rem;
    }

    /* Sections — mobile */
    .section {
        padding: 48px 0;
    }

    .container {
        padding: 0 16px;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .section-label {
        font-size: 0.72rem;
        letter-spacing: 1.5px;
        margin-bottom: 10px;
    }

    h2 {
        font-size: 1.35rem;
        line-height: 1.3;
        margin-bottom: 12px;
    }

    .section-subtitle {
        font-size: 0.92rem;
    }

    /* Cards — mobile */
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .card {
        padding: 24px 20px;
        border-radius: var(--radius-md);
    }

    .card-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
        margin-bottom: 16px;
    }

    .card h3 {
        font-size: 1.05rem;
    }

    .card p {
        font-size: 0.9rem;
    }

    /* Two-column text — mobile */
    .two-col-text p {
        font-size: 0.92rem;
        margin-bottom: 16px;
    }

    /* Tables — mobile */
    .info-table-wrapper {
        margin: 24px -16px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .info-table {
        font-size: 0.85rem;
    }

    .info-table th {
        padding: 12px 14px;
        font-size: 0.75rem;
    }

    .info-table td {
        padding: 11px 14px;
        font-size: 0.85rem;
    }

    .info-table td:first-child {
        font-size: 0.83rem;
    }

    /* Feature list — mobile */
    .feature-list li {
        font-size: 0.9rem;
        gap: 10px;
    }

    .feature-list li::before {
        width: 22px;
        height: 22px;
        font-size: 0.7rem;
    }

    /* Promo banners — mobile */
    .promo-banner {
        padding: 28px 18px;
        border-radius: var(--radius-lg);
        margin: 28px 0;
    }

    .promo-banner h3 {
        font-size: 1.25rem;
    }

    .promo-banner .promo-highlight {
        font-size: 1.7rem;
        margin: 12px 0;
    }

    .promo-banner p {
        font-size: 0.92rem;
        margin-bottom: 22px;
    }

    /* Steps — mobile */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .step-card {
        padding: 24px 20px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* Providers — mobile */
    .providers-grid {
        gap: 8px;
    }

    .provider-badge {
        padding: 10px 14px;
        font-size: 0.8rem;
    }

    /* FAQ — mobile */
    .faq-question {
        padding: 16px 18px;
        font-size: 0.93rem;
        gap: 12px;
    }

    .faq-answer-inner {
        padding: 0 18px 16px;
        font-size: 0.88rem;
    }

    /* Rating — mobile */
    .rating-stars {
        font-size: 1rem;
    }

    /* Footer — mobile */
    .site-footer {
        padding: 40px 0 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 32px;
    }

    .footer-brand p {
        max-width: none;
        font-size: 0.85rem;
    }

    .footer-col h4 {
        margin-bottom: 14px;
    }

    .footer-col ul li {
        margin-bottom: 8px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    /* Disclaimer — mobile */
    .disclaimer-text {
        font-size: 0.72rem;
    }

    /* Scroll top — mobile */
    .scroll-top {
        bottom: 20px;
        right: 16px;
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
}

/* --- Small phones: 420px and below --- */
@media (max-width: 420px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 12px;
    }

    h1 {
        font-size: 1.4rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    .hero-section {
        padding: 76px 12px 40px;
    }

    .hero-stats {
        gap: 12px;
    }

    .hero-stat-value {
        font-size: 1.4rem;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 5px 12px;
    }

    .btn {
        padding: 13px 20px;
        font-size: 0.9rem;
    }

    .promo-banner {
        padding: 22px 14px;
    }

    .promo-banner .promo-highlight {
        font-size: 1.4rem;
    }

    .promo-banner h3 {
        font-size: 1.1rem;
    }

    .card {
        padding: 20px 16px;
    }

    .card-icon {
        width: 42px;
        height: 42px;
        font-size: 1.05rem;
    }

    .info-table td,
    .info-table th {
        padding: 10px 10px;
    }

    .section {
        padding: 40px 0;
    }

    .step-card {
        padding: 20px 16px;
    }

    .faq-question {
        padding: 14px 14px;
        font-size: 0.88rem;
    }

    .faq-answer-inner {
        padding: 0 14px 14px;
        font-size: 0.84rem;
    }

    .footer-grid {
        gap: 24px;
    }
}

/* --- Landscape phones --- */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 80px 24px 40px;
    }

    .hero-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --- Safe area for notched phones (iPhone X+) --- */
@supports (padding: max(0px)) {
    .site-header {
        padding-left: max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
    }

    .container {
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }

    .disclaimer-section {
        padding-bottom: max(32px, env(safe-area-inset-bottom));
    }
}

/* --- Prefers reduced motion --- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}

/* --- Print --- */
/* =============================================
   NEW SECTIONS: Témoignages, Top Slots, Jeu Responsable,
   CTA Final, Mobile Sticky Bar
   ============================================= */

/* --- Testimonials Grid --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.testimonial-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-2px);
}

.testimonial-stars {
    color: #ffc107;
    font-size: 1.15rem;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.75;
    font-style: italic;
    margin-bottom: 16px;
}

.testimonial-author {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
}

/* --- Rating Summary --- */
.rating-summary {
    text-align: center;
    padding: 32px 0;
}

.rating-big {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.rating-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
}

.rating-stars-display {
    font-size: 1.6rem;
    color: #ffc107;
    letter-spacing: 3px;
}

.rating-count {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Top Slots List --- */
.top-slots-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.top-slot-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    transition: border-color 0.3s ease, transform 0.2s ease;
}

.top-slot-item:hover {
    border-color: var(--border-accent);
    transform: translateX(4px);
}

.top-slot-rank {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    color: var(--bg-primary);
    font-weight: 800;
    font-size: 0.95rem;
    border-radius: 50%;
}

.top-slot-info {
    flex: 1;
    min-width: 0;
}

.top-slot-info h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.top-slot-provider {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.top-slot-stats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.stat-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-weight: 500;
    white-space: nowrap;
}

.stat-badge.volatility-high {
    border-color: rgba(255, 152, 0, 0.4);
    color: #ff9800;
}

.stat-badge.volatility-extreme {
    border-color: rgba(244, 67, 54, 0.4);
    color: #f44336;
}

.stat-badge.volatility-medium {
    border-color: rgba(255, 193, 7, 0.4);
    color: #ffc107;
}

.stat-badge.win-max {
    border-color: var(--border-accent);
    color: var(--accent);
    font-weight: 700;
}

/* --- CTA Final Section --- */
.section-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0,231,133,0.08) 0%, rgba(0,196,111,0.04) 100%);
    border-top: 1px solid var(--border-accent);
    border-bottom: 1px solid var(--border-accent);
    text-align: center;
}

.cta-final-content h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.cta-final-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-xl {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* --- Mobile Sticky CTA Bar --- */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-accent);
    padding: 10px 16px;
    gap: 10px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.mobile-sticky-cta.visible {
    transform: translateY(0);
}

.sticky-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
    min-height: 48px;
}

.sticky-btn-primary {
    background: var(--gradient-accent);
    color: var(--bg-primary);
}

.sticky-btn-primary:hover {
    box-shadow: 0 0 20px var(--accent-glow);
}

.sticky-btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.sticky-btn-outline:hover {
    background: rgba(0,231,133,0.1);
}

/* --- Mobile Sticky Bar: show only on mobile --- */
@media (max-width: 768px) {
    .mobile-sticky-cta {
        display: flex;
    }

    /* Add padding to bottom of page for sticky bar */
    body {
        padding-bottom: 72px;
    }

    .disclaimer-section {
        padding-bottom: 80px;
    }

    /* Top slots responsive */
    .top-slot-item {
        flex-wrap: wrap;
        gap: 10px;
    }

    .top-slot-stats {
        width: 100%;
        justify-content: flex-start;
    }

    /* Testimonials responsive */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* CTA Final responsive */
    .section-cta {
        padding: 48px 0 60px;
    }

    .cta-final-content h2 {
        font-size: 1.5rem;
    }

    .cta-final-content p {
        font-size: 0.95rem;
    }

    .btn-xl {
        padding: 14px 24px;
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 320px;
    }

    /* Rating responsive */
    .rating-big {
        flex-direction: column;
        gap: 8px;
    }

    .rating-number {
        font-size: 2.4rem;
    }
}

@media (max-width: 480px) {
    .top-slot-info h3 {
        font-size: 0.9rem;
    }

    .stat-badge {
        font-size: 0.72rem;
        padding: 3px 8px;
    }

    .testimonial-card {
        padding: 20px;
    }

    .testimonial-text {
        font-size: 0.88rem;
    }
}

@media print {
    .site-header, .scroll-top, .promo-banner, .hero-buttons, .nav-overlay, .mobile-sticky-cta, .section-cta {
        display: none !important;
    }
    body {
        background: #fff;
        color: #000;
    }
    .section, .hero-section {
        break-inside: avoid;
    }
}
