/* ============================================================================
   Decoy Reels "coming soon" page (/decoy-reels/).
   SELF-CONTAINED on purpose: it does not load /style.css or anything under
   /reels/, so no other file on the site can change how it looks. The only
   shared files it uses are /fonts/*.woff2 and /logo.webp.
   Same look as the Decoy Reels landing: dark, brand red, glass bezel cards.
   Dark only, to match the main site.
   ========================================================================== */

@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/tajawal-v11-arabic-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/tajawal-v11-arabic-700.woff2') format('woff2');
}

:root {
  --bg: #1a1a1f;
  --accent: #c41e1e;
  --accent-ink: #ff6b63;
  --accent-border: #c41e1e44;
  --lit: rgba(196, 30, 30, 0.18);
  --lit-edge: rgba(255, 107, 99, 0.55);
  --text: #cccccc;
  --text-soft: #a9a9b3;
  --text-2: #888888;
  --glass-border: rgba(255, 255, 255, 0.14);
  --hair: rgba(255, 255, 255, 0.09);
  --maxw: 1120px;
  --gutter: 16px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
html[lang="ar"] { --font: 'Tajawal', system-ui, sans-serif; }
@media (min-width: 768px) { :root { --gutter: 24px; } }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3 { color: #fff; font-weight: 700; line-height: 1.25; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 6px; }

.icon { width: 1em; height: 1em; fill: currentColor; flex: none; vertical-align: -0.125em; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Backdrop glow: red top corner, cyan bottom corner, fixed behind everything. */
.glow {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background: var(--bg);
}
.glow::before, .glow::after {
  content: ""; position: absolute; width: 80vmax; height: 80vmax; border-radius: 50%; filter: blur(60px);
}
.glow::before { top: -36vmax; right: -30vmax; background: radial-gradient(circle, rgba(196, 30, 30, 0.42), rgba(196, 30, 30, 0) 62%); }
.glow::after { bottom: -38vmax; left: -32vmax; background: radial-gradient(circle, rgba(40, 140, 200, 0.30), rgba(40, 140, 200, 0) 62%); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---- Topbar ---------------------------------------------------------------- */
.bar { border-bottom: 1px solid var(--hair); background: rgba(19, 19, 24, 0.6); backdrop-filter: blur(12px); }
.bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 1.1rem; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.lang { display: inline-flex; border: 1px solid var(--glass-border); border-radius: 9px; overflow: hidden; font-size: .9rem; }
.lang a { padding: 7px 12px; color: var(--text-2); font-weight: 600; }
.lang a:hover { color: #fff; }
.lang a.is-active { background: var(--accent); color: #fff; }

/* ---- Hero ------------------------------------------------------------------
   Featured image first (2026-11-14). Phone: a full-width hero image at the
   top (owner: "make it bigger"), then the "coming soon" line, the h1, the
   pitch and the form. Desktop: text and form in one column, the image in the
   other. The image box is fixed (width/height + aspect-ratio), so nothing moves. */
.main { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.hero {
  display: grid; align-items: center;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "media" "top" "body";
  gap: 18px; padding-block: 18px 32px;
}
.hero__media { grid-area: media; margin: 0; width: 100%; max-width: 480px; justify-self: center; }
.hero__media img {
  display: block; width: 100%; height: auto; aspect-ratio: 1 / 1;
  border-radius: 24px; background: #c41e1e;
  box-shadow: 0 24px 60px -26px rgba(232, 39, 61, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.hero__top { grid-area: top; min-width: 0; }
.hero__top .eyebrow { margin: 12px 0 0; }
.hero__body { grid-area: body; min-width: 0; }
/* Phone: the form comes straight after the pitch, so the email field is on
   screen at load; the two facts and the 60fps note move under the form. */
@media (max-width: 959px) {
  .hero__body { display: flex; flex-direction: column; }
  .hero__body > .facts, .hero__body > .note, .hero__body > .makers { order: 2; }
  .hero__body > .facts { margin-top: 18px; }
  .hero__body > .signup { margin-top: 18px; }
}
@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    grid-template-areas: "top media" "body media";
    align-items: start; gap: 0 64px; padding-block: 56px 40px;
  }
  .hero__media { align-self: center; max-width: none; }
  .hero__media img { border-radius: 36px; box-shadow: 0 50px 110px -40px rgba(232, 39, 61, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1); }
  .hero__top .eyebrow { margin: 18px 0 10px; }
}

/* The feature card sits under the hero, full width; two columns on a desktop. */
.feats-wrap { padding-bottom: 48px; }
@media (min-width: 960px) {
  .feats { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .feat:nth-child(2) { border-top: 0; }
}

.soon {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 14px; border-radius: 999px;
  background: var(--lit); border: 1px solid var(--lit-edge);
  color: #fff; font-weight: 700; font-size: .98rem; letter-spacing: .02em;
}
html[lang="ar"] .soon { padding: 7px 14px 7px 16px; letter-spacing: 0; }
.soon__dot {
  width: 9px; height: 9px; border-radius: 999px; background: var(--accent-ink);
  box-shadow: 0 0 0 0 rgba(255, 107, 99, 0.55);
}
@media (prefers-reduced-motion: no-preference) {
  .soon__dot { animation: soon-pulse 1.8s var(--ease) infinite; }
}
@keyframes soon-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 107, 99, 0.55); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(255, 107, 99, 0); }
}

.eyebrow { display: block; margin: 18px 0 10px; color: var(--accent-ink); font-weight: 700; font-size: .86rem; letter-spacing: .1em; text-transform: uppercase; }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: .95rem; }

.title {
  font-size: clamp(2rem, 7.4vw, 3.2rem);
  line-height: 1.14; letter-spacing: -0.015em;
  margin-bottom: 16px; text-wrap: balance;
}
html[lang="ar"] .title { line-height: 1.36; letter-spacing: 0; }
.title .hl { color: var(--accent-ink); white-space: nowrap; }

.sub { color: var(--text-soft); font-size: 1.12rem; max-width: 50ch; }

.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.fact {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: 12px;
  border: 1px solid var(--glass-border); background: rgba(255, 255, 255, 0.04);
  color: var(--text); font-weight: 600; font-size: .97rem;
}
.fact .icon { color: var(--text-soft); }
.fact--price { border-color: rgba(45, 107, 45, 0.55); background: rgba(45, 107, 45, 0.14); color: #fff; }
.fact--price strong { font-variant-numeric: tabular-nums; }
.fact--price .icon { color: #4caf50; }

.note { margin-top: 14px; color: var(--text-2); font-size: .93rem; }
.makers { margin-top: 18px; color: var(--text-soft); font-size: .98rem; }
.makers a { color: #fff; font-weight: 700; border-bottom: 1px solid var(--accent-ink); padding-bottom: 1px; transition: color .3s var(--ease); }
.makers a:hover { color: var(--accent-ink); }

/* ---- Feature card (outer tray + inner plate) ------------------------------- */
.bezel {
  padding: 6px; border-radius: 24px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
}
.bezel__core {
  border-radius: 18px; padding: 22px 20px;
  background: linear-gradient(180deg, #23232c, #1b1b22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
@media (min-width: 768px) { .bezel__core { padding: 28px 26px; } }
.card__head { color: var(--text-2); font-size: .9rem; font-weight: 700; margin-bottom: 6px; }
.feats { display: grid; }
.feat { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding-block: 16px; border-top: 1px solid var(--hair); }
.feat:first-child { border-top: 0; }
.feat__ico {
  width: 42px; height: 42px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(196, 30, 30, 0.12); border: 1px solid var(--accent-border); color: var(--accent-ink);
  font-size: 1.15rem;
}
.feat__ico--txt { font-size: .95rem; font-weight: 700; unicode-bidi: isolate; white-space: nowrap; }
.feat h2 { font-size: 1.08rem; margin-bottom: 3px; }
.feat p { color: var(--text-soft); font-size: .97rem; line-height: 1.6; }

@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .9s var(--ease) both; }
  .rise--2 { animation-delay: .12s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---- Footer ---------------------------------------------------------------- */
.foot { border-top: 1px solid var(--hair); padding-block: 22px 26px; font-size: .9rem; color: var(--text-2); }
.foot__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.foot__links, .foot__social { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.foot__links a:hover { color: #fff; }
.foot__social a {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--glass-border);
  color: var(--text); font-weight: 600;
}
.foot__social a:hover { border-color: var(--lit-edge); color: #fff; }
.foot__note { margin-top: 14px; max-width: 70ch; }
.foot__copy { margin-top: 6px; color: #6d6d75; }

/* ---- Reels waitlist (reels-waitlist.js, server/decoy-reels-waitlist.php) ---
   Its own list, never the Decoy 60FPS one, and its own class names: nothing
   here is shared with /waitlist.css. If this file fails to load the form is
   plain but still works. */
.signup {
  margin-top: 22px; padding: 18px 18px 12px; border-radius: 18px; max-width: 34rem;
  border: 1px solid var(--accent-border);
  background: linear-gradient(180deg, rgba(196, 30, 30, 0.09), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
/* [hidden] must win over the display rules below, or the form and the done
   line would both show after a signup. */
.signup [hidden] { display: none !important; }
.signup__title { font-size: 1.14rem; margin-bottom: 4px; }
/* The line under the title (2026-11-14). Its own element: the consent
   paragraph below it stays word for word what the server has on file. */
.signup__lead { color: #fff; font-size: 1rem; font-weight: 600; line-height: 1.55; margin-bottom: 6px; }
.signup__text { color: var(--text-soft); font-size: .97rem; line-height: 1.6; }
.signup__form { position: relative; margin-top: 14px; }
.signup__label { display: block; margin-bottom: 6px; color: #fff; font-weight: 700; font-size: .92rem; }
/* One line when there is room; on a very narrow phone the button drops to its
   own full-width line instead of squeezing the field. */
.signup__row { display: flex; flex-wrap: wrap; gap: 8px; }
.signup__input {
  flex: 999 1 12rem; min-width: 0;
  padding: 11px 14px; border-radius: 12px;
  border: 1px solid var(--glass-border); background: rgba(0, 0, 0, 0.3);
  color: #fff; font: inherit; line-height: 1.4;
  /* Under 16px, iOS zooms the page in when the field is focused. */
  font-size: 16px;
  text-align: left;
  transition: border-color .3s var(--ease);
}
.signup__input::placeholder { color: #6d6d75; }
.signup__input:focus { border-color: var(--lit-edge); }
.signup__btn {
  flex: 1 0 auto;
  padding: 11px 20px; border-radius: 12px; border: 0; cursor: pointer;
  background: var(--accent); color: #fff;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.4;
  box-shadow: 0 10px 28px -10px rgba(196, 30, 30, 0.8);
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.signup__btn:hover { background: #d92b2b; }
.signup__btn:active { transform: translateY(1px); }
.signup__btn:disabled { opacity: .7; cursor: wait; transform: none; }
.signup__note { min-height: 1.5em; margin-top: 8px; color: var(--accent-ink); font-size: .92rem; font-weight: 700; line-height: 1.5; }
.signup__done {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 14px 0 6px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid rgba(45, 107, 45, 0.55); background: rgba(45, 107, 45, 0.14);
  color: #fff; font-weight: 700; font-size: .98rem; line-height: 1.6;
}
.signup__done .icon { color: #4caf50; margin-top: .3em; }
/* The privacy link under the form. Shown in every state, so the policy stays one
   tap away after signing up too. */
.signup__fine { margin-top: 4px; color: var(--text-2); font-size: .88rem; line-height: 1.6; }
.signup__fine a { color: var(--text-soft); text-decoration: underline; text-underline-offset: 3px; }
.signup__fine a:hover { color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .signup__btn, .signup__input { transition: none; }
  .signup__btn:active { transform: none; }
}
