/* ============================================
   Casino en Ligne France - Main Stylesheet
   ============================================ */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: #0a0e1a;
    color: #e0e0e0;
    line-height: 1.7;
    overflow-x: hidden;
}

/* CSS Variables */
:root {
    --primary: #1a73e8;
    --primary-dark: #1557b0;
    --gold: #f0c040;
    --gold-dark: #d4a520;
    --dark: #0a0e1a;
    --dark-card: #111827;
    --dark-surface: #1a1f2e;
    --dark-border: #2a3045;
    --text: #e0e0e0;
    --text-muted: #8a8fa8;
    --text-heading: #ffffff;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    --max-width: 1200px;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 20px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.4);
    --transition: all 0.3s ease;
}

/* Typography */
h1, h2, h3, h4, h5, h6 { color: var(--text-heading); line-height: 1.3; font-weight: 700; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 0.8rem; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); margin-bottom: 0.6rem; }
h4 { font-size: 1.15rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; color: var(--text); }
a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-dark); }
strong { color: var(--text-heading); }
ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: 0.4rem; }

/* Layout */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.section-alt { background: var(--dark-surface); }

/* Header / Navigation */
.site-header {
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--dark-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0 20px;
}
.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}
.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-heading);
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo span { color: var(--gold); }
.nav-links { display: flex; gap: 2px; align-items: center; flex-wrap: wrap; }
.nav-links > a, .nav-dropdown > .dropdown-trigger {
    color: var(--text);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    font-family: inherit;
}
.nav-links > a:hover, .nav-links > a.active,
.nav-dropdown:hover > .dropdown-trigger,
.nav-dropdown > .dropdown-trigger.active {
    color: var(--gold);
    background: rgba(240, 192, 64, 0.1);
}
.dropdown-trigger::after {
    content: '\25BE';
    font-size: 0.7rem;
    margin-left: 2px;
    transition: var(--transition);
}
.nav-dropdown:hover .dropdown-trigger::after { transform: rotate(180deg); }

/* Dropdown Menus */
.nav-dropdown {
    position: relative;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-sm);
    min-width: 260px;
    max-height: 420px;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    padding: 8px 0;
}
.dropdown-menu.dropdown-wide { min-width: 300px; }
.dropdown-menu.dropdown-right { left: auto; right: 0; }
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
    display: block;
    padding: 8px 16px;
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
}
.dropdown-menu a:hover {
    color: var(--gold);
    background: rgba(240, 192, 64, 0.06);
}
.dropdown-menu .dropdown-header {
    padding: 6px 16px 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    border-bottom: 1px solid var(--dark-border);
    margin-bottom: 4px;
}
.dropdown-menu .dropdown-divider {
    height: 1px;
    background: var(--dark-border);
    margin: 6px 0;
}
.dropdown-menu::-webkit-scrollbar { width: 6px; }
.dropdown-menu::-webkit-scrollbar-track { background: transparent; }
.dropdown-menu::-webkit-scrollbar-thumb { background: var(--dark-border); border-radius: 3px; }

.menu-toggle {
    display: none;
    background: none;
    border: 2px solid var(--dark-border);
    color: var(--text);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 1.2rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1f3a 50%, #0a1628 100%);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(26, 115, 232, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(240, 192, 64, 0.06) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, -20px); }
}
.hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 1.2rem; }
.hero h1 .highlight { color: var(--gold); }
.hero p { font-size: 1.15rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 2rem; }
.hero-badge {
    display: inline-block;
    background: rgba(240, 192, 64, 0.15);
    color: var(--gold);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(240, 192, 64, 0.3);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-decoration: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #000;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(240, 192, 64, 0.4);
    color: #000;
}
.btn-secondary {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}
.btn-secondary:hover {
    background: rgba(240, 192, 64, 0.1);
    color: var(--gold);
}
.btn-blue {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
}
.btn-blue:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(26, 115, 232, 0.4);
    color: #fff;
}
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

/* Casino Cards */
.casino-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.casino-card:hover {
    border-color: rgba(240, 192, 64, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.casino-card .rank {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--gold);
    color: #000;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    border-radius: 0 0 var(--radius-sm) 0;
}
.casino-card .badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}
.casino-card .badge-exclusive {
    background: rgba(240, 192, 64, 0.15);
    color: var(--gold);
}
.casino-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    padding-top: 8px;
}
.casino-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0.8rem;
}
.stars { color: var(--gold); font-size: 0.9rem; }
.rating-num { color: var(--gold); font-weight: 700; font-size: 1rem; }
.casino-bonus {
    background: rgba(26, 115, 232, 0.1);
    border: 1px solid rgba(26, 115, 232, 0.2);
    border-radius: var(--radius-sm);
    padding: 12px;
    margin-bottom: 1rem;
}
.casino-bonus .bonus-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.casino-bonus .bonus-value { font-size: 1.1rem; font-weight: 700; color: var(--info); }
.casino-features { list-style: none; padding: 0; margin-bottom: 1rem; }
.casino-features li {
    padding: 4px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}
.casino-features li::before { content: '\2713'; color: var(--success); font-weight: 700; }
.casino-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--dark-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--dark-border);
    margin: 1.5rem 0;
}
.comparison-table thead { background: var(--dark-surface); }
.comparison-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    border-bottom: 2px solid var(--dark-border);
}
.comparison-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--dark-border);
    font-size: 0.9rem;
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: rgba(26, 115, 232, 0.05); }
.comparison-table .highlight-row { background: rgba(240, 192, 64, 0.05); }

/* Grid Layouts */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }

/* Info Cards */
.info-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
}
.info-card:hover {
    border-color: rgba(26, 115, 232, 0.3);
    transform: translateY(-2px);
}
.info-card .icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}
.info-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.info-card p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* FAQ Accordion */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-question {
    padding: 18px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-heading);
    transition: var(--transition);
}
.faq-question:hover { background: rgba(26, 115, 232, 0.05); }
.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--gold);
    flex-shrink: 0;
    margin-left: 1rem;
    transition: var(--transition);
}
.faq-item.active .faq-question::after {
    content: '\2212';
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-answer-inner {
    padding: 0 20px 18px;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Author / EEAT Box */
.author-box {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 2rem 0;
}
.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}
.author-info h4 { margin-bottom: 2px; font-size: 1rem; }
.author-info p { margin: 0; font-size: 0.85rem; color: var(--text-muted); }
.article-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--dark-border);
}
.article-meta span { display: flex; align-items: center; gap: 6px; }

/* Trust Signals */
.trust-bar {
    background: var(--dark-surface);
    border-top: 1px solid var(--dark-border);
    border-bottom: 1px solid var(--dark-border);
    padding: 16px 20px;
}
.trust-bar-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.trust-item { display: flex; align-items: center; gap: 8px; }

/* Breadcrumbs */
.breadcrumbs {
    padding: 15px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs span { margin: 0 8px; }

/* Content Formatting */
.content-block { margin-bottom: 2.5rem; }
.content-block h2 { padding-bottom: 0.5rem; border-bottom: 2px solid var(--dark-border); margin-bottom: 1.2rem; }
.content-block h3 { color: var(--gold); }

.highlight-box {
    background: rgba(26, 115, 232, 0.08);
    border-left: 4px solid var(--primary);
    padding: 16px 20px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 1.5rem 0;
}
.warning-box {
    background: rgba(245, 158, 11, 0.08);
    border-left: 4px solid var(--warning);
    padding: 16px 20px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 1.5rem 0;
}
.success-box {
    background: rgba(34, 197, 94, 0.08);
    border-left: 4px solid var(--success);
    padding: 16px 20px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 1.5rem 0;
}

/* Pros/Cons */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 1.5rem 0; }
.pros, .cons {
    background: var(--dark-card);
    border-radius: var(--radius-sm);
    padding: 16px;
    border: 1px solid var(--dark-border);
}
.pros h4 { color: var(--success); margin-bottom: 0.8rem; }
.cons h4 { color: var(--danger); margin-bottom: 0.8rem; }
.pros ul, .cons ul { list-style: none; padding: 0; margin: 0; }
.pros li::before { content: '\2713 '; color: var(--success); font-weight: 700; }
.cons li::before { content: '\2717 '; color: var(--danger); font-weight: 700; }

/* Step Process */
.steps { counter-reset: step; }
.step {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 20px 20px 20px 70px;
    margin-bottom: 16px;
    position: relative;
    counter-increment: step;
}
.step::before {
    content: counter(step);
    position: absolute;
    left: 20px;
    top: 20px;
    width: 36px;
    height: 36px;
    background: var(--gold);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
}

/* Footer */
.site-footer {
    background: var(--dark-surface);
    border-top: 1px solid var(--dark-border);
    padding: 50px 20px 30px;
    margin-top: 60px;
}
.footer-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.footer-col h4 {
    color: var(--gold);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-col a {
    display: block;
    color: var(--text-muted);
    padding: 4px 0;
    font-size: 0.9rem;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid var(--dark-border);
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.footer-bottom p { margin-bottom: 0.5rem; }
.age-badge {
    display: inline-block;
    background: var(--danger);
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    line-height: 30px;
    font-weight: 700;
    font-size: 0.8rem;
    margin-right: 8px;
    vertical-align: middle;
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner { flex-wrap: wrap; }
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        padding-top: 10px;
        gap: 0;
    }
    .nav-links.open { display: flex; }
    .nav-links > a, .nav-dropdown > .dropdown-trigger { padding: 10px; width: 100%; font-size: 0.9rem; }
    .nav-dropdown { width: 100%; }
    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        border-left: 2px solid var(--gold);
        margin-left: 12px;
        min-width: auto;
        max-height: 300px;
        background: transparent;
    }
    .nav-dropdown.mobile-open .dropdown-menu { display: block; }
    .menu-toggle { display: block; }
    .hero { padding: 50px 20px; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .pros-cons { grid-template-columns: 1fr; }
    .comparison-table { font-size: 0.8rem; }
    .comparison-table th, .comparison-table td { padding: 10px 8px; }
    .section { padding: 40px 0; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* Table of Contents */
.toc {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 20px;
    margin: 1.5rem 0;
}
.toc h4 { margin-bottom: 0.8rem; font-size: 1rem; }
.toc ol { padding-left: 1.2rem; margin: 0; }
.toc li { padding: 4px 0; font-size: 0.9rem; }
.toc a { color: var(--text-muted); }
.toc a:hover { color: var(--gold); }

/* Schema / Structured Data Helper */
.rating-display {
    display: flex;
    align-items: center;
    gap: 8px;
}
.rating-bar {
    width: 80px;
    height: 8px;
    background: var(--dark-border);
    border-radius: 4px;
    overflow: hidden;
}
.rating-bar-fill {
    height: 100%;
    background: var(--gold);
    border-radius: 4px;
}

/* Payment Icons */
.payment-methods {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 1rem 0;
}
.payment-badge {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Scroll to top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--gold);
    color: #000;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: var(--shadow);
}
.scroll-top.visible { display: flex; }
