/* ============================================================
   YEP Casino Affiliate Landing Page — styles.css
   Domain:   yep-bonus-hu.eu
   Geo/Lang: HU / Hungarian
   Theme:    Dark Space Casino (gold, purple, deep midnight)
   ============================================================ */

/* ============================================================
   1. CSS CUSTOM PROPERTIES (Design Tokens)
      All colours, spacing, typography and shadows are defined
      here so the entire design can be tuned from one place.
   ============================================================ */
:root {
  /* --- Colour Palette --- */
  --clr-bg:           #07071a;                  /* deep midnight */
  --clr-bg-2:         #0f0f28;                  /* cards, sections */
  --clr-bg-card:      rgba(255,255,255,0.04);   /* elevated surface */
  --clr-bg-card-h:    rgba(255,255,255,0.08);   /* card hover */
  --clr-bg-overlay:   rgba(7,7,26,.78);         /* hero dark overlay */
  --clr-bg-table-hd:  rgba(245,197,24,0.08);   /* table header row */
  --clr-bg-table-alt: rgba(255,255,255,0.02);  /* zebra stripe */

  --clr-gold:         #f5c518;          /* primary accent */
  --clr-gold-dark:    #e8a020;          /* pressed/deep gold */
  --clr-gold-light:   #ffe066;          /* highlight gold */
  --clr-amber:        #7c3aed;          /* CTA button base (purple) */
  --clr-amber-h:      #a855f7;          /* CTA hover */
  --clr-red:          #ef4444;          /* danger / highlight */
  --clr-green:        #22c55e;          /* success / badge */
  --clr-badge-bg:     #7c3aed;          /* hot-offer badge */

  --clr-text:         #e8e8f0;          /* primary body text */
  --clr-text-2:       #9090aa;          /* secondary / muted */
  --clr-text-3:       #606080;          /* very muted */
  --clr-text-inv:     #07071a;          /* on-gold text */
  --clr-white:        #ffffff;

  --clr-border:       rgba(245,197,24,.15);
  --clr-border-h:     rgba(245,197,24,.4);

  /* --- Typography --- */
  --ff-display: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --ff-body:    'Segoe UI', system-ui, -apple-system, sans-serif;

  --fs-xs:   .75rem;   /*  12px */
  --fs-sm:   .875rem;  /*  14px */
  --fs-base: 1rem;     /*  16px */
  --fs-md:   1.125rem; /*  18px */
  --fs-lg:   1.25rem;  /*  20px */
  --fs-xl:   1.5rem;   /*  24px */
  --fs-2xl:  1.875rem; /*  30px */
  --fs-3xl:  2.25rem;  /*  36px */
  --fs-4xl:  3rem;     /*  48px */

  --fw-regular: 400;
  --fw-medium:  500;
  --fw-bold:    700;
  --fw-black:   900;

  --lh-tight:  1.2;
  --lh-normal: 1.6;
  --lh-loose:  1.8;

  /* --- Spacing Scale (8-pt grid) --- */
  --sp-1:  .25rem;   /*  4px */
  --sp-2:  .5rem;    /*  8px */
  --sp-3:  .75rem;   /* 12px */
  --sp-4:  1rem;     /* 16px */
  --sp-5:  1.25rem;  /* 20px */
  --sp-6:  1.5rem;   /* 24px */
  --sp-8:  2rem;     /* 32px */
  --sp-10: 2.5rem;   /* 40px */
  --sp-12: 3rem;     /* 48px */
  --sp-16: 4rem;     /* 64px */
  --sp-20: 5rem;     /* 80px */

  /* --- Border Radius --- */
  --r-sm:   4px;
  --r-md:   8px;
  --r-lg:   12px;
  --r-xl:   20px;
  --r-full: 9999px;

  /* --- Shadows --- */
  --sh-gold:   0 0 24px rgba(245,197,24,.3);
  --sh-card:   0 6px 32px rgba(0,0,0,.55);
  --sh-btn:    0 6px 28px rgba(124,58,237,.5);
  --sh-inner:  inset 0 1px 0 rgba(255,255,255,.06);

  /* --- Layout --- */
  --max-w:       1200px;
  --header-h:    72px;
  --mob-bar-h:   68px;   /* height of mobile sticky bottom bar */

  /* --- Transitions --- */
  --tr-fast:   .15s ease;
  --tr-normal: .3s ease;
  --tr-slow:   .55s ease;
}


/* ============================================================
   2. CSS RESET & BASE STYLES
      Normalise cross-browser differences, set sensible defaults.
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--clr-text);
  background-color: var(--clr-bg);
  background-image:
    radial-gradient(ellipse 800px 400px at 50% -100px, rgba(124,58,237,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 600px 300px at 80% 20%, rgba(245,197,24,0.06) 0%, transparent 60%);
  /* Reserve bottom padding for mobile sticky bar (hidden by default on desktop) */
  padding-bottom: 0;
  overflow-x: hidden;
}

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

a {
  color: var(--clr-gold);
  text-decoration: none;
  transition: color var(--tr-fast);
}
a:hover, a:focus-visible {
  color: var(--clr-gold-light);
  text-decoration: underline;
}
a:focus-visible {
  outline: 2px solid var(--clr-gold);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

ul, ol { list-style: none; }

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Smooth focus ring for keyboard users */
:focus-visible {
  outline: 2px solid var(--clr-gold);
  outline-offset: 3px;
}


/* ============================================================
   3. TYPOGRAPHY UTILITIES
   ============================================================ */

/* Gold gradient text – used on display headings */
.text-gradient {
  background: linear-gradient(135deg, var(--clr-gold-light) 0%, var(--clr-gold) 50%, var(--clr-amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section headings share the same pattern */
h1, h2, h3, h4 { line-height: var(--lh-tight); }

h1 { font-family: var(--ff-display); font-size: clamp(var(--fs-2xl), 5vw, var(--fs-4xl)); font-weight: var(--fw-black); }
h2 { font-family: var(--ff-display); font-size: clamp(var(--fs-xl), 3.5vw, var(--fs-3xl)); font-weight: var(--fw-bold); }
h3 { font-family: var(--ff-display); font-size: clamp(var(--fs-lg), 2.5vw, var(--fs-2xl)); font-weight: var(--fw-bold); }
h4 { font-family: var(--ff-body);    font-size: var(--fs-lg); font-weight: var(--fw-bold); }

p { margin-bottom: var(--sp-4); }
p:last-child { margin-bottom: 0; }

strong { font-weight: var(--fw-bold); color: var(--clr-gold-light); }


/* ============================================================
   4. LAYOUT — CONTAINER & GRID
   ============================================================ */

/* Container: centred with horizontal padding */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

/* 2-column responsive layout utility */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
}
@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; }
}

/* 3-column responsive layout utility */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
}

/* 4-column responsive grid for games/payment icons */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* 6-column grid for payment icons */
.grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-3);
}
@media (max-width: 900px) {
  .grid-6 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 560px) {
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
}

/* Section vertical spacing */
.section {
  padding-block: var(--sp-20);
}
.section--tight {
  padding-block: var(--sp-12);
}
.section--alt {
  background-color: var(--clr-bg-2);
}


/* ============================================================
   5. DECORATIVE DIVIDERS & ORNAMENTS
   ============================================================ */

/* Gold line divider with central ornament */
.ornament-divider {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-block: var(--sp-10);
}
.ornament-divider::before,
.ornament-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--clr-gold), transparent);
}
.ornament-divider span {
  color: var(--clr-gold);
  font-size: var(--fs-xl);
  line-height: 1;
  flex-shrink: 0;
}

/* Star rating row */
.stars {
  color: var(--clr-gold);
  letter-spacing: 2px;
  font-size: var(--fs-md);
}

/* Section heading with underline accent */
.section-heading {
  text-align: center;
  margin-bottom: var(--sp-12);
}
.section-heading h2 {
  margin-bottom: var(--sp-3);
}
.section-heading p {
  color: var(--clr-text-2);
  font-size: var(--fs-md);
  max-width: 600px;
  margin-inline: auto;
}
.section-heading .underline {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-gold), var(--clr-amber));
  border-radius: var(--r-full);
  margin: var(--sp-4) auto 0;
}


/* ============================================================
   6. BUTTONS
      Three variants map to the three referral link types.
   ============================================================ */

/* Base button styles shared by all variants */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-8);
  border: none;
  border-radius: var(--r-full);
  font-family: var(--ff-body);
  font-weight: var(--fw-bold);
  font-size: var(--fs-md);
  letter-spacing: .5px;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--tr-fast), box-shadow var(--tr-normal), background var(--tr-normal);
  white-space: nowrap;
}
.btn:hover, .btn:focus-visible {
  text-decoration: none;
  transform: translateY(-2px);
}
.btn:active { transform: translateY(0); }

/* Primary CTA — amber glow → /go/ */
.btn-primary {
  background: linear-gradient(135deg, var(--clr-amber) 0%, #ff6b00 100%);
  color: var(--clr-white);
  box-shadow: var(--sh-btn);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: linear-gradient(135deg, #ffaa22 0%, var(--clr-amber) 100%);
  box-shadow: 0 8px 36px rgba(255,140,0,.7);
  color: var(--clr-white);
}

/* Secondary CTA — gold outline → /go/50fs/ */
.btn-secondary {
  background: transparent;
  color: var(--clr-gold);
  border: 2px solid var(--clr-gold);
  box-shadow: var(--sh-gold);
}
.btn-secondary:hover, .btn-secondary:focus-visible {
  background: var(--clr-gold);
  color: var(--clr-text-inv);
  box-shadow: 0 8px 30px rgba(245,166,35,.55);
}

/* Tertiary CTA — subtle dark → /promo/ */
.btn-tertiary {
  background: var(--clr-bg-card);
  color: var(--clr-text-2);
  border: 1px solid var(--clr-border);
}
.btn-tertiary:hover, .btn-tertiary:focus-visible {
  background: var(--clr-bg-card-h);
  border-color: var(--clr-border-h);
  color: var(--clr-text);
}

/* Size modifiers */
.btn-lg {
  padding: var(--sp-5) var(--sp-10);
  font-size: var(--fs-lg);
}
.btn-sm {
  padding: var(--sp-2) var(--sp-5);
  font-size: var(--fs-sm);
}

/* Pulse animation on hero CTA */
.btn-pulse {
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: var(--sh-btn); }
  50%       { box-shadow: 0 8px 48px rgba(255,140,0,.85), 0 0 0 8px rgba(255,140,0,.15); }
}


/* ============================================================
   7. HEADER
      Sticky header that gains background on scroll.
      On mobile: compact with hamburger menu.
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background var(--tr-normal), box-shadow var(--tr-normal);
}

/* JavaScript adds .is-scrolled when page scrolls past 80px */
.site-header.is-scrolled {
  background: rgba(12, 7, 2, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 24px rgba(0,0,0,.6);
  border-bottom: 1px solid var(--clr-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo img {
  height: 44px;
  width: auto;
}
.site-logo:hover { text-decoration: none; }

/* Primary navigation links (desktop) */
.site-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}
.site-nav a {
  color: var(--clr-text-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  letter-spacing: .5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--tr-fast);
}
.site-nav a:hover { color: var(--clr-gold); text-decoration: none; }

/* Hamburger button (visible on mobile only) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  cursor: pointer;
  padding: var(--sp-2);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-gold);
  border-radius: var(--r-full);
  transition: transform var(--tr-normal), opacity var(--tr-normal);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile navigation drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(12,7,2,.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  z-index: 99;
  border-top: 1px solid var(--clr-border);
  padding: var(--sp-8);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  color: var(--clr-text);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  text-decoration: none;
  text-align: center;
}
.mobile-nav a:hover { color: var(--clr-gold); }


/* ============================================================
   8. HERO / BANNER SECTION
      Full-viewport-height banner using <picture> for responsive
      images. The CTA block sits on a semi-transparent overlay,
      centred both horizontally and vertically on all viewports.
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  min-height: 100svh;   /* full viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Background image fills the entire section */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Gradient overlay: darkens edges, preserves centre readability */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center, rgba(12,7,2,.45) 0%, rgba(12,7,2,.72) 100%),
    linear-gradient(to bottom, rgba(12,7,2,.5) 0%, transparent 40%, transparent 60%, rgba(12,7,2,.9) 100%);
}

/* CTA container: semi-transparent block, centred */
.hero-cta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--sp-10) var(--sp-12);
  background: rgba(12, 7, 2, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(245,166,35,.35);
  border-radius: var(--r-xl);
  max-width: 680px;
  width: calc(100% - var(--sp-8));
  box-shadow: 0 8px 60px rgba(0,0,0,.7), var(--sh-gold);
}

.hero-cta .eyebrow {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: var(--sp-3);
}

.hero-cta h1 {
  margin-bottom: var(--sp-4);
  line-height: 1.15;
}

.hero-cta .sub {
  color: var(--clr-text-2);
  font-size: var(--fs-md);
  margin-bottom: var(--sp-6);
  line-height: var(--lh-loose);
}

/* Pill-shaped stat badges inside the hero CTA */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  background: rgba(245,166,35,.15);
  border: 1px solid rgba(245,166,35,.4);
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--clr-gold-light);
  white-space: nowrap;
}

/* Disclaimer inside hero */
.hero-disclaimer {
  margin-top: var(--sp-4);
  font-size: var(--fs-xs);
  color: var(--clr-text-3);
}

/* Scroll arrow indicator */
.scroll-hint {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  color: var(--clr-text-3);
  font-size: var(--fs-xs);
  animation: bounce 1.8s infinite;
}
.scroll-hint svg { color: var(--clr-gold); }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}


/* ============================================================
   9. BREADCRUMBS
      Appears just below the hero. Uses schema.org markup.
   ============================================================ */
.breadcrumbs {
  background: var(--clr-bg-2);
  border-bottom: 1px solid var(--clr-border);
  padding-block: var(--sp-3);
}
.breadcrumbs nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--clr-text-3);
}
.breadcrumbs a {
  color: var(--clr-text-2);
  text-decoration: none;
}
.breadcrumbs a:hover { color: var(--clr-gold); text-decoration: none; }
.breadcrumbs .sep {
  color: var(--clr-text-3);
  font-size: var(--fs-xs);
}
.breadcrumbs .current {
  color: var(--clr-gold);
  font-weight: var(--fw-medium);
}


/* ============================================================
   10. STAT CARDS ROW
       Three highlight numbers below the intro text.
   ============================================================ */
.stat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  margin-block: var(--sp-10);
}
@media (max-width: 640px) {
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .stat-cards .stat-card:last-child { grid-column: 1 / -1; }
}

.stat-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform var(--tr-normal), box-shadow var(--tr-normal);
}
.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(245,166,35,.06) 0%, transparent 60%);
  pointer-events: none;
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-card), var(--sh-gold);
  border-color: var(--clr-border-h);
}
.stat-card .num {
  font-family: var(--ff-display);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-black);
  line-height: 1.1;
  background: linear-gradient(135deg, var(--clr-gold-light), var(--clr-amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-card .label {
  margin-top: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--clr-text-2);
}


/* ============================================================
   11. BONUS TABLE — RESPONSIVE
       On desktop: standard horizontal table.
       On mobile (≤ 680px): each row becomes a stacked card
       using data-label attributes + ::before pseudo-elements,
       so no content is lost on narrow screens.
   ============================================================ */
.table-wrap {
  width: 100%;
  overflow-x: auto;  /* Fallback horizontal scroll on very small screens */
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r-lg);
  border: 1px solid var(--clr-border);
  box-shadow: var(--sh-card);
  /* Fade hint on right edge when scrollable */
  background:
    linear-gradient(to right, var(--clr-bg-card) 30%, transparent) center right / 40px 100% no-repeat,
    var(--clr-bg-card);
}

.bonus-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
  min-width: 560px; /* Triggers horizontal scroll only below this */
}

.bonus-table thead {
  background: var(--clr-bg-table-hd);
}
.bonus-table th {
  padding: var(--sp-4) var(--sp-5);
  text-align: left;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--clr-gold);
  border-bottom: 2px solid var(--clr-gold-dark);
  white-space: nowrap;
}

.bonus-table td {
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--clr-border);
  vertical-align: middle;
  color: var(--clr-text);
}

/* Zebra striping for readability */
.bonus-table tbody tr:nth-child(even) td {
  background: var(--clr-bg-table-alt);
}
.bonus-table tbody tr:last-child td { border-bottom: none; }
.bonus-table tbody tr:hover td {
  background: var(--clr-bg-card-h);
}

/* Highlight special cells */
.bonus-table .highlight {
  color: var(--clr-gold-light);
  font-weight: var(--fw-bold);
}
.bonus-table .code-badge {
  display: inline-block;
  padding: var(--sp-1) var(--sp-3);
  background: rgba(245,166,35,.18);
  border: 1px solid rgba(245,166,35,.45);
  border-radius: var(--r-sm);
  font-family: 'Courier New', monospace;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--clr-gold-light);
  letter-spacing: 1px;
}

/* ---- Mobile card view (≤ 680px) ---- */
@media (max-width: 680px) {
  .table-wrap {
    background: transparent;
    border: none;
    box-shadow: none;
    overflow-x: visible;
  }
  .bonus-table { min-width: unset; }

  /* Hide the header row — labels come from data-label */
  .bonus-table thead { display: none; }

  /* Each row becomes a full-width card */
  .bonus-table tbody tr {
    display: block;
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--r-lg);
    padding: var(--sp-4);
    margin-bottom: var(--sp-4);
    box-shadow: var(--sh-card);
    transition: border-color var(--tr-normal);
  }
  .bonus-table tbody tr:hover {
    border-color: var(--clr-border-h);
  }

  /* Each cell becomes a flex row: label | value */
  .bonus-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--sp-2) 0;
    border-bottom: 1px solid rgba(245,166,35,.1);
    background: transparent !important;
  }
  .bonus-table td:last-child { border-bottom: none; }

  /* Inject the column heading from data-label */
  .bonus-table td::before {
    content: attr(data-label);
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--clr-text-3);
    flex-shrink: 0;
    margin-right: var(--sp-4);
  }
}


/* ============================================================
   12. BONUS DETAIL CARDS
       Used for individual bonus offer callouts (50 FS, 150 FS…)
   ============================================================ */
.bonus-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  position: relative;
  overflow: hidden;
  box-shadow: var(--sh-card);
  transition: transform var(--tr-normal), box-shadow var(--tr-normal), border-color var(--tr-normal);
}
.bonus-card::before {
  /* Subtle shimmer gradient in top-left corner */
  content: '';
  position: absolute;
  top: -40px;
  left: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(245,166,35,.12) 0%, transparent 70%);
  pointer-events: none;
}
.bonus-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-card), 0 0 40px rgba(245,166,35,.2);
  border-color: var(--clr-border-h);
}

/* Ribbon badge on top-right corner */
.bonus-card .ribbon {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, var(--clr-amber), #ff5500);
  color: var(--clr-white);
  font-size: var(--fs-xs);
  font-weight: var(--fw-black);
  letter-spacing: .5px;
  padding: var(--sp-2) var(--sp-5);
  border-radius: 0 var(--r-xl) 0 var(--r-lg);
}

/* Large number inside bonus card */
.bonus-card .bonus-amount {
  font-family: var(--ff-display);
  font-size: clamp(var(--fs-3xl), 6vw, 4.5rem);
  font-weight: var(--fw-black);
  line-height: 1;
  background: linear-gradient(135deg, var(--clr-gold-light), var(--clr-amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--sp-2);
}

.bonus-card .bonus-label {
  font-size: var(--fs-md);
  color: var(--clr-text-2);
  margin-bottom: var(--sp-6);
}

/* Feature list inside bonus card */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--clr-text-2);
  line-height: var(--lh-normal);
}
.feature-list li .icon {
  color: var(--clr-green);
  font-size: var(--fs-md);
  flex-shrink: 0;
  margin-top: 1px;
}
.feature-list li .icon-warn { color: var(--clr-amber); }


/* ============================================================
   13. PROMO CODE BLOCK
       Eye-catching display of the GAMETIME code.
   ============================================================ */
.promo-code-block {
  background: linear-gradient(135deg, var(--clr-bg-card) 0%, #2a1505 100%);
  border: 2px solid var(--clr-gold);
  border-radius: var(--r-xl);
  padding: var(--sp-10);
  text-align: center;
  box-shadow: var(--sh-gold), var(--sh-card);
  position: relative;
  overflow: hidden;
}
.promo-code-block::after {
  /* Glow behind the code block */
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, rgba(245,166,35,.2), rgba(255,140,0,.1), transparent, rgba(245,166,35,.15));
  pointer-events: none;
  z-index: 0;
}
.promo-code-block > * { position: relative; z-index: 1; }

.promo-code-block .code-label {
  font-size: var(--fs-sm);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--clr-text-3);
  margin-bottom: var(--sp-3);
}
.promo-code-block .code-value {
  font-family: 'Courier New', monospace;
  font-size: clamp(var(--fs-2xl), 6vw, 3.5rem);
  font-weight: var(--fw-black);
  letter-spacing: 8px;
  background: linear-gradient(135deg, var(--clr-gold-light), var(--clr-amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--sp-6);
}
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  background: rgba(245,166,35,.15);
  border: 1px solid rgba(245,166,35,.4);
  border-radius: var(--r-full);
  color: var(--clr-gold);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  cursor: pointer;
  transition: background var(--tr-fast), border-color var(--tr-fast);
  margin-bottom: var(--sp-8);
}
.copy-btn:hover {
  background: rgba(245,166,35,.28);
  border-color: rgba(245,166,35,.7);
}


/* ============================================================
   14. STEP-BY-STEP ACTIVATION GUIDE
   ============================================================ */
.steps {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  counter-reset: step;
}

.step-item {
  display: flex;
  gap: var(--sp-5);
  align-items: flex-start;
}

/* Numbered circle */
.step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-amber));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: var(--fs-md);
  font-weight: var(--fw-black);
  color: var(--clr-text-inv);
  box-shadow: 0 4px 16px rgba(255,140,0,.4);
  position: relative;
}

/* Vertical connector line between steps */
.step-item:not(:last-child) .step-num::after {
  content: '';
  position: absolute;
  bottom: -calc(var(--sp-4) + 100%);
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: calc(var(--sp-4) + 100%);
  background: linear-gradient(to bottom, var(--clr-gold-dark), transparent);
  pointer-events: none;
}

.step-body {
  flex: 1;
  padding-bottom: var(--sp-4);
}
.step-body h4 {
  color: var(--clr-text);
  margin-bottom: var(--sp-2);
}
.step-body p {
  color: var(--clr-text-2);
  font-size: var(--fs-sm);
  margin: 0;
}


/* ============================================================
   15. TERMS BOX (Conditions accordion-style)
   ============================================================ */
.terms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}
@media (max-width: 640px) {
  .terms-grid { grid-template-columns: 1fr; }
}

.term-item {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
}
.term-icon {
  font-size: var(--fs-xl);
  flex-shrink: 0;
  line-height: 1;
}
.term-text h4 {
  font-size: var(--fs-sm);
  color: var(--clr-text-2);
  font-weight: var(--fw-bold);
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: var(--sp-1);
}
.term-text p {
  font-size: var(--fs-md);
  color: var(--clr-text);
  font-weight: var(--fw-bold);
  margin: 0;
}


/* ============================================================
   16. VIP TIERS
   ============================================================ */
.vip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: var(--sp-4);
}

.vip-tier {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  text-align: center;
  transition: transform var(--tr-normal), border-color var(--tr-normal);
}
.vip-tier:hover {
  transform: translateY(-4px);
  border-color: var(--clr-border-h);
}
.vip-tier.active {
  background: linear-gradient(135deg, var(--clr-bg-card), #3a2008);
  border-color: var(--clr-gold);
  box-shadow: var(--sh-gold);
}
.vip-tier .tier-icon { font-size: 2rem; margin-bottom: var(--sp-3); }
.vip-tier .tier-name {
  font-weight: var(--fw-bold);
  color: var(--clr-gold);
  margin-bottom: var(--sp-1);
}
.vip-tier .tier-cb {
  font-size: var(--fs-xs);
  color: var(--clr-text-3);
}


/* ============================================================
   17. SLOT GAMES GRID
   ============================================================ */
.game-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--clr-border);
  cursor: pointer;
  transition: transform var(--tr-normal), box-shadow var(--tr-normal);
  background: var(--clr-bg-card);
}
.game-card:hover {
  transform: scale(1.04) translateY(-3px);
  box-shadow: var(--sh-card), var(--sh-gold);
  border-color: var(--clr-gold);
}
.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--tr-slow);
}
.game-card:hover img { transform: scale(1.08); }

/* Overlay that appears on hover with game name */
.game-card .game-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,7,2,.9) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: var(--sp-3);
  opacity: 0;
  transition: opacity var(--tr-normal);
}
.game-card:hover .game-overlay { opacity: 1; }
.game-card .game-name {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--clr-text);
  line-height: 1.2;
}


/* ============================================================
   18. PAYMENT METHODS GRID
   ============================================================ */
.pay-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  padding: var(--sp-4) var(--sp-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  transition: transform var(--tr-normal), border-color var(--tr-normal), box-shadow var(--tr-normal);
}
.pay-card:hover {
  transform: translateY(-3px);
  border-color: var(--clr-border-h);
  box-shadow: var(--sh-card);
}
.pay-card img {
  height: 32px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
  /* Brighten dark SVGs on dark background */
  filter: brightness(1.1) saturate(0.9);
}
.pay-card span {
  font-size: var(--fs-xs);
  color: var(--clr-text-3);
  text-align: center;
  line-height: 1.2;
}


/* ============================================================
   19. MOBILE APP SECTION
   ============================================================ */
.app-badges {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.app-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-5);
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  text-decoration: none;
  transition: border-color var(--tr-fast), transform var(--tr-fast);
}
.app-badge:hover {
  border-color: var(--clr-border-h);
  transform: translateY(-2px);
  text-decoration: none;
}
.app-badge .app-icon { font-size: 2rem; }
.app-badge .app-text { display: flex; flex-direction: column; }
.app-badge .app-text small { font-size: var(--fs-xs); color: var(--clr-text-3); }
.app-badge .app-text strong { font-size: var(--fs-md); color: var(--clr-text); }


/* ============================================================
   20. INFO BOX (inline tips)
   ============================================================ */
.info-box {
  background: rgba(21,128,61,.12);
  border-left: 3px solid var(--clr-green);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: var(--sp-4) var(--sp-6);
  margin-block: var(--sp-6);
  font-size: var(--fs-sm);
  color: var(--clr-text-2);
}
.warn-box {
  background: rgba(185,28,28,.12);
  border-left: 3px solid var(--clr-red);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: var(--sp-4) var(--sp-6);
  margin-block: var(--sp-6);
  font-size: var(--fs-sm);
  color: var(--clr-text-2);
}


/* ============================================================
   21. SUMMARY / CTA SECTION (final conversion block)
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, #1e0e00 0%, #2b1705 50%, #1a0d05 100%);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  text-align: center;
  padding-block: var(--sp-20);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(245,166,35,.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section > .container { position: relative; z-index: 1; }
.cta-section h2 { margin-bottom: var(--sp-4); }
.cta-section p {
  color: var(--clr-text-2);
  font-size: var(--fs-md);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: var(--sp-8);
}
.cta-btn-group {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  flex-wrap: wrap;
}


/* ============================================================
   22. FOOTER
   ============================================================ */
.site-footer {
  background: #080502;
  border-top: 1px solid var(--clr-border);
  padding-block: var(--sp-12);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--sp-10);
}
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}

.footer-brand .footer-logo { margin-bottom: var(--sp-4); }
.footer-brand p {
  font-size: var(--fs-sm);
  color: var(--clr-text-3);
  line-height: var(--lh-loose);
}

.footer-col h4 {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: var(--sp-5);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-col ul li a {
  font-size: var(--fs-sm);
  color: var(--clr-text-3);
  text-decoration: none;
  transition: color var(--tr-fast);
}
.footer-col ul li a:hover { color: var(--clr-text-2); text-decoration: none; }

.footer-bottom {
  margin-top: var(--sp-10);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--clr-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-4);
}
.footer-bottom p {
  font-size: var(--fs-xs);
  color: var(--clr-text-3);
  margin: 0;
}
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 2px solid var(--clr-red);
  border-radius: 50%;
  font-size: var(--fs-xs);
  font-weight: var(--fw-black);
  color: var(--clr-red);
  flex-shrink: 0;
}


/* ============================================================
   23. MOBILE STICKY BOTTOM BAR
       Pinned to the bottom of the viewport on mobile only.
       Contains primary CTA so it's always visible while scrolling.
   ============================================================ */
.mobile-sticky-bar {
  display: none; /* hidden by default; shown only on mobile via media query */
}

@media (max-width: 768px) {
  /* Reserve space at the bottom of the page for the bar */
  body { padding-bottom: var(--mob-bar-h); }

  .mobile-sticky-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: var(--mob-bar-h);
    background: rgba(12,7,2,.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--clr-border);
    padding-inline: var(--sp-4);
    gap: var(--sp-3);
  }

  .mobile-sticky-bar .mob-bar-text {
    font-size: var(--fs-xs);
    color: var(--clr-text-2);
    flex-shrink: 1;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mobile-sticky-bar .mob-bar-text strong {
    display: block;
    font-size: var(--fs-sm);
    color: var(--clr-gold);
  }

  .mobile-sticky-bar .btn {
    flex-shrink: 0;
    white-space: nowrap;
  }
}


/* ============================================================
   24. RESPONSIVE OVERRIDES
       Tablet and mobile adjustments not already handled above.
   ============================================================ */

/* ---- Tablet (≤ 1024px) ---- */
@media (max-width: 1024px) {
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .header-inner .btn { display: none; }

  .hero-cta { padding: var(--sp-8); }
}

/* ---- Mobile (≤ 768px) ---- */
@media (max-width: 768px) {
  .container { padding-inline: var(--sp-4); }

  .section { padding-block: var(--sp-12); }
  .section--tight { padding-block: var(--sp-8); }

  .hero-badges .hero-badge { font-size: var(--fs-xs); }

  .bonus-card { padding: var(--sp-6); }
  .bonus-card .bonus-amount { font-size: var(--fs-3xl); }

  .promo-code-block { padding: var(--sp-8) var(--sp-5); }
  .promo-code-block .code-value { letter-spacing: 4px; }

  .cta-btn-group { flex-direction: column; align-items: center; }
  .cta-btn-group .btn { width: 100%; max-width: 340px; }

  .footer-bottom { justify-content: center; text-align: center; }

  .steps { gap: var(--sp-6); }
}

/* ---- Small mobile (≤ 400px) ---- */
@media (max-width: 400px) {
  :root { --header-h: 60px; }
  .hero-cta { padding: var(--sp-6) var(--sp-4); }
  .hero-cta h1 { font-size: var(--fs-xl); }
}


/* ============================================================
   25. UTILITY CLASSES
   ============================================================ */
.text-center { text-align: center; }
.text-gold    { color: var(--clr-gold); }
.text-muted   { color: var(--clr-text-2); }
.mt-sm  { margin-top: var(--sp-4); }
.mt-md  { margin-top: var(--sp-8); }
.mt-lg  { margin-top: var(--sp-12); }
.mb-sm  { margin-bottom: var(--sp-4); }
.mb-md  { margin-bottom: var(--sp-8); }
.mb-lg  { margin-bottom: var(--sp-12); }
.visually-hidden {
  /* Hides element visually but keeps it accessible to screen readers */
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}


/* ============================================================
   26. ANIMATIONS
   ============================================================ */

/* Fade-in-up: triggered by JS IntersectionObserver */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.animate-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children delay */
.animate-fade-up:nth-child(2) { transition-delay: .1s; }
.animate-fade-up:nth-child(3) { transition-delay: .2s; }
.animate-fade-up:nth-child(4) { transition-delay: .3s; }
.animate-fade-up:nth-child(5) { transition-delay: .4s; }
.animate-fade-up:nth-child(6) { transition-delay: .5s; }

/* Shimmer effect on promo code */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.shimmer-text {
  background: linear-gradient(90deg,
    var(--clr-gold) 0%,
    var(--clr-gold-light) 30%,
    var(--clr-amber) 60%,
    var(--clr-gold) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

/* ============================================================
   Language Switcher Dropdown
   ============================================================ */
.lang-switcher {
  position: relative;
}
.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: .78rem;
  font-weight: 700;
  font-family: inherit;
  background: rgba(245,197,24,.08);
  border: 1px solid rgba(245,197,24,.3);
  color: var(--clr-gold);
  cursor: pointer;
  outline: none;
  transition: all var(--tr-normal);
  white-space: nowrap;
}
.lang-current:hover {
  background: rgba(245,197,24,.15);
  border-color: rgba(245,197,24,.5);
}
.lang-chevron {
  font-size: .6rem;
  line-height: 1;
  transition: transform var(--tr-normal);
  display: inline-block;
}
.lang-switcher.open .lang-chevron {
  transform: rotate(180deg);
}
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(7,7,26,.98);
  border: 1px solid rgba(245,197,24,.25);
  border-radius: 12px;
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 2px;
  min-width: 90px;
  z-index: 200;
  box-shadow: 0 8px 32px rgba(0,0,0,.6), 0 0 0 1px rgba(245,197,24,.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.lang-switcher.open .lang-dropdown {
  display: flex;
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--clr-text-2);
  transition: all var(--tr-fast);
}
.lang-option:hover {
  background: rgba(245,197,24,.1);
  color: var(--clr-gold);
  text-decoration: none;
}
.lang-option.lang-active {
  color: var(--clr-gold);
  background: rgba(245,197,24,.1);
  pointer-events: none;
}
@media (max-width: 480px) {
  .lang-current { padding: 5px 10px; font-size: .72rem; }
}
