/* ============================================
   CSS-Chicken-be.css — Unified Game + Casino v5
   Mercury Theme / PluginSteroide

   Game mode  = default (green #2ecc71)
   Casino mode = plugin overrides :root variables

   v5: Compact spacing, CRO improvements,
       player reviews row, hero-left CTA
   ============================================ */

/* === 0. Title Box — Compact H1 + Reduce gap to content === */
.space-title-box {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

.space-title-box-ins {
    padding-top: 8px !important;
}

.space-title-box-h1 h1 {
    font-size: 1.5rem !important;
    line-height: 1.25 !important;
    font-weight: 700;
    margin-bottom: 0 !important;
}

/* Kill Mercury's default 41px gap between title box and content */
.space-page-section-ins {
    padding-top: 10px !important;
}

.space-page-content-wrap {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* === 1. CSS Custom Properties === */
:root {
    /* Colors — Game mode defaults */
    --primary: #2ecc71;
    --primary-light: #55efc4;
    --primary-dark: #27ae60;
    --secondary: #f39c12;

    /* Backgrounds */
    --bg-body: #0d0d0d;
    --bg-dark: #161616;
    --bg-card: #1e1e1e;
    --bg-card-hover: #252525;

    /* Borders */
    --border: #2a2a2a;
    --border-light: #333;

    /* Text */
    --text-primary: #f5f5f5;
    --text-secondary: #b0b0b0;
    --text-muted: #666;

    /* Radius */
    --radius: 12px;
    --radius-sm: 8px;
}

/* === 2. Base Utilities === */
img {
    max-width: 100%;
    height: auto;
}

.main-content,
.hero-section,
.game-section,
.game-section-first,
.content-section {
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* === 2b. Platform Compatibility Badges === */
.platform-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: border-color 0.2s, color 0.2s;
}

.platform-badge i {
    font-size: 1rem;
    color: var(--text-muted);
}

.platform-badge:hover {
    border-color: var(--primary);
    color: var(--text-primary);
}

.platform-badge:hover i {
    color: var(--primary);
}

/* === 3. Hero — Game Mode (70/30 grid) === */
.game-section-first {
    padding: 10px 0 16px;
    background: var(--bg-dark);
}

.game-container-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    contain: layout style;
}

.game-wrapper-with-table {
    display: grid !important;
    grid-template-columns: 1fr 300px;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
}

/* Grid positioning — CTA is inside grid on generated pages (desktop only) */
@media (min-width: 1025px) {
    .game-wrapper-with-table > .game-iframe-main-wrapper {
        grid-column: 1;
        grid-row: 1;
    }

    .game-wrapper-with-table > .game-specs-table {
        grid-column: 2;
        grid-row: 1;
    }

    .game-wrapper-with-table > .real-money-cta {
        grid-column: 1 / -1;
        grid-row: 2;
        align-self: start;
    }
}

.game-iframe-main-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: calc(100svh - 180px);
    max-height: calc(100dvh - 180px);
    border-radius: var(--radius);
    overflow: hidden;
    background: #000;
    border: 1px solid var(--border);
}

.iframe-game {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* When game is launched (placeholder hidden, iframe shown), remove aspect-ratio constraint */
.iframe-game[style*="display:block"],
.iframe-game[style*="display: block"] {
    position: absolute;
    inset: 0;
}

.game-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

.game-placeholder .placeholder-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.2);
}

.placeholder-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
    color: var(--text-primary);
}

.placeholder-content .section-title {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.placeholder-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

/* CTA in specs table */
.specs-cta {
    margin-top: 16px;
    font-size: 0.92rem;
    padding: 12px 16px;
}

/* Platform badges inside specs table */
.game-specs-table .platform-badges {
    justify-content: flex-start;
    margin-bottom: 12px;
}

/* === 4. Buttons === */
.game-buttons-main {
    display: flex;
    gap: 12px;
    margin: 12px 0 16px;
    contain: layout;
}

.btn-play-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--primary);
    color: #000;
    padding: 18px 36px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 1.15rem;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: center;
}

.btn-play-main:hover {
    background: var(--primary-light);
    box-shadow: 0 4px 16px color-mix(in srgb, var(--primary) 25%, transparent);
    transform: translateY(-2px);
    color: #000;
}

/* Content-level CTA buttons (standalone, not in hero) */
.content-article .btn-play-main,
.content-section .btn-play-main {
    max-width: 500px;
    margin: 20px auto;
    display: flex;
}

.btn-demo-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--secondary);
    color: #000;
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: center;
}

.btn-demo-main:hover {
    background: #f1c40f;
    box-shadow: 0 4px 16px rgba(243, 156, 18, 0.3);
    transform: translateY(-2px);
    color: #000;
}

/* === 4b. Real-money CTA below iframe (shown when demo is playing) === */
.real-money-cta {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 18px 36px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 1.15rem;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    margin-top: 12px;
    width: 100%;
}

.real-money-cta:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    box-shadow: 0 4px 16px color-mix(in srgb, var(--primary) 30%, transparent);
    color: #fff;
    transform: translateY(-2px);
}

.real-money-cta.visible {
    display: flex;
}

/* === 5. Specs Table === */
.game-specs-table {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 16px;
    height: fit-content;
    contain: layout style;
}

.game-specs-table h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.specs-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin: 16px 0;
}

/* Dark header + alternating rows (like professional comparison tables) */
.specs-table thead {
    background: #2a2d35 !important;
    display: table-header-group !important;
}

.specs-table thead th {
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 0.88rem;
    padding: 14px 16px;
    text-align: left;
    border-bottom: 2px solid var(--primary);
    background: #2a2d35 !important;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.specs-table tbody tr {
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background 0.15s;
}

.specs-table tbody tr:nth-child(odd) {
    background: rgba(255,255,255,0.02) !important;
}

.specs-table tbody tr:nth-child(even) {
    background: rgba(255,255,255,0.06) !important;
}

.specs-table tbody tr:hover {
    background: rgba(255,255,255,0.11) !important;
}

.specs-table tbody tr:last-child {
    border-bottom: none;
}

.specs-table td,
.specs-table th {
    padding: 10px 16px;
    font-size: 0.85rem;
}

.specs-table td:first-child {
    color: var(--text-primary);
    font-weight: 600;
}

/* Inside game sidebar: revert to compact inline style */
.game-specs-table .specs-table {
    border: none;
    border-radius: 0;
    margin: 0;
    overflow: visible;
}

.game-specs-table .specs-table td {
    padding: 8px 0;
}

.game-specs-table .specs-table td:first-child {
    color: var(--text-muted);
    width: 50%;
}

.game-specs-table .specs-table td:last-child {
    color: var(--text-primary);
    text-align: right;
}

/* === 6. Hero — Casino Mode (50/50 split with rating bars) === */
.casino-hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: auto;
    max-height: calc(100svh - 140px);
    max-height: calc(100dvh - 140px);
    overflow-y: auto;
}

.hero-left {
    padding: 16px 20px 16px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.casino-logo-wrap {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--bg-dark), var(--bg-card));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
}

.casino-logo-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 10%, transparent), transparent);
    border-radius: 16px;
}

.casino-logo-wrap i {
    font-size: 2.5rem;
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.casino-rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.casino-rating-row .stars {
    color: var(--secondary);
    font-size: 0.95rem;
}

.casino-rating-row .stars i {
    margin-right: 2px;
}

.casino-rating-row .rating-score {
    background: var(--primary);
    color: #000;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.9rem;
}

.casino-rating-row .rating-count {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.casino-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 12px;
    max-width: 480px;
}

.bonus-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: color-mix(in srgb, var(--secondary) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--secondary) 25%, transparent);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    margin-bottom: 12px;
}

.bonus-badge i {
    color: var(--secondary);
    font-size: 1.2rem;
}

.bonus-badge-text {
    display: flex;
    flex-direction: column;
}

.bonus-badge-label {
    font-size: 0.72rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.bonus-badge-value {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
}

.hero-right {
    padding: 16px 0 16px 20px;
    border-left: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Rating bars */
.rating-bars {
    margin-bottom: 12px;
}

.rating-bar-item {
    margin-bottom: 10px;
}

.rating-bar-item:last-child {
    margin-bottom: 0;
}

.rating-bar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.rating-bar-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.rating-bar-score {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-primary);
}

.rating-bar-track {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.rating-bar-fill {
    height: 100%;
    border-radius: 5px;
    position: relative;
    width: 0;
    animation: barFill 1.2s ease-out forwards;
    animation-delay: var(--delay, 0s);
}

.rating-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15));
    border-radius: 0 5px 5px 0;
}

.bar-confiance {
    background: linear-gradient(90deg, var(--primary), #00b894);
    --target-width: 92%;
}

.bar-jeux {
    background: linear-gradient(90deg, var(--primary), #00cec9);
    --target-width: 88%;
}

.bar-bonus {
    background: linear-gradient(90deg, #00b894, var(--primary-light));
    --target-width: 95%;
}

.bar-support {
    background: linear-gradient(90deg, #0984e3, var(--primary));
    --target-width: 80%;
}

@keyframes barFill {
    from { width: 0; }
    to { width: var(--target-width); }
}

.overall-score-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: color-mix(in srgb, var(--primary) 6%, transparent);
    border: 1px solid color-mix(in srgb, var(--primary) 15%, transparent);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    margin-bottom: 10px;
}

.overall-label {
    display: flex;
    flex-direction: column;
}

.overall-label-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.overall-label-sub {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.overall-big-score {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.overall-big-score span {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 600;
}

.btn-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 20px 36px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    width: 100%;
}

.btn-cta:hover {
    box-shadow: 0 4px 20px color-mix(in srgb, var(--primary) 30%, transparent);
    transform: translateY(-1px);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: #fff;
}

.cta-notice {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 6px;
    text-align: center;
}

/* Hero-left CTA (visible above the fold) */
.hero-cta-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 16px 28px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 1.15rem;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    width: 100%;
    margin-top: 4px;
}

.hero-cta-primary:hover {
    box-shadow: 0 4px 20px color-mix(in srgb, var(--primary) 30%, transparent);
    transform: translateY(-1px);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: #fff;
}

/* Player reviews row (avis des joueurs) */
.player-reviews-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    margin-bottom: 10px;
}

.player-reviews-label {
    display: flex;
    flex-direction: column;
}

.player-reviews-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.player-reviews-details {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.player-reviews-score {
    display: flex;
    align-items: center;
    gap: 6px;
}

.player-reviews-score .stars {
    color: var(--secondary);
    font-size: 0.8rem;
}

.player-reviews-score .score-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
}

/* Pros/Cons (casino) */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 24px 0;
}

.pros-box,
.cons-box {
    border-radius: var(--radius-sm);
    padding: 24px;
}

.pros-box {
    background: rgba(0, 184, 148, 0.06);
    border: 1px solid rgba(0, 184, 148, 0.15);
}

.cons-box {
    background: rgba(231, 111, 81, 0.06);
    border: 1px solid rgba(231, 111, 81, 0.15);
}

.pros-box h4 {
    color: #00b894;
    font-size: 0.92rem;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cons-box h4 {
    color: #e76f51;
    font-size: 0.92rem;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pros-box ul,
.cons-box ul {
    list-style: none;
    padding: 0;
}

.pros-box li,
.cons-box li {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin: 10px 0;
    padding-left: 22px;
    position: relative;
    line-height: 1.5;
}

.pros-box li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #00b894;
    font-size: 0.75rem;
    top: 2px;
}

.cons-box li::before {
    content: "\f00d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #e76f51;
    font-size: 0.75rem;
    top: 2px;
}

/* Game categories (casino) */
.game-category {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-dark);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    margin-bottom: 12px;
}

.game-category i {
    color: var(--primary);
    font-size: 1.1rem;
    width: 28px;
    text-align: center;
}

.game-category .gc-name {
    font-weight: 600;
    font-size: 0.9rem;
    flex: 1;
}

.game-category .gc-count {
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* Details table (casino) */
.details-table {
    width: 100%;
    margin: 24px 0;
    border-collapse: collapse;
}

.details-table tr {
    border-bottom: 1px solid var(--border);
}

.details-table tr:last-child {
    border-bottom: none;
}

.details-table td {
    padding: 14px 0;
    vertical-align: top;
}

.details-table td:first-child {
    color: var(--text-muted);
    font-size: 0.88rem;
    width: 180px;
    font-weight: 600;
}

.details-table td:last-child {
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.payment-icons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.payment-icon {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 0.78rem;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: border-color 0.2s;
}

.payment-icon:hover {
    border-color: var(--primary);
}

.license-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: color-mix(in srgb, var(--primary) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--primary) 20%, transparent);
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 0.82rem;
    color: var(--primary);
    font-weight: 600;
    margin-right: 6px;
}

/* === 7. Titles === */
.main-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

/* Hero-left section title: tighter */
.hero-left .section-title {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

/* === 8. Update Info === */
.update-info {
    background: var(--bg-card);
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    margin: 12px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-left: 3px solid var(--primary);
    flex-wrap: wrap;
}

.update-date {
    color: var(--primary);
    font-weight: 700;
    white-space: nowrap;
}

.modifications-title {
    margin: 15px 0 10px 0;
    font-weight: bold;
    color: var(--text-primary);
}

.modifications-list {
    margin-left: 20px;
    margin-top: 10px;
}

.modifications-list li {
    margin: 8px 0;
    color: var(--text-secondary);
}

/* === 9. Content Section === */
.content-section {
    padding: 20px 0;
    background: var(--bg-dark);
}

/* TOC — Collapsible via <details> */
details.table-of-contents {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 0;
    margin-bottom: 32px;
}

details.table-of-contents > summary {
    padding: 20px 24px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}

details.table-of-contents > summary::-webkit-details-marker {
    display: none;
}

details.table-of-contents > summary::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: transform 0.3s;
}

details.table-of-contents[open] > summary::after {
    transform: rotate(180deg);
}

details.table-of-contents[open] > summary {
    border-bottom: 1px solid var(--border);
}

details.table-of-contents .toc-list {
    padding: 16px 24px;
    margin: 0;
}

/* Legacy TOC (non-details) */
.table-of-contents:not(details) {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 24px;
    margin-bottom: 32px;
}

.table-of-contents:not(details) h2 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.toc-list {
    list-style: none;
    padding: 0;
}

.toc-list li {
    margin: 8px 0;
}

.toc-list a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.toc-list a::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.toc-list a:hover {
    color: var(--primary);
}

/* Content Article */
.content-article {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 32px;
    margin-bottom: 24px;
    contain: layout style;
}

.content-article h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
}

.content-article h3 {
    font-size: 1.15rem;
    margin: 24px 0 12px;
    color: var(--text-primary);
}

.content-article p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.content-article strong {
    color: var(--primary);
}

/* Images */
.intro-image-wrapper {
    margin: 20px 0;
    text-align: center;
}

.intro-image {
    max-width: 100%;
    width: 800px;
    height: auto;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    display: block;
    margin: 0 auto;
    object-fit: cover;
}

/* Tables */
.bonus-table {
    overflow-x: auto;
    margin: 24px 0;
}

.bonus-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-dark);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.bonus-table th {
    background: var(--primary);
    color: #000;
    padding: 14px 16px;
    text-align: left;
    font-weight: 700;
    font-size: 0.88rem;
}

.bonus-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.bonus-table tr:hover {
    background: color-mix(in srgb, var(--primary) 6%, transparent);
}

/* Lists */
.steps-list,
.tips-list {
    margin: 20px 0;
    padding-left: 30px;
}

.steps-list li,
.tips-list li {
    margin: 12px 0;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* === 10. FAQ === */
.faq-item {
    background: var(--bg-dark);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary);
    padding: 20px 24px;
    margin-bottom: 16px;
}

.faq-item h3 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 8px;
}

.faq-item p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.7;
}

/* === 11. Author Block === */
.author-block {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 32px;
    margin-top: 32px;
}

.author-content {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.author-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--bg-dark);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
}

.author-info h3 {
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.author-name {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.author-bio {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.author-social {
    display: flex;
    gap: 12px;
}

.social-link {
    color: var(--text-muted);
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.social-link:hover {
    color: var(--primary);
}

/* === 12. Responsive === */
@media (max-width: 1024px) {
    .game-wrapper-with-table {
        grid-template-columns: 1fr;
    }

    .game-specs-table {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        align-items: start;
    }

    .game-specs-table .platform-badges {
        grid-column: 1 / -1;
    }

    .game-specs-table h3 {
        grid-column: 1 / -1;
        margin-bottom: 0;
    }

    .game-specs-table .specs-table {
        grid-column: 1 / -1;
    }

    .game-specs-table .specs-cta {
        grid-column: 1 / -1;
    }

    .casino-hero-split {
        grid-template-columns: 1fr;
    }

    .hero-left {
        padding: 16px 0 0 0;
    }

    .hero-right {
        padding: 16px 0;
        border-left: none;
        border-top: 1px solid var(--border);
    }

    .pros-cons {
        grid-template-columns: 1fr;
    }

    .space-title-box-h1 h1 {
        font-size: 1.3rem !important;
    }

    .player-reviews-row {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 12px;
    }

    .main-title {
        font-size: 1.4rem;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .game-container-main {
        padding: 0 10px;
    }

    /* Game overlay: stack buttons on mobile for bigger touch targets */
    .game-buttons-main {
        flex-direction: column;
        gap: 8px;
    }

    .btn-play-main {
        padding: 16px 24px;
        font-size: 1.05rem;
    }

    .btn-demo-main {
        padding: 14px 20px;
        font-size: 1rem;
    }

    /* Content-level CTAs stack on mobile */
    .content-article .btn-play-main,
    .content-section .btn-play-main {
        width: 100%;
    }

    .placeholder-content .section-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .placeholder-content {
        padding: 12px;
    }

    .game-iframe-main-wrapper {
        aspect-ratio: auto;
        min-height: 280px;
        height: calc(100svh - 160px);
        height: calc(100dvh - 160px);
        max-height: none;
    }

    .game-specs-table {
        display: block;
    }

    /* Content tables: horizontal scroll on mobile */
    .content-section .specs-table,
    .content-article .specs-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .specs-table td,
    .specs-table th {
        padding: 8px 12px;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .author-content,
    .author-block {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .content-article {
        padding: 20px;
    }

    .overall-big-score {
        font-size: 2.2rem;
    }

    .intro-image {
        width: 100%;
    }

    .space-title-box-h1 h1 {
        font-size: 1.15rem !important;
    }

    .update-info {
        flex-direction: column;
        gap: 8px;
        padding: 14px 18px;
    }

    .space-page-section-ins {
        padding-top: 6px !important;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.3rem;
    }

    .content-article {
        padding: 16px;
    }

    .game-section-first {
        padding: 6px 0 10px;
    }

    .game-iframe-main-wrapper {
        aspect-ratio: auto;
        min-height: 250px;
        height: calc(100svh - 140px);
        height: calc(100dvh - 140px);
        max-height: none;
    }

    .space-title-box-h1 h1 {
        font-size: 1.05rem !important;
    }

    .casino-logo-wrap {
        width: 52px;
        height: 52px;
        border-radius: 10px;
    }

    .hero-left {
        padding: 12px 0 0 0;
    }

    .hero-right {
        padding: 12px 0;
    }

    .platform-badges {
        gap: 4px;
        margin-bottom: 6px;
    }

    .platform-badge {
        padding: 3px 8px;
        font-size: 0.72rem;
    }

    .overall-score-row {
        padding: 12px 16px;
    }

    .overall-big-score {
        font-size: 2rem;
    }

    .btn-cta {
        padding: 16px 24px;
        font-size: 1.05rem;
    }

    .placeholder-content .section-title {
        font-size: 0.95rem;
    }

    .btn-play-main {
        padding: 14px 20px;
        font-size: 1rem;
    }

    .btn-demo-main {
        padding: 12px 16px;
        font-size: 0.95rem;
    }

    .game-container-main {
        padding: 0 8px;
    }
}

/* === 13. Landscape mobile — fullscreen-like game iframe === */
@media (max-width: 900px) and (orientation: landscape) {
    .game-iframe-main-wrapper {
        aspect-ratio: auto;
        height: calc(100svh - 60px);
        height: calc(100dvh - 60px);
        min-height: 200px;
        max-height: none;
    }

    .game-wrapper-with-table {
        grid-template-columns: 1fr;
    }

    .game-specs-table {
        display: none;
    }

    .game-buttons-main {
        flex-direction: row;
        gap: 8px;
    }
}
