:root {
  --red: #E3122B;
  --red-deep: #B3001B;
  --red-soft: #FFE5E8;
  --ink: #160C0E;
  --ink-2: #5B4B4E;
  --line: #EDE4E5;
  --paper: #FFFFFF;
  --paper-2: #FBF6F6;
  --gold: #FFC93C;
  --locked: #E7DEDF;
  --abroad: #7A0A16;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2 { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; margin: 0 0 12px; }
h2 { font-size: clamp(26px, 4vw, 36px); }
a { color: var(--red); }
.muted { color: var(--ink-2); margin: 0 0 16px; }
[hidden] { display: none !important; }

.topbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; background: var(--red); color: #fff; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 20px; }
.brand img { border-radius: 50%; box-shadow: 0 0 0 2px rgba(255,255,255,.6); }
.live { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.live i { width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }

.hero { background: radial-gradient(120% 90% at 50% 0%, #FF3B30 0%, var(--red) 45%, var(--red-deep) 100%); color: #fff; text-align: center; padding: 56px 20px 64px; }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 600; opacity: .9; margin: 0 0 10px; }
.hero h1 { font-size: clamp(44px, 9vw, 96px); margin-bottom: 16px; }
.lede { max-width: 560px; margin: 0 auto 32px; font-size: clamp(17px, 2.4vw, 20px); opacity: .95; }
.counter { max-width: 520px; margin: 0 auto; }
.count { font-family: var(--display); font-weight: 800; font-size: clamp(72px, 16vw, 140px); line-height: 1; font-variant-numeric: tabular-nums; }
.count small { font-size: .35em; opacity: .75; margin-left: 6px; }
.count-label { font-size: 18px; font-weight: 600; margin: 4px 0 16px; }
.bar { height: 14px; border-radius: 99px; background: rgba(255,255,255,.25); overflow: hidden; }
.fill { height: 100%; width: 0; background: #fff; border-radius: 99px; transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.togo { margin-top: 10px; font-weight: 600; opacity: .9; }

.you { max-width: 560px; margin: 32px auto 0; background: #fff; color: var(--ink); border-radius: 18px; padding: 18px 20px; display: flex; gap: 14px; align-items: center; text-align: left; box-shadow: 0 12px 40px rgba(80,0,10,.35); }
.you img { width: 44px; height: auto; border-radius: 4px; flex: none; }
.you b { display: block; font-family: var(--display); font-size: 20px; line-height: 1.2; margin-bottom: 2px; }
.you span { color: var(--ink-2); font-size: 15px; }
.you.first { outline: 3px solid var(--gold); }

.adbox-wrap { padding: 0 20px; margin-top: -24px; }
.adbox { max-width: 760px; margin: 0 auto; background: #120709; color: #fff; border-radius: 24px; padding: 36px 24px; text-align: center; box-shadow: 0 20px 60px rgba(20,0,5,.25); position: relative; overflow: hidden; }
.adbox::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 14px, transparent 14px 28px); pointer-events: none; }
.adbox-art { width: 150px; height: 150px; border-radius: 50%; animation: breathe 3s ease-in-out infinite; }
@keyframes breathe { 0%,100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(255,140,0,0)); } 50% { transform: scale(1.04); filter: drop-shadow(0 0 28px rgba(255,140,0,.55)); } }
.adbox h2 { margin: 16px 0 6px; font-size: clamp(26px, 5vw, 40px); }
.adbox p { margin: 0; opacity: .8; }
.adbox-open img { max-width: 100%; border-radius: 12px; }
.adbox-open a { color: #fff; }

.block { max-width: 960px; margin: 0 auto; padding: 56px 20px 0; }
.pill { display: inline-block; vertical-align: middle; font-family: var(--body); font-size: 15px; font-weight: 600; background: var(--red-soft); color: var(--red-deep); border-radius: 99px; padding: 2px 12px; }
.legend-pending { color: #8A6100; }

.map { position: relative; width: 100%; aspect-ratio: 2 / 1; background: var(--paper-2); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.map svg { width: 100%; height: 100%; display: block; }
.map-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-2); }
.map path { stroke: #fff; stroke-width: .5; transition: fill .6s; }
.map .c-locked { fill: var(--locked); }
.map .c-open { fill: var(--red); }
.map .c-pending { fill: var(--gold); }
.map .c-you { stroke: var(--ink); stroke-width: 1.5; }
.map circle.dot { stroke: #fff; stroke-width: 1; }
.tip { position: fixed; z-index: 20; pointer-events: none; background: var(--ink); color: #fff; padding: 6px 10px; border-radius: 8px; font-size: 13px; }

input[type=search], input, textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; outline: none; transition: border-color .15s; }
input:focus, textarea:focus { border-color: var(--red); }
#search { max-width: 320px; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: var(--paper-2); border: 1px solid var(--line); font-size: 14px; }
.chip img { width: 18px; border-radius: 2px; }
.chip.pending { background: #FFF6DB; border-color: #F3D27A; }

.share { display: flex; flex-wrap: wrap; gap: 10px; }
.share a, .share button, .btn { font: inherit; font-weight: 600; border: 0; cursor: pointer; text-decoration: none; padding: 12px 20px; border-radius: 99px; background: var(--red); color: #fff; transition: transform .1s, background .15s; }
.share a:hover, .share button:hover, .btn:hover { background: var(--red-deep); }
.share a:active, .share button:active, .btn:active { transform: scale(.97); }

.feed { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.feed li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; }
.feed img { width: 26px; border-radius: 3px; }
.feed time { margin-left: auto; color: var(--ink-2); font-size: 14px; }

.brands { padding-bottom: 8px; }
.points { padding-left: 20px; margin: 0 0 24px; }
.points li { margin-bottom: 4px; }
form { background: var(--paper-2); border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: grid; gap: 14px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.err { color: var(--red); font-weight: 500; min-height: 1em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.btn { justify-self: start; padding: 14px 28px; font-size: 16px; }
.form-msg { margin: 0; font-weight: 600; }
.form-msg.ok { color: #127A3A; }

.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; }
.faq p { margin: 8px 0 0; color: var(--ink-2); }

.foot { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 48px 20px; margin-top: 56px; background: var(--ink); color: #fff; font-size: 14px; }
.foot img { border-radius: 50%; }
.foot a { color: #fff; opacity: .8; }

#confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 50; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.legend { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink-2); font-size: 14px; }
.legend li { display: flex; align-items: center; gap: 6px; }
.legend i { width: 14px; height: 14px; border-radius: 4px; }
.k-open { background: var(--red); } .k-abroad { background: var(--abroad); } .k-pending { background: var(--gold); } .k-locked { background: var(--locked); }
.map .c-abroad { fill: var(--abroad); }
select { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; outline: none; }
select:focus { border-color: var(--red); }
.form-msg.bad { color: var(--red); }
.ts:empty { display: none; }
.grid2 { align-items: start; }
.grid2 input, .grid2 select { height: 48px; padding-top: 0; padding-bottom: 0; }
