/* Claim: Dubai night behind glass, the gold coin, a boarding pass to DXB with one step at a time, the board, the live feed. */
.bg { position: fixed; inset: 0; z-index: -1; }
.bg img { width: 100%; height: 100%; object-fit: cover; opacity: .34; filter: saturate(1.1); }
.bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(90% 60% at 50% 0%, #05050500, #050505 75%), linear-gradient(180deg, #050505aa, #050505 70%); }
main { padding-top: 90px; }

.hero { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 36px; align-items: center; padding: 40px 0 16px; }
.coin { width: min(300px, 64vw); margin-inline: auto; aspect-ratio: 1; position: relative; }
.coin::before { content: ''; position: absolute; inset: -16%; border-radius: 50%; background: radial-gradient(circle, #f0c76655, transparent 66%); z-index: -1; }
.coin img { width: 100%; border-radius: 50%; animation: cfloat 6s ease-in-out infinite; }
@keyframes cfloat { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-14px) rotate(4deg); } }
.hero h1 { font: 500 clamp(42px, 6.4vw, 80px)/.98 var(--disp); letter-spacing: -.03em; margin: 16px 0 14px; text-wrap: balance; }
html[dir=rtl] .hero h1 { font-weight: 700; letter-spacing: 0; line-height: 1.2; }
.lede { color: var(--mut); max-width: 520px; font-size: 18px; }
.lede b { color: var(--gold); }

.ticket-banner { max-width: 680px; margin: 18px auto 0; display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 16px; background: linear-gradient(90deg, #19b37f26, #f0c7661f); border: 1px solid #19b37f66; animation: cardIn .6s var(--spring) both; }
.ticket-banner span { font-size: 24px; } .ticket-banner b { font-weight: 700; color: var(--ink); }

/* ---------- boarding pass */
.pass { position: relative; max-width: 680px; margin: 26px auto 0; border-radius: 26px; background: linear-gradient(160deg, #1b150c, #0e0b07 55%, #15100a); border: 1px solid var(--line2);
  box-shadow: 0 40px 80px -40px #000, 0 0 60px -20px #f0c76633; }
.pass-top { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 18px 24px; border-bottom: 2px dashed #e9c47838; }
.pass-top::before, .pass-top::after { content: ''; position: absolute; bottom: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line2); }
.pass-top::before { left: -13px; clip-path: inset(0 0 0 50%); } .pass-top::after { right: -13px; clip-path: inset(0 50% 0 0); }
.pass-brand { display: flex; align-items: center; gap: 10px; font: 700 12px/1 var(--text); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
html[dir=rtl] .pass-brand { letter-spacing: 0; font-size: 14px; }
.pass-brand img { border-radius: 50%; }
.pass-route { display: flex; align-items: center; gap: 12px; font: 600 26px/1 var(--disp); color: var(--ink); direction: ltr; }
.pass-route .plane { font-style: normal; font-size: 18px; color: var(--gold); display: inline-block; animation: plane 3.6s ease-in-out infinite; }
@keyframes plane { 0%, 100% { transform: translateX(-6px); } 50% { transform: translateX(6px); } }
.pass-meta { justify-self: end; text-align: end; display: grid; gap: 4px; font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .14em; }
html[dir=rtl] .pass-meta { letter-spacing: 0; font-size: 13px; }
.pass-meta b { font: 700 15px/1 var(--text); color: var(--sand); text-transform: none; letter-spacing: 0; direction: ltr; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pass-body { padding: 22px 24px 26px; }
.prog-label { margin: 0 0 10px; font: 700 13px/1 var(--text); color: var(--gold); letter-spacing: .12em; text-transform: uppercase; }
html[dir=rtl] .prog-label { letter-spacing: 0; font-size: 15px; }
.prog { height: 6px; border-radius: 99px; background: #ffffff12; overflow: hidden; }
.prog i { display: block; height: 100%; background: var(--goldg); transform-origin: left; transform: scaleX(.04); transition: transform .7s var(--ease); }
html[dir=rtl] .prog i { transform-origin: right; }
.done-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.done-chips li { padding: 7px 12px; border-radius: 8px; border: 1.5px solid #19b37f80; color: #6fe6b9; font: 700 12px/1 var(--text); letter-spacing: .04em; transform: rotate(-2deg); }
.done-chips li:nth-child(2n) { transform: rotate(1.5deg); }
.done-chips li.last { animation: stampIn .5s var(--spring) both; }
@keyframes stampIn { from { opacity: 0; transform: scale(1.8) rotate(-12deg); } }
.stampfx { position: absolute; top: 40%; left: 50%; z-index: 5; padding: 10px 18px; border: 3px solid var(--emer); border-radius: 12px; color: var(--emer); font: 800 26px/1 var(--text); letter-spacing: .1em; font-style: normal;
  pointer-events: none; animation: stamp 1.1s var(--ease) forwards; }
@keyframes stamp { 0% { opacity: 0; transform: translate(-50%, -50%) scale(2.4) rotate(-14deg); } 25% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-10deg); } 75% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1) rotate(-10deg); } }

.stepcard { position: relative; padding: 4px 0 0; }
.stepcard.in { animation: cardIn .5s var(--spring) both; }
.stepcard.nope { animation: nope .35s; }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@keyframes nope { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.stepcard h3 { margin: 8px 0 6px; font: 600 clamp(26px, 4.4vw, 36px)/1.1 var(--disp); }
html[dir=rtl] .stepcard h3 { font-weight: 700; line-height: 1.35; }
.line { margin: 0 0 18px; color: var(--mut); }
.stepcard .btn.big { width: 100%; }
.field { width: 100%; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line2); background: #050505; color: var(--ink); font: 600 17px/1.2 var(--text); outline: none; transition: border-color .2s; }
.field:focus { border-color: var(--gold); }
.field.mono { font: 500 15px/1.2 var(--mono); }
.field-row { display: flex; gap: 10px; align-items: center; direction: ltr; }
.field-row .at { font: 600 26px/1 var(--disp); color: var(--gold); }
.field-col { display: grid; gap: 12px; }
@media (max-width: 520px) { .field-row { flex-wrap: wrap; } .field-row .field { flex: 1; } .field-row .btn { width: 100%; } }
.err { min-height: 1.2em; margin: 10px 0 0; color: var(--red); font-size: 14px; }
.go { animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.02); } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.kick { display: inline-block; margin: 0; padding: 6px 12px; border-radius: 99px; background: #f0c7661f; color: var(--gold); font: 700 12px/1 var(--text); letter-spacing: .06em; }

/* ---------- board after the claim */
.board { max-width: 680px; margin: 26px auto 0; display: grid; gap: 14px; animation: cardIn .6s var(--spring) both; }
.board[hidden] { display: none; }
.bd-main, .gcard { padding: 24px; border-radius: 24px; border: 1px solid var(--line2); background: linear-gradient(160deg, #1b150c, #0e0b07); }
.bd-top { display: flex; gap: 14px; align-items: center; }
.bd-top img { border-radius: 50%; }
.bd-top h3 { margin: 6px 0 0; font: 600 32px/1 var(--disp); color: var(--gold); }
.bd-st { display: flex; gap: 10px; align-items: center; margin: 18px 0 14px; font-weight: 700; }
.bd-st.ok { color: #6fe6b9; } .bd-st.warn { color: var(--red); }
.bd-act { display: flex; flex-wrap: wrap; gap: 8px; }
.bd-note { margin: 16px 0 0; color: var(--dim); font-size: 13px; }
.gcard { display: flex; gap: 18px; align-items: center; background: radial-gradient(120% 120% at 0% 0%, #19b37f22, transparent 60%), linear-gradient(160deg, #10140f, #0b0a07); border-color: #19b37f55; }
.gcard img { width: 110px; height: 110px; border-radius: 18px; flex: none; box-shadow: 0 0 40px -8px #f0c76666; }
.gcard p { color: var(--mut); margin: 8px 0 14px; }
.gcard .kick { background: #19b37f26; color: #6fe6b9; }
.gcard.won { border-color: var(--gold2); background: radial-gradient(120% 120% at 0% 0%, #f0c76626, transparent 60%), linear-gradient(160deg, #1b150c, #0e0b07); }
.gcard.won .kick { background: #f0c76626; color: var(--gold); font-size: 14px; }
.gcard.cs { border-color: var(--line2); background: radial-gradient(120% 120% at 0% 0%, #8e1b1f26, transparent 60%), linear-gradient(160deg, #1b150c, #0e0b07); }
.gcard.cs img { border-radius: 50%; }
.gcard.cs .kick { background: #f0c76626; color: var(--gold); }
.g-best { color: var(--sand) !important; font-weight: 700; margin-top: -6px !important; }
.gl { list-style: none; display: grid; gap: 8px; margin-top: 12px; }
.gl li { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-weight: 600; font-size: 15px; }
.gl li span { color: var(--sand); }
.gs { font: 700 12px/1 var(--text); padding: 6px 10px; border-radius: 99px; background: #ffffff10; color: var(--mut); }
.gs.sent { background: #19b37f2e; color: #6fe6b9; } .gs.sending { color: var(--gold); }
.gl a { color: var(--gold); font-size: 13px; }
@media (max-width: 520px) { .gcard { flex-direction: column; text-align: center; } .gcard .btn { width: 100%; } .gl li { justify-content: center; } }

/* ---------- live feed */
.live { margin-top: 70px; }
.live-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.live-head h2 { display: flex; align-items: center; gap: 12px; font: 600 32px/1 var(--disp); }
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats div:last-child { grid-column: 1 / -1; } }
.stats div { display: flex; flex-direction: column-reverse; gap: 6px; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); }
.stats dt { color: var(--dim); font: 700 11px/1.2 var(--text); text-transform: uppercase; letter-spacing: .08em; }
html[dir=rtl] .stats dt { letter-spacing: 0; font-size: 13px; }
.stats dd { font: 600 26px/1 var(--disp); color: var(--ink); font-variant-numeric: tabular-nums; }
.feed { list-style: none; display: grid; gap: 8px; }
.feed li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: #0d0a07e6; }
.feed li.empty { display: block; color: var(--mut); text-align: center; }
.feed img, .feed .pf { width: 40px; height: 40px; border-radius: 50%; }
.feed .pf { display: grid; place-items: center; background: #1b150c; color: var(--gold); font-weight: 800; }
.who { display: grid; min-width: 0; } .who b, .who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who span { color: var(--dim); font-size: 12.5px; direction: ltr; text-align: start; }
.what { color: var(--mut); font-size: 13px; white-space: nowrap; }
.tx { display: inline-flex; align-items: center; min-height: 34px; padding: 7px 12px; border-radius: 99px; background: linear-gradient(180deg, #ffe7a6, #f0c766 45%, #c9952f); color: var(--accent-ink); font: 800 12.5px/1 var(--text); white-space: nowrap; }
.fs { display: inline-flex; align-items: center; min-height: 34px; padding: 7px 12px; border-radius: 99px; border: 1px solid var(--line); color: var(--mut); font: 700 12px/1 var(--text); white-space: nowrap; }
.fs.verifying, .fs.sending { color: var(--gold); border-color: var(--line2); }
@media (max-width: 560px) { .feed li { grid-template-columns: 36px minmax(0, 1fr) auto; } .what { display: none; } }
.feed-more { margin: 14px auto 0; display: flex; }

/* ---------- pop-ups */
.popwrap { position: fixed; left: 50%; bottom: 18px; z-index: 50; display: grid; gap: 8px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 24px); pointer-events: none; }
.livepop { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 99px; background: #120e08f2; border: 1px solid var(--line2); font-size: 14px; color: var(--sand); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: popIn .5s var(--spring) both; box-shadow: 0 20px 40px -20px #000; }
.livepop b { color: var(--ink); }
.livepop.out { animation: popOut .4s ease-in forwards; }
.lp-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); flex: none; }
@keyframes popIn { from { opacity: 0; transform: translateY(16px) scale(.95); } }
@keyframes popOut { to { opacity: 0; transform: translateY(10px); } }

/* ---------- "airdrop sent" */
.sentfx { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: #050505eb; animation: fadeIn .3s both; }
.sentfx[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } }
.sf-in { position: relative; z-index: 2; text-align: center; }
.sf-coin { width: 140px; height: 140px; margin: 0 auto; border-radius: 50%; animation: coinpop 1.2s var(--spring) both; box-shadow: 0 0 80px #f0c76680; }
@keyframes coinpop { from { transform: scale(0) rotateY(540deg); } }
.sentfx h2 { margin: 22px 0 0; font: 600 clamp(44px, 9vw, 92px)/1 var(--disp); background: var(--goldg); -webkit-background-clip: text; background-clip: text; color: transparent; animation: rise .7s .3s var(--spring) both; }
.sf-amt { margin: 10px 0 0; font: 700 24px/1.2 var(--text); animation: rise .7s .45s var(--spring) both; }
.sf-act { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; animation: rise .7s .6s var(--spring) both; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
.sf-bits { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.sf-bits i { position: absolute; left: 50%; top: 42%; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff3c9, #f0c766 50%, #8f6a26); opacity: 0;
  animation: burst 1.7s var(--d) cubic-bezier(.2, .7, .3, 1) forwards; }
@keyframes burst { 0% { opacity: 1; transform: translate(0, 0) scale(1); } 100% { opacity: 0; transform: translate(calc(var(--x) * 44vw), 40vh) scale(.6); } }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; gap: 4px; padding-top: 16px; }
  .coin { width: min(170px, 46vw); }
  .lede { margin-inline: auto; }
  .hero .eyebrow::before { display: none; }
}
@media (max-width: 520px) {
  .pass-top { grid-template-columns: 1fr auto; padding: 16px 18px; }
  .pass-route { display: none; }
  .pass-body { padding: 18px 18px 22px; }
}
