/* BoothBuzz landing page. Editorial layout, one accent (buzz yellow) on ink, real product screenshots in
   device frames. System fonts only (no third-party requests). Mobile first; every animation respects
   prefers-reduced-motion. */

:root {
  --ink: #0e0b1e;
  --ink-2: #1a1633;
  --paper: #fbf7ef;
  --paper-2: #f1ebdd;
  --buzz: #ffd400;
  --pink: #ff2d7a;
  --mint: #2ee6a6;
  --text: #171427;
  --text-2: #4d4866;
  --text-on-ink: #fbf7ef;
  --muted-on-ink: #b8b3cf;
  --line: #e4ddcc;
  --radius: 20px;
  --w: 1180px;
  --pad: clamp(18px, 4vw, 48px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -0.02em; font-weight: 850; }
h1 { font-size: clamp(2.3rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.5rem); }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
/* Hidden above the page, not off to the side: a negative left/right offset creates scrollable overflow in RTL. */
.skip { position: absolute; top: -100px; inset-inline-start: 8px; background: var(--buzz); color: var(--ink); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 8px; }
.fine { font-size: 0.85rem; color: var(--text-2); }
.fine a { color: inherit; }
sup a { text-decoration: none; color: var(--pink); font-weight: 700; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); }
.eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(46, 230, 166, 0.6); animation: pulse 2s infinite; }
.eyebrow.light { color: var(--muted-on-ink); }
.hl { background: linear-gradient(transparent 62%, var(--buzz) 62%, var(--buzz) 92%, transparent 92%); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 750; text-decoration: none; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s;
  touch-action: manipulation; white-space: nowrap;
}
.btn.primary { background: var(--buzz); color: var(--ink); box-shadow: 0 10px 30px -12px rgba(255, 212, 0, 0.9); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(255, 212, 0, 1); }
.btn.ghost { background: transparent; border-color: currentColor; }
.btn.small { min-height: 42px; padding: 8px 16px; font-size: 0.95rem; }
.btn.big { font-size: 1.15rem; padding: 16px 32px; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 16px;
  padding: 10px var(--pad);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.25rem; text-decoration: none; letter-spacing: -0.02em; }
.brand b { color: var(--pink); }
.brand-mark { width: 34px; height: 34px; }
.top-nav { display: none; gap: 4px; margin-inline-start: auto; }
.top-nav a { padding: 8px 10px; border-radius: 999px; text-decoration: none; font-weight: 650; font-size: 0.92rem; color: var(--text-2); white-space: nowrap; }
.top-nav a:hover { background: var(--paper-2); color: var(--text); }
.top .btn { margin-inline-start: auto; }
@media (min-width: 1060px) { .top-nav { display: flex; } .top .btn { margin-inline-start: 0; } }

/* ---------- hero ---------- */
.hero {
  display: grid; gap: 32px; align-items: center;
  max-width: var(--w); margin: 0 auto; padding: clamp(32px, 7vw, 96px) var(--pad) clamp(24px, 5vw, 64px);
}
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--text-2); max-width: 56ch; }
.lead strong { color: var(--text); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.proof { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--text-2); font-size: 0.95rem; }
.proof strong { color: var(--text); }
.proof li::before { content: "✓ "; color: var(--mint); font-weight: 900; }

.hero-visual { position: relative; height: clamp(420px, 70vw, 620px); }
.phone {
  position: absolute; width: clamp(180px, 34vw, 270px); aspect-ratio: 780 / 1328;
  border-radius: 34px; padding: 10px; background: #111; box-shadow: 0 30px 60px -25px rgba(14, 11, 30, 0.6), inset 0 0 0 2px #2a2a2a;
}
.phone::before { content: ""; position: absolute; top: 12px; left: 50%; width: 36%; height: 20px; transform: translateX(-50%); background: #111; border-radius: 0 0 14px 14px; z-index: 2; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; }
.phone-a { left: 6%; top: 6%; z-index: 2; }
.phone-b { right: 4%; top: 18%; z-index: 1; transform: rotate(6deg); }
.chip {
  position: absolute; z-index: 3; padding: 10px 14px; border-radius: 999px; background: #fff; color: var(--ink);
  font-weight: 750; font-size: 0.95rem; box-shadow: 0 14px 30px -14px rgba(14, 11, 30, 0.5);
  animation: chipIn 0.8s var(--ease) both;
}
.chip-1 { left: 0; bottom: 18%; animation-delay: 0.6s; }
.chip-2 { right: 2%; top: 8%; background: var(--mint); animation-delay: 1.1s; }
.chip-3 { right: 10%; bottom: 6%; background: var(--buzz); animation-delay: 1.6s; }
.blob { position: absolute; border-radius: 50%; filter: blur(40px); opacity: 0.55; z-index: 0; }
.blob-1 { width: 55%; height: 55%; left: -5%; top: 0; background: var(--buzz); animation: drift 14s ease-in-out infinite alternate; }
.blob-2 { width: 50%; height: 50%; right: -5%; bottom: 0; background: var(--pink); animation: drift 18s ease-in-out infinite alternate-reverse; }
.float-a { animation: floatA 7s ease-in-out infinite; }
.float-b { animation: floatB 9s ease-in-out infinite; }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.1fr 1fr; }
}

/* ---------- marquee ---------- */
.marquee { overflow: hidden; background: var(--ink); color: var(--text-on-ink); padding: 12px 0; border-block: 3px solid var(--buzz); }
.marquee-track { display: flex; gap: 28px; width: max-content; animation: marquee 40s linear infinite; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; }
.marquee-track i { color: var(--buzz); font-style: normal; }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  max-width: var(--w); margin: 0 auto; padding: clamp(28px, 5vw, 56px) var(--pad) 0;
}
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.stat .num { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 900; letter-spacing: -0.03em; color: var(--ink); line-height: 1; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.stat p { color: var(--text-2); font-size: 0.95rem; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* ---------- sections ---------- */
section { max-width: var(--w); margin: 0 auto; padding: clamp(48px, 8vw, 104px) var(--pad); }
.section-head { max-width: 62ch; margin-bottom: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 12px; }
.section-head p { color: var(--text-2); font-size: 1.1rem; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 24px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.step .n { font-size: 3.4rem; font-weight: 900; color: var(--buzz); line-height: 1; letter-spacing: -0.05em; }
.step p { color: var(--text-2); }
.step::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--paper-2); z-index: -1; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } .step:nth-child(2) { transform: translateY(18px); } }

.games { background: var(--ink); color: var(--text-on-ink); max-width: none; }
.games > * { max-width: var(--w); margin-inline: auto; }
.games .section-head p { color: var(--muted-on-ink); }
.game-grid { display: grid; gap: 20px; }
.game-card { display: grid; gap: 18px; background: var(--ink-2); border-radius: 28px; padding: 22px; align-items: center; }
.game-card .shot { aspect-ratio: 780 / 1328; max-height: 440px; margin: 0 auto; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -30px #000; }
.game-card .shot img { height: 100%; object-fit: cover; }
.tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--buzz); color: var(--ink); font-weight: 800; font-size: 0.8rem; margin-bottom: 10px; }
.game-copy p:not(.tag) { color: var(--muted-on-ink); margin-top: 10px; }
@media (min-width: 760px) { .game-grid { grid-template-columns: 1fr 1fr; } .game-card { grid-template-columns: 180px 1fr; } .game-card .shot { max-height: none; } }

.mosaic { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.mosaic figure { margin: 0; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.mosaic img { width: 100%; }
.mosaic figcaption { padding: 10px 14px; font-size: 0.9rem; font-weight: 650; color: var(--text-2); }
.mosaic .wide { grid-column: span 2; }
@media (min-width: 760px) { .mosaic { grid-template-columns: repeat(4, 1fr); } .mosaic .wide { grid-column: span 2; } }

.board, .dash { display: grid; gap: 28px; align-items: center; }
.board-copy, .dash-copy { display: flex; flex-direction: column; gap: 16px; }
.board-copy p, .dash-copy p { color: var(--text-2); font-size: 1.05rem; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ticks li::before { content: "✓"; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--mint); color: var(--ink); font-size: 0.8rem; font-weight: 900; margin-inline-end: 10px; }
.tablet { border-radius: 26px; padding: 12px; background: #111; box-shadow: 0 30px 60px -25px rgba(14, 11, 30, 0.6), inset 0 0 0 2px #2a2a2a; }
.tablet img { border-radius: 16px; }
.laptop { border-radius: 16px 16px 6px 6px; padding: 10px 10px 18px; background: #1b1b1f; box-shadow: 0 30px 60px -25px rgba(14, 11, 30, 0.6); position: relative; }
.laptop::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 14%; height: 4px; transform: translateX(-50%); border-radius: 4px; background: #444; }
.laptop img { border-radius: 8px; }
.shot-inline { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); margin-top: 8px; }
@media (min-width: 900px) { .board { grid-template-columns: 1fr 1.2fr; } .dash { grid-template-columns: 1.2fr 1fr; } }

/* ---------- pricing ---------- */
.pricing { display: grid; gap: 24px; align-items: start; }
.price-card { background: var(--ink); color: var(--text-on-ink); border-radius: 28px; padding: clamp(26px, 4vw, 40px); display: flex; flex-direction: column; gap: 18px; position: relative; overflow: hidden; }
.price-card::before { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; right: -80px; top: -80px; background: var(--pink); filter: blur(60px); opacity: 0.5; }
.price-card h2 { font-size: clamp(3rem, 8vw, 5rem); letter-spacing: -0.04em; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; }
.price-card .cur { font-size: 0.4em; vertical-align: top; color: var(--buzz); margin-inline-end: 6px; }
.price-card .per { font-size: 0.32em; font-weight: 600; color: var(--muted-on-ink); letter-spacing: 0; white-space: nowrap; }
.price-sub { color: var(--muted-on-ink); font-size: 1.05rem; }
.included { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.included li::before { content: "✓ "; color: var(--buzz); font-weight: 900; }
.price-card .fine { color: var(--muted-on-ink); }
.compare { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; overflow-x: auto; }
.compare h3 { margin-bottom: 12px; }
.compare table { border-collapse: collapse; width: 100%; font-size: 0.95rem; min-width: 520px; }
.compare th, .compare td { text-align: left; padding: 10px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { color: var(--text-2); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
.compare .win td { background: #fff9d6; font-weight: 650; }
.compare .win td:first-child { color: var(--pink); }
@media (min-width: 900px) { .pricing { grid-template-columns: 1fr 1.15fr; } }

/* ---------- events ---------- */
.ev-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ev { display: grid; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.ev-when { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 750; font-variant-numeric: tabular-nums; }
.ev-main h3 { font-size: 1.05rem; }
.ev-main p { color: var(--text-2); font-size: 0.9rem; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 800; background: var(--paper-2); color: var(--text-2); }
.pill.live { background: var(--mint); color: var(--ink); }
.pill.soon { background: var(--buzz); color: var(--ink); }
.later { margin-top: 16px; color: var(--text-2); font-size: 0.95rem; line-height: 1.7; }
@media (min-width: 760px) { .ev { grid-template-columns: 200px 1fr auto; } }

/* ---------- about ---------- */
.about-grid { display: grid; gap: 14px; }
.about .card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.about .card p { color: var(--text-2); }
.about .card strong { color: var(--text); }
@media (min-width: 760px) { .about-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- faq ---------- */
.faq-group { max-width: 860px; margin-bottom: 28px; }
.faq-group h3 { margin-bottom: 12px; color: var(--pink); font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; }
.faq-list { display: grid; gap: 10px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 18px; }
summary { cursor: pointer; font-weight: 750; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; color: var(--pink); transition: transform 0.25s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 16px; color: var(--text-2); }

/* ---------- final cta, footer ---------- */
.final-cta { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.final-cta p { color: var(--text-2); font-size: 1.1rem; }
.foot { background: var(--ink); color: var(--muted-on-ink); padding: clamp(36px, 6vw, 64px) var(--pad) 28px; }
.foot-grid { max-width: var(--w); margin: 0 auto; display: grid; gap: 28px; }
.foot-grid > div { display: flex; flex-direction: column; gap: 8px; }
.foot-grid a { color: var(--text-on-ink); text-decoration: none; }
.foot-grid a:hover { text-decoration: underline; }
.foot-brand { color: var(--text-on-ink); font-weight: 900; font-size: 1.3rem; }
.foot-brand b { color: var(--pink); }
.foot-brand span { font-weight: 500; font-size: 0.85rem; color: var(--muted-on-ink); margin-inline-start: 8px; }
.foot-h { color: var(--text-on-ink); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; }
.foot .fine { color: var(--muted-on-ink); }
.copy { max-width: var(--w); margin: 28px auto 0; font-size: 0.85rem; }
.copy a { color: inherit; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.3fr 0.7fr 0.8fr 1.4fr; } }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@keyframes floatA { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes floatB { 0%, 100% { transform: rotate(6deg) translateY(0); } 50% { transform: rotate(7deg) translateY(12px); } }
@keyframes chipIn { from { opacity: 0; transform: translateY(14px) scale(0.9); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(8%, 10%); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(46, 230, 166, 0.6); } 70% { box-shadow: 0 0 0 10px rgba(46, 230, 166, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 230, 166, 0); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- RTL (Arabic page) and language link ---------- */
.lang-link { font-weight: 700; text-decoration: none; padding: 8px 10px; border-radius: 999px; color: var(--text-2); white-space: nowrap; }
.lang-link:hover { background: var(--paper-2); color: var(--text); }
.foot-grid .lang-link { padding: 0; color: var(--text-on-ink); }
.compare th, .compare td { text-align: start; }
[dir="rtl"] body, [dir="rtl"] { font-family: system-ui, -apple-system, "Segoe UI", Tahoma, "Noto Naskh Arabic", "Noto Sans Arabic", Arial, sans-serif; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; line-height: 1.25; }
[dir="rtl"] .phone-a { left: auto; right: 6%; }
[dir="rtl"] .phone-b { right: auto; left: 4%; transform: rotate(-6deg); }
[dir="rtl"] .float-b { animation-name: floatBrtl; }
[dir="rtl"] .chip-1 { left: auto; right: 0; }
[dir="rtl"] .chip-2 { right: auto; left: 2%; }
[dir="rtl"] .chip-3 { right: auto; left: 10%; }
[dir="rtl"] .step::after { right: auto; left: -40px; }
[dir="rtl"] .stat .num, [dir="rtl"] .price-card h2, [dir="rtl"] .ev-when time { direction: ltr; unicode-bidi: isolate; display: inline-block; }
[dir="rtl"] .price-card h2 { direction: rtl; }
@keyframes floatBrtl { 0%, 100% { transform: rotate(-6deg) translateY(0); } 50% { transform: rotate(-7deg) translateY(12px); } }
[dir="rtl"] .price-card h2 { font-size: clamp(2.4rem, 6vw, 4rem); flex-wrap: nowrap; gap: 8px; }
[dir="rtl"] .price-card .cur { font-size: 0.5em; }
