:root {
    /* ---- Zeus Casino — fondo azul profundo (alineado con bloques home) ---- */
    --bg-body: #14192a;
    --bg-header: #1a2138;
    --bg-footer: #0d101f;
    --bg-card: #1c2540;
    --bg-card-hover: #243056;
    --bg-banner: #161b2e;

    /* ---- Texto ---- */
    --text-primary: #ffffff;
    --text-secondary: #b8b8c6;
    --text-muted: #7a7a8a;
    --text-dark: #0a0a0a;

    /* ---- Acentos ---- */
    --accent: #d4af37;
    --accent-hover: #f0c952;
    --accent-gold-mid: #c9a227;
    --accent-secondary: #00b4ff;
    --accent-tertiary: #6b1c2e;
    --accent-burgundy: #8b1538;
    --accent-burgundy-bright: #a61e3a;

    /* ---- CTA principal — oro metálico ---- */
    --btn-primary-bg: linear-gradient(180deg, #f4d03f 0%, #d4af37 45%, #b8941f 100%);
    --btn-primary-bg-hover: linear-gradient(180deg, #ffe566 0%, #e8c547 50%, #c9a227 100%);
    --btn-primary-text: #0a0a0a;
    --btn-primary-border: none;
    --btn-primary-hover-opacity: 1;
    --btn-primary-shadow: rgba(212, 175, 55, 0.45);

    /* ---- Botones secundarios en contenido (cristal azul / oro al hover) ---- */
    --btn-secondary-bg: linear-gradient(165deg, rgba(0, 180, 255, 0.14) 0%, rgba(28, 37, 64, 0.95) 55%, rgba(20, 28, 48, 0.98) 100%);
    --btn-secondary-text: #f0f4ff;
    --btn-secondary-border: 1px solid rgba(0, 180, 255, 0.45);
    --btn-secondary-hover-bg: linear-gradient(165deg, rgba(244, 208, 63, 0.18) 0%, rgba(36, 48, 86, 0.98) 100%);
    /* Header / flotante — Iniciar sesión (burdeos) */
    --btn-login-bg: rgba(14, 18, 36, 0.94);
    --btn-login-hover-bg: rgba(139, 21, 56, 0.28);

    /* ---- Bordes ---- */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-light: rgba(212, 175, 55, 0.22);

    /* ---- Border Radius ---- */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-round: 50%;
    --radius-btn: 8px;

    /* ---- Layout ---- */
    --container-max-width: 1280px;
    --container-padding: 20px;

    /* ---- Shadows ---- */
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.65);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.75);
    --shadow-accent: 0 4px 24px rgba(212, 175, 55, 0.35);
    --shadow-blue: 0 0 28px rgba(0, 180, 255, 0.25);

    /* ---- Transition ---- */
    --transition: 0.3s ease;
    --transition-fast: 0.15s ease;

    /* ---- Typography (clean sans-serif) ---- */
    --font-family: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;
    --font-weight-extra-bold: 800;
    --heading-accent-gold: #f4d03f;
    --nav-hover: #00d4ff;

    /* ---- Font Sizes ---- */
    --text-xs: 0.75rem;
    --text-sm: 0.85rem;
    --text-base: 0.95rem;
    --text-md: 1rem;
    --text-lg: 1.1rem;
    --text-xl: 1.3rem;
    --text-2xl: 1.6rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;

    /* ---- Spacing ---- */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 40px;
    --space-2xl: 60px;

    /* ---- Z-Index ---- */
    --z-dropdown: 100;
    --z-sticky: 1000;
    --z-modal: 1100;

    /* ---- Hero — panel oscuro con brillo azul/oro ---- */
    --hero-gradient: linear-gradient(155deg, #0a0a12 0%, #12101c 38%, #0c1528 72%, #0a0f18 100%);

    /* ---- Scrollbar ---- */
    --scrollbar-width: 6px;
    --scrollbar-thumb: #b8941f;
    --scrollbar-thumb-hover: #d4af37;
    --scrollbar-track: #12182c;
}

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

body {
    font-family: var(--font-family);
    background: var(--bg-body);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 55% at 50% -15%, rgba(0, 180, 255, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 95% 60%, rgba(212, 175, 55, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 45% 35% at 5% 75%, rgba(139, 21, 56, 0.08) 0%, transparent 45%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
    z-index: 1;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    background-color: var(--bg-header);
    backdrop-filter: blur(12px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45), 0 1px 0 rgba(212, 175, 55, 0.14);
}

.header__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: nowrap;
}

/* Logo */
.header__logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.6rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 1px;
}

a.header__logo {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 1.35rem;
    line-height: 1.1;
    transition: opacity var(--transition-fast);
}

a.header__logo:hover {
    opacity: 0.92;
}

.header__logo a {
    display: flex;
}

.header__logo-part1 {
    color: #ffffff;
}

.header__logo-part2 {
    color: var(--heading-accent-gold);
}

.header__logo img {
    max-width: 150px;
    min-width: 146px;
    min-width: 150px;
}

/* Navigation */
.header__nav {
    flex: 1;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 2px;
    align-items: center;
    justify-content: center;
    margin: 0;
    flex-wrap: nowrap;
    min-width: 0;
}

.nav__list > li {
    display: flex;
    align-items: center;
    margin: 0;
}

.nav__list a,
.nav__list span.submenu-toggle {
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
    font-size: 0.875rem;
    transition: color var(--transition);
    padding: 9px 8px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

.nav__list a:hover,
.nav__list span.submenu-toggle:hover {
    color: var(--nav-hover);
}

.nav__list a.active,
.nav__list span.submenu-toggle.active {
    color: var(--nav-hover);
}

/* Header Buttons */
.header__lang-dropdown {
    position: relative;
}

.header__lang-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    font-family: inherit;
    cursor: pointer;
    transition: color var(--transition);
}

.header__lang-trigger:hover {
    color: var(--nav-hover);
}

.header__lang-globe {
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
}

.header__lang-globe svg {
    display: block;
}

.header__lang-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid currentColor;
    margin-left: 2px;
    transition: transform var(--transition);
}

.header__lang-dropdown:hover .header__lang-arrow,
.header__lang-dropdown:focus-within .header__lang-arrow {
    transform: rotate(180deg);
}

.header__lang-list {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0;
    padding: 10px 0 6px;
    min-width: 100%;
    list-style: none;
    background: var(--bg-header);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    z-index: var(--z-dropdown);
}

.header__lang-dropdown:hover .header__lang-list,
.header__lang-dropdown:focus-within .header__lang-list {
    display: block;
}

.header__lang-list a {
    display: block;
    padding: 8px 14px;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    transition: color var(--transition);
}

.header__lang-list a:hover {
    color: var(--nav-hover);
}

.header__lang-list .header__lang-item--active {
    color: var(--nav-hover);
    font-weight: var(--font-weight-medium);
}

.header__desktop-buttons {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    align-items: center;
}

.header__desktop-buttons .btn {
    padding: 10px 14px;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    line-height: 1.2;
    white-space: nowrap;
}

.header__lang-mobile {
    display: none;
}

.header__lang-row {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 0;
    margin: 0 20px;
    text-align: center;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.header__lang-row-inner {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 10px;
}

.header__lang-row::-webkit-scrollbar {
    height: 4px;
}

.header__lang-chip {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 10px 16px;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary);
    background: var(--bg-secondary, rgba(255, 255, 255, 0.06));
    border: 1px solid transparent;
    border-radius: var(--radius-lg);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.header__lang-chip:hover {
    color: var(--text-primary);
}

.header__lang-chip--active {
    color: var(--heading-accent-gold);
    border: 1px solid rgba(212, 175, 55, 0.5);
    box-shadow: 0 0 16px rgba(0, 180, 255, 0.2);
}

.header__mobile-buttons {
    display: none;
    flex-direction: row;
    gap: 12px;
    margin-top: 20px;
    width: 100%;
}

.header__mobile-buttons .btn {
    flex: 1;
    text-align: center;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-medium);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    font-family: var(--font-family);
}

.btn--login {
    background: var(--btn-login-bg);
    color: #ffffff;
    border: 2px solid var(--accent-burgundy-bright);
}

.btn--login:hover {
    background: var(--btn-login-hover-bg);
    border-color: #c42545;
    box-shadow: 0 0 20px rgba(139, 21, 56, 0.35);
}

.btn--register,
.btn--signup {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    border: var(--btn-primary-border);
}

.btn--register:hover,
.btn--signup:hover {
    opacity: var(--btn-primary-hover-opacity);
    transform: translateY(-1px);
    box-shadow: var(--shadow-accent), var(--shadow-blue);
}

/* ============================================
   HAMBURGER MENU
   ============================================ */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: calc(var(--z-sticky) + 1);
    width: 42px;
    height: 42px;
    position: relative;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 5px 0;
    transition: all var(--transition);
    border-radius: 2px;
}

.hamburger.active span {
    display: none;
}

.hamburger.active::before {
    content: '\2715';
    font-size: 1.4rem;
    color: var(--text-primary);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding: 25px 0 0;
}

.hero__box {
    background: var(--hero-gradient);
    border-radius: var(--radius-md);
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow:
        0 0 48px rgba(0, 180, 255, 0.12),
        0 0 80px rgba(212, 175, 55, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero__content {
    max-width: 700px;
    margin: 0 auto;
}

.hero__title {
    font-size: var(--text-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin: 0 0 var(--space-md) 0;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.hero__tagline {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin: 0 0 var(--space-md) 0;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hero__badges {
    margin-bottom: var(--space-md);
}

.hero__badge {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(0, 180, 255, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.45);
}

.hero__badges .hero__badge:not(:last-child) {
    margin-right: var(--space-sm);
}

.hero__text-wrap {
    width: calc(100% + 50px);
    margin-top: var(--space-lg);
    margin-left: -25px;
    margin-right: -25px;
    padding: 0 25px;
    box-sizing: border-box;
}

.hero__text {
    font-size: var(--text-base);
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
    max-width: none;
}

.hero__text p {
    margin: 0 0 0.75em 0;
    font-size: inherit;
    color: inherit;
    line-height: inherit;
}

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

.hero__title:last-child,
.hero__tagline:last-child,
.hero__badges:last-child,
.hero__text:last-child {
    margin-bottom: 0;
}

.hero__highlight {
    background: linear-gradient(90deg, #f4d03f 0%, #fff8dc 40%, #00d4ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.35));
}

.hero__cta {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 10px;
}

/* CTA principal hero — oro + halo azul */
.btn--bonus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text) !important;
    border: 1px solid rgba(255, 230, 150, 0.35);
    padding: 14px 36px;
    font-size: 1rem;
    font-weight: var(--font-weight-bold);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-accent), 0 0 24px rgba(0, 180, 255, 0.2);
    text-decoration: none !important;
    text-transform: none;
    letter-spacing: 0.03em;
}

.btn--bonus:hover {
    background: var(--btn-primary-bg-hover);
    box-shadow: 0 6px 28px rgba(212, 175, 55, 0.5), 0 0 32px rgba(0, 212, 255, 0.25);
    transform: translateY(-1px);
}

.btn--register-sm {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--accent-burgundy-bright);
    padding: 12px 28px;
    font-size: 0.9rem;
}

/* ============================================
   HOME — después del hero (confianza + vitrina)
   ============================================ */
.home-after-hero {
    margin: 0;
}

.home-trust-band {
    background: #14182a;
    padding: var(--space-2xl) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.home-trust-band__heading {
    text-align: center;
    font-size: clamp(1.25rem, 2.5vw, var(--text-2xl));
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    line-height: 1.35;
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--space-lg) !important;
    padding-bottom: 0 !important;
    border: none !important;
    text-transform: none;
    letter-spacing: 0.02em;
}

.home-trust-band__lead {
    text-align: center;
    color: var(--text-secondary);
    font-size: var(--text-base);
    line-height: 1.75;
    max-width: 42rem;
    margin: 0 auto var(--space-xl);
}

.home-trust-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    max-width: 56rem;
    margin: 0 auto;
}

.home-trust-badge {
    background: #1a2034;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: var(--space-lg) var(--space-md);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    min-height: 120px;
    justify-content: center;
}

.home-trust-badge__icon {
    color: var(--heading-accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-trust-badge__icon svg {
    display: block;
}

.home-trust-badge__label {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
    line-height: 1.35;
}

.home-showcase-band {
    background: #1b1e36;
    padding: var(--space-2xl) 0 var(--space-xl);
}

.home-showcase-row {
    margin-bottom: var(--space-xl);
}

.home-showcase-row:last-child {
    margin-bottom: 0;
}

.home-showcase__title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    text-transform: none;
    letter-spacing: 0.02em;
    padding-bottom: var(--space-sm);
    margin-bottom: var(--space-lg) !important;
    margin-top: 0 !important;
    border: none !important;
    border-bottom: 2px solid rgba(212, 175, 55, 0.45) !important;
    border-radius: 0;
}

.home-showcase__title-icon {
    color: var(--heading-accent-gold);
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.home-showcase-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.home-showcase__item {
    min-width: 0;
}

.home-showcase__item .game-card {
    cursor: default;
}

.home-showcase__card .game-card__image-wrapper {
    aspect-ratio: 3 / 4;
}

@media (max-width: 1100px) {
    .home-showcase-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .home-trust-badges {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .home-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .home-trust-badges {
        grid-template-columns: 1fr;
    }

    .home-trust-band {
        padding: var(--space-xl) 0;
    }
}

/* Editorial + aside (bajo vitrina) */
.home-editorial-band {
    background: #161b2e;
    padding: var(--space-2xl) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.home-editorial-band__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
    gap: var(--space-xl);
    align-items: start;
}

.home-editorial-band__main {
    padding-bottom: var(--space-md);
}

.home-editorial-band__main > h2:first-of-type {
    margin-top: 0 !important;
}

.home-editorial-band__aside {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    position: sticky;
    top: var(--space-md);
}

.home-widget {
    background: #121621;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
}

.home-widget--bonus {
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.06), var(--shadow-sm);
}

.home-widget__title {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin: 0 0 var(--space-md) 0 !important;
    padding-bottom: 0 !important;
    border: none !important;
    text-transform: none;
    letter-spacing: 0.02em;
}

.home-widget__title--bonus {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--heading-accent-gold);
}

.home-widget__title--bonus .home-widget__title-icon {
    display: flex;
    color: inherit;
}

.home-widget__title--wins {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.home-widget__title-icon--bolt {
    font-size: 1.15rem;
    line-height: 1;
}

.home-widget-rating__stars {
    display: flex;
    gap: 4px;
    font-size: 1.35rem;
    line-height: 1;
    color: var(--heading-accent-gold);
    margin-bottom: var(--space-sm);
}

.home-widget-rating__score {
    font-size: var(--text-xl);
    color: var(--text-primary);
    margin: 0 0 var(--space-xs) 0;
}

.home-widget-rating__meta {
    font-size: var(--text-xs);
    color: var(--text-muted);
    line-height: 1.45;
    margin: 0 0 var(--space-md) 0;
}

.home-widget-rating__bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: var(--space-md);
}

.home-widget-rating__bar-fill {
    display: block;
    height: 100%;
    width: 96%;
    border-radius: 999px;
    background: linear-gradient(90deg, #6d28d9 0%, #a78bfa 50%, #c4b5fd 100%);
}

.home-widget-rating__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.home-widget-rating__list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.4;
}

.home-widget-rating__list li:last-child {
    margin-bottom: 0;
}

.home-widget-rating__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--text-primary);
    font-weight: var(--font-weight-bold);
    font-size: 0.9em;
}

.home-widget-bonus__text {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 var(--space-lg) 0;
}

.home-widget-bonus__hl {
    color: var(--heading-accent-gold);
    font-weight: var(--font-weight-bold);
}

.home-widget-bonus__btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: var(--font-weight-bold);
    font-size: var(--text-base);
    color: #ffffff !important;
    text-decoration: none !important;
    background: linear-gradient(90deg, #f59e0b 0%, #d97706 35%, #6366f1 100%);
    box-shadow: 0 4px 22px rgba(99, 102, 241, 0.35);
    transition: transform var(--transition), box-shadow var(--transition);
}

.home-widget-bonus__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(99, 102, 241, 0.45), 0 0 24px rgba(245, 158, 11, 0.25);
    color: #ffffff !important;
}

.home-widget-wins__disclaimer {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin: -4px 0 var(--space-sm) 0;
    line-height: 1.35;
}

.home-widget-wins__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.home-widget-wins__list li {
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.home-widget-wins__list li:first-child {
    padding-top: 0;
}

.home-widget-wins__list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.home-widget-wins__line1 {
    display: block;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: 4px;
    line-height: 1.45;
}

.home-widget-wins__name {
    color: #f59e0b;
    font-weight: var(--font-weight-medium);
}

.home-widget-wins__time {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

@media (max-width: 992px) {
    .home-editorial-band__grid {
        grid-template-columns: 1fr;
    }

    .home-editorial-band__aside {
        position: static;
        max-width: 420px;
    }
}

/* Ventajas 3×3 + 4 pasos + tabla juegos (home) */
.home-pelican-blocks {
    margin: 0;
}

.home-advantages-band {
    background: #14182a;
    padding: var(--space-2xl) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.home-advantages-band__title {
    text-align: center;
    font-size: clamp(1.35rem, 2.5vw, var(--text-2xl));
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin: 0 auto var(--space-xl) !important;
    max-width: 48rem;
    padding-bottom: 0 !important;
    border: none !important;
    line-height: 1.35;
    text-transform: none;
    letter-spacing: 0.02em;
}

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

.home-advantage-card {
    background: #1a2038;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.home-advantage-card:hover {
    border-color: rgba(212, 175, 55, 0.25);
    box-shadow: var(--shadow-sm);
}

.home-advantage-card__head {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.home-advantage-card__icon {
    font-size: 1.65rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.home-advantage-card__title {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    line-height: 1.35;
    text-transform: none;
    letter-spacing: 0;
}

.home-advantage-card__text {
    margin: var(--space-md) 0 0 0 !important;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

.home-advantage-card__text a {
    color: var(--accent-secondary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.home-advantage-card__text a:hover {
    color: var(--nav-hover);
}

.home-how-band {
    background: #161b2e;
    padding: var(--space-2xl) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.home-how-band__title {
    text-align: center;
    font-size: clamp(1.25rem, 2.2vw, var(--text-2xl));
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin: 0 auto var(--space-md) !important;
    max-width: 52rem;
    padding-bottom: 0 !important;
    border: none !important;
    line-height: 1.35;
    text-transform: none;
}

.home-how-band__intro {
    text-align: center;
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 40rem;
    margin: 0 auto var(--space-xl);
}

.home-how-band__intro a {
    color: var(--accent-secondary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.home-how-band__intro a:hover {
    color: var(--nav-hover);
}

.home-how-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.home-step-card {
    background: #1a2038;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
}

.home-step-card__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0 auto var(--space-md);
    background: var(--accent-secondary);
    color: #ffffff;
    font-size: var(--text-lg);
    font-weight: var(--font-weight-extra-bold);
    border-radius: var(--radius-xs);
    box-shadow: 0 0 20px rgba(0, 180, 255, 0.35);
}

.home-step-card__title {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin: 0 0 var(--space-sm) 0 !important;
    padding: 0 !important;
    border: none !important;
    line-height: 1.35;
    text-transform: none;
}

.home-step-card__text {
    margin: 0 !important;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.55;
}

.home-topgames-band {
    background: #14182a;
    padding: var(--space-2xl) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.home-topgames-band__title {
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin: 0 0 var(--space-md) 0 !important;
    padding-bottom: 0 !important;
    border: none !important;
    text-align: left;
    text-transform: none;
    letter-spacing: 0.02em;
}

.home-topgames-band__intro {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 0 var(--space-lg) 0;
    max-width: 52rem;
}

.home-topgames-band__guides {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.65;
    margin: var(--space-lg) 0 0 0;
    max-width: 52rem;
}

.home-topgames-band__guides a {
    color: var(--accent-secondary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.home-topgames-band__guides a:hover {
    color: var(--nav-hover);
}

.home-topgames-table-wrap {
    overflow-x: auto;
    margin-bottom: var(--space-md);
}

.home-topgames-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-sm);
}

.home-topgames-table tbody th[scope="row"] {
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    text-align: left;
    vertical-align: top;
}

.home-topgames-table tbody td {
    color: var(--text-secondary);
    vertical-align: top;
    line-height: 1.55;
}

.home-topgames-table__rtp {
    text-align: right;
    white-space: nowrap;
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
}

.home-topgames-table thead th.home-topgames-table__rtp {
    text-align: right;
}

@media (max-width: 992px) {
    .home-advantage-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-how-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .home-advantage-grid {
        grid-template-columns: 1fr;
    }

    .home-how-steps {
        grid-template-columns: 1fr;
    }
}

/* Métodos de pago + opiniones (home) */
.home-payments-band {
    background: #242444;
    padding: var(--space-2xl) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.home-payments-band__title {
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin: 0 0 var(--space-md) 0 !important;
    padding-bottom: 0 !important;
    border: none !important;
    text-align: left;
    text-transform: none;
    letter-spacing: 0.02em;
}

.home-payments-band__intro {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 0 var(--space-md) 0;
    max-width: 52rem;
}

.home-payments-band__local {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0 0 var(--space-xl) 0;
    max-width: 52rem;
}

.home-payments-band__local strong {
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold, 600);
}

.home-payments-band__intro a {
    color: var(--accent-secondary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.home-payments-band__intro a:hover {
    color: var(--nav-hover);
}

.home-payments-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.home-pay-card {
    background: #18182c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: var(--space-xl) var(--space-md);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    min-height: 120px;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.home-pay-card:hover {
    border-color: rgba(212, 175, 55, 0.25);
}

.home-pay-card__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
}

.home-pay-card__logo--visa {
    font-size: 1.65rem;
    font-weight: var(--font-weight-extra-bold);
    font-style: italic;
    letter-spacing: 0.12em;
    color: #5bc0de;
    font-family: var(--font-family), sans-serif;
}

.home-pay-card__logo--mc {
    position: relative;
    width: 52px;
    height: 36px;
}

.home-pay-card__mc {
    position: absolute;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-round);
    top: 4px;
}

.home-pay-card__mc--red {
    left: 4px;
    background: #eb001b;
    opacity: 0.95;
}

.home-pay-card__mc--orange {
    right: 4px;
    background: #f79e1b;
    opacity: 0.95;
}

.home-pay-card__logo--skrill {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: #8b3dff;
    letter-spacing: 0.02em;
}

.home-pay-card__logo--eco {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: #b8b8c6;
}

.home-pay-card__eco-prefix {
    color: #6fbd2b;
}

.home-pay-card__name {
    font-size: var(--text-sm);
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
}

.home-reviews-band {
    background: #1c1c36;
    padding: var(--space-2xl) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.home-reviews-band__title {
    text-align: center;
    font-size: clamp(1.25rem, 2.2vw, var(--text-2xl));
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin: 0 auto var(--space-sm) !important;
    max-width: 44rem;
    padding-bottom: 0 !important;
    border: none !important;
    line-height: 1.35;
    text-transform: none;
}

.home-reviews-band__intro {
    text-align: center;
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 auto var(--space-xl);
    max-width: 36rem;
}

.home-reviews-band__intro a {
    color: var(--accent-secondary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.home-reviews-band__intro a:hover {
    color: var(--nav-hover);
}

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

.main .content-section .home-reviews-grid {
    margin-bottom: var(--space-xl);
    grid-template-columns: 1fr;
}

.home-review-card {
    background: #25254a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.home-review-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-sm);
}

.home-review-card__name {
    font-size: var(--text-base);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.home-review-card__rating {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.home-review-card__stars {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    line-height: 1;
}

.home-review-card__star {
    color: var(--heading-accent-gold);
    font-size: 0.95rem;
}

.home-review-card__star--empty {
    color: rgba(255, 255, 255, 0.22);
}

.home-review-card__star-half {
    display: inline-block;
    width: 0.47em;
    overflow: hidden;
    vertical-align: -1px;
    line-height: 1;
}

.home-review-card__star-half__inner {
    display: inline-block;
    color: var(--heading-accent-gold);
    font-size: 0.95rem;
}

.home-review-card__score {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.home-review-card__quote {
    margin: 0;
    padding: 0;
    border: none;
    font-style: normal;
}

.home-review-card__quote p {
    margin: 0 !important;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.55;
}

.home-review-card__meta {
    margin-top: auto;
    font-size: var(--text-xs);
    color: var(--text-muted);
}

@media (max-width: 992px) {
    .home-payments-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 576px) {
    .home-payments-grid {
        grid-template-columns: 1fr;
    }

    .home-reviews-grid {
        grid-template-columns: 1fr;
    }

    .home-review-card__top {
        flex-direction: column;
        align-items: flex-start;
    }
}

.btn--register-sm:hover {
    background: rgba(139, 21, 56, 0.2);
    box-shadow: 0 0 24px rgba(139, 21, 56, 0.35);
}

.btn--secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    background: var(--btn-secondary-bg);
    color: var(--btn-secondary-text) !important;
    border: var(--btn-secondary-border);
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-bold);
    font-size: var(--text-base);
    transition: all var(--transition);
    text-decoration: none !important;
    text-transform: none;
    letter-spacing: 0.02em;
    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.35),
        0 0 28px rgba(0, 180, 255, 0.1);
}
.btn--secondary:hover {
    background: var(--btn-secondary-hover-bg);
    color: var(--heading-accent-gold) !important;
    border-color: rgba(244, 208, 63, 0.55);
    box-shadow:
        0 6px 26px rgba(0, 0, 0, 0.4),
        0 0 32px rgba(0, 180, 255, 0.14),
        0 0 40px rgba(212, 175, 55, 0.08);
    transform: translateY(-1px);
}

/* CTA compacto dentro de párrafos */
.btn--compact {
    padding: 8px 18px;
    font-size: var(--text-sm);
    vertical-align: middle;
    margin: 0 6px;
    text-transform: none;
    letter-spacing: 0.02em;
    border-radius: var(--radius-sm);
}

.btn--table {
    display: inline-block;
    padding: 6px 14px;
    background: var(--accent-burgundy-bright);
    color: #ffffff !important;
    border-radius: var(--radius-btn);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-bold);
    transition: all var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn--table:hover {
    background: #c42545;
    box-shadow: 0 0 16px rgba(139, 21, 56, 0.45);
    transform: translateY(-1px);
}

/* Main page blocks: benefits, steps, strategies */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}
.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color-light);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    transition: box-shadow var(--transition);
}
.benefit-card:hover {
    box-shadow: var(--shadow-md);
}
.benefit-icon {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--accent);
    line-height: 1;
}
.benefit-text {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.4;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
    list-style: none;
    margin-left: 0 !important;
    padding-left: 0 !important;
}
.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color-light);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    position: relative;
    padding-top: 50px;
}
.step-num {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--btn-primary-bg);
    color: var(--text-dark);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    font-size: 1.2rem;
}
.step-text {
    margin: 0;
    color: var(--text-secondary);
    font-size: var(--text-base);
    line-height: 1.5;
}
.steps-cta {
    text-align: center;
    margin-bottom: var(--space-xl) !important;
}

.strategies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}
.strategy-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color-light);
    border-radius: var(--radius-sm);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.strategy-card strong {
    color: var(--accent);
    font-size: var(--text-base);
}
.strategy-card span {
    color: var(--text-secondary);
    font-size: var(--text-sm);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}
.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color-light);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.review-card__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
}
.review-card__name {
    font-size: var(--text-base) !important;
    font-weight: var(--font-weight-bold) !important;
    color: var(--text-primary) !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}
.review-avatar {
    width: 48px;
    height: 48px;
    margin: 0;
    background: var(--btn-primary-bg);
    color: var(--text-dark);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    font-size: 0.9rem;
}
.review-quote {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    font-style: italic;
    margin: 0 0 var(--space-xs);
    line-height: 1.4;
    text-align: left;
    width: 100%;
}
.review-quote p {
    margin: 0 !important;
}
.review-meta {
    margin-top: auto;
    padding-top: var(--space-sm);
}
.review-author {
    font-size: var(--text-xs);
    color: var(--text-muted);
    font-style: normal;
}

@media (max-width: 992px) {
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: 1fr; }
    .strategies-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .pay-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .benefits-grid { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
    .strategies-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .category-grid { grid-template-columns: 1fr; }
}

.casinos-table-wrap {
    margin-bottom: var(--space-xl);
}
.casinos-table-wrap .content-table-wrap {
    overflow-x: auto;
}
.casinos-table .btn--table {
    white-space: nowrap;
}

.games-section {
    padding: 40px 0 10px;
}

.games-section__title {
    text-align: left;
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--heading-accent-gold);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.game-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.game-card-link:hover .game-card__image {
    transform: scale(1.06);
}

.game-card-link:hover .game-card__overlay {
    opacity: 1;
}

.game-card-link:hover .game-card__play {
    opacity: 1;
    transform: scale(1.08);
}

.crosslinks-sep {
    border-top: 1px solid var(--border-color);
    margin: 0;
}

.crosslinks-section {
    padding: var(--space-lg) 0;
    background: rgba(20, 28, 48, 0.45);
    border-top: 1px solid rgba(0, 180, 255, 0.08);
}

.crosslinks-inner {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.crosslinks-title {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin: 0 0 var(--space-sm) 0;
}

.crosslinks-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.crosslinks-list a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: var(--text-base);
    transition: color var(--transition);
}

.crosslinks-list a:hover {
    color: var(--nav-hover);
}

@media (max-width: 768px) {
    .crosslinks-list {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 12px 20px;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }
    .crosslinks-list li {
        flex-shrink: 0;
    }
}

.game-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: inherit;
}

.game-card-link:hover .game-card,
.game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55), 0 0 28px rgba(0, 180, 255, 0.2), 0 0 40px rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.55);
}

.game-card__image-wrapper {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.game-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.game-card:hover .game-card__image {
    transform: scale(1.06);
}

.game-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.game-card:hover .game-card__overlay {
    opacity: 1;
}

.game-card__play {
    width: 48px;
    height: 48px;
    background: var(--btn-primary-bg);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition), box-shadow var(--transition);
    opacity: 0;
    box-shadow: 0 0 20px rgba(0, 180, 255, 0.35);
}

.game-card:hover .game-card__play {
    opacity: 1;
    transform: scale(1.08);
}

.game-card__play::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent #ffffff;
    margin-left: 3px;
}

.game-card__play:hover {
    box-shadow: 0 0 28px rgba(212, 175, 55, 0.55), 0 0 36px rgba(0, 212, 255, 0.3);
}

.game-card__title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 12px 10px;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    z-index: 1;
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
    background: var(--bg-header);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--space-sm);
}

.breadcrumbs__item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.breadcrumbs__item:not(:last-child)::after {
    content: '\203A';
    margin-left: var(--space-sm);
    color: var(--text-muted);
    font-size: var(--text-lg);
}

.breadcrumbs__link {
    color: var(--text-secondary);
    transition: color var(--transition);
}

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

.breadcrumbs__current {
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main {
    padding: var(--space-xl) 0;
    background: var(--bg-body);
}

/* Home: franja bajo el hero pegada al hero (sin hueco extra) */
.main:has(> .home-after-hero:first-child) {
    padding-top: 0;
}

.main-section {
    margin-bottom: var(--space-2xl);
}

.main-section:last-child {
    margin-bottom: 0;
}

.section-lead {
    color: var(--text-secondary);
    margin-top: -8px;
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.trust-chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    list-style: none;
    margin: var(--space-lg) 0 0 0 !important;
    padding: 0 !important;
}

.trust-chips li {
    margin: 0;
    padding: 8px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color-light);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color-light);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    align-items: center;
}

.stat-card__value {
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--heading-accent-gold);
    line-height: 1.2;
}

.stat-card__label {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.4;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color-light);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    transition: box-shadow var(--transition);
}

.category-card:hover {
    box-shadow: var(--shadow-md);
}

.category-card__title {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-bold);
    color: var(--accent);
    margin: 0 0 var(--space-sm) 0 !important;
    padding: 0 !important;
    border: none !important;
}

.category-card__text {
    margin: 0;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.5;
}

.pay-label {
    margin-bottom: var(--space-sm) !important;
}

.pay-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
    list-style: none;
    margin: 0 0 var(--space-md) 0 !important;
    padding: 0 !important;
}

.pay-grid li {
    margin: 0;
    padding: var(--space-md);
    background: var(--bg-card);
    border: 1px solid var(--border-color-light);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    color: var(--text-secondary);
    text-align: center;
}

.table-caption {
    caption-side: top;
    text-align: left;
    font-size: var(--text-sm);
    color: var(--text-muted);
    padding: 0 0 var(--space-sm) 0;
    font-weight: var(--font-weight-medium);
}

.main-cta {
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color-light);
    border-radius: var(--radius-md);
    padding: var(--space-xl) var(--space-lg);
}

.main-cta__title {
    border: none !important;
    padding-bottom: 0 !important;
    margin-bottom: var(--space-sm) !important;
}

.main-cta__text {
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.main-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
    margin-top: var(--space-lg);
}

.faq-more {
    text-align: center;
    margin-top: var(--space-lg) !important;
    margin-bottom: 0 !important;
}

.main .content-section a:not(.btn),
.main .main-section a:not(.btn) {
    color: var(--accent-secondary);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--transition);
}

.main .content-section a:not(.btn):hover,
.main .main-section a:not(.btn):hover {
    color: var(--heading-accent-gold);
}

.main h1,
.main h2,
.main h3 {
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 180, 255, 0.16);
    margin-bottom: 20px;
}

.main h1 {
    font-size: var(--text-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.main h1:last-child,
.main h2:last-child,
.main h3:last-child {
    margin-bottom: 0;
}

.main h2 {
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-top: 15px;
}

.main h3 {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
    margin-top: 25px;
    margin-bottom: 12px;
}

.main p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.main ul, .main ol {
    color: var(--text-secondary);
    margin: 0 0 20px 24px;
    padding-left: 18px;
}

.main li {
    margin-bottom: var(--space-sm);
}

.main img {
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: min(72vh, 540px);
    object-fit: contain;
    object-position: center;
    border-radius: var(--radius-md);
    margin: 20px auto;
    display: block;
}

/* Tarjetas de juego (vitrina / carrusel): recorte 1:1, sin estirar */
.main .game-card__image-wrapper .game-card__image {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
    margin: 0;
}

.page-button {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 15px 0;
}

/* ============================================
   404 ERROR PAGE
   ============================================ */
.error-page {
    text-align: center;
    padding: var(--space-2xl) 0;
}

.error-page__code {
    font-size: 8rem;
    font-weight: var(--font-weight-extra-bold);
    color: var(--heading-accent-gold);
    line-height: 1;
    margin-bottom: var(--space-md);
    opacity: 0.35;
    text-shadow: 0 0 40px rgba(0, 180, 255, 0.25);
}

.main .error-page__title {
    font-size: var(--text-3xl);
    color: var(--text-primary) !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: var(--space-md);
}

.error-page__text {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   FOOTER — логотип, описание, 18+, дисклеймер, меню справа
   ============================================ */
.footer {
    background: var(--bg-footer);
    border-top: 1px solid var(--border-color);
}

.footer__container {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 48px;
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
}

.footer__left {
    max-width: 480px;
}

.footer__right {
    flex-shrink: 0;
}

.footer__menu-columns {
    display: flex;
    gap: 32px 40px;
    flex-wrap: wrap;
}

.footer__menu-columns .footer__menu {
    min-width: 140px;
}

.footer__logo {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 15px;
}

.footer__logo-part1 {
    color: #ffffff;
}

.footer__logo-part2 {
    color: var(--heading-accent-gold);
}

.footer__logo-img {
    width: auto;
    max-width: 210px;
}

.footer__description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer__badges {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer__badge {
    height: 45px;
    width: auto;
}

.footer__badge--18 {
    display: inline-flex;
    color: var(--heading-accent-gold);
}

.footer__badge--18 svg {
    height: 45px;
    width: auto;
}

.footer__disclaimer {
    color: var(--text-muted);
    font-size: var(--text-sm);
    line-height: 1.5;
    margin: 0;
}

.footer__legal-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px 10px;
    font-size: var(--text-sm);
}

.footer__legal-links a {
    color: var(--text-muted);
    transition: color var(--transition);
}

.footer__legal-links a:hover {
    color: var(--nav-hover);
}

.footer__legal-sep {
    color: var(--text-muted);
    opacity: 0.6;
    user-select: none;
}

.footer__menu-title {
    font-size: var(--text-md);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin: 0 0 12px 0;
}

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

.footer__menu li {
    margin-bottom: 10px;
}

.footer__menu li:last-child {
    margin-bottom: 0;
}

.footer__menu a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color var(--transition);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.footer__menu a:hover {
    color: var(--nav-hover);
}

.footer__bottom {
    padding: 18px 0;
    border-top: 1px solid var(--border-color);
}

.footer__bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

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

@media (max-width: 768px) {
    .footer__container {
        flex-direction: column;
        text-align: left;
    }

    .footer__right {
        width: 100%;
    }
}

.floating-buttons {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-body);
    border-top: 1px solid var(--border-color);
    padding: 10px 16px;
    gap: 8px;
    z-index: var(--z-sticky);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.floating-btn {
    flex: 1;
    padding: 10px 16px;
    text-align: center;
    font-weight: var(--font-weight-bold);
    font-size: var(--text-md);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    margin: 0;
}

.floating-btn--login {
    background: var(--btn-login-bg);
    color: #ffffff;
    border: 2px solid var(--accent-burgundy-bright);
}

.floating-btn--login:hover {
    background: var(--btn-login-hover-bg);
    border-color: #c42545;
    box-shadow: 0 0 16px rgba(139, 21, 56, 0.3);
}

.floating-btn--register {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    border: none;
}

.floating-btn--register:hover {
    background: var(--btn-primary-bg-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-accent);
}

/* ============================================
   TABLES
   ============================================ */
.content-table-wrap {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow-x: auto;
    margin-bottom: var(--space-lg);
    border: 1px solid var(--border-color);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-base);
}

th, td {
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    text-align: left;
    color: var(--text-primary);
}

thead tr {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    font-weight: var(--font-weight-bold);
}
thead tr th {
    background: transparent;
    color: inherit;
    font-weight: inherit;
    border-color: rgba(10, 10, 10, 0.12);
}

tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.025);
}

tbody tr {
    transition: background var(--transition);
}

tbody tr:hover {
    background: var(--bg-card-hover);
}

table td p {
    margin: 0;
    color: var(--text-primary);
}

/* Content blockquotes (citas en artículos) */
blockquote.content-quote {
    margin: var(--space-lg) 0;
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-card);
    border-left: 4px solid var(--accent-secondary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--text-secondary);
}
blockquote.content-quote p {
    margin: 0 0 0.5em;
}
blockquote.content-quote cite {
    font-size: var(--text-sm);
    font-style: normal;
    color: var(--text-muted);
}

/* Explorá Zeus Casino — imagen + texto en dos columnas */
.explorar-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: clamp(var(--space-lg), 4vw, var(--space-2xl));
    align-items: center;
    margin-top: var(--space-md);
    margin-bottom: var(--space-xl);
}

.explorar-split__media.content-image-wrap {
    margin: 0;
    width: min(100%, 440px);
    max-width: 440px;
    justify-content: flex-start;
}

.explorar-split__media .content-image {
    width: 440px;
    height: 440px;
    max-width: 100%;
    margin: 0;
    object-fit: cover;
    object-position: center;
}

.explorar-split__text {
    min-width: 0;
}

.explorar-split__text p {
    margin: 0 0 var(--space-md);
    line-height: 1.7;
    color: var(--text-secondary);
}

.explorar-split__text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .explorar-split {
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: var(--space-lg);
    }

    .explorar-split__media.content-image-wrap {
        justify-content: center;
        width: min(100%, 360px);
        max-width: 360px;
    }

    .explorar-split__media .content-image {
        width: 360px;
        height: 360px;
        max-width: 100%;
        object-position: center;
    }
}

.explorar-split--start {
    align-items: start;
}

.explorar-split--editorial-bonus {
    margin-top: var(--space-xl);
}

.explorar-split__text--bonus blockquote.content-quote--in-split {
    margin-top: 0;
    margin-bottom: var(--space-lg);
}

.explorar-split__text--bonus > h2#bonos-heading {
    margin-top: 0;
}

.explorar-split__text--bonus .strategies-grid {
    grid-template-columns: 1fr;
}

@media (min-width: 900px) {
    .explorar-split__text--bonus .strategies-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.explorar-split__bonus-cta {
    margin-top: var(--space-md);
    margin-bottom: 0 !important;
}

/* ============================================
   CONTENT INSERT (auto-inserted image + buttons)
   ============================================ */
.content-image-wrap {
    margin: var(--space-lg) auto;
    max-width: min(100%, 920px);
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 0;
}

img.content-image {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: min(68vh, 520px);
    object-fit: contain;
    object-position: center;
    border-radius: var(--radius-md);
    margin: 0 auto;
    aspect-ratio: auto;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-container {
    width: 100%;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

button.faq-question {
    padding: 18px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-card);
    transition: background var(--transition);
    width: 100%;
    border: none;
    font: inherit;
    text-align: left;
    color: inherit;
}

button.faq-question:hover {
    background: var(--bg-card-hover);
}

.faq-question-title {
    color: var(--text-primary);
    font-size: var(--text-lg);
    font-weight: var(--font-weight-medium);
    margin: 0;
    flex: 1;
    padding-right: var(--space-sm);
    line-height: 1.35;
}

.faq-icon {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--accent);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.faq-icon::before {
    width: 2px;
    height: 16px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-icon::after {
    width: 16px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-item.active .faq-icon::before {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq-item.active .faq-icon::after {
    transform: translate(-50%, -50%) rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
    background: var(--bg-card);
}

.faq-item.active .faq-answer {
    max-height: 1200px;
}

.faq-answer .faq-answer-text {
    padding: 15px 20px 20px;
    color: var(--text-secondary);
    margin: 0;
    border-top: 1px solid var(--border-color);
    line-height: 1.6;
}

.faq-answer .faq-answer-text ul {
    margin: 8px 0 0 0;
    padding-left: 20px;
}

.faq-answer .faq-answer-text li {
    margin-bottom: 4px;
}

/* ============================================
   PROMO BANNER (in-content block)
   ============================================ */
.promo-banner {
    background: linear-gradient(135deg, #0c1528 0%, #1a0a14 45%, #0a1a22 100%);
    border-radius: var(--radius-md);
    padding: 30px;
    margin: 20px 0;
    text-align: center;
    box-shadow: 0 0 40px rgba(0, 180, 255, 0.15), 0 0 60px rgba(212, 175, 55, 0.12);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.35);
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.promo-title {
    font-size: var(--text-4xl);
    font-weight: var(--font-weight-extra-bold);
    background: linear-gradient(90deg, #f4d03f 0%, #fff8dc 50%, #00d4ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.5));
    margin-bottom: 15px;
    position: relative;
}

.promo-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    position: relative;
}

.promo-button {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    padding: 15px 40px;
    border-radius: var(--radius-btn);
    font-weight: var(--font-weight-bold);
    font-size: var(--text-lg);
    border: 1px solid rgba(255, 230, 150, 0.35);
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: var(--shadow-accent), 0 0 24px rgba(0, 180, 255, 0.2);
    position: relative;
}

.promo-button:hover {
    background: var(--btn-primary-bg-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.45), 0 0 36px rgba(0, 212, 255, 0.25);
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: var(--scrollbar-width);
    height: var(--scrollbar-width);
}

::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
}

::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover);
}

/* ============================================
   DROPDOWN MENU — Desktop
   ============================================ */
.header__nav .has-submenu {
    position: relative;
}

.header__nav .submenu-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-primary);
}

.header__nav .dropdown-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--text-secondary);
    transition: transform var(--transition), border-color var(--transition);
    margin-top: 1px;
}

.header__nav .has-submenu:hover .dropdown-arrow {
    transform: rotate(180deg);
    border-top-color: var(--nav-hover);
}

.header__nav .submenu {
    display: none;
    position: absolute;
    left: 0;
    transform: translateY(8px);
    top: 100%;
    background: var(--bg-card);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-sm);
    z-index: var(--z-dropdown);
    padding: 0;
    border: 1px solid var(--border-color);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
    overflow: hidden;
}

.header__nav .has-submenu:hover > .submenu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header__nav .submenu li {
    list-style: none;
    margin: 0;
}

.header__nav .submenu li a {
    padding: 11px 20px;
    display: block;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    transition: color 0.2s;
    border-left: 3px solid transparent;
}

.header__nav .submenu li a:hover {
    color: var(--heading-accent-gold);
    border-left-color: var(--accent-secondary);
    background: rgba(0, 180, 255, 0.06);
}

.header__nav .submenu li:not(:last-child) a {
    border-bottom: 1px solid var(--border-color);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Mobile menu (generated by JS) — hidden on desktop */
.nav__list-mobile {
    display: none;
}

@media (max-width: 1280px) {
    .games-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .header__nav,
    .header__desktop-buttons,
    .header__lang--desktop {
        display: none;
    }

    .header__nav.active .header__lang-mobile {
        display: block;
        padding: 12px 0 0;
    }

    .header__nav.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-header);
        padding: 12px 0 16px;
        border-top: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
        z-index: var(--z-sticky);
        max-height: 70vh;
        overflow-y: auto;
        overflow-x: hidden;
    }

    /* Hide desktop nav list on mobile */
    .header__nav.active .nav__list {
        display: none;
    }

    /* Show mobile flat list */
    .header__nav.active .nav__list-mobile {
        display: flex;
        flex-direction: column;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .nav__list-mobile > li {
        position: relative;
    }

    .nav__list-mobile > li:not(:last-child)::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 5%;
        right: 5%;
        height: 1px;
        background: var(--border-color);
    }

    .nav__list-mobile a {
        display: block;
        padding: 14px 20px;
        font-size: var(--text-base);
        font-weight: var(--font-weight-medium);
        text-align: center;
        color: var(--text-secondary);
        transition: color 0.2s;
    }

    .nav__list-mobile a:hover {
        color: var(--text-primary);
    }

    .nav__list-mobile a.active {
        color: var(--nav-hover);
    }

    /* ---- 2-column mode (>7 items) ---- */
    .nav__list-mobile--two-col {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }

    .nav__list-mobile--two-col > li:not(:last-child)::after {
        left: 8px;
        right: 8px;
    }

    /* Hide dividers on the last row */
    .nav__list-mobile--two-col > li:nth-last-child(1)::after,
    .nav__list-mobile--two-col > li:nth-last-child(2)::after {
        display: none;
    }

    .nav__list-mobile--two-col a {
        padding: 12px 10px;
        font-size: var(--text-sm);
    }

    .header__nav.active .header__mobile-buttons {
        display: flex;
        flex-direction: row;
        margin-top: 12px;
        padding: 0 20px;
    }

    .hamburger {
        display: block;
    }
}

@media (max-width: 992px) {
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    
    .hero__title {
        font-size: 2.2rem;
    }
    
    .footer__container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .hero {
        padding: 15px 0 0;
    }
    
    .hero__box {
        padding: 25px 20px;
        border-radius: var(--radius-sm);
    }
    .hero__text-wrap {
        width: calc(100% + 40px);
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .hero__title {
        font-size: 1.4rem;
    }
    
    .btn--bonus,
    .btn--register-sm {
        padding: 10px 22px;
        font-size: var(--text-sm);
    }
    
    .game-card__play {
        width: 50px;
        height: 50px;
    }
    
    .game-card__play::before {
        border-width: 10px 0 10px 16px;
    }
    
    .game-card__title {
        font-size: 0.8rem;
        padding: 10px 8px;
    }
    
    .main {
        padding-bottom: 80px;
    }
    
    .footer {
        padding-bottom: 70px;
    }
    
    .footer__container {
        flex-direction: column;
    }
    
    .footer__menu-columns {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px 24px;
    }
    
    .footer__menu-columns .footer__menu {
        min-width: 0;
    }
    
    .footer__badges {
        justify-content: flex-start;
    }
    
    .footer__bottom .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer__copyright {
        order: 2;
    }

    .footer__legal-links {
        order: 1;
        justify-content: center;
    }
    
    .games-section__title {
        font-size: var(--text-xl);
    }
    
    .main h1 {
        font-size: var(--text-2xl);
    }
    
    .main h2 {
        font-size: var(--text-xl);
    }

    /* Floating buttons visible on mobile (radius как у .header__nav .submenu) */
    .floating-buttons {
        display: flex;
        gap: 8px;
    }

    /* 404 page */
    .error-page__code {
        font-size: 5rem;
    }

    /* FAQ mobile */
    .faq-question-title {
        font-size: var(--text-md);
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .games-grid {
        gap: 10px;
    }

    .footer__container {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .footer__bottom {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}
