/* ===========================================================
   399bet.download — black & gold theme
   All classes prefixed with b399- for uniqueness
   =========================================================== */

:root {
  --b399-black: #0A0A0A;
  --b399-black-2: #1A1A1A;
  --b399-dark: #161616;
  --b399-gold: #FFD54A;
  --b399-gold-2: #D49B00;
  --b399-gold-deep: #8C6500;
  --b399-red: #C8102E;
  --b399-text: #1A1A1A;
  --b399-text-soft: #5C5C5C;
  --b399-text-dim: #8A8A8A;
  --b399-bg: #FAFAF7;
  --b399-bg-2: #F2F2EC;
  --b399-card: #FFFFFF;
  --b399-border: #E8E4D8;

  --b399-r-sm: 8px;
  --b399-r-md: 12px;
  --b399-r-lg: 18px;
  --b399-r-xl: 28px;

  --b399-shadow-sm: 0 2px 6px rgba(10,10,10,.06);
  --b399-shadow-md: 0 8px 24px rgba(10,10,10,.1);
  --b399-shadow-gold: 0 8px 28px rgba(255,213,74,.35);

  --b399-container: 1180px;
  --b399-header-h: 70px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--b399-text);
  background: var(--b399-bg);
  padding-bottom: 90px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.b399-locked { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--b399-gold-2); text-decoration: none; transition: color .2s; }
a:hover { color: var(--b399-gold-deep); }

h1, h2, h3, h4 {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .6em;
  color: var(--b399-black);
  letter-spacing: .01em;
}
h1 { font-size: 2.1rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.2rem; font-family: 'Inter', sans-serif; font-weight: 800; letter-spacing: 0; }
p { margin: 0 0 1em; }

.b399-wrap { width: 100%; max-width: var(--b399-container); padding: 0 18px; margin: 0 auto; }

[dir="rtl"] body { font-family: 'Noto Nastaliq Urdu', 'Inter', serif; line-height: 2; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { font-family: 'Noto Nastaliq Urdu', serif; }

/* ============== HEADER ============== */
.b399-top {
  background: linear-gradient(180deg, var(--b399-black) 0%, var(--b399-black-2) 100%);
  position: sticky; top: 0; z-index: 60;
  border-bottom: 1px solid rgba(255,213,74,.2);
}
.b399-bar {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--b399-header-h);
  padding: 0 18px;
  max-width: var(--b399-container); margin: 0 auto;
  gap: 10px;
}
.b399-brand {
  display: inline-flex; align-items: center;
  height: 40px; flex: 0 0 auto;
}
.b399-brand img { height: 32px; width: auto; }

.b399-end {
  display: flex; align-items: center; gap: 8px;
  flex: 0 0 auto;
}

/* Lang switcher — gold outlined pill */
.b399-lang {
  display: inline-flex; align-items: center; gap: 5px;
  background: transparent;
  border: 1px solid rgba(255,213,74,.5);
  border-radius: var(--b399-r-sm);
  padding: 7px 12px;
  color: var(--b399-gold);
  font-weight: 700; font-size: .82rem;
  text-decoration: none;
  transition: all .2s;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.b399-lang:hover { background: rgba(255,213,74,.1); color: var(--b399-gold); border-color: var(--b399-gold); }
.b399-lang svg { width: 14px; height: 14px; }

/* Hamburger — square */
.b399-burger {
  background: transparent; border: 1px solid rgba(255,213,74,.4);
  width: 40px; height: 40px;
  border-radius: var(--b399-r-sm);
  cursor: pointer;
  display: flex; flex-direction: column; gap: 4px; align-items: center; justify-content: center;
  flex: 0 0 40px;
  transition: border-color .2s;
}
.b399-burger:hover { border-color: var(--b399-gold); }
.b399-burger span {
  display: block; width: 18px; height: 2px;
  background: var(--b399-gold); border-radius: 1px;
  transition: transform .3s, opacity .3s;
}
.b399-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.b399-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.b399-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Fullscreen menu — fade in from top */
.b399-menu {
  position: fixed; inset: var(--b399-header-h) 0 0 0;
  background: linear-gradient(180deg, var(--b399-black) 0%, #0F0F0F 100%);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
  z-index: 55; overflow-y: auto;
  padding: 28px 24px 40px;
  display: flex; flex-direction: column; gap: 6px;
}
.b399-menu.b399-open { opacity: 1; pointer-events: auto; }

.b399-menu-h {
  color: var(--b399-gold-2);
  font-size: .7rem; font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  padding: 16px 14px 6px;
  margin: 0;
}
.b399-menu-h:first-child { padding-top: 4px; }

.b399-menu a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 14px;
  color: #F5F5F5; font-weight: 600; font-size: 1.05rem;
  border-radius: var(--b399-r-md);
  border: 1px solid transparent;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.b399-menu a:hover, .b399-menu a.b399-active {
  background: rgba(255,213,74,.08);
  color: var(--b399-gold);
  border-color: rgba(255,213,74,.3);
}
.b399-menu a .b399-tag {
  background: var(--b399-gold);
  color: var(--b399-black);
  font-size: .65rem; font-weight: 800;
  padding: 3px 9px; border-radius: 999px;
  letter-spacing: .04em; text-transform: uppercase;
}

.b399-menu .b399-cta-menu {
  background: linear-gradient(135deg, var(--b399-gold) 0%, var(--b399-gold-2) 100%);
  color: var(--b399-black) !important;
  text-align: center;
  border-radius: var(--b399-r-md);
  padding: 16px 18px;
  font-weight: 800; font-size: 1.05rem;
  justify-content: center;
  margin-top: 12px;
  box-shadow: var(--b399-shadow-gold);
}
.b399-menu .b399-cta-menu:hover {
  filter: brightness(1.05);
  color: var(--b399-black) !important;
  border-color: transparent;
}

.b399-mobile-only { display: flex; }

@media (min-width: 1000px) {
  .b399-burger { display: none; }
  .b399-menu {
    position: static;
    opacity: 1; pointer-events: auto;
    background: transparent; padding: 0;
    flex-direction: row; align-items: center;
    inset: auto; overflow: visible;
    gap: 4px; flex: 1 1 auto;
    justify-content: center;
  }
  [dir="rtl"] .b399-menu { flex-direction: row-reverse; }
  .b399-menu .b399-menu-h { display: none; }
  .b399-menu .b399-mobile-only { display: none; }
  .b399-menu a {
    padding: 9px 16px;
    font-size: .92rem;
    border-radius: var(--b399-r-sm);
    white-space: nowrap;
    color: #F5F5F5;
  }
  .b399-menu a .b399-tag { display: none; }
  .b399-menu .b399-cta-menu {
    margin: 0 0 0 8px;
    padding: 10px 18px;
    font-size: .9rem;
    box-shadow: none;
  }
  body { padding-bottom: 0; }
  .b399-stuck { display: none; }
}

/* ============== HERO — centered text + wide banner ============== */
.b399-hero {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,213,74,.18) 0%, transparent 60%),
    linear-gradient(180deg, var(--b399-black) 0%, #0F0F0F 50%, #1C1C1C 100%);
  color: #fff;
  padding: 36px 0 0;
  position: relative; overflow: hidden;
  text-align: center;
}
.b399-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 80%, rgba(212,155,0,.15) 0%, transparent 50%),
    radial-gradient(circle at 85% 20%, rgba(200,16,46,.1) 0%, transparent 50%);
  pointer-events: none;
}

.b399-hero-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; padding: 0 18px; }

.b399-rating-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,213,74,.1);
  border: 1px solid rgba(255,213,74,.3);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--b399-gold);
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
}
.b399-rating-badge .b399-stars { color: var(--b399-gold); letter-spacing: 1px; }

.b399-hero h1 {
  color: #fff;
  font-size: 2.2rem;
  margin-bottom: 14px;
  letter-spacing: 0;
  line-height: 1.05;
}
.b399-hero h1 .b399-gold-text {
  background: linear-gradient(180deg, #FFE57A 0%, var(--b399-gold-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.15em;
}

.b399-hero-lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,.78);
  margin: 0 auto 22px;
  max-width: 560px;
  line-height: 1.6;
}

.b399-hero-chips {
  display: flex; flex-wrap: wrap; gap: 6px;
  justify-content: center;
  margin-bottom: 22px;
}
.b399-chip {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.85);
  font-size: .76rem; font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 5px;
}
.b399-chip svg { width: 12px; height: 12px; color: var(--b399-gold); }

.b399-hero-actions {
  display: flex; flex-direction: column; gap: 10px;
  max-width: 380px; margin: 0 auto 32px;
}

/* Wide hero banner — full bleed at bottom of hero, clickable */
.b399-hero-banner {
  display: block;
  position: relative;
  width: 100%;
  max-width: var(--b399-container);
  margin: 0 auto;
  padding: 0 18px;
  z-index: 2;
  text-decoration: none;
}
.b399-hero-banner-frame {
  position: relative;
  border-radius: var(--b399-r-lg);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,.6), 0 0 0 1px rgba(255,213,74,.2);
  transition: transform .25s, box-shadow .25s;
}
.b399-hero-banner:hover .b399-hero-banner-frame {
  transform: translateY(-3px);
  box-shadow: 0 36px 80px rgba(0,0,0,.7), 0 0 0 1px rgba(255,213,74,.4);
}
.b399-hero-banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1000 / 400;
  object-fit: cover;
}
.b399-hero-banner-overlay {
  position: absolute;
  bottom: 14px; right: 14px;
  background: var(--b399-gold);
  color: var(--b399-black);
  padding: 8px 16px;
  font-size: .82rem;
  font-weight: 800;
  border-radius: var(--b399-r-sm);
  display: inline-flex; align-items: center; gap: 6px;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(255,213,74,.4);
  transition: filter .2s;
}
[dir="rtl"] .b399-hero-banner-overlay { right: auto; left: 14px; }
.b399-hero-banner:hover .b399-hero-banner-overlay { filter: brightness(1.08); }
.b399-hero-banner-overlay svg { width: 14px; height: 14px; }

/* Spacer at bottom of hero so banner doesn't touch next section */
.b399-hero-spacer { height: 40px; background: transparent; }

@media (min-width: 720px) {
  .b399-hero { padding: 56px 0 0; }
  .b399-hero h1 { font-size: 3rem; }
  .b399-hero-lead { font-size: 1.12rem; }
  .b399-hero-actions { flex-direction: row; max-width: none; justify-content: center; }
  .b399-hero-banner-overlay { padding: 10px 20px; font-size: .9rem; }
  .b399-hero-spacer { height: 56px; }
}
@media (min-width: 1000px) {
  .b399-hero { padding: 70px 0 0; }
  .b399-hero h1 { font-size: 3.6rem; }
  .b399-hero-spacer { height: 64px; }
}

/* ============== BUTTONS ============== */
.b399-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  font-weight: 700; font-size: 1rem;
  border-radius: var(--b399-r-md);
  border: 0; cursor: pointer;
  text-decoration: none;
  transition: transform .15s, box-shadow .2s, filter .2s;
  font-family: inherit;
  white-space: nowrap;
  letter-spacing: .01em;
}
.b399-btn:active { transform: translateY(1px); }

.b399-btn-gold {
  background: linear-gradient(135deg, var(--b399-gold) 0%, var(--b399-gold-2) 100%);
  color: var(--b399-black);
  box-shadow: var(--b399-shadow-gold);
}
.b399-btn-gold:hover {
  filter: brightness(1.08);
  color: var(--b399-black);
  box-shadow: 0 12px 36px rgba(255,213,74,.45);
}

.b399-btn-dark {
  background: var(--b399-black);
  color: var(--b399-gold);
  border: 1.5px solid rgba(255,213,74,.4);
}
.b399-btn-dark:hover {
  background: #1A1A1A;
  border-color: var(--b399-gold);
  color: var(--b399-gold);
}

.b399-btn-ghost {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
}
.b399-btn-ghost:hover {
  background: rgba(255,255,255,.15);
  color: #fff;
}

.b399-btn-block { width: 100%; }
.b399-btn svg { width: 18px; height: 18px; }

/* ============== SECTIONS ============== */
.b399-section { padding: 44px 0; }
@media (min-width: 720px) { .b399-section { padding: 64px 0; } }
.b399-section-dark {
  background: var(--b399-black);
  color: #fff;
}
.b399-section-dark h2 { color: #fff; }
.b399-section-dark .b399-section-sub { color: rgba(255,255,255,.65); }

.b399-section-h {
  text-align: center;
  margin-bottom: 6px;
}
.b399-section-eyebrow {
  display: inline-block;
  color: var(--b399-gold-2);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.b399-section-sub {
  text-align: center;
  color: var(--b399-text-soft);
  margin: 0 auto 32px;
  max-width: 620px;
  font-size: .98rem;
}

/* ============== FEATURES — alternating stagger ============== */
.b399-feat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 600px) { .b399-feat-grid { grid-template-columns: 1fr 1fr; gap: 14px; } }
@media (min-width: 1000px) { .b399-feat-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }

.b399-feat {
  background: var(--b399-card);
  padding: 22px 20px;
  border-radius: var(--b399-r-lg);
  border: 1px solid var(--b399-border);
  position: relative;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.b399-feat:hover {
  transform: translateY(-4px);
  box-shadow: var(--b399-shadow-md);
  border-color: var(--b399-gold);
}
.b399-feat::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--b399-gold) 0%, var(--b399-gold-2) 100%);
  border-radius: var(--b399-r-lg) var(--b399-r-lg) 0 0;
  opacity: 0; transition: opacity .25s;
}
.b399-feat:hover::before { opacity: 1; }

.b399-feat-num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: var(--b399-black);
  color: var(--b399-gold);
  border-radius: 50%;
  font-weight: 800;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 14px;
  letter-spacing: 0;
}
.b399-feat h3 { font-size: 1rem; margin-bottom: 6px; }
.b399-feat p { font-size: .9rem; color: var(--b399-text-soft); margin: 0; line-height: 1.55; }

/* ============== STEPS — vertical timeline with gold line ============== */
.b399-steps {
  position: relative;
  max-width: 680px; margin: 0 auto;
  padding-left: 4px;
}
.b399-steps::before {
  content: '';
  position: absolute;
  left: 25px; top: 30px; bottom: 30px;
  width: 2px;
  background: linear-gradient(180deg, var(--b399-gold) 0%, var(--b399-gold-2) 50%, transparent 100%);
}
[dir="rtl"] .b399-steps { padding-left: 0; padding-right: 4px; }
[dir="rtl"] .b399-steps::before { left: auto; right: 25px; }

.b399-step-item {
  position: relative;
  padding: 0 0 26px 70px;
  counter-increment: stp;
}
[dir="rtl"] .b399-step-item { padding: 0 70px 26px 0; }
.b399-steps { counter-reset: stp; }

.b399-step-item:last-child { padding-bottom: 0; }

.b399-step-item::before {
  content: counter(stp);
  position: absolute;
  left: 0; top: 0;
  width: 52px; height: 52px;
  background: var(--b399-black);
  color: var(--b399-gold);
  border: 2px solid var(--b399-gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  z-index: 2;
  box-shadow: 0 0 0 4px var(--b399-bg);
}
[dir="rtl"] .b399-step-item::before { left: auto; right: 0; }

.b399-step-item h3 { font-size: 1.08rem; margin-bottom: 4px; color: var(--b399-black); }
.b399-step-item p { font-size: .94rem; color: var(--b399-text-soft); margin: 0; line-height: 1.6; }

/* On dark sections */
.b399-section-dark .b399-step-item::before { box-shadow: 0 0 0 4px var(--b399-black); }
.b399-section-dark .b399-step-item h3 { color: #fff; }
.b399-section-dark .b399-step-item p { color: rgba(255,255,255,.7); }
.b399-section-dark .b399-steps::before { background: linear-gradient(180deg, var(--b399-gold) 0%, var(--b399-gold-2) 100%); }

/* ============== PROMOS — horizontal scroll on mobile ============== */
.b399-promos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 600px) { .b399-promos { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .b399-promos { grid-template-columns: repeat(3, 1fr); } }

.b399-promo {
  background: var(--b399-card);
  border-radius: var(--b399-r-lg);
  overflow: hidden;
  border: 1px solid var(--b399-border);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
}
.b399-promo:hover {
  transform: translateY(-4px);
  box-shadow: var(--b399-shadow-md);
  border-color: var(--b399-gold);
  color: inherit;
}

.b399-promo-cover {
  aspect-ratio: 1000 / 400;
  background: var(--b399-black);
  overflow: hidden;
  position: relative;
}
.b399-promo-cover img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.b399-promo-cover::after {
  content: 'Claim';
  position: absolute;
  bottom: 12px; right: 12px;
  background: var(--b399-gold);
  color: var(--b399-black);
  font-size: .72rem; font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--b399-r-sm);
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: 0; transform: translateY(4px);
  transition: opacity .25s, transform .25s;
}
.b399-promo:hover .b399-promo-cover::after {
  opacity: 1; transform: translateY(0);
}
[dir="rtl"] .b399-promo-cover::after { right: auto; left: 12px; content: 'حاصل کریں'; }

.b399-promo-info { padding: 16px 18px 18px; }
.b399-promo-info h3 { font-size: 1.02rem; margin-bottom: 4px; color: var(--b399-black); }
.b399-promo-info p { font-size: .88rem; color: var(--b399-text-soft); margin: 0; line-height: 1.55; }

/* ============== SPECS — definition table ============== */
.b399-specs-box {
  max-width: 620px; margin: 0 auto;
  background: var(--b399-card);
  border: 1px solid var(--b399-border);
  border-radius: var(--b399-r-lg);
  overflow: hidden;
}
.b399-specs-box dl { margin: 0; }
.b399-specs-box > dl > div {
  display: grid; grid-template-columns: 42% 58%;
  border-top: 1px solid var(--b399-border);
}
.b399-specs-box > dl > div:first-child { border-top: 0; }
.b399-specs-box dt {
  padding: 13px 18px;
  background: var(--b399-bg-2);
  font-weight: 700;
  color: var(--b399-black);
  font-size: .88rem;
}
.b399-specs-box dd {
  padding: 13px 18px;
  margin: 0;
  font-size: .92rem;
  color: var(--b399-text);
}

/* ============== FAQ ============== */
.b399-faq {
  max-width: 760px; margin: 0 auto;
}
.b399-faq details {
  background: var(--b399-card);
  border: 1px solid var(--b399-border);
  border-radius: var(--b399-r-md);
  margin-bottom: 8px;
  overflow: hidden;
  transition: border-color .2s;
}
.b399-faq details[open] { border-color: var(--b399-gold); }
.b399-faq summary {
  padding: 16px 50px 16px 18px;
  font-weight: 700;
  color: var(--b399-black);
  cursor: pointer;
  list-style: none;
  position: relative;
  font-size: .96rem;
}
[dir="rtl"] .b399-faq summary { padding: 16px 18px 16px 50px; }
.b399-faq summary::-webkit-details-marker { display: none; }
.b399-faq summary::after {
  content: '';
  position: absolute;
  right: 18px; top: 50%;
  width: 12px; height: 12px;
  border-right: 2px solid var(--b399-gold-2);
  border-bottom: 2px solid var(--b399-gold-2);
  transform: translateY(-65%) rotate(45deg);
  transition: transform .25s;
}
[dir="rtl"] .b399-faq summary::after { right: auto; left: 18px; }
.b399-faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.b399-faq-text {
  padding: 0 18px 16px;
  color: var(--b399-text-soft);
  font-size: .92rem;
  line-height: 1.65;
}

/* ============== SEO BLOCK with FADE ============== */
.b399-seo-card {
  max-width: 860px; margin: 0 auto;
  background: var(--b399-card);
  border: 1px solid var(--b399-border);
  border-radius: var(--b399-r-xl);
  padding: 28px 22px 0;
}
@media (min-width: 720px) { .b399-seo-card { padding: 40px 40px 0; } }

.b399-seo-body {
  position: relative;
  max-height: 440px;
  overflow: hidden;
  transition: max-height .4s ease;
}
.b399-seo-body.b399-expanded { max-height: 14000px; }
.b399-seo-body::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 170px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.95) 65%, var(--b399-card) 100%);
  pointer-events: none;
  transition: opacity .3s;
}
.b399-seo-body.b399-expanded::after { opacity: 0; }

.b399-seo-body h2 { font-size: 1.6rem; margin-bottom: .5em; }
.b399-seo-body h3 {
  font-size: 1.1rem;
  margin-top: 1.6em;
  margin-bottom: .6em;
  color: var(--b399-black);
  position: relative;
  padding-left: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
}
.b399-seo-body h3::before {
  content: '';
  position: absolute;
  left: 0; top: .35em;
  width: 4px; height: .85em;
  background: linear-gradient(180deg, var(--b399-gold) 0%, var(--b399-gold-2) 100%);
  border-radius: 2px;
}
[dir="rtl"] .b399-seo-body h3 { padding-left: 0; padding-right: 14px; }
[dir="rtl"] .b399-seo-body h3::before { left: auto; right: 0; }
.b399-seo-body h3:first-of-type { margin-top: 0; }
.b399-seo-body p {
  font-size: .96rem;
  line-height: 1.75;
  color: var(--b399-text);
  margin-bottom: 1em;
}
[dir="rtl"] .b399-seo-body p { line-height: 2; }
.b399-seo-body strong { color: var(--b399-black); }

.b399-seo-toggle-area {
  position: relative; z-index: 2;
  text-align: center;
  padding: 8px 0 28px;
  margin-top: -56px;
}
.b399-seo-toggle-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--b399-black);
  color: var(--b399-gold);
  font-weight: 700;
  font-size: .94rem;
  padding: 13px 26px;
  border: 1px solid var(--b399-gold);
  border-radius: var(--b399-r-md);
  cursor: pointer;
  font-family: inherit;
  letter-spacing: .03em;
  transition: background .2s, transform .15s;
}
.b399-seo-toggle-btn:hover { background: #1A1A1A; transform: translateY(-1px); }
.b399-seo-toggle-btn:active { transform: translateY(0); }
.b399-seo-toggle-btn .b399-arrow {
  width: 14px; height: 14px;
  transition: transform .3s;
}
.b399-seo-toggle-btn.b399-shown .b399-arrow { transform: rotate(180deg); }

/* ============== CTA BAND ============== */
.b399-cta-band {
  background: linear-gradient(135deg, var(--b399-black) 0%, #1F1F1F 100%);
  border-radius: var(--b399-r-xl);
  padding: 32px 24px;
  color: #fff;
  text-align: center;
  max-width: 880px; margin: 32px auto 0;
  position: relative; overflow: hidden;
  border: 1px solid rgba(255,213,74,.2);
}
.b399-cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255,213,74,.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(212,155,0,.12) 0%, transparent 50%);
}
.b399-cta-band > * { position: relative; z-index: 2; }
.b399-cta-band h3 {
  color: var(--b399-gold);
  font-size: 1.6rem;
  margin-bottom: 10px;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: .02em;
}
.b399-cta-band p {
  color: rgba(255,255,255,.75);
  margin-bottom: 22px;
  font-size: .98rem;
}
.b399-cta-band-btns {
  display: flex; flex-direction: column; gap: 10px;
  max-width: 420px; margin: 0 auto;
}
@media (min-width: 600px) {
  .b399-cta-band-btns { flex-direction: row; max-width: none; justify-content: center; }
}

/* ============== STICKY CTA — mobile ============== */
.b399-stuck {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  background: linear-gradient(180deg, rgba(10,10,10,.92) 0%, var(--b399-black) 100%);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255,213,74,.25);
  padding: 10px 12px;
  display: flex; gap: 8px;
}
.b399-stuck .b399-btn {
  flex: 1;
  padding: 12px 14px;
  font-size: .92rem;
}

/* ============== FOOTER ============== */
.b399-foot {
  background: var(--b399-black);
  color: rgba(255,255,255,.55);
  padding: 44px 0 22px;
  font-size: .88rem;
  border-top: 1px solid rgba(255,213,74,.15);
}
.b399-foot h4 {
  color: var(--b399-gold);
  font-size: .82rem;
  margin-bottom: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.b399-foot a { color: rgba(255,255,255,.65); transition: color .2s; }
.b399-foot a:hover { color: var(--b399-gold); }

.b399-foot-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 30px;
}
@media (min-width: 600px) { .b399-foot-cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .b399-foot-cols { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; } }

.b399-foot-brand .b399-foot-logo {
  height: 36px; width: auto;
  margin-bottom: 14px;
}
.b399-foot-brand p {
  font-size: .84rem;
  line-height: 1.65;
  color: rgba(255,255,255,.55);
}

.b399-age-mark {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,213,74,.08);
  border: 1px solid rgba(255,213,74,.25);
  color: var(--b399-gold);
  padding: 5px 11px;
  border-radius: var(--b399-r-sm);
  font-size: .76rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: .04em;
}

.b399-foot-list { list-style: none; padding: 0; margin: 0; }
.b399-foot-list li { margin-bottom: 8px; font-size: .85rem; }

.b399-foot-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 18px;
  font-size: .76rem;
  color: rgba(255,255,255,.4);
  text-align: center;
}
.b399-foot-bottom p { margin: 0 0 6px; }

/* ============== SMALL SCREENS ============== */
@media (max-width: 380px) {
  .b399-hero h1 { font-size: 1.85rem; }
  .b399-wrap { padding: 0 14px; }
  .b399-bar { padding: 0 12px; gap: 6px; }
  .b399-lang { padding: 6px 10px; font-size: .76rem; }
  .b399-btn { padding: 12px 16px; font-size: .92rem; }
  .b399-stuck .b399-btn { padding: 11px 10px; font-size: .85rem; }
  .b399-end { gap: 4px; }
  .b399-step-item { padding-left: 60px; }
  .b399-step-item::before { width: 46px; height: 46px; font-size: 1.2rem; }
  [dir="rtl"] .b399-step-item { padding-right: 60px; padding-left: 0; }
}

@media (max-width: 340px) {
  .b399-hero h1 { font-size: 1.65rem; }
  .b399-lang span { display: none; }
  .b399-lang { padding: 6px 8px; }
  .b399-feat-grid { grid-template-columns: 1fr; }
}
