/**
 * Variant 09: Premium Luxury
 * Dark theme with gold accents, elegant typography
 * Sidebar-right layout, card-grid listing
 */

/* ===================================
   CSS VARIABLES - DARK THEME DEFAULTS
   =================================== */
:root {
    /* Colors - Dark Luxury Theme (overridden by colorway) */
    --color-primary: #1a1a2e;
    --color-secondary: #16213e;
    --color-accent: #d4af37;
    --color-background: #0f0f1a;
    --color-surface: #1a1a2e;
    --color-text: #f5f5f5;
    --color-text-muted: #a0a0a0;
    --color-button: #d4af37;
    --color-button-hover: #c9a227;
    --color-button-text: #0f0f1a;
    --color-border: #2a2a4a;
    --color-success: #4ade80;
    --color-warning: #fbbf24;
    --color-error: #f87171;
    --color-rating: #d4af37;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 0.75rem;
    --space-lg: 1rem;
    --space-xl: 1.5rem;
    --space-2xl: 1.5rem;

    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 4px 20px color-mix(in srgb, var(--color-accent) 20%, transparent);

    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-size-sm: 0.875rem;
    --font-size-base: 1.1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3.5rem;
    --line-height-tight: 1.2;
    --line-height-base: 1.6;

    /* Layout */
    --container-width: 1200px;
    --sidebar-width: 300px;
    --header-height: 56px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
}

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

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

body.ae9ef-body {
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--color-text);
    background-color: var(--color-background);
    min-height: 100vh;
}

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

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

a:hover {
    /* Mix accent toward --color-text — adapts to theme, never matches button bg */
    color: color-mix(in srgb, var(--color-accent) 65%, var(--color-text));
}

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

/* ===================================
   CONTAINER
   =================================== */
.ae9ef-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ===================================
   HEADER - TWO ROW ELEGANT
   =================================== */
.ae9ef-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}

/* Utility Row */
.ae9ef-header-utility {
    background: var(--color-primary);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border);
}

.ae9ef-header-utility .ae9ef-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ae9ef-header-tagline {
    font-size: var(--font-size-sm);
    color: var(--color-accent);
    font-style: italic;
    letter-spacing: 0.05em;
}

.ae9ef-header-badge {
    background: var(--color-accent);
    color: var(--color-button-text);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-sm);
}

/* Main Navigation Row */
.ae9ef-header-main {
    padding: var(--space-md) 0;
}

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

.ae9ef-logo {
    display: flex;
    align-items: center;
}

.ae9ef-logo-text {
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: 0.02em;
}

.ae9ef-logo-text:hover {
    color: var(--color-accent);
}

.ae9ef-logo-img {
    height: 48px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
}

/* Navigation */
.ae9ef-nav-list {
    display: flex;
    gap: var(--space-xl);
    list-style: none;
}

.ae9ef-nav-link {
    color: var(--color-text);
    font-size: var(--font-size-base);
    font-weight: 500;
    padding: var(--space-sm) 0;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.ae9ef-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition-base);
}

.ae9ef-nav-link:hover::after {
    width: 100%;
}

/* Dropdown */
.ae9ef-nav-item.has-dropdown {
    position: relative;
}

.ae9ef-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    list-style: none;
    padding: var(--space-sm) 0;
    z-index: 100;
}

.ae9ef-dropdown li a {
    display: block;
    padding: var(--space-sm) var(--space-lg);
    color: var(--color-text);
    font-size: var(--font-size-sm);
}

.ae9ef-dropdown li a:hover {
    background: var(--color-primary);
    color: var(--color-accent);
}

/* Mobile Menu Toggle */
.ae9ef-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.ae9ef-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition-fast);
}

.ae9ef-menu-toggle.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.ae9ef-menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.ae9ef-menu-toggle.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===================================
   BREADCRUMBS
   =================================== */
.ae9ef-breadcrumbs {
    background: var(--color-primary);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--color-border);
}

.ae9ef-breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    list-style: none;
    font-size: var(--font-size-sm);
}

.ae9ef-breadcrumbs-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.ae9ef-breadcrumbs-item a {
    color: var(--color-text-muted);
}

.ae9ef-breadcrumbs-item a:hover {
    color: var(--color-accent);
}

.ae9ef-breadcrumbs-sep {
    color: var(--color-border);
}

.ae9ef-breadcrumbs-item span[aria-current] {
    color: var(--color-text);
}

/* ===================================
   PAGE HEADER
   =================================== */
.ae9ef-page-header {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    padding: var(--space-2xl) 0;
    border-bottom: 1px solid var(--color-border);
}

.ae9ef-page-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-3xl);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.ae9ef-page-intro {
    font-size: var(--font-size-lg);
    color: var(--color-text-muted);
    /* Removed 700px cap — intro now matches the full container width
       (main + sidebar combined). Container already shrinks on mobile,
       so this doesn't break narrow screens. */
}

.ae9ef-page-meta {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-top: var(--space-md);
}

.ae9ef-meta-label {
    color: var(--color-accent);
}

/* ===================================
   LAYOUT - SIDEBAR RIGHT
   =================================== */
.ae9ef-layout {
    padding: var(--space-2xl) 0;
}

.ae9ef-layout-inner {
    display: grid;
    grid-template-columns: 1fr var(--sidebar-width);
    gap: var(--space-2xl);
}

.ae9ef-content {
    min-width: 0;
}

.ae9ef-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

/* ===================================
   SIDEBAR WIDGETS
   =================================== */
.ae9ef-sidebar-widget {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}

.ae9ef-widget-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-lg);
    color: var(--color-accent);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-border);
}

.ae9ef-sidebar-links {
    list-style: none;
}

.ae9ef-sidebar-links li {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border);
}

.ae9ef-sidebar-links li:last-child {
    border-bottom: none;
}

.ae9ef-sidebar-links a {
    color: var(--color-text);
    font-size: var(--font-size-sm);
    display: block;
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.ae9ef-sidebar-links a:hover {
    color: var(--color-accent);
    padding-left: var(--space-sm);
}

/* ===================================
   LISTING - CARD GRID
   =================================== */
.ae9ef-listing {
    margin-bottom: var(--space-2xl);
}

.ae9ef-listing-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-2xl);
    color: var(--color-text);
    margin-bottom: var(--space-xl);
}

.ae9ef-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.ae9ef-offer-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    position: relative;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.ae9ef-card-rank {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 32px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-button-hover));
    color: var(--color-button-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--font-size-sm);
}

.ae9ef-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.ae9ef-card-header .go-link {
    flex-shrink: 0;
    line-height: 0;
}

.ae9ef-card-logo {
    width: 120px;
    min-width: 120px;
    height: 65px;
    object-fit: contain;
    border-radius: var(--radius-md);
    background: var(--color-surface);
    background: color-mix(in srgb, #fff 85%, var(--color-surface));
    border: 1px solid var(--color-border);
    padding: 4px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.ae9ef-card-name {
    font-family: var(--font-heading);
    font-size: var(--font-size-lg);
    color: var(--color-text);
    font-weight: 600;
}

.ae9ef-card-bonus {
    background: var(--color-primary);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    text-align: center;
}

.ae9ef-card-bonus-label {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-xs);
}

.ae9ef-card-bonus-value {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    color: var(--color-accent);
    font-weight: 600;
}

.ae9ef-card-terms {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.ae9ef-card-terms span {
    background: var(--color-primary);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
}

.ae9ef-card-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.ae9ef-card-features {
    list-style: none;
    margin-bottom: var(--space-lg);
    font-size: var(--font-size-sm);
}

.ae9ef-card-features li {
    padding: var(--space-xs) 0;
    color: var(--color-text-muted);
    padding-left: var(--space-lg);
    position: relative;
}

.ae9ef-card-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--color-success);
}

.ae9ef-card-review-link {
    display: block;
    text-align: center;
    margin-top: var(--space-md);
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.ae9ef-card-review-link:hover {
    color: var(--color-accent);
}

/* ===================================
   STARS RATING
   =================================== */
.ae9ef-stars {
    display: inline-flex;
    gap: 2px;
}

.ae9ef-star {
    color: var(--color-border);
    font-size: 1rem;
}

.ae9ef-star.is-full {
    color: var(--color-rating);
}

.ae9ef-star.is-half {
    background: linear-gradient(90deg, var(--color-rating) 50%, var(--color-border) 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ae9ef-stars-lg .ae9ef-star {
    font-size: 1.5rem;
}

.ae9ef-rating-value,
.ae9ef-rating-text {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    font-weight: 500;
}

/* ===================================
   CTA BUTTONS - GOLD GRADIENT
   =================================== */
.ae9ef-cta-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    background: linear-gradient(135deg, var(--color-button), var(--color-button-hover));
    color: var(--color-button-text);
    font-weight: 600;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: var(--font-size-sm);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    width: 100%;
    text-align: center;
    white-space: nowrap;
}

.ae9ef-cta-gold:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
    color: var(--color-button-text);
}

.ae9ef-cta-sm {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.75rem;
    width: auto;
}

.ae9ef-cta-lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: var(--font-size-base);
}

.ae9ef-cta-xl {
    padding: var(--space-lg) var(--space-2xl);
    font-size: var(--font-size-lg);
}

/* ===================================
   HERO BANNER (REVIEW PAGE)
   =================================== */
.ae9ef-hero-banner {
    position: relative;
    padding: 1rem 0;
    overflow: hidden;
}

.ae9ef-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary), var(--color-primary));
    z-index: 0;
}

.ae9ef-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, color-mix(in srgb, var(--color-accent) 10%, transparent) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, color-mix(in srgb, var(--color-accent) 5%, transparent) 0%, transparent 50%);
}

.ae9ef-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-lg);
}

.ae9ef-hero-brand {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.ae9ef-hero-logo {
    width: 130px;
    height: 130px;
    object-fit: contain;
    background: color-mix(in srgb, #fff 85%, var(--color-surface));
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    border: 2px solid var(--color-accent);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.ae9ef-hero-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.ae9ef-hero-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-2xl);
    color: var(--color-text);
    font-weight: 600;
}

.ae9ef-hero-rating {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.ae9ef-hero-cta-area {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--space-sm);
}

.ae9ef-hero-bonus-preview {
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    color: var(--color-accent);
    font-weight: 600;
}

/* ===================================
   HERO DRAMATIC (BONUS PAGE)
   =================================== */
.ae9ef-hero-dramatic {
    position: relative;
    padding: 1rem 0;
    text-align: center;
    overflow: hidden;
}

.ae9ef-hero-dramatic-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-background) 100%);
    z-index: 0;
}

.ae9ef-hero-dramatic-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center top, color-mix(in srgb, var(--color-accent) 15%, transparent) 0%, transparent 60%);
}

.ae9ef-hero-dramatic-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

.ae9ef-hero-dramatic-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: color-mix(in srgb, #fff 85%, var(--color-surface));
    border-radius: var(--radius-lg);
    padding: var(--space-sm);
    border: 2px solid var(--color-accent);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.ae9ef-hero-dramatic-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-2xl);
    color: var(--color-text);
    font-weight: 600;
}

.ae9ef-bonus-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    margin: var(--space-lg) 0;
}

.ae9ef-bonus-amount {
    display: flex;
    align-items: baseline;
    gap: var(--space-xs);
}

.ae9ef-bonus-currency {
    font-family: var(--font-heading);
    font-size: var(--font-size-3xl);
    color: var(--color-accent);
    font-weight: 600;
}

.ae9ef-bonus-number {
    font-family: var(--font-heading);
    font-size: var(--font-size-5xl);
    color: var(--color-accent);
    font-weight: 700;
    text-shadow: 0 0 40px color-mix(in srgb, var(--color-accent) 30%, transparent);
}

.ae9ef-bonus-text {
    font-family: var(--font-heading);
    font-size: var(--font-size-3xl);
    color: var(--color-accent);
    font-weight: 700;
}

.ae9ef-bonus-extra {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.ae9ef-bonus-plus {
    font-size: var(--font-size-xl);
    color: var(--color-text-muted);
}

.ae9ef-bonus-spins {
    font-size: var(--font-size-xl);
    color: var(--color-text);
    font-weight: 500;
}

/* Promo Code Box */
.ae9ef-promo-code-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    margin: var(--space-lg) 0;
}

.ae9ef-promo-label {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.ae9ef-promo-code {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--color-surface);
    border: 2px dashed var(--color-accent);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
}

.ae9ef-promo-code code {
    font-family: var(--font-sans);
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.1em;
}

.ae9ef-promo-copy {
    background: var(--color-accent);
    color: var(--color-button-text);
    border: none;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.ae9ef-promo-copy:hover {
    background: var(--color-button-hover);
}

/* ===================================
   KEY INFO BOX
   =================================== */
.ae9ef-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.ae9ef-key-info {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}

.ae9ef-box-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-lg);
    color: var(--color-accent);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-border);
}

.ae9ef-info-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.ae9ef-info-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border);
}

.ae9ef-info-row:last-child {
    border-bottom: none;
}

.ae9ef-info-row dt {
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
}

.ae9ef-info-row dd {
    color: var(--color-text);
    font-weight: 500;
}

/* ===================================
   PROS & CONS
   =================================== */
.ae9ef-pros-cons {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.ae9ef-pros-title,
.ae9ef-cons-title {
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.ae9ef-pros-title {
    color: var(--color-success);
}

.ae9ef-cons-title {
    color: var(--color-error);
}

.ae9ef-pros-list,
.ae9ef-cons-list {
    list-style: none;
    font-size: var(--font-size-sm);
}

.ae9ef-pros-list li,
.ae9ef-cons-list li {
    padding: var(--space-xs) 0;
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.ae9ef-icon-check {
    color: var(--color-success);
    font-weight: 700;
}

.ae9ef-icon-x {
    color: var(--color-error);
    font-weight: 700;
}

/* ===================================
   BONUS DETAILS TABLE
   =================================== */
.ae9ef-bonus-details {
    margin-bottom: var(--space-2xl);
}

.ae9ef-section-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    color: var(--color-text);
    margin-bottom: var(--space-lg);
}

.ae9ef-details-table {
    width: 100%;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
}

.ae9ef-details-table tr {
    border-bottom: 1px solid var(--color-border);
}

.ae9ef-details-table tr:last-child {
    border-bottom: none;
}

.ae9ef-details-table th,
.ae9ef-details-table td {
    padding: var(--space-md) var(--space-lg);
    text-align: left;
}

.ae9ef-details-table th {
    color: var(--color-text-muted);
    font-weight: 500;
    width: 40%;
    background: var(--color-primary);
}

.ae9ef-details-table td {
    color: var(--color-text);
    font-weight: 500;
}

.ae9ef-details-table code {
    background: var(--color-primary);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    color: var(--color-accent);
    font-family: var(--font-sans);
    font-weight: 600;
}

/* ===================================
   HOW TO CLAIM STEPS
   =================================== */
.ae9ef-how-to-claim {
    margin-bottom: var(--space-2xl);
}

.ae9ef-steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.ae9ef-step {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}

.ae9ef-step-number {
    flex-shrink: 0;
    width: 40px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-button-hover));
    color: var(--color-button-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--font-size-lg);
}

.ae9ef-step-text {
    color: var(--color-text);
    font-size: var(--font-size-base);
}

/* ===================================
   TERMS SUMMARY
   =================================== */
.ae9ef-terms-summary {
    margin-bottom: var(--space-2xl);
}

.ae9ef-terms-content {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

/* ===================================
   ARTICLE CONTENT
   =================================== */
.ae9ef-article-content {
    margin-bottom: var(--space-2xl);
}

.ae9ef-article-content h2 {
    font-family: var(--font-heading);
    font-size: var(--font-size-2xl);
    color: var(--color-text);
    margin: 2rem 0 1rem;
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-accent);
}

.ae9ef-article-content h3 {
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    color: var(--color-text);
    margin: 1.5rem 0 0.75rem;
}

.ae9ef-article-content h4 {
    font-size: var(--font-size-lg);
    color: var(--color-text);
    margin: var(--space-lg) 0 var(--space-md);
}

.ae9ef-article-content p {
    margin-bottom: 1rem;
    color: var(--color-text);
}

.ae9ef-article-content ul,
.ae9ef-article-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    color: var(--color-text);
}

.ae9ef-article-content ul {
    list-style: disc;
}

.ae9ef-article-content ol {
    list-style: decimal;
}

.ae9ef-article-content li {
    margin-bottom: 0.35rem;
}

.ae9ef-article-content blockquote {
    border-left: 3px solid var(--color-accent);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--color-text-muted);
}

.ae9ef-article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-lg) 0;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.ae9ef-article-content th,
.ae9ef-article-content td {
    padding: var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.ae9ef-article-content th {
    background: var(--color-primary);
    color: var(--color-accent);
    font-weight: 600;
}

.ae9ef-article-content figure {
    margin: 1.5rem 0;
}

.ae9ef-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

/* ===================================
   FAQ ACCORDION
   =================================== */
.ae9ef-faq {
    margin-bottom: var(--space-2xl);
}

.ae9ef-faq-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    color: var(--color-text);
    margin-bottom: var(--space-lg);
}

.ae9ef-faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

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

.ae9ef-faq-item[open] {
    border-color: var(--color-accent);
}

.ae9ef-faq-question {
    padding: var(--space-lg);
    cursor: pointer;
    font-weight: 500;
    color: var(--color-text);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ae9ef-faq-question::-webkit-details-marker {
    display: none;
}

.ae9ef-faq-question::after {
    content: '+';
    font-size: var(--font-size-xl);
    color: var(--color-accent);
    transition: transform var(--transition-fast);
}

.ae9ef-faq-item[open] .ae9ef-faq-question::after {
    content: '-';
}

.ae9ef-faq-answer {
    padding: 0 var(--space-lg) var(--space-lg);
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
    line-height: var(--line-height-base);
}

/* ===================================
   BIG CTA BLOCK
   =================================== */
.ae9ef-big-cta {
    margin-bottom: var(--space-2xl);
}

.ae9ef-big-cta-inner {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border: 2px solid var(--color-accent);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
}

.ae9ef-big-cta-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    background: color-mix(in srgb, #fff 85%, var(--color-surface));
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
    box-sizing: border-box;
}

.ae9ef-big-cta-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.ae9ef-big-cta-bonus {
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    color: var(--color-accent);
    font-weight: 600;
}

.ae9ef-big-cta-label {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.ae9ef-big-cta .ae9ef-cta-gold {
    width: auto;
    flex-shrink: 0;
}

/* ===================================
   ALTERNATIVES
   =================================== */
.ae9ef-alternatives {
    margin-bottom: var(--space-2xl);
}

.ae9ef-alt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.ae9ef-alt-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    transition: border-color var(--transition-fast);
}

.ae9ef-alt-card:hover {
    border-color: var(--color-accent);
}

.ae9ef-alt-logo {
    width: 120px;
    min-width: 120px;
    height: 65px;
    object-fit: contain;
    background: var(--color-surface);
    background: color-mix(in srgb, #fff 85%, var(--color-surface));
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 4px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.ae9ef-alt-name {
    font-size: var(--font-size-base);
    color: var(--color-text);
    font-weight: 500;
}

.ae9ef-alt-bonus {
    font-size: var(--font-size-sm);
    color: var(--color-accent);
}

/* ===================================
   TABLE OF CONTENTS
   =================================== */
.ae9ef-toc {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.ae9ef-toc-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-lg);
    color: var(--color-accent);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-border);
}

.ae9ef-toc-list {
    list-style: none;
    counter-reset: toc;
}

.ae9ef-toc-item {
    counter-increment: toc;
    padding: var(--space-sm) 0;
}

.ae9ef-toc-item > a {
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.ae9ef-toc-item > a::before {
    content: counter(toc) '.';
    color: var(--color-accent);
    font-weight: 600;
}

.ae9ef-toc-item > a:hover {
    color: var(--color-accent);
}

.ae9ef-toc-sublist {
    list-style: none;
    margin-left: var(--space-xl);
    margin-top: var(--space-sm);
}

.ae9ef-toc-sublist li {
    padding: var(--space-xs) 0;
}

.ae9ef-toc-sublist a {
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
}

.ae9ef-toc-sublist a:hover {
    color: var(--color-accent);
}

/* ===================================
   RELATED OFFERS (COMPACT)
   =================================== */
.ae9ef-related-offers {
    margin-bottom: var(--space-2xl);
}

.ae9ef-compact-offers {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.ae9ef-compact-offer {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
}

.ae9ef-compact-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    background: var(--color-surface);
    background: color-mix(in srgb, #fff 85%, var(--color-surface));
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 4px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.ae9ef-compact-info {
    flex: 1;
}

.ae9ef-compact-name {
    font-size: var(--font-size-base);
    color: var(--color-text);
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.ae9ef-compact-bonus {
    font-size: var(--font-size-sm);
    color: var(--color-accent);
}

/* ===================================
   RELATED ARTICLES
   =================================== */
.ae9ef-related-articles {
    margin-bottom: var(--space-2xl);
}

.ae9ef-article-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.ae9ef-article-links li {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border);
}

.ae9ef-article-links li:last-child {
    border-bottom: none;
}

.ae9ef-article-links a {
    color: var(--color-text);
    font-size: var(--font-size-base);
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.ae9ef-article-links a:hover {
    color: var(--color-accent);
    padding-left: var(--space-sm);
}

/* ===================================
   ARTICLE IMAGES (inserted by PlaceholderReplacer)
   =================================== */

.ae9ef-img-figure {
    margin: var(--space-2xl) 0;
    text-align: center;
}

.ae9ef-img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

/* ===================================
   FOOTER
   =================================== */
.ae9ef-footer {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    padding: 1rem 0;
    margin-top: auto;
}

.ae9ef-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-2xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--space-xl);
}

.ae9ef-footer-brand {
    max-width: 300px;
}

.ae9ef-footer-logo {
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    color: var(--color-text);
    font-weight: 600;
    display: block;
    margin-bottom: var(--space-md);
}

.ae9ef-footer-desc {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.ae9ef-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.ae9ef-footer-links a {
    color: var(--color-text);
    font-size: var(--font-size-sm);
}

.ae9ef-footer-links a:hover {
    color: var(--color-accent);
}

.ae9ef-footer-trust {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.ae9ef-footer-trust a,
.ae9ef-footer-trust a:visited {
    color: color-mix(in srgb, var(--color-accent) 70%, var(--color-text));
    text-decoration: none;
    font-size: 0.9rem;
}

.ae9ef-footer-trust a:hover {
    color: var(--color-accent);
}

/* Geo Switcher */
.ae9ef-geo-switcher {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem 0.5rem;
    margin: 0.75rem 0;
    padding: 0.5rem 0;
    border-top: 1px solid var(--color-border);
}

.ae9ef-geo-link,
.ae9ef-geo-link:visited {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    color: color-mix(in srgb, var(--color-accent) 70%, var(--color-text));
    text-decoration: none;
    font-size: 0.8rem;
    padding: 0.15rem 0.35rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.ae9ef-geo-link:hover {
    color: var(--color-text);
}

.ae9ef-geo-link.active,
.ae9ef-geo-link.active:visited {
    color: var(--color-text);
    font-weight: 600;
}

.ae9ef-geo-flag {
    font-size: 1.1rem;
}

.ae9ef-geo-name {
    font-size: 0.8rem;
}

.ae9ef-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-lg);
}

.ae9ef-footer-disclaimer {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.ae9ef-age-badge {
    background: var(--color-error);
    color: var(--color-text);
    font-size: 0.75rem;
    font-weight: 700;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
}

.ae9ef-footer-disclaimer p {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin: 0.25rem 0;
}

.ae9ef-copyright {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

/* Footer Org & License */
.ae9ef-footer-org {
    margin: 0.4rem 0;
    font-size: 0.8rem;
    opacity: 0.85;
}

.ae9ef-footer-org .ae9ef-org-name {
    font-weight: 600;
    margin: 0;
    display: inline;
}

.ae9ef-footer-org .ae9ef-org-name::after {
    content: " — ";
}

.ae9ef-footer-org .ae9ef-org-address {
    margin: 0;
    opacity: 0.8;
    display: inline;
}

.ae9ef-footer-org .ae9ef-org-address br {
    display: none;
}

.ae9ef-footer-license {
    font-size: 0.8rem;
    opacity: 0.75;
    margin: 0.5rem 0;
}

.ae9ef-footer-license p {
    margin: 0;
}

.ae9ef-footer-license a {
    color: var(--color-text);
    text-decoration: underline;
}

/* ===================================
   RESPONSIVE - TABLET
   =================================== */
@media (max-width: 1024px) {
    .ae9ef-layout-inner {
        grid-template-columns: 1fr;
    }

    .ae9ef-sidebar {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-lg);
    }

    .ae9ef-info-grid {
        grid-template-columns: 1fr;
    }

    .ae9ef-alt-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ae9ef-hero-content {
        flex-direction: column;
        text-align: center;
    }

    .ae9ef-hero-brand {
        flex-direction: column;
    }

    .ae9ef-hero-cta-area {
        align-items: center;
    }

    .ae9ef-big-cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .ae9ef-footer-top {
        flex-direction: column;
    }

    .ae9ef-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ===================================
   RESPONSIVE - MOBILE
   =================================== */
@media (max-width: 768px) {
    :root {
        --font-size-3xl: 1.75rem;
        --font-size-4xl: 2rem;
        --font-size-5xl: 2.5rem;
    }

    .ae9ef-header-utility {
        display: none;
    }

    .ae9ef-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-surface);
        border-bottom: 1px solid var(--color-border);
        padding: var(--space-lg);
    }

    .ae9ef-nav.is-open {
        display: block;
    }

    .ae9ef-nav-list {
        flex-direction: column;
        gap: var(--space-md);
    }

    .ae9ef-menu-toggle {
        display: flex;
    }

    .ae9ef-dropdown {
        position: static;
        box-shadow: none;
        border: none;
        background: var(--color-primary);
        margin-top: var(--space-sm);
    }

    .ae9ef-sidebar {
        grid-template-columns: 1fr;
    }

    .ae9ef-card-grid {
        grid-template-columns: 1fr;
    }

    .ae9ef-alt-grid {
        grid-template-columns: 1fr;
    }

    .ae9ef-page-title {
        font-size: var(--font-size-2xl);
    }

    .ae9ef-hero-title {
        font-size: var(--font-size-2xl);
    }

    .ae9ef-bonus-number {
        font-size: var(--font-size-4xl);
    }

    .ae9ef-footer-links {
        flex-direction: column;
        align-items: center;
    }

    /* Tables mobile overflow */
    .ae9ef-details-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .ae9ef-article-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* ===================================
   Q&A PAGE - LUXURY PANELS
   =================================== */

.ae9ef-qa-panel {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    transition: border-color var(--transition-base);
}

.ae9ef-qa-panel:hover {
    border-color: var(--color-accent);
}

.ae9ef-qa-panel-question {
    border-left: 4px solid var(--color-accent);
}

.ae9ef-qa-panel-gold {
    border: 2px solid var(--color-accent);
    box-shadow: var(--shadow-gold);
    background: linear-gradient(135deg, var(--color-surface) 0%, color-mix(in srgb, var(--color-accent) 5%, var(--color-surface)) 100%);
}

/* Reply Answers - Nested/Threaded */
.ae9ef-qa-reply {
    margin-left: 2rem;
    border-left: 2px solid var(--color-border);
    background: color-mix(in srgb, var(--color-background) 50%, var(--color-surface));
    position: relative;
}

.ae9ef-qa-reply-indicator {
    position: absolute;
    left: -1.5rem;
    top: var(--space-xl);
    color: var(--color-text-muted);
    font-size: 1.25rem;
    line-height: 1;
}

@media (max-width: 768px) {
    .ae9ef-qa-reply {
        margin-left: 1rem;
    }

    .ae9ef-qa-reply-indicator {
        left: -0.875rem;
        font-size: 1rem;
    }
}

.ae9ef-qa-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.ae9ef-qa-panel-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
}

.ae9ef-qa-panel-tag {
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-accent);
    background: var(--color-primary);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-sm);
}

.ae9ef-qa-panel-badge-gold {
    font-size: var(--font-size-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-button-text);
    background: linear-gradient(135deg, var(--color-accent), var(--color-button-hover));
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-sm);
}

.ae9ef-qa-panel-time {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.ae9ef-qa-panel-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
    padding: var(--space-md);
    background: var(--color-primary);
    border-radius: var(--radius-md);
}

.ae9ef-qa-panel-score-gold {
    background: linear-gradient(135deg, var(--color-accent), var(--color-button-hover));
}

.ae9ef-qa-panel-score-num {
    font-family: var(--font-heading);
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-text);
    line-height: 1;
}

.ae9ef-qa-panel-score-gold .ae9ef-qa-panel-score-num {
    color: var(--color-button-text);
}

.ae9ef-qa-panel-score-label {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ae9ef-qa-panel-score-gold .ae9ef-qa-panel-score-label {
    color: var(--color-button-text);
    opacity: 0.8;
}

.ae9ef-qa-panel-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--color-text);
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-lg);
}

.ae9ef-qa-panel-content {
    color: var(--color-text);
    line-height: var(--line-height-base);
}

.ae9ef-qa-panel-content p {
    margin-bottom: var(--space-lg);
}

.ae9ef-qa-panel-content p:last-child {
    margin-bottom: 0;
}

.ae9ef-qa-panel-content ul,
.ae9ef-qa-panel-content ol {
    margin: var(--space-lg) 0 var(--space-lg) var(--space-xl);
}

.ae9ef-qa-panel-content li {
    margin-bottom: var(--space-sm);
}

.ae9ef-qa-panel-footer {
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
}

.ae9ef-qa-panel-author {
    font-size: var(--font-size-sm);
    color: var(--color-accent);
    font-weight: 500;
}

/* Answers Header */
.ae9ef-qa-answers-header {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin: var(--space-2xl) 0;
}

.ae9ef-qa-answers-count {
    font-family: var(--font-heading);
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-accent);
    white-space: nowrap;
}

.ae9ef-qa-answers-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
}

/* ===================================
   Q&A HUB PAGE - LUXURY GRID
   =================================== */

.ae9ef-qa-hub-header {
    text-align: center;
    padding: var(--space-2xl) 0;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--space-2xl);
}

.ae9ef-qa-hub-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-3xl);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.ae9ef-qa-hub-desc {
    font-size: var(--font-size-lg);
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.ae9ef-qa-hub-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.ae9ef-qa-hub-card {
    display: block;
    text-decoration: none;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.ae9ef-qa-hub-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
    border-color: var(--color-accent);
}

.ae9ef-qa-hub-card-featured {
    border: 2px solid var(--color-accent);
    background: linear-gradient(135deg, var(--color-surface) 0%, color-mix(in srgb, var(--color-accent) 5%, var(--color-surface)) 100%);
}

.ae9ef-qa-hub-card-inner {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-lg);
}

.ae9ef-qa-hub-card-stats {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    flex-shrink: 0;
}

.ae9ef-qa-hub-card-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 50px;
    padding: var(--space-sm) var(--space-md);
    background: var(--color-primary);
    border-radius: var(--radius-md);
}

.ae9ef-qa-hub-card-featured .ae9ef-qa-hub-card-stat:first-child {
    background: linear-gradient(135deg, var(--color-accent), var(--color-button-hover));
}

.ae9ef-qa-hub-card-stat-num {
    font-family: var(--font-heading);
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--color-text);
    line-height: 1;
}

.ae9ef-qa-hub-card-featured .ae9ef-qa-hub-card-stat:first-child .ae9ef-qa-hub-card-stat-num {
    color: var(--color-button-text);
}

.ae9ef-qa-hub-card-stat-label {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ae9ef-qa-hub-card-featured .ae9ef-qa-hub-card-stat:first-child .ae9ef-qa-hub-card-stat-label {
    color: var(--color-button-text);
    opacity: 0.8;
}

.ae9ef-qa-hub-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ae9ef-qa-hub-card-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-text);
    line-height: var(--line-height-tight);
    margin: 0 0 var(--space-sm);
}

.ae9ef-qa-hub-card:hover .ae9ef-qa-hub-card-title {
    color: var(--color-accent);
}

.ae9ef-qa-hub-card-date {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.ae9ef-qa-hub-empty {
    text-align: center;
    padding: var(--space-2xl);
    color: var(--color-text-muted);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

/* Answer Form */
.ae9ef-qa-form {
    padding: var(--space-xl);
    background: var(--color-surface);
    border-top: 2px solid var(--color-accent);
    margin-top: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.ae9ef-qa-form h3 {
    margin: 0 0 var(--space-md);
    font-size: var(--font-size-xl);
    font-family: var(--font-heading);
    color: var(--color-text);
}

.ae9ef-qa-textarea {
    width: 100%;
    padding: var(--space-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    resize: vertical;
    background: var(--color-background);
    color: var(--color-text);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.ae9ef-qa-textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: var(--shadow-gold);
}

.ae9ef-qa-textarea::placeholder {
    color: var(--color-text-muted);
}


.ae9ef-qa-submit {
    padding: var(--space-sm) var(--space-xl);
    background: var(--color-accent);
    color: var(--color-button-text);
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background var(--transition-fast), box-shadow var(--transition-fast);
}

.ae9ef-qa-submit:hover {
    background: var(--color-button-hover);
    box-shadow: var(--shadow-gold);
}

.ae9ef-qa-form-footer {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.ae9ef-qa-form-hint {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    text-align: center;
}

/* Responsive Q&A */
@media (min-width: 768px) {
    .ae9ef-qa-hub-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ae9ef-qa-hub-card-featured {
        grid-column: 1 / -1;
    }

    .ae9ef-qa-panel-title {
        font-size: var(--font-size-3xl);
    }
}

@media (max-width: 768px) {
    .ae9ef-qa-panel-header {
        flex-direction: column;
    }

    .ae9ef-qa-panel-score {
        flex-direction: row;
        gap: var(--space-sm);
        min-width: auto;
        width: fit-content;
    }

    .ae9ef-qa-hub-card-inner {
        flex-direction: column;
    }

    .ae9ef-qa-hub-card-stats {
        flex-direction: row;
    }

    .ae9ef-qa-form {
        padding: var(--space-lg);
    }


}

/* ===================================
   RESPONSIVE - SMALL MOBILE
   =================================== */
@media (max-width: 480px) {
    .ae9ef-container {
        padding: 0 var(--space-md);
    }

    .ae9ef-card-header {
        flex-direction: column;
        text-align: center;
    }

    .ae9ef-compact-offer {
        flex-direction: column;
        text-align: center;
    }

    .ae9ef-step {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   Article Meta & Author
   ============================================ */

.ae9ef-article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin: var(--space-md) 0 var(--space-lg);
}

.ae9ef-author {
    font-weight: 500;
}

/* ============================================
   Byline (Date)
   ============================================ */

.ae9ef-byline {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin: 0;
    padding: 0;
    border: none;
}

/* ============================================
   HEADER UTILITY BAR - SUPPRESS
   Wastes 30-50px of prime vertical space.
   18+ badge belongs in the footer disclaimer.
   ============================================ */

.ae9ef-header-utility {
    display: none;
}

/* ============================================
   GO-LINK BASE STYLE
   ============================================ */

.go-link {
    cursor: pointer;
    text-decoration: none;
}

/* ============================================
   CARD NAME LINK
   ============================================ */

.ae9ef-card-name-link,
.ae9ef-card-name-link:visited {
    color: var(--color-text);
    text-decoration: none;
}

.ae9ef-card-name-link:hover {
    color: var(--color-accent);
}

/* ============================================
   NAV ACTIVE STATE
   ============================================ */

.ae9ef-nav-link.is-active {
    color: var(--color-accent);
}

.ae9ef-nav-link.is-active::after {
    width: 100%;
}

/* ============================================
   HAMBURGER MENU LINES - FIX VISIBILITY
   Lines were using --color-primary (dark) on
   dark surface. Must use --color-text.
   ============================================ */

.ae9ef-menu-toggle span {
    background: var(--color-text);
}

/* ============================================
   LISTING: FEATURED FIRST OFFER (TOP PICK)
   ============================================ */

.ae9ef-offer-card:first-child {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-gold);
}

.ae9ef-offer-card:first-child .ae9ef-card-rank {
    width: 36px;
    height: 36px;
    font-size: var(--font-size-base);
}

.ae9ef-offer-card:first-child::before {
    content: 'TOP PICK';
    position: absolute;
    top: 0;
    left: var(--space-lg);
    background: linear-gradient(135deg, var(--color-accent), var(--color-button-hover));
    color: var(--color-button-text);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.15rem 0.6rem;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

/* ============================================
   RECOMMENDATIONS TABLE (partials/recommendations.php)
   Used on info.php pages. Compact horizontal rows.
   ============================================ */

.ae9ef-table-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.ae9ef-table-title .ae9ef-star {
    color: var(--color-rating);
    font-size: var(--font-size-xl);
}

.ae9ef-offer-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.ae9ef-offer-table.ae9ef-alternatives-table {
    margin-bottom: var(--space-2xl);
}

.ae9ef-offer-row {
    border-bottom: 1px solid var(--color-border);
    transition: background var(--transition-fast);
}

.ae9ef-offer-row:last-child {
    border-bottom: none;
}

.ae9ef-offer-row:hover {
    background: var(--color-primary);
}

.ae9ef-cell-casino,
.ae9ef-cell-rating,
.ae9ef-cell-bonus,
.ae9ef-cell-action {
    padding: 0.75rem 1rem;
    vertical-align: middle;
}

.ae9ef-cell-casino {
    width: 40%;
}

.ae9ef-casino-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ae9ef-casino-info .go-link {
    flex-shrink: 0;
    line-height: 0;
}

.ae9ef-rank {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-button-hover));
    color: var(--color-button-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
}

.ae9ef-table-logo {
    width: 120px;
    height: 65px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: color-mix(in srgb, #fff 85%, var(--color-surface));
    border: 1px solid var(--color-border);
    padding: 4px;
    flex-shrink: 0;
}

.ae9ef-casino-name,
.ae9ef-casino-name:visited {
    color: var(--color-text);
    font-size: 0.95rem;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
    display: inline-block;
}

.ae9ef-casino-name:hover {
    color: var(--color-accent);
}

.ae9ef-casino-name strong {
    font-weight: 600;
}

.ae9ef-cell-rating {
    text-align: center;
    width: 10%;
}

.ae9ef-cell-rating .ae9ef-rating-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-accent);
}

.ae9ef-cell-bonus {
    width: 30%;
}

.ae9ef-cell-bonus .ae9ef-bonus-text {
    font-size: 0.9rem;
    color: var(--color-text);
    display: block;
    line-height: 1.3;
    font-family: var(--font-sans);
    font-weight: 400;
}

.ae9ef-cell-action {
    text-align: right;
    width: 20%;
}

.ae9ef-btn-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-button), var(--color-button-hover));
    color: var(--color-button-text);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    white-space: nowrap;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.ae9ef-btn-play:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
    color: var(--color-button-text);
}

/* ============================================
   RECOMMENDATIONS TABLE - MOBILE
   Each row becomes a card on mobile.
   ============================================ */

@media (max-width: 768px) {
    .ae9ef-offer-table,
    .ae9ef-offer-table tbody,
    .ae9ef-offer-table tr,
    .ae9ef-offer-table td {
        display: block;
        width: 100%;
    }

    .ae9ef-offer-table {
        border: none;
        background: transparent;
    }

    .ae9ef-offer-row {
        background: var(--color-surface);
        border: 1px solid var(--color-border);
        border-radius: var(--radius-lg);
        margin-bottom: var(--space-md);
        padding: var(--space-lg);
    }

    .ae9ef-offer-row:last-child {
        border-bottom: 1px solid var(--color-border);
    }

    .ae9ef-cell-casino,
    .ae9ef-cell-rating,
    .ae9ef-cell-bonus,
    .ae9ef-cell-action {
        padding: 0;
        width: 100%;
        text-align: left;
    }

    .ae9ef-cell-casino {
        margin-bottom: var(--space-md);
    }

    .ae9ef-casino-info {
        gap: var(--space-md);
    }

    .ae9ef-table-logo {
        width: 120px;
        min-width: 120px;
        height: 65px;
    }

    .ae9ef-casino-name {
        max-width: none;
        white-space: normal;
    }

    .ae9ef-cell-rating {
        display: inline-block;
        width: auto;
        margin-bottom: var(--space-sm);
    }

    .ae9ef-cell-rating .ae9ef-rating-value {
        font-size: 1rem;
    }

    .ae9ef-cell-bonus {
        margin-bottom: var(--space-md);
    }

    .ae9ef-cell-bonus .ae9ef-bonus-text {
        font-size: 0.95rem;
    }

    .ae9ef-cell-action {
        text-align: center;
    }

    .ae9ef-btn-play {
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        min-height: 48px;
    }
}

/* ============================================
   LISTING OFFER CARDS - MOBILE ENHANCEMENTS
   ============================================ */

@media (max-width: 768px) {
    .ae9ef-cta-gold {
        min-height: 48px;
        font-size: 0.9rem;
    }

    .ae9ef-offer-card:first-child::before {
        font-size: 0.6rem;
    }

    .ae9ef-card-logo {
        width: 120px;
        min-width: 120px;
        height: 65px;
    }

    .ae9ef-big-cta-inner {
        gap: var(--space-lg);
    }

    .ae9ef-big-cta .ae9ef-cta-gold {
        width: 100%;
    }
}

/* ============================================
   HERO REVIEW - MOBILE REFINEMENTS
   ============================================ */

@media (max-width: 768px) {
    .ae9ef-hero-banner {
        padding: 0.75rem 0;
    }

    .ae9ef-hero-logo {
        width: 80px;
        height: 80px;
    }

    .ae9ef-hero-cta-area .ae9ef-cta-gold {
        width: 100%;
        min-width: 200px;
    }

    .ae9ef-hero-bonus-preview {
        text-align: center;
    }
}

/* ============================================
   HERO DRAMATIC (BONUS) - MOBILE REFINEMENTS
   ============================================ */

@media (max-width: 768px) {
    .ae9ef-hero-dramatic {
        padding: 0.75rem 0;
    }

    .ae9ef-hero-dramatic-logo {
        width: 70px;
        height: 70px;
    }

    .ae9ef-hero-dramatic-title {
        font-size: var(--font-size-xl);
    }

    .ae9ef-hero-dramatic-content .ae9ef-cta-gold {
        width: 100%;
        min-height: 52px;
        font-size: var(--font-size-base);
    }
}

/* ============================================
   FOOTER - ORG ADDRESS INLINE FIX
   Template uses <br> in <p>, we override to
   inline display. Collapse to 1-2 lines.
   ============================================ */

.ae9ef-footer-org p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.ae9ef-footer-org p br {
    display: none;
}

/* ============================================
   ALT-NAME-LINK (REVIEW/BONUS ALTERNATIVES)
   ============================================ */

.ae9ef-alt-name-link,
.ae9ef-alt-name-link:visited {
    color: var(--color-text);
    text-decoration: none;
}

.ae9ef-alt-name-link:hover {
    color: var(--color-accent);
}

/* ============================================
   MOBILE SIDEBAR - FULL WIDTH BELOW CONTENT
   ============================================ */

@media (max-width: 768px) {
    .ae9ef-sidebar-widget {
        padding: var(--space-md);
    }

    .ae9ef-compact-offer .ae9ef-cta-gold {
        width: 100%;
        min-height: 44px;
    }
}

/* ============================================
   FOOTER - MOBILE ENHANCEMENTS
   ============================================ */

@media (max-width: 768px) {
    .ae9ef-footer-trust {
        justify-content: flex-start;
    }

    .ae9ef-geo-switcher {
        justify-content: flex-start;
    }

    /* Alt cards: CTA full-width on mobile */
    .ae9ef-alt-card .ae9ef-cta-gold {
        width: 100%;
        min-height: 48px;
        font-size: 0.9rem;
    }

    .ae9ef-alt-card {
        padding: var(--space-lg);
    }

    /* Hero review: CTA full-width on mobile */
    .ae9ef-hero-content {
        padding: 0;
    }

    .ae9ef-hero-content .ae9ef-cta-gold {
        width: 100%;
        min-height: 52px;
    }
}

/* ============================================
   MAIN ELEMENT
   ============================================ */

.ae9ef-main {
    flex: 1;
}

/* ============================================
   PAGE HEADER - INFO MODIFIER
   Slightly different treatment for info/sitemap
   ============================================ */

.ae9ef-page-header-info {
    background: linear-gradient(135deg, var(--color-primary), color-mix(in srgb, var(--color-secondary) 80%, var(--color-accent)));
}

/* ============================================
   PROS & CONS WRAPPERS (review.php)
   Inner divs within .pros-cons container
   ============================================ */

.ae9ef-pros {
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-border);
}

.ae9ef-cons {
    padding-top: 0;
}

/* ============================================
   SITEMAP PAGE
   ============================================ */

.ae9ef-sitemap-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-sm);
}

.ae9ef-sitemap-item {
    border-bottom: 1px solid var(--color-border);
}

.ae9ef-sitemap-link {
    display: block;
    padding: var(--space-md) 0;
    color: var(--color-text);
    font-size: var(--font-size-base);
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.ae9ef-sitemap-link:hover {
    color: var(--color-accent);
    padding-left: var(--space-sm);
}

@media (max-width: 768px) {
    .ae9ef-sitemap-list {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   BONUS TEXT SCOPE FIX
   .bonus-text is used in hero (large) AND in
   recommendations table (small). Scope them
   so they don't collide.
   ============================================ */

.ae9ef-bonus-showcase .ae9ef-bonus-text {
    font-family: var(--font-heading);
    font-size: var(--font-size-3xl);
    color: var(--color-accent);
    font-weight: 700;
}

/* Colorway: Glacier Ice | Radius: crisp */
:root {
    --color-primary: #ecfeff;
    --color-secondary: #cffafe;
    --color-accent: #0e7490;
    --color-background: #ffffff;
    --color-surface: #ecfeff;
    --color-text: #164e63;
    --color-text-muted: #0891b2;
    --color-button: #0891b2;
    --color-button-hover: #0e7490;
    --color-button-text: #ffffff;
    --color-border: #a5f3fc;
    --color-success: #16a34a;
    --color-warning: #ca8a04;
    --color-error: #dc2626;
    --color-rating: #f59e0b;
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 6px;
}
