/* Winasa landing v2 — light "Retail Heat", straight from the app's design
   system: warm off-white ground, white cards, heat-gradient energy, gold
   money moments, Oswald display. */

:root {
  --bg: #f3f1f2;            /* app campaignsBackground */
  --surface: #ffffff;
  --ink: #1a171b;           /* app textPrimary */
  --muted: #6f6a72;
  --red: #e8112d;
  --pink: #ff3d77;
  --coral: #ff6a4d;
  --gold: #f0b32b;
  --gold-tint: #fdf3dc;
  --gold-ink: #8a6410;
  --heat: linear-gradient(120deg, #e8112d, #ff3d77 55%, #ff6a4d);
  --accent-glow: rgba(232, 17, 45, 0.28);
  --border: rgba(26, 23, 27, 0.09);
  --radius: 18px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --section-pad: clamp(88px, 12vh, 150px);
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, sans-serif;
  --shadow: 0 10px 34px rgba(26, 23, 27, 0.07);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0425rem;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .wordmark, .stat-num, .draw-amount, .footer-big, .p-price,
.feat-amount, .slim-amount, .ticket-amount {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 600;
}
h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.03; letter-spacing: 0.01em; margin-bottom: clamp(1.8rem, 4.5vh, 3.2rem); text-wrap: balance; }

.label {
  text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.72rem; font-weight: 700;
  color: var(--red); margin-bottom: 1.1rem;
}
.ar { font-family: "IBM Plex Sans Arabic", var(--font-body); }

.heat-text {
  background: var(--heat);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem clamp(1.5rem, 5vw, 4rem);
  transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
}
.nav.scrolled {
  background: rgba(243, 241, 242, 0.8);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
  padding-top: 0.8rem; padding-bottom: 0.8rem;
}
.wordmark { font-size: 1.35rem; letter-spacing: 0.14em; color: var(--ink); text-decoration: none; }
.wordmark.small { font-size: 1.1rem; }
.nav-links { display: flex; gap: 2.2rem; }
.link { position: relative; text-decoration: none; color: var(--muted); font-size: 0.92rem; font-weight: 600; transition: color 0.3s; }
.link:hover { color: var(--ink); }
.link::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 100%;
  background: var(--heat); transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}
.link:hover::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 820px) { .nav-links { display: none; } }

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-block; padding: 0.95rem 1.9rem; border-radius: 999px; font-weight: 700;
  background: var(--heat); color: #fff; border: none; cursor: pointer; text-decoration: none;
  font-size: 0.95rem;
  box-shadow: 0 10px 26px var(--accent-glow);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 38px var(--accent-glow); }
.nav-cta { padding: 0.6rem 1.3rem; font-size: 0.85rem; }
.btn-ghost {
  display: inline-block; padding: 0.95rem 1.9rem; border-radius: 999px; font-weight: 600;
  background: transparent; color: var(--ink); border: 1.5px solid var(--ink); text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.3s, color 0.3s;
}
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-primary:focus-visible, .btn-ghost:focus-visible, .link:focus-visible, summary:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh; display: flex; align-items: center; position: relative;
  padding: 7rem clamp(1.5rem, 6vw, 6rem) 3.5rem;
  background:
    radial-gradient(52% 62% at 86% 8%, rgba(255, 61, 119, 0.14), transparent 70%),
    radial-gradient(40% 52% at 4% 92%, rgba(240, 179, 43, 0.16), transparent 70%),
    var(--bg);
}
.hero-inner {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center; max-width: 1280px; margin: 0 auto; width: 100%;
}
@media (max-width: 940px) { .hero-inner { grid-template-columns: 1fr; } .hero { padding-top: 6rem; } }
.headline {
  font-size: clamp(3.1rem, 8.4vw, 7.2rem);
  line-height: 0.98; letter-spacing: 0.005em; font-weight: 700;
  margin-bottom: 1.5rem;
}
.hl-mask { display: block; overflow: hidden; padding-bottom: 0.09em; margin-bottom: -0.09em; }
.hl-line { display: inline-block; transform: translateY(112%); animation: rise 1s var(--ease-out) forwards; }
.hl-mask:nth-child(2) .hl-line { animation-delay: 0.12s; }
@keyframes rise { to { transform: translateY(0); } }
.hl-fade { opacity: 0; animation: fadeup 0.9s var(--ease-out) forwards; }
.f1 { animation-delay: 0.3s; }
.f2 { animation-delay: 0.65s; }
.f3 { animation-delay: 0.8s; }
@keyframes fadeup { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.label .hl-fade { display: inline-block; }
.hero .sub { max-width: 520px; color: var(--muted); margin-bottom: 2.1rem; font-size: 1.08rem; }
.cta-row { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Phone mock (the app IS the artwork) ---------- */
.hero-phone { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: min(320px, 82vw); aspect-ratio: 0.49;
  background: var(--bg);
  border: 10px solid var(--ink); border-radius: 46px;
  box-shadow: 0 34px 70px rgba(26, 23, 27, 0.22);
  transform: rotate(-5deg);
  padding: 1.1rem 0.9rem 0.9rem;
  display: flex; flex-direction: column; gap: 0.7rem;
  z-index: 2;
}
.phone-glow {
  position: absolute; inset: 8% -6% -4% -6%; z-index: 1; border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 55%, rgba(232, 17, 45, 0.18), transparent 70%);
  filter: blur(6px);
}
.phone-notch { width: 88px; height: 22px; background: var(--ink); border-radius: 999px; margin: 0 auto 0.2rem; }
.phone-head { display: flex; justify-content: space-between; align-items: center; padding: 0 0.2rem; }
.phone-wm { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.12em; font-size: 0.95rem; }
.dot-badge { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.win-banner {
  display: flex; align-items: center; gap: 0.55rem;
  background: linear-gradient(120deg, #c9920f, var(--gold) 60%, #f7d474);
  border-radius: 14px; padding: 0.65rem 0.75rem; color: #fff;
  font-size: 0.68rem; line-height: 1.25;
  box-shadow: 0 6px 18px rgba(240, 179, 43, 0.45);
  animation: bannerpulse 2.6s ease-in-out infinite;
}
@keyframes bannerpulse { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
.win-banner strong { font-size: 0.74rem; }
.win-banner em { font-style: normal; opacity: 0.85; }
.win-gift { font-size: 1rem; }
.win-arrow { margin-inline-start: auto; font-size: 1.1rem; opacity: 0.9; }
/* Real prize photography behind a scrim — the campaign card as it looks in
   the app when a poster-style campaign is featured. */
.feat-card {
  position: relative; overflow: hidden;
  background: var(--ink); border-radius: 18px; padding: 0.9rem 0.85rem 0.85rem; color: #fff;
  display: flex; flex-direction: column; gap: 0.22rem; flex: 1;
  justify-content: flex-end;
  box-shadow: 0 10px 24px rgba(26, 23, 27, 0.32);
}
.feat-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feat-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top,
    rgba(12, 10, 13, 0.94) 14%, rgba(12, 10, 13, 0.45) 52%, rgba(12, 10, 13, 0.08));
}
.feat-card > :not(img) { position: relative; z-index: 1; }
.feat-chip { align-self: flex-start; font-size: 0.55rem; font-weight: 700; letter-spacing: 0.14em; background: var(--heat); border-radius: 999px; padding: 0.25rem 0.55rem; margin-bottom: auto; }
.feat-title { font-family: var(--font-display); text-transform: uppercase; font-size: 1.08rem; font-weight: 600; line-height: 1.05; letter-spacing: 0.02em; }
.feat-row { display: flex; justify-content: space-between; align-items: center; margin-top: 0.45rem; }
.feat-ends { font-size: 0.6rem; background: rgba(255, 255, 255, 0.18); backdrop-filter: blur(6px); padding: 0.3rem 0.55rem; border-radius: 999px; font-weight: 600; }
.feat-cta { font-size: 0.66rem; font-weight: 700; background: #fff; color: var(--red); padding: 0.38rem 0.7rem; border-radius: 999px; }
.slim-card {
  background: var(--heat); border-radius: 16px; padding: 0.75rem 0.85rem; color: #fff;
  display: flex; justify-content: space-between; align-items: center;
}
.slim-amount { font-size: 1.25rem; line-height: 1.05; }
.slim-title { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.06em; opacity: 0.95; }
.slim-badge { font-size: 0.56rem; font-weight: 800; background: var(--gold); color: #5c4207; padding: 0.3rem 0.5rem; border-radius: 999px; }
.phone-nav { display: flex; justify-content: space-around; align-items: center; padding: 0.55rem 0.3rem 0.15rem; }
.phone-nav span { width: 18px; height: 18px; border-radius: 6px; background: rgba(26,23,27,0.16); }
.phone-nav .pn-portal { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); }


/* ---------- Sections ---------- */
.section { padding: var(--section-pad) clamp(1.5rem, 6vw, 6rem); max-width: 1280px; margin: 0 auto; position: relative; }

/* ---------- Cards ---------- */
.card {
  position: relative; padding: 2rem; border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
  overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(26, 23, 27, 0.12); }

/* ---------- Live draws ---------- */
.draws-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: clamp(2.8rem, 6vh, 4.5rem); }
@media (max-width: 900px) { .draws-grid { grid-template-columns: 1fr; } }
.draw-card { min-height: 235px; display: flex; flex-direction: column; justify-content: flex-end; }
.draw-card.heat { background: var(--heat); border-color: transparent; box-shadow: 0 14px 38px rgba(232, 17, 45, 0.25); }
.draw-kicker { font-size: 0.68rem; letter-spacing: 0.22em; font-weight: 700; color: var(--muted); margin-bottom: auto; text-transform: uppercase; }
.draw-card.heat .draw-kicker { color: rgba(255,255,255,0.8); }
.draw-amount { font-size: clamp(2.5rem, 4.5vw, 3.5rem); line-height: 1; color: #fff; }
.draw-title { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.55rem, 2.6vw, 2.05rem); line-height: 1.05; font-weight: 600; }
.draw-meta { font-size: 0.85rem; color: var(--muted); margin-top: 0.6rem; }
.draw-card.heat .draw-meta { color: rgba(255,255,255,0.75); }

/* Photo card — real prize imagery behind a scrim. */
.draw-card.photo { border-color: transparent; min-height: 300px; }
.draw-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.draw-card.photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top,
    rgba(12, 10, 13, 0.95) 20%, rgba(12, 10, 13, 0.5) 58%, rgba(12, 10, 13, 0.12));
}
.draw-card.photo > :not(img) { position: relative; z-index: 1; }
.draw-card.photo .draw-kicker { color: rgba(255, 255, 255, 0.8); }
.draw-card.photo .draw-title { color: #fff; }
.draw-card.photo .draw-meta { color: rgba(255, 255, 255, 0.78); }
.draw-card.photo 
.stats-row { display: flex; gap: clamp(2rem, 6vw, 5rem); flex-wrap: wrap; }
.stat-num { font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; font-variant-numeric: tabular-nums;
  background: var(--heat); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-cap { font-size: 0.85rem; color: var(--muted); margin-top: 0.4rem; }

/* ---------- Store rail ---------- */
.store-sub { color: var(--muted); max-width: 560px; margin-bottom: clamp(2.2rem, 5vh, 3.4rem); }
.rail {
  display: flex; gap: 1.1rem; overflow-x: auto; padding: 0.5rem 0.2rem 1.4rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: rgba(26,23,27,0.25) transparent;
}
.product-card {
  width: clamp(240px, 26vw, 300px); flex-shrink: 0; padding: 1.4rem; scroll-snap-align: start;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(26,23,27,0.12); }
.p-art { aspect-ratio: 1; border-radius: 12px; overflow: hidden;
  background: var(--bg); margin-bottom: 1.2rem; }
.p-art img { width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s var(--ease-out); }
.product-card:hover .p-art img { transform: scale(1.04); }
.p-meta h3 { font-size: 1.02rem; letter-spacing: 0.05em; }
.p-price { color: var(--gold-ink); font-size: 1.05rem; margin: 0.22rem 0 0.35rem; letter-spacing: 0.04em; }
.p-cap { font-size: 0.8rem; color: var(--muted); }
.more-card { display: flex; align-items: center; justify-content: center; text-align: center; background: var(--bg); box-shadow: none; }
.more-card h3 { line-height: 1.4; }
.p-meta.center { display: flex; flex-direction: column; gap: 0.6rem; align-items: center; }

/* ---------- Winner moment (gold band) ---------- */
.gold-band { background: linear-gradient(160deg, #fdf6e4, var(--gold-tint) 55%, #fbedc9); box-shadow: 0 1px 0 var(--border), 0 -1px 0 var(--border); }
.gold-inner {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2.4rem, 6vw, 5rem); align-items: center;
  max-width: 1280px; margin: 0 auto; padding: var(--section-pad) clamp(1.5rem, 6vw, 6rem);
}
@media (max-width: 900px) { .gold-inner { grid-template-columns: 1fr; } }
.gold-band .label { color: var(--gold-ink); }
.gold-p { color: #6b5a33; max-width: 520px; }
.ticket {
  position: relative; width: min(360px, 100%); aspect-ratio: 1.72; margin: 0 auto;
  background: linear-gradient(130deg, #c9920f, var(--gold) 55%, #f7d474);
  border-radius: 20px; padding: 1.6rem;
  display: flex; flex-direction: column; justify-content: flex-end;
  box-shadow: 0 22px 50px rgba(190, 140, 20, 0.4);
  color: #fff; transform: rotate(-3deg);
}
.ticket-notch { position: absolute; top: 50%; width: 30px; height: 30px; border-radius: 50%; background: var(--gold-tint); transform: translateY(-50%); }
.tn-l { left: -15px; } .tn-r { right: -15px; }
.ticket-label { font-size: 0.62rem; letter-spacing: 0.26em; font-weight: 700; opacity: 0.9; }
.ticket-gift { flex: 1; display: flex; align-items: center; justify-content: center; padding: 0.4rem 0; }
.ticket-gift svg { width: clamp(72px, 9vw, 96px); height: auto; animation: giftfloat 2.8s ease-in-out infinite; }
.gl { fill: none; stroke: #fff; stroke-width: 5; stroke-linejoin: round; stroke-linecap: round; }
@keyframes giftfloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  40% { transform: translateY(-5px) rotate(-2deg); }
  60% { transform: translateY(-5px) rotate(2deg); }
}
.ticket-shine {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; overflow: hidden;
}
.ticket-shine::after {
  content: ""; position: absolute; top: -30%; bottom: -30%; width: 34%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-18deg);
  animation: shine 3.4s ease-in-out infinite;
  left: -50%;
}
@keyframes shine { 0% { left: -50%; } 55%, 100% { left: 130%; } }
.ticket-hint { font-size: 0.8rem; opacity: 0.9; margin-top: 0.2rem; font-style: italic; }

/* ---------- Steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 1020px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .steps-grid { grid-template-columns: 1fr; } }
.step-num {
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; line-height: 1;
  background: var(--heat); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 1.2rem;
}
.step-card h3 { font-size: 1.13rem; letter-spacing: 0.04em; margin-bottom: 0.6rem; }
.step-card p { font-size: 0.92rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 0.8rem; max-width: 780px; }
.faq { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.3rem 1.6rem; font-weight: 700; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-x { font-size: 1.35rem; color: var(--red); transition: transform 0.4s var(--ease-out); font-weight: 400; }
.faq[open] .faq-x { transform: rotate(45deg); }
.faq p { padding: 0 1.6rem 1.4rem; color: var(--muted); font-size: 0.95rem; max-width: 640px; }

/* ---------- Footer (ink, like Store mode) ---------- */
.footer { background: var(--ink); color: #f6f4f5; position: relative; overflow: hidden; }
.footer::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(42% 55% at 88% 100%, rgba(232, 17, 45, 0.25), transparent 70%),
    radial-gradient(30% 45% at 6% 90%, rgba(240, 179, 43, 0.15), transparent 70%);
}
.footer-inner { position: relative; z-index: 2; padding: var(--section-pad) clamp(1.5rem, 6vw, 6rem) 2rem; max-width: 1280px; margin: 0 auto; text-align: center; }
.footer-label { color: var(--gold); }
.footer-big {
  font-size: clamp(4.5rem, 16vw, 13rem); line-height: 0.95; font-weight: 700;
  background: var(--heat); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 2.4rem;
}
.badge-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: clamp(3.6rem, 8vh, 6rem); }
.store-badge { padding: 0.9rem 1.7rem; font-weight: 600; font-size: 0.95rem; color: #fff;
  border: 1px solid rgba(255,255,255,0.25); border-radius: 14px; }
.footer .wordmark { color: #fff; }
.footer-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.14); padding-top: 1.6rem; text-align: left;
}
.footer-legal { font-size: 0.78rem; color: rgba(246,244,245,0.55); max-width: 640px; }

/* ---------- Reveal states (JS adds .js to <html>; content visible without JS) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(44px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-delay="1"] { transition-delay: 0.1s; }
.js [data-delay="2"] { transition-delay: 0.2s; }
.js [data-delay="3"] { transition-delay: 0.3s; }
.js [data-delay="4"] { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .win-banner, .ticket-gift svg, .ticket-shine::after { animation: none; }
  .hl-line { transform: none; animation: none; }
  .hl-fade { opacity: 1; animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}
