@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&family=Markazi+Text:wght@500;600;700&family=Tajawal:wght@400;500;700;800&display=swap');

:root {
  --ink: #0B3B36;
  --ink-deep: #072925;
  --gold: #C9A15A;
  --gold-bright: #E4C078;
  --paper: #F7F3EA;
  --mint: #DCEEE7;
  --text: #17231F;
  --text-soft: #4C5C56;
  --danger: #A6432E;
  --radius: 14px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.5;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 1000;
  background: var(--ink-deep);
  color: var(--paper);
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 2px;
}

h1, h2, h3, .display {
  font-family: 'Fraunces', serif;
  color: var(--ink-deep);
  margin: 0 0 0.4em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }

a { color: inherit; }

.mono {
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.02em;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
header.site {
  background: var(--ink);
  color: var(--mint);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 10;
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--paper);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand .dot { color: var(--gold-bright); }
nav.site-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
nav.site-nav a, nav.site-nav button {
  color: var(--mint);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 100px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}
nav.site-nav a:hover, nav.site-nav button:hover { border-color: rgba(220,238,231,0.35); }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(220,238,231,0.25);
  border-radius: 100px;
}
.lang-btn {
  border: none;
  background: transparent;
  color: var(--mint);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 100px;
  cursor: pointer;
}
.lang-btn.active { background: var(--gold); color: var(--ink-deep); }
.btn-gold {
  background: var(--gold) !important;
  color: var(--ink-deep) !important;
  font-weight: 600 !important;
}
.btn-gold:hover { background: var(--gold-bright) !important; }

@media (max-width: 720px) {
  header.site .wrap { flex-direction: column; align-items: flex-start; gap: 10px; }
  nav.site-nav { width: 100%; justify-content: flex-start; gap: 6px; }
  nav.site-nav a, nav.site-nav button { padding: 7px 12px; font-size: 0.88rem; }
}

.verify-banner {
  background: var(--gold-bright);
  color: var(--ink-deep);
  font-size: 0.85rem;
  position: sticky;
  top: 62px;
  z-index: 9;
}
.verify-banner .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 24px;
  flex-wrap: wrap;
}
.verify-banner button {
  background: var(--ink-deep);
  color: var(--paper);
  border: none;
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.verify-banner button:disabled { opacity: 0.6; cursor: default; }

/* ---------- Hero ---------- */
.hero {
  background: var(--ink);
  color: var(--paper);
  padding: 72px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero .wrap { position: relative; z-index: 1; max-width: 720px; }
.hero h1 { color: var(--paper); }
.hero .eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--gold-bright);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
  display: inline-block;
}
.hero p.lede { color: var(--mint); font-size: 1.15rem; max-width: 52ch; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 100px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  border: 1.5px solid var(--gold);
  color: var(--paper);
  background: transparent;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}
.btn.primary { background: var(--gold); color: var(--ink-deep); }
.btn.primary:hover { background: var(--gold-bright); }
.btn.ghost { border-color: rgba(247,243,234,0.4); }
.btn.ghost:hover { border-color: var(--paper); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Perforated ticket-stub decoration behind the hero — hidden once the
   animated spotlight (.hero-promo-frame) has content, so the empty
   outline gets "filled in" by an actual prize instead of staying abstract. */
.hero.has-featured::after { display: none; }
.hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%) rotate(8deg);
  width: 340px;
  height: 460px;
  border: 2px dashed rgba(228,192,120,0.35);
  border-radius: 18px;
  opacity: 0.7;
}

/* Real animated spotlight, floated where the dashed outline sits.
   Populated by JS only when an active giveaway exists; hidden on
   narrower screens where there's no room for it beside the hero text. */
.hero-promo-frame {
  display: none;
  position: absolute;
  right: 20px;
  top: 50%;
  width: 290px;
  aspect-ratio: 9 / 16;
  background: var(--ink);
  border-radius: 18px;
  overflow: hidden;
  z-index: 2;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5), 0 0 0 1px rgba(228,192,120,0.14);
  transform: translateY(-50%) rotate(5deg);
  transition: transform 0.25s ease;
}
.hero-promo-frame:hover { transform: translateY(-50%) rotate(2deg) scale(1.02); }
.hero.has-featured .hero-promo-frame { display: block; }
@media (max-width: 980px) { .hero.has-featured .hero-promo-frame { display: none; } }

/* ---------- Stats bar ---------- */
.stats-bar {
  background: var(--mint);
  border-bottom: 1px solid rgba(11,59,54,0.12);
}
.stats-bar .wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  padding-top: 28px;
  padding-bottom: 28px;
}
.stat { text-align: center; }
.stat .num {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--ink-deep);
  display: block;
}
.stat .label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-soft);
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 64px;
}
.step {
  background: #fff;
  border: 1px solid rgba(11,59,54,0.1);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.step .step-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  color: var(--ink-deep);
  background: var(--gold-bright);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 14px;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--text-soft); font-size: 0.9rem; margin: 0; }

/* ---------- Sections ---------- */
main { padding: 56px 0 96px; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.section-head p { color: var(--text-soft); margin: 4px 0 0; }

/* ---------- Ticket-stub cards ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.stub {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(11,59,54,0.1);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
}
.stub:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(11,59,54,0.14); }
.stub .img {
  height: 160px;
  background: var(--mint) center/cover no-repeat;
  position: relative;
}
.stub .status-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--ink);
  color: var(--gold-bright);
  padding: 4px 10px;
  border-radius: 100px;
}
.stub .status-pill.drawn { background: var(--gold); color: var(--ink-deep); }
.delivery-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  border-radius: 100px;
  margin-top: 8px;
}
.delivery-pill.delivered { background: var(--mint); color: var(--ink-deep); }
.delivery-pill.pending { border: 1px solid rgba(11,59,54,0.2); color: var(--text-soft); }
.stub .body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.stub h3 { margin-bottom: 6px; }
.stub .prize { color: var(--text-soft); font-size: 0.92rem; margin-bottom: 14px; }
.stub .meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px dashed rgba(11,59,54,0.2);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  color: var(--ink);
}
.stub .meta .num { position: relative; }
.stub::before, .stub::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--paper);
  border-radius: 50%;
  left: -9px;
}
.stub::before { top: 148px; }
.stub::after { top: 148px; left: auto; right: -9px; }

/* ---------- Forms ---------- */
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid rgba(11,59,54,0.1);
  max-width: 560px;
}
.card.narrow { margin: 0 auto; }
label { display: block; font-weight: 600; font-size: 0.88rem; margin: 18px 0 6px; color: var(--ink-deep); }
label:first-of-type { margin-top: 0; }
input, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1.5px solid rgba(11,59,54,0.18);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--paper);
  color: var(--text);
}
input:focus, textarea:focus {
  outline: 3px solid var(--gold-bright);
  outline-offset: 1px;
  border-color: var(--gold);
}
textarea { resize: vertical; min-height: 90px; }
.hint { color: var(--text-soft); font-size: 0.82rem; margin-top: 4px; }
form .btn { margin-top: 24px; width: 100%; justify-content: center; }
.form-error {
  background: #FBEAE5;
  color: var(--danger);
  border: 1px solid #E7C1B6;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  margin-top: 16px;
  display: none;
}
.form-error.show { display: block; }
.form-success {
  background: var(--mint);
  color: var(--ink-deep);
  border: 1px solid rgba(11,59,54,0.2);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  margin-top: 16px;
  display: none;
}
.form-success.show { display: block; }

.compliance-box {
  background: var(--mint);
  border: 1px dashed var(--ink);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 0.85rem;
  color: var(--ink-deep);
  margin-top: 8px;
}

/* ---------- Detail page ---------- */
.detail-hero {
  background: var(--ink);
  color: var(--paper);
  padding: 48px 0;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 800px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--mint);
}
.side-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid rgba(11,59,54,0.1);
}
.side-card .row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed rgba(11,59,54,0.15); font-size: 0.92rem; }
.side-card .row:last-of-type { border-bottom: none; }
.side-card .row span:first-child { color: var(--text-soft); }
.side-card .row span:last-child { font-family: 'IBM Plex Mono', monospace; font-weight: 500; }

/* ---------- Empty state ---------- */
.empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-soft);
  border: 1px dashed rgba(11,59,54,0.25);
  border-radius: var(--radius);
}
.empty a { color: var(--ink); font-weight: 600; }
.empty.launch { padding: 56px 24px; }
.empty.launch .eyebrow {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
}
.empty.launch h3 { color: var(--ink-deep); margin-bottom: 8px; }
.empty.launch p { max-width: 42ch; margin: 0 auto 22px; }
.empty.launch .btn { display: inline-flex; }

footer.site {
  background: var(--ink-deep);
  color: var(--mint);
  padding: 40px 0 0;
  font-size: 0.9rem;
}
footer.site a { color: var(--mint); text-decoration: none; }
footer.site a:hover { color: var(--gold-bright); }
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  padding-bottom: 28px;
}
.footer-brand { max-width: 340px; }
.footer-brand p { color: rgba(220,238,231,0.75); font-size: 0.85rem; margin-top: 10px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-heading {
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
  margin-bottom: 4px;
}
.footer-bottom {
  border-top: 1px solid rgba(220,238,231,0.15);
  padding: 16px 0;
  font-size: 0.8rem;
  color: rgba(220,238,231,0.65);
  text-align: center;
}

/* ---------- Skeleton loaders ---------- */
.skeleton-block, .skeleton-line {
  background: linear-gradient(90deg, rgba(11,59,54,0.08) 25%, rgba(11,59,54,0.15) 37%, rgba(11,59,54,0.08) 63%);
  background-size: 400% 100%;
  animation: skeleton-pulse 1.4s ease infinite;
  border-radius: 6px;
}
.skeleton-line { height: 0.9rem; margin: 10px 0; }
.skeleton-card { pointer-events: none; }
@keyframes skeleton-pulse {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

/* ---------- Segmented toggle (e.g. individual / company) ---------- */
.segmented {
  display: flex;
  background: var(--paper);
  border: 1.5px solid rgba(11,59,54,0.18);
  border-radius: 100px;
  padding: 4px;
  gap: 4px;
}
.segmented-option {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 16px;
  border-radius: 100px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-soft);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.segmented-option:hover { color: var(--ink-deep); }
.segmented-option.active { background: var(--ink); color: var(--paper); }

/* ---------- Plan cards ---------- */
.plan-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.plan-card {
  border: 1.5px solid rgba(11,59,54,0.18);
  border-radius: 12px;
  background: #fff;
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
  position: relative;
}
.plan-card:hover { border-color: var(--gold); }
.plan-card .plan-card-name {
  display: block;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink-deep);
  margin-bottom: 4px;
}
.plan-card .plan-card-price {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.76rem;
  color: var(--text-soft);
}
.plan-card.active { border-color: var(--gold); background: var(--mint); }
.plan-card.active .plan-card-price { color: var(--ink-deep); }
.plan-card.active::after {
  content: "✓";
  position: absolute;
  top: 6px;
  right: 8px;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.8rem;
}
@media (max-width: 480px) {
  .plan-cards { grid-template-columns: 1fr; }
}

/* ---------- Admin table ---------- */
.admin-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  background: var(--paper);
  padding: 14px 0;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(11,59,54,0.12);
}
.admin-nav a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  padding: 7px 13px;
  border-radius: 100px;
  text-decoration: none;
}
.admin-nav a:hover { background: rgba(11,59,54,0.06); color: var(--ink-deep); }
.admin-dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px,1fr));
  gap: 14px;
  margin: 24px 0 48px;
}
.admin-stat {
  background: #fff;
  border: 1px solid rgba(11,59,54,0.12);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.admin-stat.attention { border-color: var(--gold); background: rgba(201,161,90,0.08); }
.admin-stat .admin-stat-num {
  font-family: 'Fraunces', serif;
  font-size: 1.9rem;
  color: var(--ink-deep);
  line-height: 1;
}
.admin-stat .admin-stat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-soft);
  margin-top: 6px;
}
.admin-search {
  max-width: 320px;
  margin-bottom: 14px;
}
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid rgba(11,59,54,0.1); }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; }
.admin-table th {
  text-align: left;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  padding: 12px 16px;
  border-bottom: 1px solid rgba(11,59,54,0.12);
  background: var(--mint);
  white-space: nowrap;
}
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px dashed rgba(11,59,54,0.15);
  font-size: 0.88rem;
  vertical-align: top;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr.contacted { background: rgba(11,59,54,0.03); color: var(--text-soft); }
.pill-badge {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 100px;
  background: var(--mint);
  color: var(--ink-deep);
  white-space: nowrap;
}
.pill-badge.company { background: var(--gold-bright); }

.verified-badge { vertical-align: -2px; margin-left: 4px; }

/* ---------- Ad banner ---------- */
.ad-banner-wrap { margin-bottom: 40px; }
.ad-banner-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-soft);
  margin-bottom: 6px;
  display: block;
}
.ad-banner {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(11,59,54,0.12);
}
.ad-banner img, .ad-banner video {
  width: 100%;
  aspect-ratio: 5 / 1;
  object-fit: cover;
  display: block;
}
@media (max-width: 600px) {
  .ad-banner img, .ad-banner video { aspect-ratio: 16 / 9; }
}

/* ---------- Winner celebration ---------- */
.confetti-piece {
  position: absolute;
  top: -20px;
  opacity: 0.9;
  animation-name: naseeb-confetti-fall;
  animation-timing-function: ease-in;
  animation-fill-mode: forwards;
}
@keyframes naseeb-confetti-fall {
  to { transform: translateY(105vh) rotate(720deg); opacity: 0; }
}

/* ---------- Promo showcase (animated spotlight on the top live giveaway) ---------- */
.promo-ambient {
  position: absolute; inset: -20%;
  background:
    radial-gradient(circle at 30% 20%, rgba(228,192,120,0.16), transparent 55%),
    radial-gradient(circle at 75% 80%, rgba(220,238,231,0.10), transparent 50%);
  animation: promoDrift 14s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes promoDrift {
  from { transform: translate(-2%, -1%) scale(1); }
  to   { transform: translate(2%, 2%) scale(1.06); }
}
.promo-scene {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 9%;
  text-align: center;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s cubic-bezier(.22,.8,.3,1), transform 0.7s cubic-bezier(.22,.8,.3,1);
  pointer-events: none;
}
.promo-scene.is-active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.promo-scene.is-exiting { opacity: 0; transform: translateY(-14px); }
.promo-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-bright); margin: 0 0 12px;
}
.promo-s1-head {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.5rem, 6.4vw, 1.9rem);
  line-height: 1.16;
  color: var(--paper);
  margin: 0;
}
.promo-s1-head .em { color: var(--gold-bright); }
.promo-s1-sub { font-size: 0.78rem; color: var(--mint); opacity: 0.85; max-width: 24ch; margin: 12px 0 0; }

.promo-ticket {
  position: relative;
  width: 100%; max-width: 220px;
  background: var(--paper);
  border-radius: 14px;
  box-shadow: 0 20px 40px -16px rgba(0,0,0,0.5);
  transform: scale(0.94);
}
.promo-scene.is-active .promo-ticket { animation: promoTicketIn 0.6s cubic-bezier(.2,1.1,.3,1) 0.1s forwards; }
@keyframes promoTicketIn { to { transform: scale(1); } }
.promo-ticket-art { position: relative; height: 84px; background: linear-gradient(180deg, #12463F 0%, var(--ink) 100%); border-radius: 14px 14px 0 0; overflow: hidden; }
.promo-notch { position: absolute; width: 14px; height: 14px; background: var(--ink); border-radius: 50%; top: 84px; margin-top: -7px; }
.promo-notch.l { left: -7px; }
.promo-notch.r { right: -7px; }
.promo-perf { position: absolute; top: 84px; left: 12px; right: 12px; border-top: 1.5px dashed rgba(11,59,54,0.22); }
.promo-ticket-body { padding: 14px 14px 16px; text-align: left; }
.promo-ticket-label { font-family: 'IBM Plex Mono', monospace; font-size: 0.56rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); opacity: 0.6; }
.promo-ticket-title { font-family: 'Fraunces', serif; font-size: 0.94rem; line-height: 1.25; color: var(--ink-deep); margin: 4px 0 8px; }
.promo-ticket-value { display: inline-flex; align-items: center; gap: 5px; background: var(--gold); color: var(--ink-deep); font-family: 'IBM Plex Mono', monospace; font-weight: 600; font-size: 0.62rem; padding: 4px 9px; border-radius: 100px; }
.promo-s2-caption { font-size: 0.72rem; color: var(--mint); opacity: 0.85; margin: 14px 0 0; }

.promo-countdown-wrap { position: relative; display: flex; align-items: center; justify-content: center; width: 130px; height: 130px; }
.promo-pulse { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(228,192,120,0.5); animation: promoPulseRing 1.8s ease-out infinite; }
.promo-pulse.d2 { animation-delay: 0.6s; }
.promo-pulse.d3 { animation-delay: 1.2s; }
@keyframes promoPulseRing { 0% { transform: scale(0.72); opacity: 0.9; } 100% { transform: scale(1.15); opacity: 0; } }
.promo-countdown-num { font-family: 'IBM Plex Mono', monospace; font-variant-numeric: tabular-nums; font-size: 2.6rem; font-weight: 600; color: var(--paper); line-height: 1; z-index: 1; }
.promo-countdown-caption { font-family: 'IBM Plex Mono', monospace; font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-bright); margin: 14px 0 4px; }
.promo-s3-fine { font-size: 0.72rem; color: var(--mint); opacity: 0.85; max-width: 22ch; margin: 2px 0 0; }

.promo-s4-head { font-family: 'Fraunces', serif; font-size: clamp(1.5rem, 6.4vw, 1.9rem); color: var(--paper); margin: 0 0 14px; line-height: 1.16; }
.promo-s4-head .em { color: var(--gold-bright); }
.promo-cta-btn {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 0.86rem; color: var(--ink-deep);
  background: var(--gold); padding: 11px 20px; border-radius: 100px; overflow: hidden;
  text-decoration: none;
}
.promo-cta-btn::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
  animation: promoSheen 2.6s ease-in-out 1.4s infinite;
}
@keyframes promoSheen { 0% { left: -60%; } 35%, 100% { left: 140%; } }
.promo-s4-fine { font-size: 0.72rem; color: var(--mint); opacity: 0.85; margin: 12px 0 0; }

.promo-confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; opacity: 0; transition: opacity 0.4s; }
.promo-confetti.is-on { opacity: 1; }
.promo-speck { position: absolute; bottom: -6%; width: 5px; height: 8px; border-radius: 1px; animation: promoSpeckRise 4.5s linear infinite; }
@keyframes promoSpeckRise {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  8% { opacity: 1; }
  100% { transform: translateY(-360px) rotate(340deg); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .stub, html { transition: none; scroll-behavior: auto; }
  .skeleton-block, .skeleton-line { animation: none; }
  .confetti-piece { display: none; }
  .promo-ambient, .promo-pulse, .promo-cta-btn::after, .promo-speck, .promo-ticket { animation: none !important; }
  .promo-scene { transition: opacity 0.2s; }
}

/* ---------- Arabic / RTL ----------
   Flexbox and grid layouts mirror automatically under dir="rtl" — only the
   handful of rules using literal left/right positioning (rather than
   logical start/end) need explicit overrides here. */
:lang(ar), [dir="rtl"] {
  font-family: 'Tajawal', 'Inter', sans-serif;
}
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] .display {
  font-family: 'Markazi Text', 'Fraunces', serif;
}
/* Markazi Text is a lighter face than Fraunces at the same weight — a
   touch heavier here keeps Arabic headings feeling as solid as the
   Latin ones instead of reading thin by comparison. */
[dir="rtl"] h1 { font-weight: 700; }
[dir="rtl"] h2, [dir="rtl"] h3 { font-weight: 600; }

[dir="rtl"] .skip-link { left: auto; right: 12px; }
[dir="rtl"] .hero::after { right: auto; left: -60px; transform: translateY(-50%) rotate(-8deg); }
[dir="rtl"] .hero-promo-frame { right: auto; left: 20px; }
[dir="rtl"] .verified-badge { margin-left: 0; margin-right: 4px; }
