/**
 * Variant-03: Magazine Editorial
 * CSS Prefix: c5403
 *
 * Layout: magazine (wide content + narrow sidebar-left)
 * Listing: stack (horizontal cards)
 * Hero brand: banner (full-width with background)
 * Hero bonus: card-overlay
 * Rating: numeric-bold
 * CTA: sharp-uppercase
 * Header: two-row (logo row + nav row)
 *
 * Colorway CSS variables are injected at the beginning of the generated file.
 */

/* ============================================
   CSS Variables
   ============================================ */

:root {
    /* Colorway variables - defaults for fallback */
    --color-primary: #1a237e;
    --color-secondary: #374151;
    --color-accent: #1a1a1a;
    --color-background: #fafafa;
    --color-surface: #ffffff;
    --color-text: #1a1a1a;
    --color-text-muted: #666666;
    --color-button: #1a1a1a;
    --color-button-hover: #333333;
    --color-button-text: #ffffff;
    --color-border: #e5e5e5;
    --color-success: #16a34a;
    --color-warning: #f59e0b;
    --color-error: #ef4444;
    --color-rating: #f5a623;

    /* Variant-specific variables */
    --v3-space-xs: 0.25rem;
    --v3-space-sm: 0.5rem;
    --v3-space-md: 0.75rem;
    --v3-space-lg: 1rem;
    --v3-space-xl: 1.5rem;
    --v3-space-2xl: 1.5rem;

    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 6px;

    --v3-shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --v3-shadow-md: 0 3px 10px rgba(0,0,0,0.12);
    --v3-shadow-lg: 0 8px 24px rgba(0,0,0,0.16);

    --v3-transition: 0.15s ease;

    --v3-font-sans: 'Georgia', 'Times New Roman', serif;
    --v3-font-heading: 'Helvetica Neue', 'Arial', sans-serif;
    --v3-font-ui: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ============================================
   Base Reset
   ============================================ */

* {
    box-sizing: border-box;
}

body {
    font-family: var(--v3-font-sans);
    margin: 0;
    padding: 0;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-background);
    font-size: 1.1rem;
}

.c5403-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 var(--v3-space-lg);
}

/* ============================================
   Two-Row Header
   ============================================ */

.c5403-header {
    background: var(--color-surface);
    border-bottom: 2px solid var(--color-text);
}

.c5403-header-top {
    padding: var(--v3-space-md) 0;
    border-bottom: 1px solid var(--color-border);
}

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

.c5403-logo {
    font-family: var(--v3-font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.c5403-logo:hover {
    color: var(--color-button-hover);
}

.c5403-logo-img {
    height: 48px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    vertical-align: middle;
}

/* Burger Menu */
.c5403-burger {
    display: none;
    padding: var(--v3-space-sm);
    background: transparent;
    border: none;
    cursor: pointer;
    width: 36px;
    height: 36px;
    position: relative;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.c5403-burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: transform var(--v3-transition), opacity var(--v3-transition);
}

.c5403-burger.is-open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.c5403-burger.is-open span:nth-child(2) {
    opacity: 0;
}

.c5403-burger.is-open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Navigation Row */
.c5403-nav-row {
    padding: var(--v3-space-sm) 0;
    background: var(--color-primary);
}

.c5403-nav {
    display: flex;
    gap: 0;
    align-items: center;
    flex-wrap: wrap;
}

.c5403-nav-item {
    display: inline-flex;
    align-items: center;
    gap: var(--v3-space-xs);
    padding: var(--v3-space-sm) var(--v3-space-lg);
    color: var(--color-surface);
    text-decoration: none;
    font-family: var(--v3-font-ui);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background var(--v3-transition);
}

.c5403-nav-item:hover,
.c5403-nav-item.is-active {
    background: rgba(255,255,255,0.1);
}

.c5403-chevron {
    opacity: 0.7;
}

/* Dropdown */
.c5403-nav-dropdown {
    position: relative;
}

.c5403-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-surface);
    min-width: 200px;
    z-index: 1000;
    box-shadow: var(--v3-shadow-lg);
    border: 1px solid var(--color-border);
}

.c5403-nav-dropdown:hover .c5403-dropdown-menu {
    display: block;
}

.c5403-dropdown-link {
    display: block;
    padding: var(--v3-space-sm) var(--v3-space-lg);
    color: var(--color-text);
    text-decoration: none;
    font-family: var(--v3-font-ui);
    font-size: 0.85rem;
    border-bottom: 1px solid color-mix(in srgb, var(--color-border) 50%, transparent);
    transition: background var(--v3-transition);
}

.c5403-dropdown-link:last-child {
    border-bottom: none;
}

.c5403-dropdown-link:hover,
.c5403-dropdown-link.is-active {
    background: var(--color-background);
}

/* ============================================
   Main Layout
   ============================================ */

.c5403-main {
    padding: var(--v3-space-xl) 0 var(--v3-space-2xl);
}

/* Magazine Layout: Sidebar Left */
.c5403-layout {
    display: grid;
    gap: var(--v3-space-2xl);
    min-width: 0;
    overflow: hidden;
}

.c5403-layout--sidebar-left {
    grid-template-columns: 260px 1fr;
}

/* ============================================
   Sidebar (Left)
   ============================================ */

.c5403-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--v3-space-lg);
}

.c5403-widget {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: var(--v3-space-lg);
}

.c5403-widget-sticky {
    position: sticky;
    top: var(--v3-space-lg);
}

.c5403-widget-title {
    font-family: var(--v3-font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text);
    margin: 0 0 var(--v3-space-md);
    padding-bottom: var(--v3-space-sm);
    border-bottom: 2px solid var(--color-text);
}

.c5403-widget-bonus {
    font-family: var(--v3-font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-success);
    margin-bottom: var(--v3-space-md);
    text-align: center;
}

/* Link Lists */
.c5403-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.c5403-link-list li {
    padding: var(--v3-space-xs) 0;
    border-bottom: 1px solid color-mix(in srgb, var(--color-border) 50%, transparent);
}

.c5403-link-list li:last-child {
    border-bottom: none;
}

.c5403-link-list a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    line-height: 1.4;
    transition: color var(--v3-transition);
}

.c5403-link-list a:hover {
    color: var(--color-text);
    text-decoration: underline;
}

/* Top Picks List */
.c5403-top-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.c5403-top-item {
    display: flex;
    align-items: center;
    gap: var(--v3-space-sm);
    padding: var(--v3-space-sm) 0;
    border-bottom: 1px solid color-mix(in srgb, var(--color-border) 50%, transparent);
}

.c5403-top-item:last-child {
    border-bottom: none;
}

.c5403-top-rank {
    font-family: var(--v3-font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-text);
    min-width: 20px;
}

.c5403-top-info {
    flex: 1;
    min-width: 0;
}

.c5403-top-info strong {
    display: block;
    font-family: var(--v3-font-ui);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.c5403-top-bonus {
    font-size: 0.7rem;
    color: var(--color-success);
}

/* Similar List */
.c5403-similar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.c5403-similar-item {
    border-bottom: 1px solid color-mix(in srgb, var(--color-border) 50%, transparent);
}

.c5403-similar-item:last-child {
    border-bottom: none;
}

.c5403-similar-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--v3-space-sm) 0;
    text-decoration: none;
}

.c5403-similar-name {
    font-family: var(--v3-font-ui);
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.c5403-similar-rating {
    font-family: var(--v3-font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-text);
}

.c5403-similar-item a:hover .c5403-similar-name {
    color: var(--color-text);
    text-decoration: underline;
}

/* ============================================
   Article Content
   ============================================ */

.c5403-article {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: var(--v3-space-xl);
    overflow-wrap: break-word;
    word-wrap: break-word;
    min-width: 0;
}

.c5403-article-header {
    margin-bottom: var(--v3-space-xl);
    padding-bottom: var(--v3-space-lg);
    border-bottom: 1px solid var(--color-border);
}

.c5403-headline {
    font-family: var(--v3-font-heading);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text);
    margin: 0 0 var(--v3-space-md);
}

.c5403-lead {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: var(--v3-space-xl);
}

.c5403-body-content {
    overflow-wrap: break-word;
    word-wrap: break-word;
    min-width: 0;
}

.c5403-body-content h2 {
    font-family: var(--v3-font-heading);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 2rem 0 1rem;
    padding-bottom: var(--v3-space-sm);
    border-bottom: 1px solid var(--color-border);
}

.c5403-body-content h3 {
    font-family: var(--v3-font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 1.5rem 0 0.75rem;
}

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

.c5403-body-content ul,
.c5403-body-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.c5403-body-content ul {
    list-style: disc;
}

.c5403-body-content ol {
    list-style: decimal;
}

.c5403-body-content li {
    margin-bottom: 0.35rem;
    color: var(--color-text);
}

.c5403-body-content img {
    max-width: 100%;
    height: auto;
}

.c5403-body-content figure {
    margin: 1.5rem 0;
}

.c5403-body-content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 3px solid var(--color-accent);
}

.c5403-section-title {
    font-family: var(--v3-font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 var(--v3-space-lg);
    padding-bottom: var(--v3-space-sm);
    border-bottom: 2px solid var(--color-text);
}

/* ============================================
   Stack List (Listing)
   ============================================ */

.c5403-stack-list {
    margin: var(--v3-space-xl) 0;
}

.c5403-stack-card {
    display: grid;
    grid-template-columns: 40px 120px 1fr auto auto;
    gap: var(--v3-space-lg);
    align-items: center;
    padding: var(--v3-space-lg);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    margin-bottom: var(--v3-space-md);
    transition: box-shadow var(--v3-transition);
}

.c5403-stack-card:hover {
    box-shadow: var(--v3-shadow-md);
}

.c5403-stack-rank {
    font-family: var(--v3-font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    text-align: center;
}

.c5403-stack-logo {
    width: 120px;
    min-width: 120px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    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;
}

.c5403-stack-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.c5403-stack-body {
    min-width: 0;
}

.c5403-stack-name {
    font-family: var(--v3-font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 var(--v3-space-xs);
}

.c5403-stack-bonus {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-success);
    margin-bottom: var(--v3-space-xs);
}

.c5403-stack-terms {
    display: flex;
    gap: var(--v3-space-md);
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: var(--v3-space-xs);
}

.c5403-stack-pros {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--v3-space-sm);
}

.c5403-stack-pros li {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.c5403-stack-pros li::before {
    content: "\2713 ";
    color: var(--color-success);
}

/* Numeric Bold Rating */
.c5403-stack-rating {
    text-align: center;
    white-space: nowrap;
}

.c5403-rating-num {
    font-family: var(--v3-font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1;
}

.c5403-rating-label {
    font-family: var(--v3-font-ui);
    font-size: 0.75rem;
    color: color-mix(in srgb, var(--color-text-muted) 60%, transparent);
}

.c5403-stack-action {
    text-align: center;
}

/* ============================================
   Buttons (Sharp Uppercase)
   ============================================ */

.c5403-btn-cta {
    display: inline-block;
    padding: var(--v3-space-md) var(--v3-space-xl);
    background: var(--color-button);
    color: var(--color-button-text);
    text-decoration: none;
    font-family: var(--v3-font-ui);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    transition: background var(--v3-transition), box-shadow var(--v3-transition);
    box-shadow: 0 2px 8px color-mix(in srgb, var(--color-button) 40%, transparent);
    min-height: 44px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.c5403-btn-cta:hover {
    background: var(--color-button-hover);
    /* Preserve button text color — without this the global a:hover would tint
       button text into invisibility (orange text on near-orange bg on dark colorways) */
    color: var(--color-button-text);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--color-button) 50%, transparent);
}

.c5403-btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.c5403-btn-mini {
    display: inline-block;
    padding: var(--v3-space-xs) var(--v3-space-sm);
    background: var(--color-button);
    color: var(--color-button-text);
    text-decoration: none;
    font-family: var(--v3-font-ui);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.c5403-btn-mini:hover {
    background: var(--color-button-hover);
}

/* ============================================
   Banner Hero (Review)
   ============================================ */

.c5403-hero-banner {
    background: linear-gradient(135deg, var(--color-primary) 0%, color-mix(in srgb, var(--color-primary) 60%, #000) 100%);
    color: var(--color-button-text);
    padding: 1rem 0;
}

.c5403-banner-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1.25rem;
    align-items: center;
}

.c5403-banner-brand {
    display: flex;
    gap: var(--v3-space-lg);
    align-items: flex-start;
}

.c5403-banner-logo {
    width: 130px;
    height: 130px;
    object-fit: contain;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--v3-space-sm);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

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

.c5403-banner-name {
    font-family: var(--v3-font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.2rem;
}

/* Banner Numeric Rating */
.c5403-banner-rating {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 0.25rem;
}

.c5403-rating-big {
    font-family: var(--v3-font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.c5403-rating-max {
    font-size: 1rem;
    opacity: 0.6;
}

.c5403-banner-facts {
    list-style: none;
    padding: 0;
    margin: 0 0 0.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-family: var(--v3-font-ui);
    font-size: 0.8rem;
    opacity: 0.9;
}

.c5403-banner-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.c5403-banner-tag {
    font-family: var(--v3-font-ui);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: var(--v3-space-xs) var(--v3-space-sm);
    background: rgba(255,255,255,0.15);
}

/* Banner Offer Box */
.c5403-banner-offer {
    background: rgba(255,255,255,0.1);
    padding: 0.75rem;
    text-align: center;
}

.c5403-banner-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.c5403-banner-label {
    font-family: var(--v3-font-ui);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.7;
}

.c5403-banner-bonus {
    font-family: var(--v3-font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.c5403-banner-subtitle {
    font-size: 0.85rem;
    opacity: 0.8;
}

.c5403-hero-cta {
    display: inline-block;
    padding: 0.85rem 2.5rem;
    min-width: 220px;
    min-height: 52px;
    background: var(--color-warning);
    color: #000;
    text-decoration: none;
    font-family: var(--v3-font-ui);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
    transition: filter var(--v3-transition);
    text-align: center;
}

.c5403-hero-cta:hover {
    filter: brightness(1.1);
}

.c5403-banner-min {
    font-family: var(--v3-font-ui);
    font-size: 0.7rem;
    opacity: 0.6;
    margin-top: var(--v3-space-sm);
}

/* Banner Bottom */
.c5403-banner-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.c5403-banner-geo {
    display: flex;
    align-items: center;
    gap: var(--v3-space-sm);
    font-family: var(--v3-font-ui);
    font-size: 0.8rem;
}

.c5403-geo-flag {
    font-size: 1.25rem;
}

.c5403-banner-payments {
    display: flex;
    gap: var(--v3-space-xs);
}

.c5403-payment-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 22px;
    background: rgba(255,255,255,0.15);
    font-family: var(--v3-font-ui);
    font-size: 0.6rem;
    font-weight: 600;
    padding: 0 var(--v3-space-xs);
}

/* Banner Providers */
.c5403-banner-providers {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.35rem;
    flex-wrap: wrap;
}

.c5403-providers-label {
    font-family: var(--v3-font-ui);
    font-size: 0.75rem;
    opacity: 0.7;
}

.c5403-provider-badge {
    font-family: var(--v3-font-ui);
    font-size: 0.7rem;
    padding: 2px 8px;
    background: rgba(255,255,255,0.1);
}

/* ============================================
   Card Overlay Hero (Bonus)
   ============================================ */

.c5403-hero-overlay {
    background: linear-gradient(135deg, var(--color-primary) 0%, color-mix(in srgb, var(--color-primary) 60%, #000) 100%);
    color: var(--color-button-text);
    padding: 1rem 0;
    text-align: center;
}

.c5403-overlay-card {
    max-width: 400px;
    margin: 0 auto;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    padding: var(--v3-space-xl);
}

.c5403-overlay-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--v3-space-sm);
    margin: 0 auto var(--v3-space-md);
    display: block;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.c5403-overlay-brand {
    font-family: var(--v3-font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--v3-space-md);
    opacity: 0.9;
}

.c5403-overlay-bonus {
    margin-bottom: var(--v3-space-lg);
}

.c5403-bonus-amount {
    font-family: var(--v3-font-heading);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--v3-space-xs);
}

.c5403-bonus-subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Promo Code Box */
.c5403-promo-box {
    display: inline-flex;
    align-items: center;
    gap: var(--v3-space-sm);
    background: rgba(0,0,0,0.3);
    border: 1px dashed rgba(255,255,255,0.3);
    padding: var(--v3-space-sm) var(--v3-space-md);
    margin-bottom: var(--v3-space-lg);
}

.c5403-promo-label {
    font-family: var(--v3-font-ui);
    font-size: 0.7rem;
    text-transform: uppercase;
    opacity: 0.7;
}

.c5403-promo-code {
    font-family: var(--v3-font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    background: transparent;
}

.c5403-promo-copy {
    padding: var(--v3-space-xs);
    background: rgba(255,255,255,0.2);
    border: none;
    color: var(--color-button-text);
    cursor: pointer;
    display: inline-flex;
    transition: background var(--v3-transition);
}

.c5403-promo-copy:hover {
    background: rgba(255,255,255,0.3);
}

.c5403-overlay-cta {
    display: inline-block;
    padding: 0.85rem 2.5rem;
    min-width: 220px;
    min-height: 52px;
    background: var(--color-success);
    color: var(--color-button-text);
    text-decoration: none;
    font-family: var(--v3-font-ui);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: filter var(--v3-transition);
    text-align: center;
}

.c5403-overlay-cta:hover {
    filter: brightness(1.1);
}

.c5403-overlay-deposit {
    font-family: var(--v3-font-ui);
    font-size: 0.75rem;
    opacity: 0.6;
    margin-top: var(--v3-space-md);
}

/* ============================================
   Pros Block
   ============================================ */

.c5403-pros-block {
    background: color-mix(in srgb, var(--color-success) 10%, var(--color-surface));
    border-left: 4px solid var(--color-success);
    padding: var(--v3-space-lg);
    margin: var(--v3-space-lg) 0;
}

.c5403-pros-title {
    font-family: var(--v3-font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-success);
    margin: 0 0 var(--v3-space-md);
}

.c5403-pros-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.c5403-pros-list li {
    padding: var(--v3-space-xs) 0;
    padding-left: var(--v3-space-lg);
    position: relative;
    color: color-mix(in srgb, var(--color-success) 80%, #000);
    font-size: 0.9rem;
}

.c5403-pros-list li::before {
    content: "+";
    position: absolute;
    left: 0;
    font-weight: 700;
    color: var(--color-success);
}

/* ============================================
   Bonus Details
   ============================================ */

.c5403-bonus-details {
    margin: var(--v3-space-xl) 0;
}

.c5403-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--v3-space-md);
    margin: 0;
}

.c5403-detail-item {
    background: var(--color-background);
    padding: var(--v3-space-md);
}

.c5403-detail-item dt {
    font-family: var(--v3-font-ui);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: var(--v3-space-xs);
}

.c5403-detail-item dd {
    font-family: var(--v3-font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
}

/* ============================================
   How to Claim Steps
   ============================================ */

.c5403-how-to {
    margin: var(--v3-space-xl) 0;
}

.c5403-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step;
}

.c5403-step {
    display: flex;
    align-items: center;
    gap: var(--v3-space-md);
    padding: var(--v3-space-md) 0;
    border-bottom: 1px solid var(--color-border);
}

.c5403-step:last-child {
    border-bottom: none;
}

.c5403-step-num {
    width: 32px;
    height: 48px;
    background: var(--color-button);
    color: var(--color-button-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--v3-font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.c5403-step-text {
    font-family: var(--v3-font-ui);
    font-size: 0.9rem;
    color: var(--color-text);
}

/* ============================================
   CTA Section
   ============================================ */

.c5403-cta-section {
    margin: var(--v3-space-2xl) 0;
}

.c5403-cta-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--color-button);
    color: var(--color-button-text);
    padding: var(--v3-space-lg) var(--v3-space-xl);
}

.c5403-cta-text strong {
    display: block;
    font-family: var(--v3-font-heading);
    font-size: 1rem;
    margin-bottom: var(--v3-space-xs);
}

.c5403-cta-text span {
    font-size: 0.85rem;
    opacity: 0.8;
}

.c5403-cta-card .c5403-btn-cta {
    background: var(--color-surface);
    color: var(--color-text);
}

.c5403-cta-card .c5403-btn-cta:hover {
    background: color-mix(in srgb, var(--color-border) 70%, var(--color-surface));
}

/* ============================================
   Related Offers (Info Page)
   ============================================ */

.c5403-related-offers {
    margin: var(--v3-space-2xl) 0;
    padding-top: var(--v3-space-xl);
    border-top: 1px solid var(--color-border);
}

.c5403-mini-stack {
    display: flex;
    flex-direction: column;
    gap: var(--v3-space-md);
}

.c5403-mini-card {
    display: flex;
    align-items: center;
    gap: var(--v3-space-md);
    padding: var(--v3-space-md);
    background: var(--color-background);
}

.c5403-mini-logo {
    width: 50px;
    height: 48px;
    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: 3px;
    box-sizing: border-box;
}

.c5403-mini-info {
    flex: 1;
}

.c5403-mini-info strong {
    display: block;
    font-family: var(--v3-font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text);
}

.c5403-mini-info span {
    font-size: 0.8rem;
    color: var(--color-success);
}

/* ============================================
   Footer
   ============================================ */

.c5403-footer {
    background: var(--color-primary);
    color: color-mix(in srgb, var(--color-text-muted) 60%, var(--color-surface));
    padding: 1rem 0;
    margin-top: var(--v3-space-2xl);
}

.c5403-footer-inner {
    text-align: center;
}

.c5403-footer p {
    margin: 0.25rem 0;
}

.c5403-footer-nav {
    margin-bottom: var(--v3-space-md);
}

.c5403-footer-nav a {
    color: color-mix(in srgb, var(--color-border) 80%, var(--color-surface));
    text-decoration: none;
    font-family: var(--v3-font-ui);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.c5403-footer-nav a:hover {
    color: var(--color-text);
}

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

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

.c5403-footer-trust a:hover {
    color: var(--color-text);
}

/* Geo Switcher */
.c5403-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);
}

.c5403-geo-link,
.c5403-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;
}

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

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

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

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

.c5403-copyright {
    font-family: var(--v3-font-ui);
    font-size: 0.8rem;
    margin: 0 0 var(--v3-space-xs);
}

.c5403-legal {
    font-family: var(--v3-font-ui);
    font-size: 0.7rem;
    margin: 0;
    opacity: 0.7;
}

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

.c5403-footer-org p {
    margin: 0;
}

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

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

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

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

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
    .c5403-layout--sidebar-left {
        grid-template-columns: 220px 1fr;
        gap: var(--v3-space-lg);
    }

    .c5403-banner-grid {
        grid-template-columns: 1fr;
        gap: var(--v3-space-lg);
    }

    .c5403-banner-offer {
        max-width: 320px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    /* Mobile Menu */
    .c5403-burger {
        display: flex;
    }

    .c5403-nav-row {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
        padding: 0;
    }

    .c5403-nav-row.is-open {
        display: block;
    }

    .c5403-header {
        position: relative;
    }

    .c5403-nav {
        flex-direction: column;
        gap: 0;
    }

    .c5403-nav-item {
        width: 100%;
        padding: var(--v3-space-md) var(--v3-space-lg);
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .c5403-nav-dropdown {
        width: 100%;
    }

    .c5403-dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: color-mix(in srgb, var(--color-primary) 80%, #fff);
        display: none;
    }

    .c5403-nav-dropdown:hover .c5403-dropdown-menu,
    .c5403-nav-dropdown.is-open .c5403-dropdown-menu {
        display: block;
    }

    .c5403-dropdown-link {
        color: var(--color-surface);
        padding-left: var(--v3-space-2xl);
        border-bottom-color: rgba(255,255,255,0.1);
    }

    .c5403-dropdown-link:hover {
        background: rgba(255,255,255,0.1);
    }

    /* Layout */
    .c5403-layout--sidebar-left {
        grid-template-columns: 1fr;
    }

    .c5403-sidebar {
        order: 1;
    }

    .c5403-article {
        order: 0;
    }

    .c5403-widget-sticky {
        position: static;
    }

    /* Stack Cards */
    .c5403-stack-card {
        grid-template-columns: 1fr;
        gap: var(--v3-space-md);
        text-align: center;
    }

    .c5403-stack-rank {
        position: absolute;
        top: var(--v3-space-sm);
        left: var(--v3-space-sm);
        width: 28px;
        height: 28px;
        background: var(--color-button);
        color: var(--color-button-text);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.9rem;
    }

    .c5403-stack-card {
        position: relative;
        padding-top: var(--v3-space-2xl);
    }

    .c5403-stack-logo {
        width: 100%;
        height: auto;
        justify-content: center;
    }

    .c5403-stack-rating {
        margin: var(--v3-space-sm) 0;
    }

    .c5403-btn-cta {
        width: 100%;
    }

    /* Hero */
    .c5403-hero-banner,
    .c5403-hero-overlay {
        padding: var(--v3-space-lg) 0;
    }

    .c5403-hero-cta,
    .c5403-overlay-cta {
        display: block;
        width: 100%;
        min-width: 0;
    }

    .c5403-banner-brand {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .c5403-banner-facts {
        justify-content: center;
    }

    .c5403-banner-tags {
        justify-content: center;
    }

    .c5403-banner-bottom {
        flex-direction: column;
        gap: var(--v3-space-md);
    }

    .c5403-banner-payments {
        justify-content: center;
    }

    .c5403-banner-providers {
        justify-content: center;
    }

    .c5403-overlay-card {
        margin: 0;
        max-width: none;
    }

    /* Article */
    .c5403-article {
        padding: var(--v3-space-lg);
    }

    .c5403-headline {
        font-size: 1.5rem;
    }

    /* CTA Card */
    .c5403-cta-card {
        flex-direction: column;
        gap: var(--v3-space-md);
        text-align: center;
    }

    /* Details Grid */
    .c5403-details-grid {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 480px) {
    .c5403-container {
        padding: 0 var(--v3-space-md);
    }

    .c5403-details-grid {
        grid-template-columns: 1fr;
    }

    .c5403-rating-big {
        font-size: 2rem;
    }

    .c5403-bonus-amount {
        font-size: 1.5rem;
    }
}

/* ============================================
   Q&A Thread Page (Magazine Editorial Style)
   ============================================ */

.c5403-qa-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: var(--v3-space-2xl);
    margin-top: var(--v3-space-xl);
}

/* Sidebar */
.c5403-qa-sidebar {
    position: sticky;
    top: var(--v3-space-xl);
    align-self: start;
}

.c5403-qa-sidebar-block {
    border-top: 2px solid var(--color-text);
    padding-top: var(--v3-space-md);
}

.c5403-qa-sidebar-block h4 {
    font-family: var(--v3-font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text);
    margin: 0 0 var(--v3-space-md);
}

.c5403-qa-sidebar-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.c5403-qa-sidebar-block li {
    padding: var(--v3-space-sm) 0;
    border-bottom: 1px solid var(--color-border);
}

.c5403-qa-sidebar-block li:last-child {
    border-bottom: none;
}

.c5403-qa-sidebar-block a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    line-height: 1.4;
    transition: color var(--v3-transition);
}

.c5403-qa-sidebar-block a:hover {
    color: var(--color-text);
}

/* Main Content */
.c5403-qa-main {
    min-width: 0;
}

/* Question Article */
.c5403-qa-question {
    padding-bottom: var(--v3-space-xl);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--v3-space-xl);
}

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

.c5403-qa-byline {
    display: flex;
    align-items: center;
    gap: var(--v3-space-sm);
    font-family: var(--v3-font-ui);
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.c5403-qa-author-name {
    font-weight: 600;
    color: var(--color-text);
}

.c5403-qa-sep {
    color: var(--color-border);
}

.c5403-qa-tag-top {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-surface);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 8px;
    margin-right: var(--v3-space-sm);
}

.c5403-qa-score {
    text-align: right;
}

.c5403-qa-score-num {
    display: block;
    font-family: var(--v3-font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1;
}

.c5403-qa-score-label {
    font-family: var(--v3-font-ui);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
}

.c5403-qa-title {
    font-family: var(--v3-font-heading);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text);
    margin: 0 0 var(--v3-space-lg);
}

.c5403-qa-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text);
}

.c5403-qa-body p {
    margin: var(--v3-space-md) 0;
}

.c5403-qa-body p:first-child {
    margin-top: 0;
}

.c5403-qa-body p:last-child {
    margin-bottom: 0;
}

/* Dropcap for top answer */
.c5403-qa-body-dropcap p:first-of-type::first-letter {
    float: left;
    font-family: var(--v3-font-heading);
    font-size: 4rem;
    font-weight: 700;
    line-height: 0.8;
    padding-right: var(--v3-space-sm);
    color: var(--color-text);
}

/* Answers Divider */
.c5403-qa-divider {
    display: flex;
    align-items: center;
    gap: var(--v3-space-lg);
    margin-bottom: var(--v3-space-xl);
}

.c5403-qa-divider::before,
.c5403-qa-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-border);
}

.c5403-qa-divider span {
    font-family: var(--v3-font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    white-space: nowrap;
}

/* Answer Article */
.c5403-qa-answer {
    padding: var(--v3-space-xl) 0;
    border-bottom: 1px solid var(--color-border);
}

.c5403-qa-answer:last-child {
    border-bottom: none;
}

.c5403-qa-answer-top {
    background: color-mix(in srgb, var(--color-success) 5%, var(--color-surface));
    padding: var(--v3-space-xl);
    margin: 0 calc(-1 * var(--v3-space-lg));
    border-left: 3px solid var(--color-success);
}

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

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

@media (max-width: 600px) {
    .c5403-qa-reply {
        margin-left: var(--v3-space-lg);
        padding-left: var(--v3-space-md);
    }

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

/* ============================================
   Q&A Hub Page (Numbered List)
   ============================================ */

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

.c5403-qa-hub-header h1 {
    font-family: var(--v3-font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 var(--v3-space-sm);
    color: var(--color-text);
}

.c5403-qa-hub-header p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin: 0;
}

.c5403-qa-hub-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: qa-list;
}

.c5403-qa-hub-row {
    border-bottom: 1px solid var(--color-border);
}

.c5403-qa-hub-row:last-child {
    border-bottom: none;
}

.c5403-qa-hub-link {
    display: flex;
    align-items: flex-start;
    gap: var(--v3-space-lg);
    padding: var(--v3-space-lg) 0;
    text-decoration: none;
    transition: background var(--v3-transition);
}

.c5403-qa-hub-link:hover {
    background: var(--color-background);
    margin: 0 calc(-1 * var(--v3-space-lg));
    padding-left: var(--v3-space-lg);
    padding-right: var(--v3-space-lg);
}

.c5403-qa-hub-num {
    font-family: var(--v3-font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-border);
    min-width: 40px;
    line-height: 1;
}

.c5403-qa-hub-content {
    flex: 1;
    min-width: 0;
}

.c5403-qa-hub-content h2 {
    font-family: var(--v3-font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 var(--v3-space-xs);
    line-height: 1.3;
}

.c5403-qa-hub-meta {
    font-family: var(--v3-font-ui);
    font-size: 0.8rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: var(--v3-space-sm);
}

.c5403-qa-hub-sep {
    color: var(--color-border);
}

.c5403-qa-hub-votes {
    text-align: right;
    min-width: 60px;
}

.c5403-qa-hub-votes-num {
    display: block;
    font-family: var(--v3-font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1;
}

.c5403-qa-hub-votes-label {
    font-family: var(--v3-font-ui);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
}

.c5403-qa-hub-empty {
    text-align: center;
    padding: var(--v3-space-2xl);
    color: var(--color-text-muted);
    font-style: italic;
}

/* Answer Form */
.c5403-qa-form {
    padding: var(--v3-space-xl);
    background: var(--color-background);
    border-top: 2px solid var(--color-border);
    margin-top: var(--v3-space-xl);
}

.c5403-qa-form h3 {
    margin: 0 0 var(--v3-space-md);
    font-size: 1.1rem;
    font-family: var(--v3-font-heading);
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.c5403-qa-textarea {
    width: 100%;
    padding: var(--v3-space-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--v3-font-sans);
    font-size: 0.95rem;
    resize: vertical;
    background: var(--color-surface);
    color: var(--color-text);
    transition: border-color var(--v3-transition);
}

.c5403-qa-textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

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


.c5403-qa-submit {
    padding: var(--v3-space-sm) var(--v3-space-xl);
    background: var(--color-button);
    color: var(--color-button-text);
    border: none;
    border-radius: 0;
    font-family: var(--v3-font-ui);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background var(--v3-transition);
}

.c5403-qa-submit:hover {
    background: var(--color-button-hover);
}


/* Q&A Responsive */
@media (max-width: 900px) {
    .c5403-qa-layout {
        grid-template-columns: 1fr;
    }

    .c5403-qa-sidebar {
        position: static;
        order: 2;
        margin-top: var(--v3-space-xl);
        padding-top: var(--v3-space-xl);
        border-top: 1px solid var(--color-border);
    }

    .c5403-qa-sidebar-block ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0 var(--v3-space-lg);
    }
}

@media (max-width: 600px) {
    .c5403-qa-title {
        font-size: 1.5rem;
    }

    .c5403-qa-header {
        flex-direction: column;
        gap: var(--v3-space-md);
    }

    .c5403-qa-score {
        text-align: left;
        display: flex;
        align-items: baseline;
        gap: var(--v3-space-xs);
    }

    .c5403-qa-score-num {
        font-size: 1.25rem;
    }

    .c5403-qa-body-dropcap p:first-of-type::first-letter {
        font-size: 3rem;
    }

    .c5403-qa-answer-top {
        margin: 0;
        padding: var(--v3-space-lg);
    }

    .c5403-qa-hub-header h1 {
        font-size: 1.75rem;
    }

    .c5403-qa-hub-link {
        flex-wrap: wrap;
    }

    .c5403-qa-hub-num {
        font-size: 1.25rem;
        min-width: 32px;
    }

    .c5403-qa-hub-votes {
        width: 100%;
        text-align: left;
        margin-top: var(--v3-space-sm);
        display: flex;
        gap: var(--v3-space-xs);
        align-items: baseline;
    }

    .c5403-qa-sidebar-block ul {
        grid-template-columns: 1fr;
    }

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

    .c5403-qa-form-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .c5403-qa-submit {
        width: 100%;
    }

    .c5403-qa-form-hint {
        text-align: center;
        margin-top: 0.5rem;
    }
}

/* ============================================
   Content Tables
   ============================================ */

.c5403-body-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.c5403-body-content th,
.c5403-body-content td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.c5403-body-content th {
    background-color: var(--color-background);
    font-weight: 600;
    color: var(--color-text-muted);
    white-space: nowrap;
}

.c5403-body-content tr:hover {
    background-color: color-mix(in srgb, var(--color-text) 3%, var(--color-surface));
}

@media (max-width: 768px) {
    .c5403-body-content th,
    .c5403-body-content td {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
}

/* ============================================
   Article Meta (Date)
   ============================================ */

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

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

.c5403-meta-date {
    font-family: var(--v3-font-ui);
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   Go-Link Base
   ============================================ */

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

/* ============================================
   General Link Styles
   ============================================ */

a {
    color: var(--color-primary);
    transition: color var(--v3-transition);
}

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));
}

/* ============================================
   Stack Name Link (Listing & Alternatives)
   ============================================ */

.c5403-stack-name-link {
    color: var(--color-text);
    text-decoration: none;
}

.c5403-stack-name-link:hover {
    text-decoration: underline;
}

/* Stack Info (Review/Bonus Alternatives) */
.c5403-stack-info {
    flex: 1;
    min-width: 0;
}

/* ============================================
   FAQ Section (Magazine Editorial)
   ============================================ */

.c5403-faq {
    margin: var(--v3-space-xl) 0;
    border-top: 2px solid var(--color-text);
    padding-top: var(--v3-space-lg);
}

.c5403-faq-title {
    font-family: var(--v3-font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text);
    margin: 0 0 var(--v3-space-lg);
}

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

.c5403-faq-item:last-child {
    border-bottom: none;
}

.c5403-faq-question {
    display: block;
    padding: var(--v3-space-md) 0;
    font-family: var(--v3-font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 1.5rem;
}

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

.c5403-faq-question::after {
    content: "+";
    position: absolute;
    right: 0;
    top: var(--v3-space-md);
    font-family: var(--v3-font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-text-muted);
    transition: transform var(--v3-transition);
}

.c5403-faq-item[open] .c5403-faq-question::after {
    content: "\2212";
}

.c5403-faq-answer {
    padding: 0 0 var(--v3-space-lg);
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--color-text);
}

.c5403-faq-answer p {
    margin: var(--v3-space-sm) 0;
}

/* ============================================
   Recommendations Table (partials/recommendations.php)
   ============================================ */

.c5403-table-title {
    font-family: var(--v3-font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 var(--v3-space-lg);
    padding-bottom: var(--v3-space-sm);
    border-bottom: 2px solid var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.c5403-star {
    color: var(--color-rating);
    margin-right: var(--v3-space-xs);
}

.c5403-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;
}

.c5403-alternatives-table {
    margin-bottom: var(--v3-space-xl);
}

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

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

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

.c5403-cell-casino {
    padding: var(--v3-space-md) var(--v3-space-sm);
    width: 40%;
}

.c5403-casino-info {
    display: flex;
    align-items: center;
    gap: var(--v3-space-md);
}

.c5403-rank {
    font-family: var(--v3-font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    min-width: 24px;
    text-align: center;
}

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

.c5403-casino-name {
    color: var(--color-text);
    text-decoration: none;
    font-family: var(--v3-font-ui);
    font-size: 0.9rem;
}

.c5403-casino-name:hover {
    text-decoration: underline;
}

.c5403-casino-name strong {
    font-weight: 700;
}

.c5403-cell-rating {
    padding: var(--v3-space-md) var(--v3-space-sm);
    text-align: center;
    width: 60px;
}

.c5403-rating-value {
    font-family: var(--v3-font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-rating);
}

.c5403-cell-bonus {
    padding: var(--v3-space-md) var(--v3-space-sm);
    width: 30%;
}

.c5403-bonus-text {
    font-size: 0.85rem;
    color: var(--color-success);
    font-weight: 500;
}

.c5403-cell-action {
    padding: var(--v3-space-md) var(--v3-space-sm);
    text-align: right;
    width: 100px;
}

.c5403-btn-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--v3-space-sm) var(--v3-space-lg);
    background: var(--color-button);
    color: var(--color-button-text);
    text-decoration: none;
    font-family: var(--v3-font-ui);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: background var(--v3-transition), box-shadow var(--v3-transition);
    cursor: pointer;
    white-space: nowrap;
    min-height: 36px;
    box-shadow: 0 2px 6px color-mix(in srgb, var(--color-button) 35%, transparent);
}

.c5403-btn-play:hover {
    background: var(--color-button-hover);
    box-shadow: 0 3px 10px color-mix(in srgb, var(--color-button) 45%, transparent);
}

/* Recommendations Table Mobile */
@media (max-width: 768px) {
    .c5403-offer-table,
    .c5403-offer-table tbody,
    .c5403-offer-table tr,
    .c5403-offer-table td {
        display: block;
    }

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

    .c5403-cell-casino {
        width: 100%;
        padding: 0 0 var(--v3-space-sm);
    }

    .c5403-casino-info {
        justify-content: flex-start;
    }

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

    .c5403-cell-rating {
        width: 100%;
        text-align: left;
        padding: var(--v3-space-xs) 0;
    }

    .c5403-cell-bonus {
        width: 100%;
        padding: var(--v3-space-xs) 0;
    }

    .c5403-cell-action {
        width: 100%;
        text-align: left;
        padding: var(--v3-space-sm) 0 0;
    }

    .c5403-btn-play {
        display: block;
        width: 100%;
        text-align: center;
        padding: var(--v3-space-md);
        min-height: 48px;
        line-height: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ============================================
   QA Page Nav (alternate header nav structure)
   ============================================ */

.c5403-header-nav {
    background: var(--color-primary);
    padding: var(--v3-space-sm) 0;
}

.c5403-header-nav .c5403-container {
    display: flex;
    align-items: center;
    gap: 0;
}

.c5403-nav-toggle {
    display: none;
    padding: var(--v3-space-sm);
    background: transparent;
    border: none;
    cursor: pointer;
    width: 36px;
    height: 36px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.c5403-nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-surface);
    transition: transform var(--v3-transition), opacity var(--v3-transition);
}

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

.c5403-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

.c5403-nav-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0;
}

.c5403-nav-list li {
    list-style: none;
}

.c5403-nav-list a,
.c5403-nav-list button {
    display: inline-flex;
    align-items: center;
    padding: var(--v3-space-sm) var(--v3-space-lg);
    color: var(--color-surface);
    text-decoration: none;
    font-family: var(--v3-font-ui);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background var(--v3-transition);
}

.c5403-nav-list a:hover,
.c5403-nav-list a.active,
.c5403-nav-list button:hover {
    background: rgba(255,255,255,0.1);
}

.c5403-has-dropdown {
    position: relative;
}

.c5403-has-dropdown > .c5403-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-surface);
    min-width: 200px;
    z-index: 1000;
    box-shadow: var(--v3-shadow-lg);
    border: 1px solid var(--color-border);
    list-style: none;
    padding: 0;
    margin: 0;
}

.c5403-has-dropdown:hover > .c5403-dropdown-menu {
    display: block;
}

.c5403-has-dropdown .c5403-dropdown-menu a {
    color: var(--color-text);
    padding: var(--v3-space-sm) var(--v3-space-lg);
    border-bottom: 1px solid color-mix(in srgb, var(--color-border) 50%, transparent);
    display: block;
    font-size: 0.85rem;
}

.c5403-has-dropdown .c5403-dropdown-menu a:hover,
.c5403-has-dropdown .c5403-dropdown-menu a.active {
    background: var(--color-background);
}

.c5403-has-dropdown .c5403-dropdown-menu li:last-child a {
    border-bottom: none;
}

/* QA Nav Mobile */
@media (max-width: 768px) {
    .c5403-nav-toggle {
        display: flex;
    }

    .c5403-nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-primary);
        z-index: 1000;
    }

    .c5403-nav-list.active {
        display: flex;
    }

    .c5403-nav-list a,
    .c5403-nav-list button {
        width: 100%;
        padding: var(--v3-space-md) var(--v3-space-lg);
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .c5403-has-dropdown > .c5403-dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: color-mix(in srgb, var(--color-primary) 80%, #fff);
    }

    .c5403-has-dropdown:hover > .c5403-dropdown-menu,
    .c5403-has-dropdown.active > .c5403-dropdown-menu {
        display: block;
    }

    .c5403-has-dropdown .c5403-dropdown-menu a {
        color: var(--color-surface);
        padding-left: var(--v3-space-2xl);
        border-bottom-color: rgba(255,255,255,0.1);
    }

    .c5403-has-dropdown .c5403-dropdown-menu a:hover {
        background: rgba(255,255,255,0.1);
    }

    .c5403-header-nav {
        position: relative;
    }
}

/* ============================================
   Footer Variants (QA/QA-Hub use different structure)
   ============================================ */

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

.c5403-footer-top a {
    color: color-mix(in srgb, var(--color-accent) 70%, var(--color-text));
    text-decoration: none;
    font-size: 0.85rem;
    font-family: var(--v3-font-ui);
}

.c5403-footer-top a:hover {
    color: var(--color-text);
}

.c5403-footer-copy {
    margin-top: 0.5rem;
    text-align: center;
}

.c5403-footer-copy p {
    margin: 0.15rem 0;
    font-family: var(--v3-font-ui);
    font-size: 0.75rem;
}

.c5403-footer-copy p:last-child {
    font-size: 0.7rem;
    opacity: 0.7;
}

/* Footer Org for QA pages (strong + span structure) */
.c5403-footer-org strong {
    font-weight: 600;
    display: inline;
}

.c5403-footer-org span {
    display: inline;
    margin-left: 0.25rem;
}

.c5403-footer-org span::before {
    content: " \2014 ";
    color: color-mix(in srgb, var(--color-text-muted) 40%, transparent);
}

.c5403-footer-org span:first-of-type::before {
    content: " \2014 ";
}

/* Footer description */
.c5403-footer-desc {
    font-family: var(--v3-font-ui);
    font-size: 0.8rem;
    opacity: 0.85;
    max-width: 600px;
    margin: 0.5rem auto;
    text-align: center;
}

/* ============================================
   QA Form Footer
   ============================================ */

.c5403-qa-form-footer {
    display: flex;
    align-items: center;
    gap: var(--v3-space-lg);
    margin-top: var(--v3-space-md);
}

.c5403-qa-form-hint {
    font-family: var(--v3-font-ui);
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-style: italic;
}

/* ============================================
   MISSING: Page Body Classes
   ============================================ */

.c5403-page-listing,
.c5403-page-info,
.c5403-page-review,
.c5403-page-bonus {
    /* Page-type body classes for scoping if needed */
}

/* ============================================
   MISSING: Dropdown Trigger (nav button)
   ============================================ */

.c5403-dropdown-trigger {
    /* Inherits from nav-item; no extra styling needed */
}

/* ============================================
   MISSING: Alternatives Section Wrapper
   (review.php, bonus.php)
   ============================================ */

.c5403-alternatives {
    margin: var(--v3-space-xl) 0;
    padding-top: var(--v3-space-lg);
    border-top: 1px solid var(--color-border);
}

/* ============================================
   MISSING: Hero Stats (partials/hero-casino, hero-betting)
   ============================================ */

.c5403-hero-stats {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--v3-space-sm);
    display: flex;
    flex-wrap: wrap;
    gap: var(--v3-space-sm) var(--v3-space-lg);
    font-family: var(--v3-font-ui);
    font-size: 0.8rem;
    color: var(--color-button-text);
    opacity: 0.9;
}

.c5403-hero-stats li {
    display: flex;
    align-items: center;
    gap: var(--v3-space-xs);
}

.c5403-stat-icon {
    font-size: 1rem;
    line-height: 1;
}

/* ============================================
   MISSING: Hero Tags (partials/hero-casino, hero-betting)
   ============================================ */

.c5403-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--v3-space-xs);
    margin-top: var(--v3-space-sm);
}

.c5403-hero-tag {
    font-family: var(--v3-font-ui);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: var(--v3-space-xs) var(--v3-space-sm);
    background: rgba(255,255,255,0.12);
    color: var(--color-button-text);
}

/* ============================================
   MISSING: Providers Bar (partials/hero-providers)
   ============================================ */

.c5403-providers-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--v3-space-xs);
    margin-top: var(--v3-space-sm);
    font-family: var(--v3-font-ui);
    font-size: 0.75rem;
    color: var(--color-button-text);
    opacity: 0.85;
}

.c5403-providers-bar .c5403-providers-label {
    opacity: 0.7;
    margin-right: var(--v3-space-xs);
}

.c5403-provider-tag {
    font-family: var(--v3-font-ui);
    font-size: 0.7rem;
    padding: 2px 8px;
    background: rgba(255,255,255,0.1);
    color: var(--color-button-text);
}

/* ============================================
   FIX: Footer Trust Link Colors on Dark BG
   ============================================ */

.c5403-footer-trust a,
.c5403-footer-trust a:visited {
    color: color-mix(in srgb, var(--color-surface) 70%, var(--color-text-muted));
}

.c5403-footer-trust a:hover {
    color: var(--color-surface);
}

/* ============================================
   FIX: Footer License Link Colors on Dark BG
   ============================================ */

.c5403-footer-license a {
    color: color-mix(in srgb, var(--color-surface) 70%, var(--color-text-muted));
    text-decoration: underline;
}

.c5403-footer-license a:hover {
    color: var(--color-surface);
}

/* ============================================
   FIX: Geo Switcher in Footer — readable colors
   ============================================ */

.c5403-footer .c5403-geo-switcher {
    border-top-color: color-mix(in srgb, var(--color-surface) 15%, transparent);
}

.c5403-footer .c5403-geo-link,
.c5403-footer .c5403-geo-link:visited {
    color: color-mix(in srgb, var(--color-surface) 60%, var(--color-text-muted));
}

.c5403-footer .c5403-geo-link:hover {
    color: var(--color-surface);
}

.c5403-footer .c5403-geo-link.active,
.c5403-footer .c5403-geo-link.active:visited {
    color: var(--color-surface);
}

/* ============================================
   FIX: Pros List Text on Dark Colorways
   ============================================ */

.c5403-pros-list li {
    color: var(--color-text);
}

/* ============================================
   FIX: Hero CTA & Overlay CTA — stronger contrast
   ============================================ */

.c5403-hero-cta {
    box-shadow: 0 4px 16px color-mix(in srgb, var(--color-warning) 40%, transparent);
}

.c5403-overlay-cta {
    box-shadow: 0 4px 16px color-mix(in srgb, var(--color-success) 40%, transparent);
}

/* ============================================
   FIX: Footer Nav Link on Dark BG
   ============================================ */

.c5403-footer-nav a {
    color: color-mix(in srgb, var(--color-surface) 65%, var(--color-text-muted));
}

.c5403-footer-nav a:hover {
    color: var(--color-surface);
}

/* ============================================
   FIX: Footer Description Readability
   ============================================ */

.c5403-footer-desc {
    color: color-mix(in srgb, var(--color-surface) 60%, var(--color-text-muted));
}

/* ============================================
   FIX: Copyright & Legal on Dark Footer
   ============================================ */

.c5403-footer .c5403-copyright {
    color: color-mix(in srgb, var(--color-surface) 55%, var(--color-text-muted));
}

.c5403-footer .c5403-legal {
    color: color-mix(in srgb, var(--color-surface) 40%, var(--color-text-muted));
}

/* ============================================
   FIX: Footer Org Readability on Dark BG
   ============================================ */

.c5403-footer .c5403-footer-org {
    color: color-mix(in srgb, var(--color-surface) 55%, var(--color-text-muted));
}

/* ============================================
   FIX: Stack Card first item (Top Pick) highlight
   ============================================ */

.c5403-stack-card:first-child {
    border-left: 3px solid var(--color-accent);
    background: var(--color-surface);
    background: color-mix(in srgb, var(--color-accent) 4%, var(--color-surface));
}

/* ============================================
   FIX: Recommendations .alternatives wrapper on info
   (from partials/recommendations.php)
   ============================================ */

.c5403-article .c5403-alternatives {
    border-top: none;
    padding-top: 0;
    margin: var(--v3-space-lg) 0;
}

/* ============================================
   FIX: Go-link wrappers around logos — prevent flex compression
   ============================================ */

.c5403-stack-logo .go-link,
.c5403-casino-info .go-link {
    flex-shrink: 0;
    line-height: 0;
}

/* ============================================
   FIX: Stack logo img dimensions
   ============================================ */

.c5403-stack-logo img {
    width: 120px;
    height: 65px;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ============================================
   Sitemap Page
   ============================================ */

.c5403-sitemap-list {
    list-style: none;
    padding: 0;
    margin: var(--v3-space-lg) 0;
    columns: 2;
    column-gap: var(--v3-space-xl);
}

.c5403-sitemap-item {
    padding: var(--v3-space-sm) 0;
    border-bottom: 1px solid color-mix(in srgb, var(--color-border) 50%, transparent);
    break-inside: avoid;
}

.c5403-sitemap-link {
    color: var(--color-text);
    text-decoration: none;
    font-family: var(--v3-font-ui);
    font-size: 0.9rem;
    transition: color var(--v3-transition);
}

.c5403-sitemap-link:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

@media (max-width: 600px) {
    .c5403-sitemap-list {
        columns: 1;
    }
}

/* ============================================
   FIX: Mobile recommendations table logo — keep larger
   ============================================ */

@media (max-width: 768px) {
    .c5403-table-logo {
        width: 120px;
        height: 65px;
        min-width: 120px;
    }
}

/* ============================================
   FIX: Banner logo safety — ensure visible on any gradient
   ============================================ */

.c5403-banner-logo {
    background: var(--color-surface);
    background: color-mix(in srgb, #fff 85%, var(--color-surface));
}

.c5403-overlay-logo {
    background: var(--color-surface);
    background: color-mix(in srgb, #fff 85%, var(--color-surface));
}

/* Colorway: Esports Arena | Radius: default */
:root {
    --color-primary: #0a0a14;
    --color-secondary: #121220;
    --color-accent: #00d4ff;
    --color-background: #050508;
    --color-surface: #0a0a14;
    --color-text: #f8f8f8;
    --color-text-muted: #9090a0;
    --color-button: #ff6b00;
    --color-button-hover: #e65f00;
    --color-button-text: #ffffff;
    --color-border: #2a2a3a;
    --color-success: #00ff7f;
    --color-warning: #ffd700;
    --color-error: #ff3333;
    --color-rating: #ffd700;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}
