/* ============================================================
   456BD Casino — Design System
   Colors: Official 456BD palette — red #ec2529, gold #efb734, white bg
   Typography: Rajdhani (headings) + Hind Siliguri (body)
   Hero: Centered "casino entrance" dark panel on light page
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Hind+Siliguri:wght@300;400;500;600&display=swap');

/* ── Design Tokens ───────────────────────────────────────── */
:root {
  /* Official 456BD colors */
  --brand:        #ec2529;
  --brand-dark:   #c50101;
  --brand-light:  #ff6766;
  --accent:       #efb734;
  --accent-dark:  #d4960a;
  --accent-light: #fff3cc;

  /* Page backgrounds — light theme matching official */
  --bg:           #ffffff;
  --bg-card:      #f7f7f7;
  --bg-elevated:  #ebeef5;
  --bg-dark:      #191919;   /* hero + footer dark panels */
  --bg-dark-2:    #111111;

  /* Text */
  --text:         #191919;
  --text-muted:   #666666;
  --text-subtle:  #939393;
  --text-on-brand:#ffffff;

  /* Borders */
  --border:       #e1e1e1;
  --border-card:  #dbdbdb;
  --border-brand: rgba(236, 37, 41, 0.3);

  /* Typography */
  --font-body:    'Hind Siliguri', 'Segoe UI', sans-serif;
  --font-heading: 'Rajdhani', 'Impact', sans-serif;
  --text-base:    1rem;
  --text-lg:      1.125rem;
  --text-xl:      1.25rem;
  --text-2xl:     1.5rem;
  --text-3xl:     2rem;
  --text-4xl:     2.75rem;

  /* Spacing */
  --gap:    1.5rem;
  --gap-lg: 3rem;
  --gap-xl: 5rem;
  --gap-sm: 0.75rem;

  /* Shape */
  --r:    0.5rem;
  --r-lg: 1rem;
  --r-xl: 1.5rem;
  --r-pill: 2rem;

  /* Shadows */
  --shadow:       0 2px 16px rgba(0,0,0,0.08);
  --shadow-card:  0 4px 20px rgba(0,0,0,0.1);
  --shadow-brand: 0 4px 24px rgba(236, 37, 41, 0.35);
  --shadow-lift:  0 8px 32px rgba(0,0,0,0.12);
}

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--brand); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--brand-dark); }

/* ── Container ───────────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* ── Site Header ─────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 2px solid var(--brand);
  box-shadow: 0 2px 12px rgba(236,37,41,0.1);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: var(--gap);
  height: 4rem;
}

/* ── Brand Logo ──────────────────────────────────────────── */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.4rem;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-brand);
}
.brand-mark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 60%);
}

.brand-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
}
.brand-text span { color: var(--brand); }

/* ── Nav ──────────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
  list-style: none;
}

.nav a {
  display: block;
  padding: 0.45rem 0.75rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--r);
  transition: color 0.2s, background 0.2s;
}
.nav a:hover,
.nav a.active {
  color: var(--brand);
  background: rgba(236, 37, 41, 0.07);
}

/* ── Hamburger ───────────────────────────────────────────── */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn-primary, .btn-secondary, .btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.6rem;
  border-radius: var(--r-pill);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover {
  background: var(--brand-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(236, 37, 41, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
}
.btn-secondary:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent);
  color: var(--bg-dark);
  box-shadow: 0 4px 18px rgba(239,183,52,0.4);
}
.btn-accent:hover {
  background: #ffc933;
  color: var(--bg-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(239,183,52,0.5);
}

/* Context-specific overrides */
.cta-inline .btn-primary,
.cta-inline .btn-primary:hover  { color: #fff; }
.seo-article .btn-primary,
.seo-article .btn-primary:hover { color: #fff; }
.cta-inline .btn-accent,
.cta-inline .btn-accent:hover   { color: var(--bg-dark); }
.seo-article .btn-accent,
.seo-article .btn-accent:hover  { color: var(--bg-dark); }

/* ── HERO — "Casino Entrance" Centered Dark Panel ───────── */
.hero {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
  padding: 0;
}

/* Dark overlay for readability over background image */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  z-index: 1;
  pointer-events: none;
}

/* Animated radial glow */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(ellipse, rgba(236,37,41,0.25) 0%, transparent 65%);
  pointer-events: none;
  animation: heroGlow 4s ease-in-out infinite alternate;
}

/* Subtle grid texture */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

/* ── Stats ticker bar ── */
.hero-ticker {
  position: relative;
  z-index: 2;
  background: rgba(236,37,41,0.9);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 0.5rem 0;
  overflow: hidden;
}
.hero-ticker-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.ticker-stat {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

/* ── Hero main content — centered ── */
.hero-stage {
  position: relative;
  z-index: 2;
  padding: 4rem 0 3.5rem;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(239,183,52,0.12);
  border: 1px solid rgba(239,183,52,0.4);
  border-radius: var(--r-pill);
  padding: 0.3rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.5s ease both;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: #fff;
  margin-bottom: 1.25rem;
  animation: fadeUp 0.5s 0.08s ease both;
}
.hero h1 .brand-name {
  color: var(--brand);
  display: inline-block;
  position: relative;
  text-shadow:
    0 0 40px rgba(236,37,41,0.7),
    0 0 80px rgba(236,37,41,0.3);
}
.hero h1 .brand-name::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brand);
  border-radius: 2px;
  box-shadow: 0 0 12px var(--brand);
}

.hero-sub {
  color: #cdcdcd;
  font-size: var(--text-lg);
  max-width: 560px;
  margin: 0 auto 2.25rem;
  line-height: 1.7;
  animation: fadeUp 0.5s 0.16s ease both;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeUp 0.5s 0.24s ease both;
}

/* Floating game badges in hero bg */
.hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  animation: fadeUp 0.5s 0.32s ease both;
}
.hero-badge-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-pill);
  padding: 0.35rem 0.9rem;
  font-size: 0.82rem;
  color: #cdcdcd;
  backdrop-filter: blur(4px);
  transition: border-color 0.2s, color 0.2s;
}
.hero-badge-pill:hover {
  border-color: var(--brand);
  color: #fff;
}
.hero-badge-pill .bp-icon { font-size: 1rem; }

/* ── Hero image strip at bottom ── */
.hero-img-strip {
  position: relative;
  z-index: 2;
}
.hero-img-strip img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: top center;
  display: block;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
}
.hero-img-strip.no-image {
  height: 0;
}

/* Curve transition to white body */
.hero-curve {
  background: var(--bg);
  position: relative;
  margin-top: -2px;
}
.hero-curve::before {
  content: '';
  display: block;
  height: 60px;
  background: var(--bg-dark);
  clip-path: ellipse(55% 100% at 50% 0%);
}

/* ── Trust Strip ─────────────────────────────────────────── */
.trust-strip {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
.trust-item svg { color: var(--brand); flex-shrink: 0; }

/* ── Section Headings ────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.5rem;
}
.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, var(--text-4xl));
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1.15;
}
.section-heading .accent-word { color: var(--brand); }
.section-header { text-align: center; margin-bottom: var(--gap-lg); }

/* ── Games Grid ──────────────────────────────────────────── */
.games-section { padding: var(--gap-xl) 0; background: var(--bg); }

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.game-tile {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--r-lg);
  padding: 2rem 1.5rem;
  text-decoration: none;
  color: var(--text);
  position: relative;
  overflow: hidden;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.game-tile::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.game-tile:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: var(--shadow-lift), 0 0 0 1px rgba(236,37,41,0.15);
  color: var(--text);
}
.game-tile:hover::before { transform: scaleX(1); }

.game-icon { font-size: 2.5rem; margin-bottom: 0.75rem; display: block; }
.game-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.game-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }
.game-arrow {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  color: var(--brand);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s, transform 0.2s;
}
.game-tile:hover .game-arrow { opacity: 1; transform: translateX(0); }

/* ── Feature Cards (replaces plain lists) ────────────────── */
/* Default: 3 columns (for 6-item grids — 2 rows) */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.25rem 0;
}
/* 4-item grids: 4 columns, 1 row */
.feature-cards--4 {
  grid-template-columns: repeat(4, 1fr);
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.25rem 1.25rem 1.1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.feature-card-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(236,37,41,0.08);
  border: 1px solid rgba(236,37,41,0.2);
  border-radius: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.feature-card-body {}
.feature-card-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
  margin-bottom: 0.2rem;
}
.feature-card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Steps card variant — always 4 columns (1 row for 4 steps) */
.steps-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1.25rem 0;
  counter-reset: step-counter;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.1rem;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.step-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.step-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.2rem;
}
.step-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── Brand Gallery ───────────────────────────────────────── */
.gallery-section {
  padding: var(--gap-xl) 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.brand-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 1px solid var(--border);
}
.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.35s;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item.is-featured { grid-column: span 2; }
.gallery-item.is-featured img { height: 280px; }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(236,37,41,0.15);
  opacity: 0;
  transition: opacity 0.22s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ── Lightbox ────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.lightbox:not([aria-hidden="true"]) { opacity: 1; pointer-events: auto; }
.lightbox[aria-hidden="true"] { display: none; }
.lightbox-inner { position: relative; max-width: 900px; width: 90%; }
.lightbox-img { width: 100%; border-radius: var(--r-lg); }

.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  border-radius: var(--r);
  padding: 0.5rem 0.8rem;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 0.2s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--brand); }
.lightbox-close { top: -3rem; right: 0; }
.lightbox-prev  { top: 50%; transform: translateY(-50%); left: -3.5rem; }
.lightbox-next  { top: 50%; transform: translateY(-50%); right: -3.5rem; }

/* ── Article Shell ───────────────────────────────────────── */
.article-shell {
  max-width: 1280px;
  margin-inline: auto;
  padding: var(--gap-xl) 1.25rem;
}

/* ── SEO Article ─────────────────────────────────────────── */
.seo-article h2 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
  position: relative;
}
.seo-article h2::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 3rem;
  height: 2px;
  background: var(--brand);
}
.seo-article h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.02em;
  margin: 1.75rem 0 0.6rem;
}
.seo-article p {
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1.1rem;
}
.seo-article strong { color: var(--text); font-weight: 600; }
.seo-article a { color: var(--brand); }
.seo-article a:hover { color: var(--brand-dark); }

/* ── Article Image ───────────────────────────────────────── */
.article-image {
  margin: 2rem 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}
.article-image img {
  width: 100%;
  height: auto;
  display: block;
}
.article-image figcaption {
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--bg-card);
  text-align: center;
}

/* ── Inline CTA ──────────────────────────────────────────── */
.cta-inline {
  background: linear-gradient(135deg, #fef2f2 0%, #fff7ed 100%);
  border: 1px solid rgba(236,37,41,0.2);
  border-radius: var(--r-xl);
  padding: 2.25rem 2.75rem;
  margin: 2.5rem -0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}
.cta-inline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--brand);
  border-radius: var(--r) 0 0 var(--r);
}
.cta-inline-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.3rem;
  letter-spacing: 0.02em;
}
.cta-inline-text p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* ── Highlight Box ───────────────────────────────────────── */
.highlight-box {
  background: rgba(236,37,41,0.04);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
}
.highlight-box ul, .highlight-box ol {
  color: var(--text-muted);
  margin-left: 1.25rem;
  line-height: 1.8;
}
.highlight-box li { margin-bottom: 0.35rem; }

/* ── Page Hero (inner pages) ─────────────────────────────── */
.page-hero {
  position: relative;
  background: var(--bg-dark);
  padding: 3.5rem 0 2.5rem;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 0% 50%, rgba(236,37,41,0.2) 0%, transparent 70%);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.1;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(25,25,25,0.95) 0%, rgba(25,25,25,0.7) 100%);
}
.page-hero-content { position: relative; z-index: 2; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: #797979;
  margin-bottom: 1rem;
}
.breadcrumb a { color: #797979; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { opacity: 0.4; }
.breadcrumb .current { color: var(--brand); }

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #fff;
  margin-bottom: 0.6rem;
}
.page-hero-sub { color: #cdcdcd; font-size: var(--text-lg); max-width: 600px; }

/* ── Blog List Hero ──────────────────────────────────────── */
.blog-list-hero {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0 2rem;
  position: relative;
}
.blog-list-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--brand);
}
.blog-hero-content {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.blog-hero-heading {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text);
}
.blog-post-count {
  background: rgba(236,37,41,0.08);
  border: 1px solid rgba(236,37,41,0.2);
  color: var(--brand);
  padding: 0.3rem 0.9rem;
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ── Blog Grid ───────────────────────────────────────────── */
.blog-section { padding: var(--gap-xl) 0; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* ── Blog Card ───────────────────────────────────────────── */
.blog-card {
  background: var(--bg);
  border: 1px solid var(--border-card);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.22s, transform 0.22s, box-shadow 0.22s;
}
.blog-card:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}
.blog-card--featured {
  grid-column: 1 / -1;
  flex-direction: row;
}
.blog-card--featured .blog-card-img { width: 45%; flex-shrink: 0; }
.blog-card--featured .blog-card-img img { height: 100%; min-height: 280px; }
.blog-card--featured .blog-card-body { padding: 2rem; }
.blog-card--featured .blog-card-excerpt { -webkit-line-clamp: unset; }

.blog-card-img { position: relative; overflow: hidden; background: var(--bg-elevated); }
.blog-card-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.35s;
  display: block;
}
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-img-placeholder {
  width: 100%;
  height: 200px;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.blog-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--accent);
  color: var(--bg-dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 0.25rem;
}
.blog-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-subtle);
  margin-bottom: 0.75rem;
}
.blog-meta-item { display: flex; align-items: center; gap: 0.3rem; }
.blog-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
}
.blog-card-title a { color: inherit; }
.blog-card-title a:hover { color: var(--brand); }
.blog-card-excerpt {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-read-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: auto;
  transition: gap 0.2s;
}
.blog-read-more:hover { gap: 0.6rem; color: var(--brand-dark); }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-dark);
  border-top: 3px solid var(--brand);
  padding: var(--gap-xl) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--gap-lg);
  margin-bottom: var(--gap-lg);
}
.footer-brand-desc { color: #797979; font-size: 0.9rem; line-height: 1.7; margin: 1rem 0 1.25rem; }
.footer-heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #333;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a {
  font-size: 0.875rem;
  color: #797979;
  transition: color 0.2s, padding-left 0.2s;
  display: inline-block;
}
.footer-links a:hover { color: var(--brand); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid #333;
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-copyright { font-size: 0.82rem; color: #616161; }
.footer-disclaimer { font-size: 0.78rem; color: var(--accent); font-weight: 600; }

/* ── Brand Logo Image ────────────────────────────────────── */
.brand-logo {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}
/* Footer logo slightly smaller */
.site-footer .brand-logo { height: 36px; }

/* ── Game Carousel ───────────────────────────────────────── */
.carousel-section {
  padding: var(--gap-lg) 0;
  background: var(--bg-dark);
  overflow: hidden;
}

.carousel-section-label {
  text-align: center;
  margin-bottom: 1.5rem;
}
.carousel-section-label .section-label { color: var(--accent); }
.carousel-section-label .section-heading { color: #fff; }

/* Each row wrapper clips overflow */
.carousel-row {
  overflow: hidden;
  position: relative;
  margin-bottom: 1rem;
}
.carousel-row:last-child { margin-bottom: 0; }

/* Fade edges */
.carousel-row::before,
.carousel-row::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.carousel-row::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-dark), transparent);
}
.carousel-row::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-dark), transparent);
}

/* The scrolling track — doubled content for seamless loop */
.carousel-track {
  display: flex;
  gap: 0.75rem;
  width: max-content;
  animation: carouselScroll 36s linear infinite;
  will-change: transform;
}

/* Pause on hover */
.carousel-row:hover .carousel-track {
  animation-play-state: paused;
}

/* Row 2 slightly different speed for visual depth */
.carousel-row:nth-child(2) .carousel-track {
  animation-duration: 44s;
}

/* Each game card in carousel */
.carousel-item {
  flex-shrink: 0;
  width: 140px;
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s;
  text-decoration: none;
}
.carousel-item:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: var(--brand);
  box-shadow: 0 8px 24px rgba(236,37,41,0.35);
  z-index: 1;
}
.carousel-item img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s;
}
.carousel-item:hover img { transform: scale(1.06); }

/* Play overlay on hover */
.carousel-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(236,37,41,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.22s;
  font-size: 1.8rem;
  color: #fff;
}
.carousel-item:hover .carousel-item-overlay { opacity: 1; }

/* ── Animations ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}
@keyframes carouselScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes heroGlow {
  from { opacity: 0.6; transform: translateX(-50%) scale(1); }
  to   { opacity: 1;   transform: translateX(-50%) scale(1.15); }
}

/* ── Responsive — 900px ──────────────────────────────────── */
@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .nav {
    position: fixed;
    top: 4rem; left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.25rem;
    border-bottom: 2px solid var(--brand);
    box-shadow: var(--shadow-lift);
    display: none;
    align-items: stretch;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.75rem 1rem; font-size: 1rem; }

  .hero h1 { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  .hero-cta { gap: 0.75rem; }

  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.is-featured { grid-column: 1 / -1; }
  .feature-cards,
  .feature-cards--4 { grid-template-columns: repeat(2, 1fr); }
  .steps-cards { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }

  .blog-card--featured { flex-direction: column; }
  .blog-card--featured .blog-card-img { width: 100%; }
  .blog-card--featured .blog-card-img img { height: 240px; min-height: unset; }
  .blog-grid { grid-template-columns: 1fr; }

  .lightbox-prev { left: -2rem; }
  .lightbox-next { right: -2rem; }
}

/* ── Responsive — 600px ──────────────────────────────────── */
@media (max-width: 600px) {
  .games-grid { grid-template-columns: 1fr; }
  .brand-gallery { grid-template-columns: 1fr; }
  .gallery-item.is-featured { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .feature-cards,
  .feature-cards--4 { grid-template-columns: 1fr; }
  .steps-cards { grid-template-columns: repeat(2, 1fr); }
  .cta-inline {
    flex-direction: column;
    text-align: center;
    margin-inline: 0;
  }
  .cta-inline::before { display: none; }
  .trust-inner { gap: 1rem; }
  .trust-item { font-size: 0.78rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .lightbox-prev { left: 0.25rem; }
  .lightbox-next { right: 0.25rem; }
  .blog-hero-content { flex-direction: column; align-items: flex-start; }
  .hero-ticker-inner { gap: 1rem; }
  .ticker-stat { font-size: 0.74rem; }
}
