/* ============================================================
   MBM BET — Design System & Stylesheet
   Premium Indian Online Casino
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400&family=Nunito:wght@300;400;600;700&display=swap');

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  /* Colors */
  --brand:        #C9921F;
  --brand-dark:   #9B6C12;
  --brand-light:  #E8B84B;
  --accent:       #D42B2B;
  --accent-dark:  #A81E1E;
  --bg:           #07070F;
  --bg-card:      #0E0E1C;
  --bg-elevated:  #141428;
  --text:         #F5EDD8;
  --text-muted:   #7A7060;
  --border:       #1C1C30;
  --gold-line:    rgba(201,146,31,0.35);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Nunito', 'Segoe UI', sans-serif;
  --text-base:    1rem;
  --text-lg:      1.125rem;
  --text-xl:      1.25rem;
  --text-2xl:     1.5rem;
  --text-3xl:     2rem;
  --text-4xl:     2.75rem;
  --text-5xl:     3.5rem;

  /* 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;

  /* Shadow */
  --shadow:        0 4px 24px rgba(0,0,0,0.5);
  --shadow-gold:   0 0 32px rgba(201,146,31,0.18);
  --shadow-card:   0 2px 16px rgba(0,0,0,0.6), inset 0 1px 0 rgba(201,146,31,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;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ── CONTAINER ───────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gap);
}

/* ── SITE HEADER ─────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7,7,15,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gold-line);
  box-shadow: 0 2px 24px rgba(0,0,0,0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  padding: 0.9rem var(--gap);
  max-width: 1200px;
  margin: 0 auto;
}

/* ── BRAND LOGO ──────────────────────────────────────────── */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid var(--gold-line);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-mark-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.brand-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, var(--brand-light) 0%, var(--brand) 60%, var(--brand-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

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

.nav a {
  display: block;
  padding: 0.5rem 0.85rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--r);
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}

.nav a:hover,
.nav a.active {
  color: var(--brand-light);
  background: rgba(201,146,31,0.1);
}

/* ── HAMBURGER ───────────────────────────────────────────── */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  border-radius: var(--r);
  transition: background 0.2s;
}
.menu-toggle:hover { background: rgba(201,146,31,0.1); }
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brand-light);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ── HEADER CTA ──────────────────────────────────────────── */
.header-cta { flex-shrink: 0; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--r);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: filter 0.2s, transform 0.15s, box-shadow 0.2s;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  color: #07070F;
  box-shadow: 0 4px 18px rgba(201,146,31,0.35);
}
.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(201,146,31,0.5);
  color: #07070F;
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--r);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1.5px solid var(--brand);
  background: transparent;
  color: var(--brand-light);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.btn-secondary:hover {
  background: rgba(201,146,31,0.12);
  color: var(--brand-light);
  transform: translateY(-1px);
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--r);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 18px rgba(212,43,43,0.3);
}
.btn-accent:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(212,43,43,0.45);
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

/* diagonal gold rule between columns */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, var(--gold-line) 30%, var(--gold-line) 70%, transparent 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--gap-xl) var(--gap-lg) var(--gap-xl) var(--gap);
  padding-left: max(var(--gap), calc((100vw - 1200px) / 2 + var(--gap)));
  background: radial-gradient(ellipse at left center, rgba(201,146,31,0.06) 0%, transparent 60%);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1.25rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--brand);
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.hero-heading em {
  font-style: normal;
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 440px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: var(--gap-sm);
  flex-wrap: wrap;
  align-items: center;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.hero-badge svg { color: var(--brand); }

.hero-visual {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.85;
}

.hero-gradient-placeholder {
  width: 100%;
  height: 100%;
  min-height: 92vh;
  background:
    radial-gradient(ellipse at 70% 40%, rgba(201,146,31,0.25) 0%, transparent 55%),
    radial-gradient(ellipse at 30% 80%, rgba(212,43,43,0.15) 0%, transparent 45%),
    linear-gradient(160deg, #0E0E1C 0%, #07070F 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--bg) 0%, transparent 18%);
}

/* ── TRUST STRIP ─────────────────────────────────────────── */
.trust-strip {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
  position: relative;
  overflow: hidden;
}

.trust-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gap);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.trust-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(201,146,31,0.12);
  border: 1px solid var(--gold-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  flex-shrink: 0;
  font-size: 0.9rem;
}

/* ── SECTION HEADINGS ────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.75rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--brand);
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-3xl), 3.5vw, var(--text-4xl));
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-heading span {
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-sub {
  color: var(--text-muted);
  font-size: var(--text-lg);
  max-width: 560px;
}

/* ── SECTION SHELL ───────────────────────────────────────── */
.section {
  padding: var(--gap-xl) 0;
}

.section-header {
  margin-bottom: var(--gap-lg);
}

/* ── GAMES GRID ──────────────────────────────────────────── */
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.game-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.game-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}

.game-tile:hover {
  border-color: var(--gold-line);
  box-shadow: var(--shadow-gold), var(--shadow-card);
  transform: translateY(-3px);
  color: inherit;
}

.game-tile:hover::before { opacity: 1; }

.game-tile-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r);
  background: rgba(201,146,31,0.1);
  border: 1px solid var(--gold-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
  transition: background 0.25s;
}

.game-tile:hover .game-tile-icon {
  background: rgba(201,146,31,0.2);
}

.game-tile-name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.game-tile-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.game-tile-arrow {
  margin-top: auto;
  padding-top: 1rem;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s;
}
.game-tile:hover .game-tile-arrow { gap: 0.55rem; }

/* ── ARTICLE SHELL ───────────────────────────────────────── */
.article-shell {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--gap);
}

/* ── SEO ARTICLE ─────────────────────────────────────────── */
.seo-article h2 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text);
  margin: 2.5rem 0 0.9rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  line-height: 1.3;
}

.seo-article h2:first-child { border-top: none; margin-top: 0; }

.seo-article h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--brand-light);
  margin: 1.8rem 0 0.7rem;
  line-height: 1.35;
}

.seo-article p {
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  line-height: 1.8;
  font-size: var(--text-lg);
}

.seo-article ul,
.seo-article ol {
  color: var(--text-muted);
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.seo-article li { margin-bottom: 0.4rem; font-size: var(--text-lg); }

.seo-article strong { color: var(--text); font-weight: 700; }

.seo-article a { color: var(--brand-light); }
.seo-article a:hover { color: var(--brand); }

/* ── ARTICLE IMAGE ───────────────────────────────────────── */
.article-image {
  margin: 2rem 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.article-image img {
  width: 100%;
  height: auto;
  display: block;
}

.article-image figcaption {
  padding: 0.6rem 1rem;
  background: var(--bg-card);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}

/* ── INLINE CTA ──────────────────────────────────────────── */
.cta-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-lg);
  padding: 2.25rem 2.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--gold-line);
  border-radius: var(--r-xl);
  margin: 2.5rem -0.75rem;   /* bleed slightly past article-shell's inner padding */
  position: relative;
  overflow: hidden;
}

/* Prevent the global `a` color and .seo-article a from bleeding onto buttons */
.cta-inline .btn-primary,
.cta-inline .btn-primary:hover  { color: #07070F; }
.cta-inline .btn-secondary,
.cta-inline .btn-secondary:hover { color: var(--brand-light); }
.cta-inline .btn-accent,
.cta-inline .btn-accent:hover    { color: #fff; }

/* Also cover buttons rendered directly inside .seo-article */
.seo-article .btn-primary,
.seo-article .btn-primary:hover  { color: #07070F; }
.seo-article .btn-secondary,
.seo-article .btn-secondary:hover { color: var(--brand-light); }
.seo-article .btn-accent,
.seo-article .btn-accent:hover    { color: #fff; }

.cta-inline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
}

.cta-inline-text h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.cta-inline-text p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* ── HIGHLIGHT BOX ───────────────────────────────────────── */
.highlight-box {
  border-left: 3px solid var(--brand);
  background: rgba(201,146,31,0.06);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.highlight-box ul,
.highlight-box ol {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

/* ── BLOG LIST HERO ──────────────────────────────────────── */
.blog-list-hero {
  position: relative;
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.blog-list-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201,146,31,0.1) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(212,43,43,0.07) 0%, transparent 45%),
    var(--bg);
  z-index: 0;
}

.blog-list-hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.blog-list-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.blog-list-heading span {
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.blog-list-sub {
  color: var(--text-muted);
  font-size: var(--text-lg);
  line-height: 1.7;
}

/* ── BLOG META BAR ───────────────────────────────────────── */
.blog-meta-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
  padding: 0.75rem 0;
}

.blog-meta-count {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── BLOG GRID ───────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap-lg);
}

/* Featured (first) post spans full width */
.blog-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
}

.blog-card--featured .blog-card-thumb {
  border-radius: 0;
  aspect-ratio: auto;
  min-height: 340px;
}

.blog-card--featured .blog-card-body {
  border-radius: 0;
  border-top: none;
  border-left: none;
  border: 1px solid var(--border);
  border-left: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem;
}

.blog-card--featured .blog-card-title {
  font-size: var(--text-2xl);
}

.blog-card--featured .blog-card-excerpt {
  display: block;          /* always show on featured */
  -webkit-line-clamp: unset;
}

/* ── BLOG CARD ───────────────────────────────────────────── */
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}

.blog-card:hover {
  border-color: var(--gold-line);
  box-shadow: var(--shadow-gold), var(--shadow-card);
  transform: translateY(-4px);
}

/* Thumbnail */
.blog-card-thumb {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-elevated);
  flex-shrink: 0;
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s, opacity 0.3s;
  opacity: 0.88;
}

.blog-card:hover .blog-card-img {
  transform: scale(1.04);
  opacity: 1;
}

.blog-card-img-placeholder {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 60% 40%, rgba(201,146,31,0.2) 0%, transparent 60%),
    var(--bg-elevated);
}

/* Category badge */
.blog-card-category {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.25rem 0.7rem;
  background: rgba(201,146,31,0.9);
  color: #07070F;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2rem;
  backdrop-filter: blur(4px);
}

/* Card body */
.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Post meta */
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.blog-card-date,
.blog-card-read {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.blog-card-date svg,
.blog-card-read svg {
  color: var(--brand);
  flex-shrink: 0;
}

/* Title */
.blog-card-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.blog-card-title a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

.blog-card-title a:hover {
  color: var(--brand-light);
}

/* Excerpt */
.blog-card-excerpt {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  flex: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* Read more link */
.blog-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  text-decoration: none;
  margin-top: auto;
  transition: gap 0.2s, color 0.2s;
}

.blog-card-cta:hover {
  color: var(--brand-light);
  gap: 0.65rem;
}

/* ── GALLERY ─────────────────────────────────────────────── */
.brand-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: var(--gap-sm);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-card);
}

.gallery-item.is-featured {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s, opacity 0.3s;
  opacity: 0.85;
}

.gallery-item:hover img {
  transform: scale(1.06);
  opacity: 1;
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.gallery-item:hover .gallery-item-overlay {
  background: rgba(0,0,0,0.35);
}

.gallery-zoom-icon {
  color: #fff;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s, transform 0.3s;
  font-size: 1.5rem;
}

.gallery-item:hover .gallery-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

/* ── LIGHTBOX ────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--r-lg);
  box-shadow: 0 8px 60px rgba(0,0,0,0.8);
}

.lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.2); }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: #050508;
  border-top: 1px solid var(--border);
  padding: var(--gap-xl) 0 0;
  margin-top: var(--gap-xl);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--gap-lg);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gap);
  padding-bottom: var(--gap-lg);
}

.footer-brand-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
  max-width: 340px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--brand-light); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.1rem var(--gap);
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  flex-wrap: wrap;
}

.footer-copy,
.footer-disclaimer {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-disclaimer {
  background: rgba(212,43,43,0.08);
  border: 1px solid rgba(212,43,43,0.15);
  border-radius: var(--r);
  padding: 0.3rem 0.75rem;
  font-weight: 600;
  color: rgba(212,43,43,0.7);
}

/* ── PAGE HERO (inner pages) ─────────────────────────────── */
.page-hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--bg-card);
}

.page-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--bg) 0%,
    rgba(7,7,15,0.6) 60%,
    rgba(7,7,15,0.4) 100%
  );
}

.page-hero-bg-placeholder {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 60% 40%, rgba(201,146,31,0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(212,43,43,0.1) 0%, transparent 40%),
    var(--bg-card);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--gap-lg) var(--gap);
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  list-style: none;
}

.page-breadcrumb a { color: var(--text-muted); text-decoration: none; }
.page-breadcrumb a:hover { color: var(--brand-light); }
.page-breadcrumb li:not(:last-child)::after { content: '/'; margin-left: 0.4rem; }

.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl));
  font-weight: 900;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.page-hero-sub {
  color: var(--text-muted);
  font-size: var(--text-lg);
  max-width: 560px;
}

/* ── DIVIDERS ────────────────────────────────────────────── */
.divider-gold {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  margin: var(--gap-xl) 0;
  border: none;
}

/* ── SCROLL REVEAL ───────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  animation: fadeUp 0.65s cubic-bezier(.22,.68,0,1.1) both;
}
.reveal-delay-1 { animation-delay: 0.1s; }
.reveal-delay-2 { animation-delay: 0.2s; }
.reveal-delay-3 { animation-delay: 0.3s; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(7,7,15,0.98);
    border-bottom: 1px solid var(--gold-line);
    flex-direction: column;
    align-items: stretch;
    padding: var(--gap-sm);
    gap: 0.15rem;
    display: none;
    box-shadow: var(--shadow);
  }

  .nav.is-open { display: flex; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero::after { display: none; }

  .hero-content {
    padding: var(--gap-lg) var(--gap);
    order: 2;
  }

  .hero-visual {
    order: 1;
    min-height: 55vw;
  }

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

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

  .footer-grid > *:first-child {
    grid-column: 1 / -1;
  }

  .cta-inline {
    flex-direction: column;
    align-items: flex-start;
    margin: 2.5rem 0;
    padding: 1.75rem 1.75rem;
  }

  /* Blog: collapse featured card to single column */
  .blog-card--featured {
    grid-template-columns: 1fr;
  }

  .blog-card--featured .blog-card-thumb {
    min-height: 240px;
  }

  .blog-card--featured .blog-card-body {
    border-left: 1px solid var(--border);
    border-top: none;
    padding: 1.5rem;
  }

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

@media (max-width: 600px) {
  :root {
    --gap: 1.1rem;
    --gap-lg: 2rem;
    --gap-xl: 3rem;
  }

  .header-inner { padding: 0.75rem var(--gap); }

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

  .brand-gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 140px;
  }

  .gallery-item.is-featured {
    grid-column: 1 / -1;
    grid-row: span 1;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .trust-inner {
    justify-content: flex-start;
    gap: 1rem;
  }
}
