/**
 * GetX Casino - Main Stylesheet
 * Brand: GetX (getx-winer.top)
 * Design: Dark Premium + Neon Cyber Casino
 */

/* ==========================================================================
   1. CSS Variables & Design Tokens
   ========================================================================== */
:root {
    /* Color Palette */
    --color-bg-base: #0b0d14;
    --color-bg-surface: #111827;
    --color-bg-card: #161f32;
    --color-bg-card-hover: #1e2942;
    --color-bg-input: #0f1523;
    
    --color-primary: #7c3aed;
    --color-primary-hover: #6d28d9;
    --color-primary-light: #8b5cf6;
    --color-primary-glow: rgba(124, 58, 237, 0.4);

    --color-accent-gold: #f59e0b;
    --color-accent-amber: #f9af2c;
    --color-accent-gold-hover: #d97706;
    --color-accent-cyan: #06b6d4;
    --color-accent-green: #10b981;
    --color-accent-red: #ef4444;

    --color-text-main: #f3f4f6;
    --color-text-secondary: #9ca3af;
    --color-text-muted: #6b7280;
    --color-text-white: #ffffff;

    --color-border: #1f293d;
    --color-border-light: rgba(255, 255, 255, 0.1);
    --color-border-focus: #7c3aed;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
    --gradient-gold: linear-gradient(135deg, #f9af2c 0%, #f59e0b 100%);
    --gradient-cyan: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --gradient-hero: radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.25) 0%, rgba(11, 13, 20, 0) 70%);
    --gradient-card: linear-gradient(180deg, #161f32 0%, #111827 100%);

    /* Typography */
    --font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

    /* Spacing & Radii */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 9999px;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 20px var(--color-primary-glow);

    --header-height: 72px;
    --topbar-height: 38px;
    --sticky-bar-height: 64px;
}

/* ==========================================================================
   2. Reset & Strict Overflow Rules (Mandatory Rules 1, 2, 3, 4, 7, 8)
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    min-height: 100%;
    background-color: var(--color-bg-base);
    color: var(--color-text-main);
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    overflow-wrap: break-word;
}

body {
    padding-bottom: var(--sticky-bar-height);
    position: relative;
}

.site-wrapper,
.wrap,
.container,
.main-wrapper {
    width: 100%;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Rule 3: Grid children min-width: 0 */
.grid,
.slots-grid,
.games-grid,
.providers-grid,
.facts-grid,
.features-grid,
.footer__grid,
.layout-grid {
    display: grid;
}

.grid > *,
.slots-grid > *,
.games-grid > *,
.providers-grid > *,
.facts-grid > *,
.features-grid > *,
.footer__grid > *,
.layout-grid > *,
.layout__main,
.layout__side {
    min-width: 0;
}

/* Rule 4: Rich-text articles overflow rules */
.rt,
article,
.editorial-article,
.article-body {
    overflow-x: hidden;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Rule 7 & 8: Horizontal table scroll containers */
.table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 24px 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background-color: var(--color-bg-surface);
}

.table-scroll table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    white-space: normal;
}

img, svg, picture, video {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--color-primary-light);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ==========================================================================
   3. Buttons & Badges (Solid backgrounds - Rule 5)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    border-radius: var(--radius-md);
    text-align: center;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
    user-select: none;
}

.btn:active {
    transform: scale(0.98);
}

.btn--primary {
    background: var(--gradient-gold);
    color: #0b0d14;
    box-shadow: 0 4px 14px rgba(249, 175, 44, 0.35);
}

.btn--primary:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #000;
    box-shadow: 0 6px 20px rgba(249, 175, 44, 0.5);
}

.btn--purple {
    background: var(--gradient-primary);
    color: var(--color-text-white);
    box-shadow: 0 4px 14px var(--color-primary-glow);
}

.btn--purple:hover {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: var(--color-text-white);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.6);
}

.btn--outline {
    background-color: var(--color-bg-surface);
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
}

.btn--outline:hover {
    border-color: var(--color-primary-light);
    color: var(--color-text-white);
    background-color: var(--color-bg-card);
}

.btn--copy {
    background-color: var(--color-bg-card);
    color: var(--color-accent-amber);
    border: 1px solid rgba(249, 175, 44, 0.4);
}

.btn--copy:hover {
    background-color: #24304c;
    border-color: var(--color-accent-amber);
}

.btn--pulse {
    animation: btnPulse 2.5s infinite;
}

@keyframes btnPulse {
    0% { box-shadow: 0 0 0 0 rgba(249, 175, 44, 0.6); }
    70% { box-shadow: 0 0 0 12px rgba(249, 175, 44, 0); }
    100% { box-shadow: 0 0 0 0 rgba(249, 175, 44, 0); }
}

.btn--full {
    width: 100%;
}

.btn--sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn--lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background-color: var(--color-bg-surface);
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
}

.badge--hit {
    background-color: #b91c1c;
    color: #fff;
    border-color: #ef4444;
}

.badge--new {
    background-color: #047857;
    color: #fff;
    border-color: #10b981;
}

.badge--top {
    background-color: #d97706;
    color: #0b0d14;
    border-color: #f59e0b;
}

.badge--vip {
    background: var(--gradient-gold);
    color: #0b0d14;
}

/* ==========================================================================
   4. Top Bar & Header
   ========================================================================== */
.top-bar {
    background-color: #07080d;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.82rem;
    color: var(--color-text-secondary);
    min-height: var(--topbar-height);
    display: flex;
    align-items: center;
}

.top-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}

.top-bar__ticker {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.top-bar__status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-accent-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-accent-green);
    animation: statusBlink 2s infinite ease-in-out;
}

@keyframes statusBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.top-bar__jackpot-val {
    color: var(--color-accent-amber);
    font-weight: 800;
}

.top-bar__links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-bar__link {
    color: var(--color-text-secondary);
}

.top-bar__link:hover {
    color: var(--color-text-white);
}

.top-bar__link--highlight {
    color: var(--color-accent-amber);
}

.header {
    background-color: var(--color-bg-base);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: background-color 0.2s ease;
}

.header.is-scrolled {
    background-color: rgba(11, 13, 20, 0.98);
    box-shadow: var(--shadow-md);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

.header__logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header__logo {
    width: 135px;
    height: auto;
}

.header__nav {
    display: flex;
    align-items: center;
}

.nav__list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 8px;
}

.nav__link {
    display: block;
    padding: 8px 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    border-radius: var(--radius-sm);
    transition: all 0.15s ease;
}

.nav__link:hover {
    color: var(--color-text-white);
    background-color: var(--color-bg-surface);
}

.nav__link.is-active {
    color: var(--color-accent-amber);
    background-color: var(--color-bg-surface);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 22px;
    padding: 0;
}

.burger-btn__line {
    width: 100%;
    height: 2.5px;
    background-color: var(--color-text-main);
    border-radius: 2px;
    transition: all 0.2s ease;
}

/* ==========================================================================
   5. Mobile Drawer Menu
   ========================================================================== */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1000;
    visibility: hidden;
    transition: visibility 0.3s ease;
}

.mobile-menu.is-open {
    visibility: visible;
}

.mobile-menu__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.75);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu.is-open .mobile-menu__overlay {
    opacity: 1;
}

.mobile-menu__drawer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 320px;
    max-width: 85%;
    background-color: var(--color-bg-surface);
    border-left: 1px solid var(--color-border);
    padding: 24px;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

.mobile-menu.is-open .mobile-menu__drawer {
    transform: translateX(0);
}

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

.mobile-menu__close {
    font-size: 1.5rem;
    color: var(--color-text-secondary);
    padding: 4px;
}

.mobile-menu__auth {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.mobile-menu__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu__link {
    display: block;
    padding: 12px 14px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-main);
    border-radius: var(--radius-sm);
    background-color: var(--color-bg-base);
}

.mobile-menu__link.is-active,
.mobile-menu__link:hover {
    background-color: var(--color-bg-card);
    color: var(--color-accent-amber);
}

.mobile-menu__footer {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.mobile-menu__support {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.mobile-menu__chat-btn {
    color: var(--color-accent-green);
    font-weight: 700;
}

/* ==========================================================================
   6. Breadcrumbs
   ========================================================================== */
.breadcrumbs {
    background-color: #07090f;
    border-bottom: 1px solid var(--color-border);
    padding: 12px 0;
    font-size: 0.85rem;
}

.breadcrumbs__list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.breadcrumbs__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-secondary);
}

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

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

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

.breadcrumbs__current {
    color: var(--color-accent-amber);
    font-weight: 600;
}

/* ==========================================================================
   7. Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding: 48px 0 40px;
    background: var(--gradient-hero);
    overflow: hidden;
    border-bottom: 1px solid var(--color-border);
}

.hero__inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.hero__badge {
    margin-bottom: 16px;
    background: rgba(249, 175, 44, 0.15);
    color: var(--color-accent-amber);
    border: 1px solid rgba(249, 175, 44, 0.4);
}

.hero__title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--color-text-white);
    margin-bottom: 18px;
}

.hero__title-highlight {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 28px;
}

.hero__cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 32px;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.hero__stat-item {
    display: flex;
    flex-direction: column;
}

.hero__stat-val {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-accent-amber);
}

.hero__stat-lbl {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}

.hero__banner-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    background-color: var(--color-bg-card);
}

.hero__banner-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hero__banner-card:hover .hero__banner-img {
    transform: scale(1.02);
}

.hero__banner-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #000;
    color: var(--color-accent-amber);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 800;
    border: 1px solid var(--color-accent-amber);
}

/* ==========================================================================
   8. Promo Code Interactive Block
   ========================================================================== */
.promo-box {
    position: relative;
    background: var(--gradient-card);
    border: 1px solid rgba(249, 175, 44, 0.3);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.promo-box__glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(249, 175, 44, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.promo-box__badge {
    display: inline-block;
    background: rgba(249, 175, 44, 0.15);
    color: var(--color-accent-amber);
    border: 1px solid var(--color-accent-amber);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.promo-box__title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-text-white);
    margin-bottom: 8px;
}

.promo-box__desc {
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    font-size: 1rem;
}

.promo-box__action-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    background-color: var(--color-bg-base);
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    margin-bottom: 16px;
}

.promo-box__code-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.promo-box__label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.promo-box__code {
    font-family: var(--font-mono);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-accent-amber);
    letter-spacing: 0.08em;
}

.promo-box__footer-note {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

/* ==========================================================================
   9. Sections & Headings Common
   ========================================================================== */
.section {
    padding: 56px 0;
    border-bottom: 1px solid var(--color-border);
}

.section--alt {
    background-color: #0d111a;
}

.section__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 36px;
    gap: 20px;
    flex-wrap: wrap;
}

.section__title-wrap {
    max-width: 720px;
}

.section__eyebrow {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-accent-amber);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
    display: block;
}

.section__title {
    font-size: clamp(1.6rem, 2.5vw, 2.25rem);
    font-weight: 800;
    color: var(--color-text-white);
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.section__desc {
    color: var(--color-text-secondary);
    margin-top: 8px;
    font-size: 1rem;
}

/* ==========================================================================
   10. Slots & Games Grid
   ========================================================================== */
.slots-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.slot-card {
    position: relative;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
}

.slot-card:hover {
    transform: translateY(-4px);
    border-color: rgba(249, 175, 44, 0.5);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.slot-card__thumb-wrap {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: #0b0d14;
}

.slot-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.slot-card:hover .slot-card__img {
    transform: scale(1.08);
}

.slot-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.slot-card__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(11, 13, 20, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.2s ease;
    padding: 16px;
}

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

.slot-card__body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}

.slot-card__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.slot-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}

.slot-card__rtp {
    color: var(--color-accent-green);
    font-weight: 700;
}

/* Instant Games Grid */
.games-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.game-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary-light);
    box-shadow: var(--shadow-glow);
}

.game-card__media {
    position: relative;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background-color: #07090f;
}

.game-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-card__img {
    transform: scale(1.05);
}

.game-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: #0b0d14;
    color: var(--color-accent-amber);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 800;
    border: 1px solid var(--color-accent-amber);
}

.game-card__body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 8px;
}

.game-card__title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-text-white);
}

.game-card__subtitle {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    line-height: 1.4;
    flex-grow: 1;
}

.game-card__action {
    margin-top: 10px;
}

/* ==========================================================================
   11. Features & Quick Facts
   ========================================================================== */
.features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(249, 175, 44, 0.4);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.feature-card__icon {
    font-size: 2rem;
    margin-bottom: 16px;
    display: inline-block;
}

.feature-card__title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-text-white);
    margin-bottom: 10px;
}

.feature-card__desc {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.55;
}

/* Quick Facts Grid */
.facts-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.fact-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.fact-card__val {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-accent-amber);
    margin-bottom: 4px;
}

.fact-card__lbl {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-white);
    margin-bottom: 6px;
}

.fact-card__desc {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    line-height: 1.4;
}

/* Providers Grid */
.providers-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.provider-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 20px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.2s ease;
    text-align: center;
}

.provider-card:hover {
    border-color: var(--color-accent-amber);
    background-color: #1e2840;
    transform: translateY(-3px);
}

.provider-card__logo {
    height: 32px;
    width: auto;
    max-width: 100%;
    filter: brightness(0.9) contrast(1.1);
    transition: filter 0.2s ease;
}

.provider-card:hover .provider-card__logo {
    filter: brightness(1.2);
}

.provider-card__name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-main);
}

.provider-card__count {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   12. Editorial Long-Read Article Body & SEO Content
   ========================================================================== */
.editorial-section {
    padding: 60px 0;
    background-color: var(--color-bg-base);
}

.editorial-article {
    background-color: var(--color-bg-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.editorial-article h2 {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--color-text-white);
    margin: 36px 0 16px;
    letter-spacing: -0.02em;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(249, 175, 44, 0.3);
}

.editorial-article h2:first-child {
    margin-top: 0;
}

.editorial-article h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-accent-amber);
    margin: 24px 0 12px;
}

.editorial-article p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #d1d5db;
    margin-bottom: 18px;
}

.editorial-article ul,
.editorial-article ol {
    margin: 18px 0 24px 24px;
    color: #d1d5db;
}

.editorial-article li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.editorial-article strong {
    color: var(--color-text-white);
}

.editorial-article blockquote {
    border-left: 4px solid var(--color-accent-amber);
    padding: 16px 20px;
    margin: 24px 0;
    background-color: var(--color-bg-card);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--color-text-main);
}

/* Table styles inside .table-scroll */
.table-scroll table th,
.table-scroll table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.95rem;
}

.table-scroll table th {
    background-color: #0d131f;
    font-weight: 800;
    color: var(--color-accent-amber);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
}

.table-scroll table tr:hover td {
    background-color: #172136;
}

/* ==========================================================================
   13. FAQ Accordion
   ========================================================================== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.faq-item.is-open {
    border-color: rgba(249, 175, 44, 0.4);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-white);
    cursor: pointer;
    background: none;
}

.faq-question:hover {
    color: var(--color-accent-amber);
}

.faq-icon {
    font-size: 1.3rem;
    color: var(--color-accent-amber);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.faq-item.is-open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px 20px;
    color: var(--color-text-secondary);
    font-size: 1rem;
    line-height: 1.65;
    display: none;
}

.faq-item.is-open .faq-answer {
    display: block;
}

/* ==========================================================================
   14. Articles & Cards Listing
   ========================================================================== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.article-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary-light);
}

.article-card__img-wrap {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #07090f;
}

.article-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-card__img {
    transform: scale(1.05);
}

.article-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 8px;
}

.article-card__category {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-accent-amber);
    text-transform: uppercase;
}

.article-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-white);
    line-height: 1.35;
}

.article-card__excerpt {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
    flex-grow: 1;
}

.article-card__meta {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--color-border);
    font-size: 0.8rem;
    color: var(--color-text-muted);
    display: flex;
    justify-content: space-between;
}

/* ==========================================================================
   15. Sticky Bottom Bonus Bar
   ========================================================================== */
.sticky-bonus-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    background-color: #0e1422;
    border-top: 2px solid var(--color-accent-amber);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.8);
    height: var(--sticky-bar-height);
    display: flex;
    align-items: center;
}

.sticky-bonus-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}

.sticky-bonus-bar__info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sticky-bonus-bar__badge {
    background-color: #b91c1c;
    color: #fff;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.sticky-bonus-bar__title {
    font-size: 0.95rem;
    color: var(--color-text-main);
    white-space: nowrap;
}

.sticky-bonus-bar__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.sticky-bonus-bar__code {
    background-color: var(--color-bg-base);
    border: 1px dashed var(--color-accent-amber);
    color: var(--color-accent-amber);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
}

.sticky-bonus-bar__code code {
    font-weight: 800;
    font-family: var(--font-mono);
}

.sticky-bonus-bar__code:hover {
    background-color: rgba(249, 175, 44, 0.15);
}

/* ==========================================================================
   16. Footer
   ========================================================================== */
.footer {
    background-color: #07090f;
    border-top: 1px solid var(--color-border);
    padding: 60px 0 24px;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer__logo {
    margin-bottom: 16px;
}

.footer__brand-desc {
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.footer__badges {
    display: flex;
    gap: 12px;
}

.badge--age {
    background-color: #1a0f0f;
    border-color: #ef4444;
    color: #fca5a5;
    padding: 6px 12px;
}

.footer__title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-text-white);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

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

.footer__menu a {
    color: var(--color-text-secondary);
}

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

.footer__license-box {
    margin-top: 20px;
    padding: 12px 14px;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer__license-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.footer__license-val {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-accent-amber);
}

.footer__providers {
    padding: 24px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 32px;
}

.footer__providers-title {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.footer__providers-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    filter: grayscale(1) opacity(0.7);
    transition: filter 0.3s ease;
}

.footer__providers-list:hover {
    filter: grayscale(0) opacity(1);
}

.footer__compliance {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.footer__meta-links {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text-muted);
}

/* ==========================================================================
   17. Toast Notification
   ========================================================================== */
.toast {
    position: fixed;
    bottom: calc(var(--sticky-bar-height) + 20px);
    right: 20px;
    z-index: 1100;
    background: #10b981;
    color: #0b0d14;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.is-show {
    opacity: 1;
    transform: translateY(0);
}

.toast__icon {
    font-size: 1.2rem;
    background: #fff;
    color: #10b981;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   18. Responsive Breakpoints (320px, 375px, 425px, 768px, 1024px, 1440px)
   ========================================================================== */

/* <= 1200px */
@media (max-width: 1200px) {
    .facts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .providers-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* <= 1024px */
@media (max-width: 1024px) {
    .header__nav {
        display: none;
    }
    .burger-btn {
        display: flex;
    }
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .slots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

/* <= 768px (Rule 6: media queries convert overflowing flex rows to flex-direction: column) */
@media (max-width: 768px) {
    :root {
        --header-height: 60px;
        --sticky-bar-height: 68px;
    }

    .top-bar {
        display: none; /* Hide top bar on mobile for cleaner screen space */
    }

    .header__logo {
        width: 110px;
    }

    .header__actions .btn--login {
        display: none; /* Keep register button prominent */
    }

    .hero {
        padding: 28px 0;
    }

    .hero__stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .promo-box {
        padding: 20px;
    }

    .promo-box__action-row {
        flex-direction: column;
        align-items: stretch;
    }

    .promo-box__code-wrap {
        text-align: center;
    }

    .slots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

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

    .providers-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .editorial-article {
        padding: 20px;
    }

    .section {
        padding: 36px 0;
    }

    .sticky-bonus-bar__title {
        display: none; /* Hide text title on small screens */
    }

    .sticky-bonus-bar__inner {
        justify-content: space-between;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* <= 425px */
@media (max-width: 425px) {
    .slots-grid {
        grid-template-columns: 1fr;
    }
    .games-grid {
        grid-template-columns: 1fr;
    }
    .facts-grid {
        grid-template-columns: 1fr;
    }
    .providers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero__cta-group {
        flex-direction: column;
    }
    .hero__cta-group .btn {
        width: 100%;
    }
    .btn--register span {
        font-size: 0.85rem;
    }
    .sticky-bonus-bar__code {
        display: none;
    }
}

/* <= 375px */
@media (max-width: 375px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }
    .hero__title {
        font-size: 1.65rem;
    }
}

/* <= 320px */
@media (max-width: 320px) {
    body {
        font-size: 14px;
    }
    .btn {
        padding: 10px 14px;
    }
}

/* ==========================================================================
   20. Screenshots: article figures, gallery & internal-link mesh
   ========================================================================== */
.shot {
    margin: 28px 0;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 12px;
    overflow: hidden;
    max-width: 100%;
}

.shot__img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background-color: #0d131f;
}

.shot__cap {
    margin-top: 12px;
    padding: 0 4px 4px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    border-left: 3px solid var(--color-accent-amber);
    padding-left: 12px;
    overflow-wrap: break-word;
}

/* Compact float variant on wide screens */
.shot--narrow {
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Gallery grid --- */
.shot-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 8px 0 0;
    overflow-x: hidden;
}

.shot-gallery > * {
    min-width: 0;
}

.shot-gallery__item {
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color 0.2s ease, transform 0.2s ease;
    min-width: 0;
    overflow: hidden;
}

.shot-gallery__item:hover {
    border-color: var(--color-primary);
    transform: translateY(-3px);
}

.shot-gallery__frame {
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: #0d131f;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.shot-gallery__img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}

.shot-gallery__cap {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--color-text-secondary);
    overflow-wrap: break-word;
}

.shot-gallery__cap strong {
    color: var(--color-accent-amber);
    font-size: 0.95rem;
    font-weight: 700;
}

/* --- Internal linking mesh --- */
.related-links {
    margin: 36px 0 8px;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-primary);
    border-radius: var(--radius-lg);
    padding: 24px 26px;
    overflow-x: hidden;
    overflow-wrap: break-word;
}

.related-links__title {
    font-size: 1.25rem !important;
    font-weight: 800;
    color: var(--color-text-white);
    margin: 0 0 16px !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.related-links__list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 14px;
    margin: 0 !important;
    padding: 0;
}

.related-links__list > * {
    min-width: 0;
}

.related-links__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0 !important;
    min-width: 0;
}

.related-links__link {
    color: var(--color-accent-amber);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.98rem;
}

.related-links__link:hover {
    color: var(--color-text-white);
    text-decoration: underline;
}

.related-links__desc {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* --- Key takeaways / summary callout inside articles --- */
.article-takeaway {
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.12) 0%, rgba(11, 13, 20, 0) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    margin: 24px 0;
    overflow-wrap: break-word;
}

.article-takeaway h3 {
    margin-top: 0 !important;
}

.article-takeaway ul {
    margin-bottom: 0 !important;
}

@media (max-width: 768px) {
    .shot {
        padding: 8px;
        margin: 22px 0;
    }

    .shot__cap {
        font-size: 0.85rem;
    }

    .shot-gallery {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .related-links {
        padding: 18px 16px;
    }

    .related-links__list {
        grid-template-columns: 1fr;
    }

    .article-takeaway {
        padding: 16px;
    }
}
