/* eG insight Design - weekly giveaway (/win, /win/rules). Brand matches /nominations. */
:root {
  --bg: #060b16; --card: #0d1628; --line: rgba(148,163,184,.16); --line-2: rgba(148,163,184,.3);
  --ink: #f1f5f9; --mute: #a3b1c6; --dim: #7d8ba3; --cyan: #22d3ee; --green: #34d399; --amber: #fbbf24; --bad: #fca5a5;
  --grad: linear-gradient(135deg, var(--cyan), var(--green));
  --display: 'Space Grotesk','Inter',system-ui,sans-serif;
  --body: 'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  /* names the unscramble game CSS (copied from nominate.css) expects */
  --n-bg: #0b1220; --n-bg2: #070b14; --n-line: rgba(148,163,184,.22); --n-ink: #f1f5f9;
  --n-mute: rgba(226,232,240,.68); --n-dim: rgba(226,232,240,.45); --n-a: #22d3ee; --n-b: #34d399;
  --n-warm: #fbbf24; --n-bad: #fca5a5; --n-ok: #34d399; --n-display: var(--display); --n-body: var(--body);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--body); color: var(--ink); background: var(--bg); line-height: 1.6; min-height: 100vh; overflow-x: hidden; }
body::before { content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(700px 420px at 10% -5%, rgba(34,211,238,.16), transparent 70%), radial-gradient(640px 420px at 96% 30%, rgba(52,211,153,.12), transparent 70%); }
a { color: var(--cyan); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }

.top { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(6,11,22,.8); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 16px; height: 68px; padding-inline: clamp(16px,3vw,44px); }
.brand img { height: 52px; width: auto; display: block; filter: drop-shadow(0 4px 14px rgba(34,211,238,.25)); }
.top .nav { margin-left: auto; display: flex; gap: 4px; }
.top .nav a { text-decoration: none; color: var(--mute); font-size: .9rem; font-weight: 500; padding: 8px 12px; border-radius: 10px; }
.top .nav a:hover { color: var(--ink); background: rgba(255,255,255,.06); }

.wrap { width: min(760px, 100% - 32px); margin: 0 auto; padding: 28px 0 24px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }
h1 { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 7vw, 3.1rem); line-height: 1.06; letter-spacing: -.035em; margin: 12px 0 12px; }
h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lede { color: var(--mute); font-size: 1.05rem; max-width: 52ch; }
.lede strong { color: var(--amber); }

/* business card */
.biz { margin-top: 22px; background: linear-gradient(180deg,#0b1220,#070b14); border: 1px solid var(--line-2); border-radius: 20px; padding: 20px; position: relative; }
.biz::before { content: ''; position: absolute; left: 20px; right: 20px; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--cyan), var(--green), transparent); }
.biz-k { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.biz-head { display: flex; gap: 14px; align-items: center; margin: 12px 0 8px; }
.biz-logo { width: 72px; height: 72px; border-radius: 16px; background: #fff; object-fit: contain; padding: 6px; flex: 0 0 auto; }
.biz-logo.ph { display: grid; place-items: center; background: var(--grad); color: #04121a; font: 700 1.8rem var(--display); padding: 0; }
.biz h2 { font-family: var(--display); font-size: 1.45rem; line-height: 1.15; letter-spacing: -.02em; }
.biz-city { color: var(--dim); font-size: .88rem; }
.biz-blurb { color: var(--mute); margin-bottom: 14px; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 12px; font: 600 .92rem var(--display); text-decoration: none; color: var(--ink); background: rgba(255,255,255,.05); border: 1.5px solid var(--line-2); cursor: pointer; }
.btn:hover { border-color: var(--cyan); }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn.go { color: #04121a; background: var(--grad); border: 0; }
.prize { margin-top: 16px; display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 14px 16px; border-radius: 14px; background: rgba(251,191,36,.08); border: 1px solid rgba(251,191,36,.35); }
.prize b { font-family: var(--display); font-size: 1.15rem; color: var(--amber); }
.prize small { display: block; color: var(--mute); font-size: .78rem; line-height: 1.4; margin-top: 2px; }
.count { text-align: right; }
.count span { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.count b { font-family: var(--display); color: var(--ink); font-variant-numeric: tabular-nums; font-size: 1.1rem; }
.when { color: var(--dim); font-size: .78rem; margin-top: 8px; }

/* steps */
.steps { list-style: none; margin: 22px 0 0; display: grid; gap: 12px; }
.steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; color: var(--mute); font-size: .95rem; }
.steps i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 700 .95rem var(--display); font-style: normal; color: #04121a; background: var(--grad); }
.steps b { display: block; color: var(--ink); font-family: var(--display); font-weight: 600; }
.steps .btns { margin-top: 8px; }
.steps .btn { min-height: 40px; padding: 8px 14px; font-size: .86rem; }

/* form */
.card { margin-top: 26px; background: linear-gradient(180deg,#0b1220,#070b14); border: 1px solid var(--n-line); border-radius: 22px; padding: 24px 22px 20px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.7); position: relative; }
.card::before { content: ''; position: absolute; left: 22px; right: 22px; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--cyan), var(--green), transparent); }
.card h2 { font-family: var(--display); font-size: 1.35rem; margin-bottom: 14px; }
.nfield { margin-bottom: 14px; }
.nrow2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nfield label, .nfield .lbl { display: block; font-size: .8rem; font-weight: 600; color: var(--mute); margin-bottom: 6px; }
.nfield input[type=text], .nfield input[type=email], .nfield input[type=tel] { width: 100%; padding: 12px 14px; border-radius: 11px; border: 1px solid var(--n-line); background: rgba(255,255,255,.04); color: var(--ink); font-family: inherit; font-size: 16px; }
.nfield input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34,211,238,.2); }
.nfield input::placeholder { color: var(--n-dim); }
.nfield.bad input[type=text], .nfield.bad input[type=email] { border-color: #f87171; }
.plat { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.plat label { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; margin: 0; border: 1.5px solid var(--n-line); border-radius: 12px; cursor: pointer; color: var(--ink); font-size: .95rem; background: rgba(255,255,255,.03); position: relative; }
.plat input { position: absolute; opacity: 0; pointer-events: none; }
.plat label:has(input:checked) { border-color: var(--cyan); background: linear-gradient(135deg, rgba(34,211,238,.16), rgba(52,211,153,.1)); }
.plat label:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 2px; }
.chk { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; margin: 0 0 12px; font-size: .88rem; color: var(--mute); line-height: 1.45; cursor: pointer; }
.chk input { width: 20px; height: 20px; margin-top: 1px; accent-color: #22d3ee; }
.nhp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nerror { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: rgba(248,113,113,.12); border: 1px solid rgba(248,113,113,.4); color: var(--bad); font-size: .9rem; }
.nerror.info { background: rgba(34,211,238,.1); border-color: rgba(34,211,238,.4); color: var(--ink); }
.wbtn-main { width: 100%; margin-top: 14px; padding: 15px; min-height: 52px; border: 0; border-radius: 13px; cursor: pointer; font: 700 1.05rem var(--display); color: #04121a; background: var(--grad); }
.wbtn-main:hover { box-shadow: 0 12px 30px -8px rgba(34,211,238,.55); }
.wbtn-main:disabled { opacity: .7; cursor: default; }
.fine { text-align: center; color: var(--dim); font-size: .76rem; margin-top: 12px; line-height: 1.5; }

/* in / closed panels */
.done { text-align: center; padding: 8px 0 0; }
.done .mark { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; color: #04121a; background: var(--grad); }
.done .mark svg { width: 36px; height: 36px; }
.done h2 { font-size: 1.7rem; margin-bottom: 8px; }
.done p { color: var(--mute); margin-bottom: 14px; }
.done .btns { justify-content: center; margin-bottom: 10px; }
.share { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.share h3 { font-family: var(--display); font-size: 1rem; margin-bottom: 4px; }
.share p { font-size: .88rem; }
.state { margin-top: 24px; text-align: center; padding: 26px 20px; }
.state h2 { margin-bottom: 8px; }
.state p { color: var(--mute); margin-bottom: 14px; }
.state .btns { justify-content: center; }
.skel { color: var(--dim); text-align: center; padding: 40px 0; }

footer { border-top: 1px solid var(--line); margin-top: 30px; padding: 24px 0 44px; color: var(--dim); font-size: .85rem; }
footer .wrap { padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer a { color: var(--mute); }

/* rules page */
.rules h1 { font-size: clamp(1.8rem, 6vw, 2.5rem); }
.rules h2 { font-family: var(--display); font-size: 1.15rem; margin: 26px 0 6px; color: var(--ink); }
.rules p, .rules li { color: var(--mute); margin-bottom: 8px; }
.rules ol, .rules ul { padding-left: 22px; }
.rules .upd { color: var(--dim); font-size: .85rem; }

/* ---- unscramble game: copied from /nominate/nominate.css ---- */
/* ---- Full-viewport panels: word game / thanks.
   Fixed to the viewport, not the card: the submit button is at the bottom of a page that is
   taller than the screen, so a panel centred on the card could open out of sight. ---- */
.ngame {
  position: fixed; inset: 0;
  background: radial-gradient(90% 70% at 50% 30%, #0f1a30, var(--n-bg2));
}
.nback { background: none; border: 0; padding: 4px 0; cursor: pointer; font-family: inherit; font-size: .9rem; font-weight: 600; color: var(--n-a); }
.nback:hover { color: var(--n-b); text-decoration: underline; text-underline-offset: 3px; }
.ngame {
  z-index: 5000; display: flex; align-items: center; justify-content: center; text-align: center; padding: 28px;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
}
.ngame.active { opacity: 1; visibility: visible; }
.ngame-back { position: absolute; top: 18px; left: 24px; }
.ngame-inner { width: 100%; max-width: 420px; }
.ngame-eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--n-a); }
.ngame-title { font-family: var(--n-display); font-size: 1.5rem; font-weight: 700; color: var(--n-ink); margin: 10px 0 4px; }
.ngame-goal { font-size: 1rem; color: var(--n-mute); margin: 0 0 6px; }
.ngame-goal b { font-family: var(--n-display); letter-spacing: .3em; color: var(--n-warm); font-size: 1.15rem; padding-left: 6px; }
.ngame-hint { color: var(--n-dim); font-size: .84rem; margin: 0 0 22px; }

.ngame-slots { display: flex; gap: 12px; justify-content: center; margin: 0 auto 18px; touch-action: none; user-select: none; -webkit-user-select: none; }
.ntile {
  width: 64px; height: 64px; border-radius: 15px; flex: 0 0 auto; padding: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--n-display); font-weight: 700; font-size: 1.7rem; color: var(--n-ink);
  background: linear-gradient(145deg, rgba(34,211,238,.16), rgba(52,211,153,.06));
  border: 1.5px solid rgba(34,211,238,.5); cursor: grab;
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
  transition: transform .28s cubic-bezier(.2,.8,.2,1), border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.ntile.enter { animation: ntileEnter .5s cubic-bezier(.2,.8,.2,1) backwards; animation-delay: var(--td, 0ms); }
@keyframes ntileEnter { from { transform: translateY(18px) scale(.8); opacity: 0; } to { transform: none; opacity: 1; } }
.ntile.sel { border-color: var(--n-warm); box-shadow: 0 8px 26px rgba(251,191,36,.35); transform: translateY(-6px) scale(1.05); }
.ntile.dragging { cursor: grabbing; z-index: 20; border-color: var(--n-warm); box-shadow: 0 14px 36px rgba(0,0,0,.5); transition: none; }
.ntile.correct { border-color: var(--n-ok); background: linear-gradient(145deg, rgba(52,211,153,.3), rgba(34,211,238,.12)); box-shadow: 0 0 24px rgba(52,211,153,.45); }

.ngame-msg { min-height: 26px; font-family: var(--n-display); font-weight: 700; font-size: 1rem; }
.ngame-msg.win { color: var(--n-ok); }
.ngame-shuffle { margin-top: 12px; background: none; border: 0; color: var(--n-a); font-family: inherit; font-size: .84rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.ngame-shuffle:hover { color: var(--n-b); }



@media (max-width: 560px) {
  .nrow2 { grid-template-columns: 1fr; gap: 0; }
  .card { padding: 22px 16px 18px; border-radius: 18px; }
  .biz { padding: 16px; }
  .count { text-align: left; }
  .ntile { width: 56px; height: 56px; font-size: 1.45rem; }
  .ngame-slots { gap: 9px; }
  .top .nav a:nth-child(2) { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ngame, .ntile { transition: none !important; animation: none !important; } }

.plat svg { width: 20px; height: 20px; flex: 0 0 auto; }
