/*
Theme Name: CasinoRated
Theme URI: https://casinorated.co.uk
Author: CasinoRated
Author URI: https://casinorated.co.uk
Description: A fully customizable casino comparison WordPress theme with admin panel for managing casinos, reviews, bonuses, authors, and all site content. Features include dynamic theming via CSS variables, SEO optimization, responsive design, and comprehensive custom post types.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: casinorated
Tags: casino, comparison, review, responsive, custom-colors, custom-menu, featured-images, theme-options
*/

/* ============================================
   CSS VARIABLES (defaults — overridden by theme settings)
   ============================================ */
:root {
    --color-bg: #F7F8FA;
    --color-surface: #FFFFFF;
    --color-surface-alt: #F0F2F5;
    --color-border: #E2E5EA;
    --color-border-light: #EEF0F3;

    --color-text-primary: #1A1F2E;
    --color-text-secondary: #5A6175;
    --color-text-muted: #8C92A4;

    --color-accent: #0D6EFD;
    --color-accent-hover: #0958D9;
    --color-accent-light: #E8F0FE;

    --color-cta: #00B67A;
    --color-cta-hover: #009A68;
    --color-cta-glow: rgba(0, 182, 122, 0.25);

    --color-gold: #F5A623;
    --color-gold-light: #FFF8EB;
    --color-star: #FFB800;

    --color-badge-1: #FFD700;
    --color-badge-2: #C0C0C0;
    --color-badge-3: #CD7F32;
    --color-badge-rest: var(--color-accent);

    --color-tag-bg: #EEF2FF;
    --color-tag-text: #4361EE;

    --color-warning: #DC3545;
    --color-warning-bg: #FFF3F4;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;

    --shadow-sm: 0 1px 3px rgba(26, 31, 46, 0.04);
    --shadow-md: 0 4px 12px rgba(26, 31, 46, 0.06);
    --shadow-lg: 0 8px 30px rgba(26, 31, 46, 0.08);
    --shadow-xl: 0 12px 40px rgba(26, 31, 46, 0.1);
    --shadow-cta: 0 4px 16px var(--color-cta-glow);

    --max-width: 1140px;
    --header-height: 72px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-accent-hover);
}

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

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

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #E2E5EA;
    height: var(--header-height);
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.95);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--color-accent) 0%, #4F46E5 100%);
    border-radius: 10px;
    color: white;
    font-size: 18px;
    font-weight: 700;
}

.logo span {
    color: var(--color-accent);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26,31,46,0.4);
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    pointer-events: none;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
}

.nav-menu > li { position: relative; }

.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
    border-radius: 8px;
    transition: all 0.2s;
    white-space: nowrap;
    text-decoration: none;
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-menu-ancestor > a {
    color: var(--color-accent);
    background: var(--color-accent-light);
}

.nav-menu > li.menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    opacity: 0.5;
    transition: transform 0.3s;
}

.nav-menu > li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

.nav-menu > li.menu-item-has-children::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 10px;
}

/* Dropdown */
.nav-menu .sub-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 220px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(26,31,46,0.12);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s, transform 0.22s, visibility 0.22s;
    z-index: 200;
    list-style: none;
}

.nav-menu > li.menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-menu .sub-menu li a {
    display: block;
    padding: 9px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
    border-radius: 8px;
    transition: all 0.15s;
    text-decoration: none;
}

.nav-menu .sub-menu li a:hover {
    color: var(--color-accent);
    background: var(--color-accent-light);
}

/* Mega dropdown for items with class mega-menu */
.nav-menu > li.mega-menu > .sub-menu {
    min-width: 520px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 16px;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
    padding: 16px 0;
    font-size: 13px;
    color: var(--color-text-muted);
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border-light);
}

.breadcrumb a {
    color: var(--color-text-muted);
}

.breadcrumb a:hover {
    color: var(--color-accent);
}

.breadcrumb-sep {
    margin: 0 8px;
    opacity: .5;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    padding: 64px 0 48px;
    background: var(--color-surface);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 40%, rgba(13, 110, 253, 0.04) 0%, transparent 100%),
        radial-gradient(ellipse 50% 50% at 80% 60%, rgba(0, 182, 122, 0.03) 0%, transparent 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 740px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--color-gold-light);
    border: 1px solid rgba(245, 166, 35, 0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: #B8860B;
    margin-bottom: 20px;
}

.hero-badge svg {
    width: 14px;
    height: 14px;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--color-text-primary);
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--color-accent) 0%, #4F46E5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto 28px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border-light);
}

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

.hero-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-primary);
}

.hero-stat-label {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: 2px;
}

/* ============================================
   CASINO CARDS
   ============================================ */
.rating-section {
    padding: 48px 0 60px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--color-text-primary);
}

.updated-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--color-text-muted);
}

.updated-badge svg {
    width: 14px;
    height: 14px;
    color: var(--color-cta);
}

.casino-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.casino-card {
    display: grid;
    grid-template-columns: 54px 180px 1fr auto auto;
    align-items: center;
    gap: 24px;
    padding: 24px 28px;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    position: relative;
    animation: fadeInUp 0.4s ease both;
}

.casino-card:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.casino-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: var(--radius-lg);
    opacity: 0;
    transition: opacity 0.3s ease;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.02) 0%, rgba(0, 182, 122, 0.02) 100%);
    pointer-events: none;
}

.casino-card:hover::after { opacity: 1; }

.casino-card:nth-child(1) { animation-delay: 0.05s; }
.casino-card:nth-child(2) { animation-delay: 0.1s; }
.casino-card:nth-child(3) { animation-delay: 0.15s; }
.casino-card:nth-child(4) { animation-delay: 0.2s; }
.casino-card:nth-child(5) { animation-delay: 0.25s; }
.casino-card:nth-child(6) { animation-delay: 0.3s; }

/* Rank Badge */
.rank-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.rank-1 { background: linear-gradient(145deg, #FFD700 0%, #F5A623 100%); box-shadow: 0 3px 12px rgba(245, 166, 35, 0.3); }
.rank-2 { background: linear-gradient(145deg, #D4D4D4 0%, #A8A8A8 100%); box-shadow: 0 3px 12px rgba(168, 168, 168, 0.3); }
.rank-3 { background: linear-gradient(145deg, #E8A87C 0%, #CD7F32 100%); box-shadow: 0 3px 12px rgba(205, 127, 50, 0.3); }
.rank-default { background: var(--color-accent); box-shadow: 0 3px 12px rgba(13, 110, 253, 0.2); }

/* Casino Logo */
.casino-logo {
    width: 180px;
    height: 72px;
    background: var(--color-surface-alt);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--color-border-light);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.casino-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Casino Info */
.casino-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.casino-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.casino-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-primary);
}

.casino-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    color: var(--color-star);
    font-size: 14px;
    line-height: 1;
}

.star.empty {
    color: #DDE0E6;
}

.rating-score {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-secondary);
    margin-left: 4px;
}

.casino-bonus {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-cta);
    line-height: 1.3;
}

.casino-features {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    background: var(--color-tag-bg);
    color: var(--color-tag-text);
    font-size: 12px;
    font-weight: 500;
    border-radius: 100px;
    white-space: nowrap;
}

.feature-tag svg {
    width: 12px;
    height: 12px;
}

/* Bonus Highlight */
.bonus-highlight {
    text-align: center;
    padding: 14px 20px;
    background: var(--color-gold-light);
    border-radius: var(--radius-md);
    border: 1px solid rgba(245, 166, 35, 0.15);
    min-width: 200px;
    position: relative;
    z-index: 1;
}

.bonus-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.bonus-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-primary);
    line-height: 1.2;
}

.bonus-extra {
    font-size: 12px;
    color: var(--color-text-secondary);
    margin-top: 4px;
}

/* CTA */
.cta-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 36px;
    background: linear-gradient(135deg, var(--color-cta) 0%, #00A06C 100%);
    color: white;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-cta);
    text-decoration: none;
    white-space: nowrap;
    min-width: 170px;
    letter-spacing: 0.01em;
}

.btn-cta:hover {
    background: linear-gradient(135deg, var(--color-cta-hover) 0%, #008558 100%);
    box-shadow: 0 6px 24px var(--color-cta-glow);
    transform: translateY(-1px);
    color: white;
}

.btn-cta svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.btn-cta:hover svg {
    transform: translateX(3px);
}

.btn-cta-sm {
    padding: 10px 24px;
    font-size: 13px;
    min-width: auto;
}

.cta-subtext {
    font-size: 11px;
    color: var(--color-text-muted);
}

.cta-subtext a {
    color: var(--color-accent);
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: text-decoration-color 0.2s;
}

.cta-subtext a:hover {
    text-decoration-color: var(--color-accent);
}

.casino-card-footer {
    grid-column: 1 / -1;
    padding-top: 14px;
    border-top: 1px solid var(--color-border-light);
    font-size: 11px;
    line-height: 1.5;
    color: var(--color-text-muted);
}

/* ============================================
   FILTER CHIPS
   ============================================ */
.filter-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-body);
}

.filter-chip:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.filter-chip.active {
    background: var(--color-accent-light);
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* ============================================
   SEO CONTENT BLOCK
   ============================================ */
.seo-content {
    padding: 64px 0 72px;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border-light);
}

.seo-inner {
    max-width: 780px;
    margin: 0 auto;
}

.seo-content h2 {
    font-family: var(--font-display);
    font-size: clamp(24px, 3.5vw, 32px);
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 20px;
    line-height: 1.25;
}

.seo-content h3 {
    font-family: var(--font-display);
    font-size: clamp(19px, 2.5vw, 23px);
    font-weight: 700;
    color: var(--color-text-primary);
    margin-top: 40px;
    margin-bottom: 14px;
    line-height: 1.3;
}

.seo-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}

.seo-content p:last-child { margin-bottom: 0; }

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 32px 0;
}

.info-card {
    padding: 24px;
    background: var(--color-surface-alt);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-light);
}

.info-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-light);
    border-radius: 10px;
    margin-bottom: 14px;
    color: var(--color-accent);
}

.info-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 6px;
}

.info-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 0;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    padding: 48px 0 64px;
}

.faq-section h2 {
    font-family: var(--font-display);
    font-size: clamp(24px, 3.5vw, 32px);
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 28px;
    text-align: center;
}

.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-primary);
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: var(--font-body);
    transition: background 0.2s;
}

.faq-question:hover {
    background: var(--color-surface-alt);
}

.faq-question svg {
    width: 18px;
    height: 18px;
    color: var(--color-text-muted);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

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

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

.faq-answer-inner {
    padding: 0 22px 18px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--color-text-primary);
    color: #B0B5C3;
    padding: 48px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    margin-top: 16px;
    color: #8890A4;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    color: white;
}

.footer-logo span {
    color: var(--color-cta);
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: white;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    font-size: 14px;
    color: #8890A4;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: white;
}

.footer-disclaimer {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.disclaimer-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(220, 53, 69, 0.08);
    border: 1px solid rgba(220, 53, 69, 0.15);
    border-radius: var(--radius-md);
}

.disclaimer-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-warning);
    border-radius: 50%;
    color: white;
    font-size: 16px;
    font-weight: 800;
}

.disclaimer-text {
    font-size: 12px;
    line-height: 1.7;
    color: #A0A6B8;
}

.disclaimer-text strong {
    color: white;
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #6B7185;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #6B7185;
    font-size: 13px;
}

.footer-bottom-links a:hover {
    color: white;
}

/* ============================================
   CATEGORY PAGE HERO
   ============================================ */
.category-hero {
    padding: 44px 0 40px;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border-light);
    position: relative;
    overflow: hidden;
}

.category-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 60% at 70% 30%, rgba(13, 110, 253, 0.05) 0%, transparent 100%),
        radial-gradient(ellipse 50% 60% at 20% 70%, rgba(0, 182, 122, 0.04) 0%, transparent 100%);
    pointer-events: none;
}

.category-hero-inner {
    position: relative;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: var(--color-accent-light);
    border: 2px solid rgba(13, 110, 253, 0.15);
    border-radius: 50%;
    margin-bottom: 20px;
}

.category-icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-accent);
}

.category-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4.5vw, 42px);
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-text-primary);
    margin-bottom: 14px;
}

.category-hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--color-accent) 0%, #4F46E5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-hero p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}

.category-meta {
    display: flex;
    justify-content: center;
    gap: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border-light);
}

.category-meta-item {
    text-align: center;
}

.category-meta-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-primary);
}

.category-meta-label {
    font-size: 12px;
    color: var(--color-text-muted);
}

/* ============================================
   BONUS HERO
   ============================================ */
.bonus-hero {
    padding: 48px 0 44px;
    background: var(--color-surface);
    position: relative;
    overflow: hidden;
}

.bonus-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 60% at 70% 30%, rgba(245, 166, 35, 0.06) 0%, transparent 100%),
        radial-gradient(ellipse 50% 60% at 20% 70%, rgba(0, 182, 122, 0.04) 0%, transparent 100%);
    pointer-events: none;
}

.bonus-hero-inner {
    position: relative;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.bonus-hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: var(--color-gold-light);
    border: 2px solid rgba(245, 166, 35, 0.2);
    border-radius: 50%;
    margin-bottom: 20px;
}

.bonus-hero-icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-gold);
}

.bonus-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4.5vw, 42px);
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-text-primary);
    margin-bottom: 14px;
}

.bonus-hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--color-gold), #E8920A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bonus-types-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.bonus-type-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-body);
    text-decoration: none;
}

.bonus-type-chip:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.bonus-type-chip.active {
    background: var(--color-gold-light);
    border-color: var(--color-gold);
    color: #B8860B;
}

/* ============================================
   BONUS CARDS GRID
   ============================================ */
.bonus-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin: 32px 0;
}

.bonus-card {
    padding: 24px;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: all 0.3s;
    text-align: center;
}

.bonus-card:hover {
    border-color: var(--color-gold);
    box-shadow: var(--shadow-md);
}

.bonus-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: var(--color-gold-light);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.bonus-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 8px;
}

.bonus-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

/* ============================================
   REVIEW PAGE
   ============================================ */
.review-hero {
    padding: 40px 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border-light);
}

.review-hero-inner {
    display: grid;
    grid-template-columns: 200px 1fr 280px;
    gap: 32px;
    align-items: start;
}

.review-logo-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.review-logo {
    width: 200px;
    height: 100px;
    background: var(--color-surface-alt);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.review-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-overall-score { text-align: center; }

.review-overall-score .score-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--color-text-primary);
    line-height: 1;
}

.review-overall-score .score-max {
    font-size: 14px;
    color: var(--color-text-muted);
}

.review-overall-score .score-stars {
    display: flex;
    gap: 3px;
    justify-content: center;
    margin-top: 6px;
}

.review-main-info h1 {
    font-family: var(--font-display);
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-text-primary);
    margin-bottom: 10px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.review-author strong {
    color: var(--color-text-secondary);
}

.review-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.review-highlight {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.review-highlight svg {
    width: 16px;
    height: 16px;
    color: var(--color-cta);
}

.review-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.review-pros,
.review-cons {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 13px;
}

.review-pros {
    background: #F0FDF4;
    border: 1px solid rgba(34, 197, 94, 0.15);
}

.review-cons {
    background: #FFF7ED;
    border: 1px solid rgba(249, 115, 22, 0.15);
}

.review-pros h4 {
    color: #16A34A;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.review-cons h4 {
    color: #EA580C;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.review-pros ul,
.review-cons ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.review-pros li,
.review-cons li {
    padding-left: 16px;
    position: relative;
    line-height: 1.5;
    color: var(--color-text-secondary);
}

.review-pros li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #16A34A;
    font-weight: 700;
    font-size: 11px;
}

.review-cons li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #EA580C;
    font-weight: 700;
    font-size: 11px;
}

/* Sticky CTA Sidebar */
.review-sticky-cta {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
}

/* Review Scores */
.scores-section {
    padding: 40px 0;
    background: var(--color-surface-alt);
}

.scores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.score-card {
    text-align: center;
    padding: 20px;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-light);
}

.score-card-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-accent);
}

.score-card-label {
    font-size: 12px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

/* Review Body Content */
.review-body {
    padding: 48px 0;
}

.review-body-inner {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.review-content h2 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    margin-top: 40px;
}

.review-content h2:first-child { margin-top: 0; }

.review-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
}

/* Profile Table */
.profile-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.profile-table th,
.profile-table td {
    padding: 12px 16px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid var(--color-border-light);
}

.profile-table th {
    background: var(--color-surface-alt);
    font-weight: 600;
    color: var(--color-text-primary);
    width: 40%;
}

.profile-table td {
    color: var(--color-text-secondary);
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.comparison-table th {
    background: var(--color-surface-alt);
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    color: var(--color-text-primary);
    border-bottom: 1px solid var(--color-border);
}

.comparison-table td {
    padding: 12px 16px;
    font-size: 14px;
    color: var(--color-text-secondary);
    border-bottom: 1px solid var(--color-border-light);
}

/* Verdict Box */
.verdict-box {
    margin: 32px 0;
    padding: 28px;
    background: var(--color-accent-light);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--color-accent);
}

.verdict-box h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text-primary);
}

.verdict-box p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

/* Review Sidebar */
.review-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    padding: 20px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}

.sidebar-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Game Tags */
.game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 16px 0;
}

.game-tag {
    padding: 5px 12px;
    background: var(--color-tag-bg);
    color: var(--color-tag-text);
    font-size: 12px;
    font-weight: 500;
    border-radius: 100px;
}

/* ============================================
   AUTHOR PROFILE PAGE
   ============================================ */
.author-hero {
    padding: 48px 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border-light);
}

.author-hero-inner {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    max-width: 800px;
    margin: 0 auto;
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-border);
}

.author-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: var(--color-cta);
    color: white;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.author-name {
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    color: var(--color-text-primary);
    margin-bottom: 4px;
}

.author-role {
    font-size: 15px;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 12px;
}

.author-bio {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
}

.author-social-links {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.author-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text-secondary);
    transition: all 0.2s;
}

.author-social-link:hover {
    background: var(--color-accent-light);
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.author-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.expertise-tag {
    padding: 4px 12px;
    background: var(--color-tag-bg);
    color: var(--color-tag-text);
    font-size: 12px;
    font-weight: 500;
    border-radius: 100px;
}

/* Author Stats */
.author-stats-bar {
    padding: 20px 0;
    background: var(--color-surface-alt);
    border-bottom: 1px solid var(--color-border-light);
}

.author-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
}

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

.author-stat-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text-primary);
}

.author-stat-label {
    font-size: 12px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Author Articles */
.author-articles {
    padding: 40px 0 60px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.article-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s;
}

.article-card:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.article-card-image {
    height: 180px;
    background: var(--color-surface-alt);
    overflow: hidden;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-card-content {
    padding: 20px;
}

.article-card-type {
    display: inline-block;
    padding: 3px 10px;
    background: var(--color-tag-bg);
    color: var(--color-tag-text);
    font-size: 11px;
    font-weight: 600;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.article-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-text-primary);
    line-height: 1.3;
    margin-bottom: 8px;
}

.article-card-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 12px;
}

.article-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--color-text-muted);
}

/* ============================================
   IN-TEXT CASINO BANNER
   ============================================ */
.intext-casino-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    margin: 28px 0;
}

.intext-banner-logo {
    width: 140px;
    height: 60px;
    background: var(--color-surface-alt);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.intext-banner-info {
    flex: 1;
}

.intext-banner-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text-primary);
}

.intext-banner-bonus {
    font-size: 14px;
    color: var(--color-cta);
    font-weight: 600;
}

/* ============================================
   AUTHOR BIO CARD (in articles)
   ============================================ */
.author-bio-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    margin: 32px 0;
}

.author-bio-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author-bio-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-primary);
}

.author-bio-role {
    font-size: 13px;
    color: var(--color-accent);
    font-weight: 500;
}

.author-bio-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-top: 8px;
}

.author-bio-links {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

/* ============================================
   PROS/CONS GRID
   ============================================ */
.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 28px 0;
}

.pros-block,
.cons-block {
    padding: 20px 24px;
    border-radius: var(--radius-md);
}

.pros-block {
    background: #F0FDF4;
    border: 1px solid rgba(34, 197, 94, 0.15);
}

.cons-block {
    background: #FFF7ED;
    border: 1px solid rgba(249, 115, 22, 0.15);
}

.pros-block h3 {
    color: #16A34A;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cons-block h3 {
    color: #EA580C;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

/* ============================================
   STEPS BLOCK
   ============================================ */
.steps-block {
    margin: 32px 0;
}

.step-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--color-accent);
    color: white;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 4px;
}

.step-content p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

/* ============================================
   INFO CALLOUT
   ============================================ */
.info-callout {
    padding: 24px;
    background: var(--color-accent-light);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-accent);
    margin: 28px 0;
}

.info-callout h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 8px;
}

.info-callout p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

/* Warning Callout */
.warning-callout {
    padding: 24px;
    background: var(--color-warning-bg);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-warning);
    margin: 28px 0;
}

.warning-callout h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-warning);
    margin-bottom: 8px;
}

.warning-callout p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

/* ============================================
   TC GRID (Terms & Conditions)
   ============================================ */
.tc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin: 28px 0;
}

.tc-card {
    padding: 20px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}

.tc-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 8px;
}

.tc-card p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

/* ============================================
   LOAD MORE
   ============================================ */
.load-more-wrapper {
    text-align: center;
    margin-top: 32px;
}

.btn-load-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-body);
}

.btn-load-more:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* ============================================
   TOC BAR
   ============================================ */
.toc-bar {
    position: sticky;
    top: var(--header-height);
    z-index: 50;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 0;
    overflow-x: auto;
}

.toc-bar-inner {
    display: flex;
    gap: 0;
    white-space: nowrap;
}

.toc-link {
    padding: 14px 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-muted);
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    text-decoration: none;
}

.toc-link:hover,
.toc-link.active {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .nav-menu {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 8px 0;
        overflow-y: auto;
        z-index: 200;
        gap: 0;
        max-height: 80vh;
        border-bottom: 1px solid var(--color-border);
        box-shadow: 0 8px 30px rgba(26,31,46,0.12);
    }

    .nav-menu.open { display: flex !important; }

    .nav-menu > li {
        width: 100%;
        border-bottom: 1px solid var(--color-border-light);
    }

    .nav-menu > li > a {
        padding: 14px 16px;
        width: 100%;
        font-size: 15px;
        border-radius: 0;
    }

    .nav-menu .sub-menu {
        position: static;
        transform: none !important;
        border: none;
        box-shadow: none;
        border-radius: 0;
        min-width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s, opacity 0.3s;
        opacity: 0;
        pointer-events: auto;
        background: var(--color-surface-alt);
        padding: 0;
        visibility: visible;
    }

    .nav-menu > li.menu-item-has-children.sub-open > .sub-menu {
        max-height: 600px;
        opacity: 1;
        padding: 8px 0;
    }

    .nav-menu .sub-menu li a {
        padding: 10px 16px 10px 32px;
    }

    .mobile-toggle { display: flex; }

    /* Casino card mobile */
    .casino-card {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: unset !important;
        gap: 14px !important;
        padding: 18px !important;
    }

    .rank-badge {
        position: static !important;
        order: -3 !important;
        width: 38px !important;
        height: 38px !important;
        font-size: 15px !important;
        border-radius: 10px !important;
        align-self: flex-start;
    }

    .casino-logo {
        order: -2 !important;
        width: 100% !important;
        height: 80px !important;
    }

    .casino-info { order: -1 !important; width: 100%; }
    .casino-name { font-size: 16px !important; }
    .bonus-highlight { order: 0 !important; width: 100%; min-width: 0 !important; }
    .cta-area { order: 1 !important; width: 100%; }
    .btn-cta { width: 100% !important; }
    .casino-card-footer { order: 2 !important; width: 100%; }

    .container { padding: 0 16px !important; }

    .hero-stats { flex-direction: column; gap: 16px; }
    .category-meta { flex-direction: column; gap: 12px; }
    .author-stats { flex-direction: column; gap: 12px; }

    .review-hero-inner { grid-template-columns: 1fr; }
    .review-body-inner { grid-template-columns: 1fr; }
    .review-pros-cons { grid-template-columns: 1fr; }
    .pros-cons-grid { grid-template-columns: 1fr !important; }

    .footer-grid { grid-template-columns: 1fr !important; gap: 24px; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
    .disclaimer-box { flex-direction: column; text-align: center; align-items: center; }

    .section-header { flex-direction: column; align-items: flex-start; gap: 8px; }

    .author-hero-inner { flex-direction: column; align-items: center; text-align: center; }
    .author-social-links { justify-content: center; }
    .author-expertise { justify-content: center; }

    .intext-casino-banner { flex-direction: column; text-align: center; padding: 16px; gap: 12px; }
    .intext-banner-logo { width: 100%; }
    .author-bio-card { flex-direction: column; align-items: center; text-align: center; }
    .author-bio-links { justify-content: center; }
}
