/* T-5854 — GTA VI raffle: the flagship banner (home/pricing/account) and the
   /raffle.html rules page. Site tokens only (var(--iri) is the house
   iridescent gradient already used elsewhere — see styles.css :root). The
   night-city stage is our own drawn silhouette (CSS gradients + simple SVG
   shapes), never an imitation of the game's own character art — the ONLY
   piece of Grand Theft Auto VI artwork on the page is the real, unmodified
   official cover photo sitting inside the frame (landing/raffle-assets/,
   sourced from Rockstar's own CDN — see raffle/RULES-CONTENT.md). */

.raffle-stage{position:relative;overflow:hidden;width:100%;max-width:1040px;margin:36px auto 0;
  padding:0;border:1px solid var(--line);border-radius:22px;
  background:linear-gradient(180deg,#0a0714 0%,#180a2e 42%,#341034 68%,#5a1a3a 100%)}
.raffle-stage[hidden]{display:none}

/* Horizon glow + skyline silhouette, pure CSS, behind everything. */
.raffle-skyline{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.raffle-sun{position:absolute;left:50%;bottom:28%;width:420px;height:420px;border-radius:50%;
  transform:translateX(-50%);
  background:radial-gradient(circle,rgba(245,158,11,.55) 0%,rgba(236,72,153,.35) 40%,rgba(91,134,255,0) 72%);
  filter:blur(2px)}
.raffle-buildings{position:absolute;left:0;right:0;bottom:0;height:46%;
  background-image:
    linear-gradient(0deg,rgba(10,7,20,.95),rgba(10,7,20,.95)),
    repeating-linear-gradient(90deg,#1a1230 0 60px,#241640 60px 96px,#160f26 96px 150px,#20142e 150px 210px);
  -webkit-mask-image:linear-gradient(0deg,#000 55%,transparent 100%);mask-image:linear-gradient(0deg,#000 55%,transparent 100%);
  opacity:.9}
.raffle-buildings::before{content:"";position:absolute;inset:0;
  background-image:radial-gradient(circle,#ffd98e 1px,transparent 1.6px);
  background-size:14px 22px;background-position:4px 10px;opacity:.18;mix-blend-mode:screen}
.raffle-grid{position:absolute;left:0;right:0;bottom:0;height:34%;opacity:.5;
  background-image:linear-gradient(rgba(122,162,255,.35) 1px,transparent 1px),linear-gradient(90deg,rgba(122,162,255,.35) 1px,transparent 1px);
  background-size:42px 28px;
  -webkit-mask-image:linear-gradient(0deg,#000 0%,transparent 95%);mask-image:linear-gradient(0deg,#000 0%,transparent 95%);
  transform:perspective(260px) rotateX(58deg);transform-origin:bottom}
.raffle-palm{position:absolute;bottom:2%;width:120px;height:170px;opacity:.85;filter:drop-shadow(0 0 10px rgba(236,72,153,.25))}
.raffle-palm.p1{left:-10px}
.raffle-palm.p2{right:-14px;transform:scaleX(-1)}

/* Slow horizon drift — purely decorative, dropped for reduced motion. */
@keyframes raffle-drift{0%{opacity:.75}50%{opacity:1}100%{opacity:.75}}
.raffle-sun{animation:raffle-drift 7s ease-in-out infinite}
@media (prefers-reduced-motion:reduce){.raffle-sun{animation:none;opacity:.9}}

.raffle-content{position:relative;z-index:2;display:grid;grid-template-columns:minmax(220px,340px) 1fr;gap:28px 40px;
  align-items:center;padding:40px 36px}

.raffle-art{position:relative;border-radius:16px;overflow:hidden;
  box-shadow:0 0 0 1px rgba(255,255,255,.08),0 24px 60px -16px rgba(0,0,0,.6),0 0 46px -6px rgba(236,72,153,.35)}
.raffle-art img{display:block;width:100%;height:auto}
.raffle-art::after{content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;
  background:var(--iri);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;opacity:.8;pointer-events:none}

.raffle-main{min-width:0}
.raffle-kicker{display:inline-flex;align-items:center;gap:8px;margin:0 0 10px;padding:5px 12px;border-radius:999px;
  background:rgba(255,255,255,.08);color:#f3e9ff;font-size:11.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.raffle-kicker-dot{width:7px;height:7px;border-radius:50%;background:#f59e0b;box-shadow:0 0 0 3px rgba(245,158,11,.25)}
.raffle-main h2{margin:0 0 10px;font-family:var(--font-display,"Fraunces",serif);font-weight:600;
  font-size:clamp(26px,3.4vw,38px);line-height:1.08;letter-spacing:-.02em;color:#fff;text-wrap:balance}
.raffle-main h2 .raffle-grad{background:var(--iri);-webkit-background-clip:text;background-clip:text;color:transparent}
.raffle-sub{margin:0 0 20px;color:#d8cdea;font-size:15.5px;line-height:1.6;max-width:46ch}
.raffle-sub b{color:#fff}

.raffle-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px 20px}
.raffle-cta{display:inline-flex;align-items:center;gap:8px;padding:13px 22px;border-radius:10px;border:0;
  background:#fff;color:#0a0714;font-size:15px;font-weight:700;text-decoration:none;white-space:nowrap;
  touch-action:manipulation;min-height:44px;box-sizing:border-box}
.raffle-cta:focus-visible{outline:2px solid #fff;outline-offset:3px}
.raffle-entries{display:inline-flex;align-items:center;gap:8px;color:#f3e9ff;font-size:14px}
.raffle-entries[hidden]{display:none}
.raffle-entries b{font-family:var(--font-display,"Fraunces",serif);font-size:18px;font-weight:600;
  font-variant-numeric:tabular-nums}

/* Countdown — same visual language as the first-offer clock (.fo-*), dark variant. */
.raffle-clock{margin:22px 0 0}
.raffle-clock[hidden]{display:none}
.raffle-clock-label{display:flex;align-items:center;gap:8px;margin:0 0 9px;color:#c8bcdd;font-size:11.5px;
  font-weight:600;letter-spacing:.09em;text-transform:uppercase}
.raffle-clock-units{display:flex;align-items:flex-start;gap:6px}
.rf-unit{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:58px;padding:10px 6px 9px;
  border-radius:12px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1)}
.rf-num{font-family:var(--font-display,"Fraunces",serif);font-weight:600;font-size:26px;line-height:1;letter-spacing:-.02em;
  color:#fff;font-variant-numeric:tabular-nums lining-nums;min-width:2ch;text-align:center}
.rf-lab{font-size:10px;font-weight:600;letter-spacing:.09em;text-transform:uppercase;color:#b4a8c8}
.rf-sep{align-self:center;margin-top:-14px;color:#b4a8c8;font-family:var(--font-display,"Fraunces",serif);font-size:19px}
.raffle-ended-note{margin:16px 0 0;padding:12px 14px;border-radius:10px;background:rgba(255,255,255,.06);
  color:#d8cdea;font-size:13.5px;line-height:1.5}

.raffle-legal{margin:18px 0 0;color:#a89bbe;font-size:11.5px;line-height:1.6;max-width:56ch}
.raffle-legal a{color:#c8bcdd}

@media (max-width:820px){
  .raffle-content{grid-template-columns:1fr;padding:30px 22px}
  .raffle-art{max-width:300px;margin:0 auto}
}
@media (max-width:420px){
  .rf-unit{min-width:0;flex:1 1 0;padding:9px 4px 7px}
  .rf-num{font-size:22px}
  .rf-sep{font-size:16px;margin-top:-12px}
}

/* Nav/footer teaser chip pointing at the banner, same idea as .fo-teaser. */
.raffle-teaser{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;border-radius:999px;
  background:var(--iri);color:#fff;font-size:12.5px;font-weight:700;text-decoration:none;white-space:nowrap}
.raffle-teaser[hidden]{display:none}

/* --- /raffle.html rules page --- */
.raffle-rules{max-width:720px;margin:0 auto;padding:0 20px 80px}
.raffle-rules h1{font-family:var(--font-display,"Fraunces",serif);font-weight:600;font-size:clamp(28px,4vw,40px);
  letter-spacing:-.02em;color:var(--ink);margin:0 0 6px}
.raffle-rules .raffle-rules-status{color:var(--mut);font-size:14px;margin:0 0 30px}
.raffle-rules h2{font-family:var(--font-display,"Fraunces",serif);font-weight:600;font-size:21px;color:var(--ink);
  margin:34px 0 10px}
.raffle-rules h3{font-size:15px;font-weight:700;color:var(--ink);margin:22px 0 8px}
.raffle-rules p,.raffle-rules li{color:var(--mut);font-size:14.5px;line-height:1.65}
.raffle-rules ol,.raffle-rules ul{padding-left:22px}
.raffle-free-entry{margin:20px 0 0;padding:22px;border:1px solid var(--line);border-radius:14px;
  background:color-mix(in srgb,var(--card) 82%,transparent);scroll-margin-top:84px}
.raffle-free-entry form{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.raffle-free-entry input[type="email"]{flex:1;min-width:200px;min-height:46px;padding:10px 14px;border:1px solid var(--line);
  border-radius:8px;background:var(--bg);color:var(--ink);font:inherit;font-size:15px}
.raffle-free-entry select{min-width:170px;min-height:46px;padding:10px 12px;border:1px solid var(--line);
  border-radius:8px;background:var(--bg);color:var(--ink);font:inherit;font-size:15px}
.raffle-free-entry button{min-height:46px;padding:10px 18px;border-radius:8px;white-space:nowrap}
.raffle-free-entry-status{min-height:20px;margin:10px 0 0;font-size:13px;color:var(--ink)}
.raffle-free-entry-status.is-error{color:var(--red,#e85d6c)}
.raffle-free-entry-note{margin:4px 0 0;font-size:12.5px;color:var(--mut)}
.raffle-hp{position:absolute!important;left:-10000px!important;width:1px;height:1px;opacity:0}
