/* ============================
   Review Site — style.css
   casinoonlinefr.org
   ============================ */

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

:root {
    --bg: #ffffff;
    --bg-alt: #f7f8fc;
    --text: #1a1a2e;
    --text-secondary: #5a5a7a;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --accent-light: #dbeafe;
    --accent-gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --green: #10b981;
    --green-light: #d1fae5;
    --gold: #f59e0b;
    --gold-light: #fef3c7;
    --red: #ef4444;
    --border: #e5e7eb;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --sidebar-width: 240px;
    --max-width: 1200px;
    --header-height: 64px;
    --font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }
ul { list-style: none; }
h1, h2, h3, h4 { line-height: 1.3; color: var(--text); }
h2 { font-size: 1.75rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 700px;
}

/* --- Fonts (fallback to system if DM Sans not loaded) --- */
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('DM Sans Regular'), local('DMSans-Regular');
}
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: local('DM Sans Medium'), local('DMSans-Medium');
}
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: local('DM Sans Bold'), local('DMSans-Bold');
}

/* ===========================
   HEADER
   =========================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    height: var(--header-height);
}
.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    height: 100%;
    gap: 32px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text);
    white-space: nowrap;
    text-decoration: none;
}
.logo-icon { display: flex; flex-shrink: 0; }
.logo-img { height: 52px; width: auto; }
.logo-text { color: var(--text); font-weight: 400; font-size: 1.15rem; }
.logo-text strong { font-weight: 800; color: var(--accent); }
.main-nav {
    display: flex;
    gap: 4px;
    flex: 1;
}
.nav-link {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.2s;
    white-space: nowrap;
}
.nav-link:hover {
    color: var(--accent);
    background: var(--accent-light);
}
.nav-link.active {
    color: var(--accent);
    background: var(--accent-light);
    font-weight: 700;
    position: relative;
}
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--accent-gradient);
}
.mobile-sidebar-links { display: none; }
.header-cta { flex-shrink: 0; }
.header-cta .btn-primary {
    display: inline-flex;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    background: var(--accent-gradient);
    color: #fff;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s;
}
.header-cta .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37,99,235,0.35);
    color: #fff;
}

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

/* ===========================
   HERO
   =========================== */
.hero-section {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8edf8 50%, #f5f0ff 100%);
    padding: 56px 24px 48px;
    text-align: center;
}
.hero-inner {
    max-width: 760px;
    margin: 0 auto;
}
.hero-section h1 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text) 0%, #4338ca 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-author {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.author-avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.author-avatar img, .author-avatar svg { width: 100%; height: 100%; object-fit: cover; }
.author-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.author-name { font-weight: 600; font-size: 0.9rem; color: var(--text); }
.author-date { font-size: 0.8rem; color: var(--text-secondary); }
.hero-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.7;
}
.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--accent-gradient);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius-md);
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,99,235,0.35);
    color: #fff;
}

/* ===========================
   LAYOUT WITH SIDEBAR
   =========================== */
.layout-with-sidebar {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr;
    gap: 32px;
    align-items: start;
}

/* --- Sidebar --- */
.sidebar {
    position: sticky;
    top: calc(var(--header-height) + 16px);
    padding: 16px 0;
    max-height: calc(100vh - var(--header-height) - 32px);
    overflow-y: auto;
}
.sidebar::-webkit-scrollbar { width: 3px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.sidebar-header {
    padding: 0 12px 12px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 8px;
}
.sidebar-header h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    font-weight: 600;
}
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.2s;
    line-height: 1.3;
}
.sidebar-link:hover {
    color: var(--accent);
    background: var(--accent-light);
}
.sidebar-link.active {
    color: var(--accent);
    background: var(--accent-light);
    font-weight: 600;
    border-left: 3px solid var(--accent);
    padding-left: 9px;
}
.sidebar-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    display: flex;
}
.sidebar-icon svg {
    width: 100%;
    height: 100%;
}

/* Sidebar Expert Mini Card */
.sidebar-expert {
    margin-top: 16px;
    padding: 16px 12px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
}
.sidebar-expert-avatar { width: 48px; height: 48px; margin-bottom: 4px; }
.sidebar-expert-avatar img, .sidebar-expert-avatar svg { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.sidebar-expert-name { font-size: 0.8rem; font-weight: 700; color: var(--text); }
.sidebar-expert-role { font-size: 0.72rem; color: var(--text-secondary); }
.sidebar-expert-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent);
    margin-top: 2px;
}

/* --- Main Content Area --- */
.main-content {
    min-width: 0;
    padding-top: 8px;
}
.main-content > section,
.main-content > .seo-content-sections {
    margin-top: 40px;
    margin-bottom: 40px;
}
.main-content > section:first-child {
    margin-top: 24px;
}

/* --- Topic Page Styles --- */
.topic-header {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}
.topic-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}
.topic-breadcrumb a { color: var(--accent); font-weight: 500; }
.topic-header h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}
.topic-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.topic-author { font-weight: 500; }
.topic-content {
    margin-top: 32px;
}
.topic-content .content-section {
    margin-bottom: 40px;
}
.topic-content h2 {
    margin-top: 32px;
}
.topic-content h2:first-child {
    margin-top: 0;
}
.topic-content p {
    margin-bottom: 16px;
    color: var(--text-secondary);
    line-height: 1.75;
}
.topic-content ul, .topic-content ol {
    margin-bottom: 16px;
    padding-left: 20px;
}
.topic-content ul { list-style: disc; }
.topic-content ol { list-style: decimal; }
.topic-content li {
    margin-bottom: 8px;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* --- Mini Casino List (topic pages) --- */
.mini-casino-list {
    background: var(--bg-alt);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 32px;
}
.mini-casino-list h3 {
    font-size: 0.95rem;
    margin-bottom: 14px;
    color: var(--text);
}
.mini-casino-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}
.mini-casino-card:last-child { border-bottom: none; }
.mini-rank {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.75rem;
    flex-shrink: 0;
}
.mini-casino-info {
    flex: 1;
    min-width: 0;
}
.mini-casino-name {
    display: block;
    font-size: 0.9rem;
    color: var(--text);
}
.mini-casino-bonus {
    font-size: 0.75rem;
    color: var(--green);
    font-weight: 500;
}
.mini-casino-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 0.8rem;
    font-weight: 600;
    flex-shrink: 0;
}
.mini-stars { color: var(--gold); }
.mini-btn {
    display: inline-flex;
    padding: 6px 14px;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    font-size: 0.75rem;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
    flex-shrink: 0;
    white-space: nowrap;
}
.mini-btn:hover { background: var(--accent-hover); color: #fff; }

/* ===========================
   REVIEW MAIN (legacy, kept for compat)
   =========================== */
.review-main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}
.review-main > section,
.review-main > .seo-content-sections {
    margin-top: 48px;
    margin-bottom: 48px;
}

/* ===========================
   CASINO CARDS
   =========================== */
.casino-list-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 8px;
}
.casino-list-section > .section-subtitle {
    text-align: center;
    margin: 0 auto 32px;
}
.casino-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.casino-card {
    display: grid;
    grid-template-columns: 56px 160px 1fr 180px;
    gap: 20px;
    align-items: center;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: box-shadow 0.25s, transform 0.25s;
    position: relative;
}
.casino-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}
.casino-card:first-child {
    border: 2px solid var(--accent);
    background: linear-gradient(135deg, #fafbff 0%, #f0f4ff 100%);
}

/* Rank Badge */
.casino-card-rank { display: flex; justify-content: center; }
.rank-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
    background: var(--accent-gradient);
    box-shadow: 0 2px 8px rgba(37,99,235,0.3);
}
.casino-card:first-child .rank-badge {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    box-shadow: 0 2px 8px rgba(245,158,11,0.4);
    width: 46px;
    height: 46px;
    font-size: 1.1rem;
}

/* Casino Logo */
.casino-card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}
.casino-logo-placeholder {
    width: 140px;
    height: 64px;
    background: linear-gradient(135deg, #1a1a2e, #2d2d50);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    text-align: center;
    padding: 8px;
    line-height: 1.2;
}

/* Casino Info */
.casino-card-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.casino-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.casino-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
}
.casino-rating {
    display: flex;
    align-items: center;
    gap: 6px;
}
.stars { display: flex; gap: 2px; }
.star { width: 16px; height: 16px; color: var(--gold); }
.star-empty { color: #ddd; }
.rating-number {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text);
}
.casino-bonus-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--green);
    background: var(--green-light);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    display: inline-block;
    width: fit-content;
}
.casino-pros {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
}
.casino-pros li {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}
.check-icon {
    width: 16px;
    height: 16px;
    color: var(--green);
    flex-shrink: 0;
}
.casino-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.meta-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    font-weight: 500;
}
.meta-value {
    font-weight: 600;
    font-size: 0.875rem;
}
.casino-payments {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.payment-icon {
    width: 40px;
    height: 26px;
    border-radius: 4px;
}

/* CTA Column */
.casino-card-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.btn-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: var(--accent-gradient);
    color: #fff;
    font-weight: 800;
    font-size: 0.9rem;
    border-radius: var(--radius-md);
    letter-spacing: 0.5px;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
    width: 100%;
    white-space: nowrap;
}
.btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,99,235,0.4);
    color: #fff;
}
.cta-terms {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-align: center;
}

/* ===========================
   EXPERT BLOCK
   =========================== */
.expert-block {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 40px;
}
.expert-card {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.expert-avatar {
    position: relative;
    flex-shrink: 0;
    width: 80px;
    height: 80px;
}
.expert-avatar img, .expert-avatar svg { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.expert-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 24px;
    height: 24px;
    display: block;
}
.expert-badge svg { width: 24px; height: 24px; border-radius: 50%; }
.expert-info { flex: 1; min-width: 0; }
.expert-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 2px;
}
.expert-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}
.expert-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-light);
    padding: 2px 10px;
    border-radius: 20px;
}
.expert-title {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}
.expert-bio {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 16px;
}
.expert-stats {
    display: flex;
    gap: 24px;
}
.expert-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.stat-number {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}
.stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
    white-space: nowrap;
}
.expert-quote-review {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    position: relative;
    padding-left: 0;
    border-left: none;
    font-style: normal;
}
.expert-quote-review .quote-icon {
    width: 28px;
    height: 28px;
    color: var(--accent);
    opacity: 0.25;
    margin-bottom: 8px;
}
.expert-quote-review p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text);
    font-style: italic;
    margin: 0 0 10px;
}
.expert-quote-review cite {
    display: block;
    font-style: normal;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}
@media (max-width: 768px) {
    .expert-block { padding: 20px; }
    .expert-card { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
    .expert-name-row { justify-content: center; }
    .expert-stats { justify-content: center; }
    .expert-bio { text-align: center; }
}

/* ===========================
   COMPARISON TABLE
   =========================== */
.comparison-section h2 { text-align: center; }
.comparison-section > .section-subtitle { text-align: center; margin: 0 auto 24px; }
.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.comparison-table th {
    background: var(--bg-alt);
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    border-bottom: 2px solid var(--border);
    white-space: nowrap;
}
.comparison-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}
.comparison-table tbody tr:hover { background: var(--bg-alt); }
.comparison-table tbody tr:first-child { background: #f0f4ff; }
.td-rank {
    font-weight: 800;
    color: var(--accent);
    text-align: center;
}
.btn-table {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    font-size: 0.8rem;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
    white-space: nowrap;
}
.btn-table:hover { background: var(--accent-hover); color: #fff; }

/* Methods Table (same base style) */
.methods-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    margin: 20px 0;
}
.methods-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.methods-table th {
    background: var(--bg-alt);
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    border-bottom: 2px solid var(--border);
}
.methods-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}
.methods-table tbody tr:hover { background: var(--bg-alt); }

/* ===========================
   SEO CONTENT SECTIONS
   =========================== */
.seo-content-sections { display: flex; flex-direction: column; gap: 48px; }
.content-section p {
    margin-bottom: 16px;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.75;
}
.content-section h3 {
    margin-top: 24px;
}

/* Criteria Grid */
.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 24px;
}
.criteria-card {
    background: var(--bg-alt);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: box-shadow 0.2s;
}
.criteria-card:hover { box-shadow: var(--shadow-md); }
.criteria-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    color: var(--accent);
}
.criteria-icon svg { width: 100%; height: 100%; }
.criteria-card h3 { font-size: 1rem; margin-top: 0; }
.criteria-card p { font-size: 0.9rem; margin: 0; }

/* Highlight Boxes */
.highlight-box {
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin: 20px 0;
}
.highlight-box h4 { margin-bottom: 10px; font-size: 1rem; }
.highlight-box ul { padding-left: 0; }
.highlight-box li {
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.highlight-box li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.highlight-box-info {
    background: #eff6ff;
    border-left: 4px solid var(--accent);
}
.highlight-box-info h4 { color: var(--accent); }
.highlight-box-info li::before { background: var(--accent); }
.highlight-box-warning {
    background: #fffbeb;
    border-left: 4px solid var(--gold);
}
.highlight-box-warning h4 { color: #b45309; }
.highlight-box-warning p { margin: 0; }

/* Responsible Gaming Tips */
.responsible-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 20px 0;
}
.tip-card {
    background: var(--bg-alt);
    border-radius: var(--radius-md);
    padding: 20px;
    border-left: 3px solid var(--green);
}
.tip-card h4 { font-size: 0.95rem; margin-bottom: 6px; color: var(--text); }
.tip-card p { font-size: 0.875rem; margin: 0; color: var(--text-secondary); }

/* ===========================
   REVIEWS GRID
   =========================== */
.reviews-section h2 { text-align: center; }
.reviews-section > .section-subtitle { text-align: center; margin: 0 auto 24px; }
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}
.review-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.review-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}
.reviewer-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.reviewer-name { font-weight: 600; font-size: 0.9rem; }
.reviewer-date { font-size: 0.75rem; color: var(--text-secondary); }
.review-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
}
.stars-small { color: var(--gold); letter-spacing: 1px; }
.review-casino {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 8px;
}
.review-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-style: italic;
}

/* ===========================
   FAQ ACCORDION
   =========================== */
.faq-section h2 { text-align: center; margin-bottom: 28px; }
.accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.2s;
}
.accordion-item.open { border-color: var(--accent); }
.accordion-header {
    width: 100%;
    background: var(--bg);
    border: none;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    font-family: var(--font);
    transition: background 0.2s;
}
.accordion-header:hover { background: var(--bg-alt); }
.accordion-arrow {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--text-secondary);
    transition: transform 0.3s;
}
.accordion-item.open .accordion-arrow { transform: rotate(180deg); color: var(--accent); }
.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 20px;
}
.accordion-item.open .accordion-body {
    max-height: 300px;
    padding: 0 20px 18px;
}
.accordion-body p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    margin-top: 64px;
    padding: 48px 24px 0;
}
.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #1e293b;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1rem;
    color: #e2e8f0;
    margin-bottom: 12px;
}
.footer-logo .logo-icon { display: flex; flex-shrink: 0; }
.footer-logo strong { color: #60a5fa; }
.footer-desc { font-size: 0.875rem; line-height: 1.7; }
.footer-col h4 {
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col li a {
    color: #94a3b8;
    font-size: 0.875rem;
    transition: color 0.2s;
}
.footer-col li a:hover { color: #e2e8f0; }
.trust-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}
.trust-badge {
    width: 44px;
    height: 44px;
    color: #64748b;
    transition: color 0.2s;
}
.trust-badge:hover { color: #94a3b8; }
.trust-badge svg { width: 100%; height: 100%; }
.footer-warning {
    font-size: 0.8rem;
    color: #ef4444;
    font-weight: 500;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 0.8rem;
}
.footer-legal {
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-legal a { color: #94a3b8; }
.footer-legal a:hover { color: #e2e8f0; }
.age-badge {
    background: #ef4444;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.75rem;
}
.footer-disclaimer {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px 0;
    border-top: 1px solid #1e293b;
}
.footer-disclaimer p {
    font-size: 0.75rem;
    line-height: 1.7;
    color: #64748b;
}
.footer-disclaimer a { color: #60a5fa; }

/* ===========================
   PROMO BAR
   =========================== */
.promo-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-top: 1px solid #334155;
    padding: 12px 24px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
.promo-bar-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.promo-bar-text {
    color: #e2e8f0;
    font-size: 0.95rem;
}
.promo-bar-btn {
    display: inline-flex;
    padding: 10px 24px;
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    transition: transform 0.2s;
}
.promo-bar-btn:hover { transform: scale(1.03); color: #fff; }
.promo-bar-close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #64748b;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}
.promo-bar-close:hover { color: #e2e8f0; }

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 72px;
    right: 24px;
    z-index: 998;
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s;
}
.back-to-top:hover { transform: translateY(-2px); }

/* ===========================
   CHART COMPONENTS
   =========================== */

/* --- Horizontal Bar Chart --- */
.chart-bar {
    margin: 24px 0;
}
.chart-bar-title {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 16px;
    color: var(--text);
}
.chart-bar-item {
    margin-bottom: 14px;
}
.chart-bar-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 0.9rem;
    font-weight: 500;
}
.chart-bar-label span:last-child {
    font-weight: 700;
    color: var(--accent);
}
.chart-bar-track {
    height: 12px;
    background: var(--bg-alt);
    border-radius: 6px;
    overflow: hidden;
}
.chart-bar-fill {
    height: 100%;
    border-radius: 6px;
    background: var(--accent-gradient);
    transition: width 0.8s ease;
}
.chart-bar-fill.green { background: linear-gradient(90deg, #10b981, #34d399); }
.chart-bar-fill.gold { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.chart-bar-fill.red { background: linear-gradient(90deg, #ef4444, #f87171); }
.chart-bar-fill.purple { background: linear-gradient(90deg, #7c3aed, #a78bfa); }

/* --- Donut Chart (CSS-only) --- */
.chart-donut-wrap {
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 24px 0;
    padding: 24px;
    background: var(--bg-alt);
    border-radius: var(--radius-md);
}
.chart-donut {
    position: relative;
    width: 160px;
    height: 160px;
    min-width: 160px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.chart-donut-center {
    position: absolute;
    width: 90px;
    height: 90px;
    background: var(--bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 2;
}
.chart-donut-center .donut-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.1;
}
.chart-donut-center .donut-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.chart-donut-legend {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.chart-donut-legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}
.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}
.legend-dot.blue { background: var(--accent); }
.legend-dot.green { background: var(--green); }
.legend-dot.gold { background: var(--gold); }
.legend-dot.red { background: var(--red); }
.legend-dot.purple { background: #7c3aed; }
.legend-dot.gray { background: #94a3b8; }
.legend-dot.teal { background: #0ea5e9; }
.legend-dot.orange { background: #f97316; }

/* --- Stat Cards Grid --- */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin: 24px 0;
}
.stat-card {
    background: var(--bg-alt);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    text-align: center;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
}
.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.stat-card-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
    display: block;
}
.stat-card-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.2;
}
.stat-card-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 4px;
}
.stat-card.accent { border-top: 3px solid var(--accent); }
.stat-card.green { border-top: 3px solid var(--green); }
.stat-card.gold { border-top: 3px solid var(--gold); }
.stat-card.red { border-top: 3px solid var(--red); }
.stat-card.purple { border-top: 3px solid #7c3aed; }

/* --- Process / Timeline --- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0;
    margin: 24px 0;
    position: relative;
}
.process-step {
    position: relative;
    padding: 24px 16px;
    text-align: center;
}
.process-step::after {
    content: '';
    position: absolute;
    top: 38px;
    right: 0;
    width: 50%;
    height: 2px;
    background: var(--border);
}
.process-step:last-child::after { display: none; }
.process-step::before {
    content: '';
    position: absolute;
    top: 38px;
    left: 0;
    width: 50%;
    height: 2px;
    background: var(--border);
}
.process-step:first-child::before { display: none; }
.step-number {
    width: 40px;
    height: 40px;
    background: var(--accent-gradient);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    position: relative;
    z-index: 2;
}
.step-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 6px;
    color: var(--text);
}
.step-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* --- Comparison Cards --- */
.compare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin: 24px 0;
}
.compare-card {
    background: var(--bg-alt);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.compare-card.recommended {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}
.compare-card.recommended::before {
    content: 'Recommandé';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--accent-gradient);
    color: #fff;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.compare-card.recommended { padding-top: 40px; }
.compare-card-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 4px;
    color: var(--text);
}
.compare-card-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}
.compare-card-features {
    list-style: none;
    padding: 0;
    margin: 0;
}
.compare-card-features li {
    padding: 8px 0;
    border-top: 1px solid var(--border);
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.compare-card-features li::before {
    content: '';
    width: 18px;
    height: 18px;
    background: var(--green-light);
    border-radius: 50%;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
}
.compare-card-features li.con::before {
    background-color: #fee2e2;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='3'%3E%3Cpath d='M18 6L6 18M6 6l12 12'/%3E%3C/svg%3E");
}

/* --- Score Gauge --- */
.score-gauge {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-alt);
    border-radius: var(--radius-md);
    margin: 12px 0;
}
.score-gauge-bar {
    flex: 1;
    height: 10px;
    background: #e5e7eb;
    border-radius: 5px;
    overflow: hidden;
}
.score-gauge-fill {
    height: 100%;
    border-radius: 5px;
    transition: width 0.8s ease;
}
.score-gauge-fill.excellent { background: var(--green); }
.score-gauge-fill.good { background: #22c55e; }
.score-gauge-fill.average { background: var(--gold); }
.score-gauge-fill.poor { background: var(--red); }
.score-gauge-label {
    font-size: 0.88rem;
    font-weight: 500;
    min-width: 120px;
}
.score-gauge-value {
    font-size: 0.95rem;
    font-weight: 800;
    min-width: 50px;
    text-align: right;
}
.score-gauge-value.excellent { color: var(--green); }
.score-gauge-value.good { color: #22c55e; }
.score-gauge-value.average { color: var(--gold); }
.score-gauge-value.poor { color: var(--red); }

/* --- Info Row / Key-Value --- */
.info-row-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin: 24px 0;
}
.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--accent);
}
.info-row-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.info-row-value {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
}

/* --- Badge Group --- */
.badge-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
}
.badge.blue { background: var(--accent-light); color: var(--accent); }
.badge.green { background: var(--green-light); color: var(--green); }
.badge.gold { background: var(--gold-light); color: #b45309; }
.badge.red { background: #fee2e2; color: var(--red); }
.badge.purple { background: #ede9fe; color: #7c3aed; }
.badge.gray { background: #f1f5f9; color: #64748b; }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
    .layout-with-sidebar {
        grid-template-columns: 1fr;
    }
    .sidebar {
        display: none;
    }
}

@media (max-width: 900px) {
    .casino-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 16px;
        padding: 24px 20px;
    }
    .casino-card-rank { order: -1; }
    .rank-badge { margin: 0 auto; }
    .casino-logo-placeholder { margin: 0 auto; }
    .casino-card-header { justify-content: center; }
    .casino-bonus-text { margin: 0 auto; }
    .casino-pros { justify-content: center; }
    .casino-meta { justify-content: center; }
    .casino-payments { justify-content: center; }
    .casino-card-cta { width: 100%; }
    .btn-play { max-width: 280px; margin: 0 auto; }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .hero-section h1 { font-size: 1.75rem; }
    .topic-header h1 { font-size: 1.5rem; }
}

@media (max-width: 768px) {
    .logo-img { width: 52px; height: 52px; }
    .main-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        z-index: 999;
        padding: 60px 24px 24px;
        overflow-y: auto;
    }
    .main-nav.show { display: flex; }
    .main-nav .nav-link {
        font-size: 1.1rem;
        padding: 10px 20px;
    }
    /* Show sidebar links in mobile menu */
    .main-nav .mobile-sidebar-links {
        display: flex;
        flex-direction: column;
        gap: 2px;
        width: 100%;
        max-width: 320px;
        border-top: 1px solid var(--border);
        margin-top: 8px;
        padding-top: 12px;
    }
    .main-nav .mobile-sidebar-link {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 16px;
        border-radius: var(--radius-sm);
        font-size: 0.9rem;
        color: var(--text-secondary);
        transition: all 0.2s;
    }
    .main-nav .mobile-sidebar-link:hover,
    .main-nav .mobile-sidebar-link.active {
        color: var(--accent);
        background: var(--accent-light);
    }
    .main-nav .mobile-sidebar-link .sidebar-icon {
        width: 16px;
        height: 16px;
    }
    .header-cta { display: none; }
    .burger { display: flex; }

    .hero-section { padding: 40px 16px 32px; }
    .hero-section h1 { font-size: 1.5rem; }
    .hero-intro { font-size: 1rem; }

    .layout-with-sidebar { padding: 0 16px; }
    .review-main { padding: 0 16px; }
    .review-main > section,
    .review-main > .seo-content-sections {
        margin-top: 32px;
        margin-bottom: 32px;
    }

    .criteria-grid { grid-template-columns: 1fr; }
    .responsible-tips { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }

    .mini-casino-card { flex-wrap: wrap; }
    .mini-casino-rating { order: 3; width: 100%; justify-content: flex-start; padding-left: 40px; margin-top: -4px; }

    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

    .promo-bar-inner { flex-direction: column; gap: 10px; }
    .promo-bar-text { font-size: 0.85rem; text-align: center; }
    .promo-bar-close { top: 8px; right: 8px; transform: none; }

    /* Charts responsive */
    .chart-donut-wrap { flex-direction: column; text-align: center; gap: 20px; }
    .chart-donut { margin: 0 auto; width: 140px; height: 140px; min-width: 140px; }
    .chart-donut-center { width: 76px; height: 76px; }
    .chart-donut-center .donut-value { font-size: 1.25rem; }
    .chart-donut-legend { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px; }
    .process-steps { grid-template-columns: 1fr 1fr; gap: 8px; }
    .process-step::after, .process-step::before { display: none; }
    .compare-grid { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .info-row-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .process-steps { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    h2 { font-size: 1.4rem; }
    .comparison-table { font-size: 0.8rem; }
    .comparison-table th, .comparison-table td { padding: 10px 8px; }
    .topic-header h1 { font-size: 1.3rem; }
}
