/* ============================================================
   Predict — World Cup 2026 (faithful recreation of predict.fun WC26)
   Black / electric-blue / red, techno display type, single column.
   Original art only (no copyrighted glitch images / 3D ball).
   ============================================================ */
:root {
  --bg: #0a0a0d;
  --bg-2: #0e0e13;
  --card: #15161d;
  --card-2: #1b1d26;
  --line: rgba(255,255,255,0.08);
  --line-2: rgba(255,255,255,0.14);
  --text: #f4f5fa;
  --muted: #8a8d9e;
  --muted-2: #5e6173;
  --blue: #2f6bff;
  --blue-2: #1f51e0;
  --red: #e5333c;
  --red-2: #c41f29;
  --gray: #20222c;
  --gold-1: #f5d77a;
  --gold-2: #c6932f;
  --purple: #5b3df5;
  --purple-2: #7b5cff;
  --green: #2fd27a;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--text); font-family: 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
body { display: flex; justify-content: center; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; }
.disp { font-family: 'Oxanium', sans-serif; }

.app { width: 100%; max-width: 500px; min-height: 100vh; background: var(--bg); padding-bottom: 90px; overflow-x: hidden; }

/* ---------- Top bar ---------- */
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; }
.logo { font-family: 'Oxanium', sans-serif; font-weight: 800; font-size: 22px; letter-spacing: -0.5px; }
.logo span { color: var(--blue); }
.top-actions { display: flex; align-items: center; gap: 10px; }
.t-login { font-size: 13px; font-weight: 600; color: var(--text); }
.t-signup { background: #fff; color: #0a0a0d; font-weight: 700; font-size: 13px; padding: 9px 16px; border-radius: 999px; }
.t-globe { font-size: 16px; opacity: 0.8; }

/* ---------- WC26 countdown banner ---------- */
.wc-banner { position: relative; margin: 4px 16px 0; height: 76px; border-radius: 12px; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; padding: 0 18px; }
.wc-art { position: absolute; inset: 0; z-index: 0;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,0.25) 0 2px, transparent 2px 4px),
    linear-gradient(100deg, #e5333c 0%, #ff7a18 28%, #7b5cff 60%, #2f6bff 100%);
  filter: saturate(1.2); }
.wc-art::after { content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 3px); mix-blend-mode: overlay; }
.wc-left { position: relative; z-index: 1; display: flex; flex-direction: column; line-height: 1; }
.wc-logo { font-family: 'Oxanium'; font-weight: 800; font-size: 26px; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.wc-logo b { color: #ffe14d; }
.wc-sub { font-family: 'Oxanium'; font-size: 10px; letter-spacing: 2px; opacity: 0.85; margin-top: 2px; }
.wc-count { position: relative; z-index: 1; text-align: right; }
.wc-ends { font-family: 'Oxanium'; font-size: 9px; font-weight: 700; letter-spacing: 1px; opacity: 0.9; margin-bottom: 4px; }
.wc-timer { display: flex; gap: 8px; }
.wc-timer span { display: flex; flex-direction: column; align-items: center; }
.wc-timer b { font-family: 'Oxanium'; font-size: 18px; font-weight: 800; line-height: 1; text-shadow: 0 1px 4px rgba(0,0,0,0.6); }
.wc-timer i { font-size: 8px; font-style: normal; opacity: 0.85; text-transform: lowercase; }

/* ---------- Match lineup heading ---------- */
.lineup-head { font-family: 'Oxanium'; font-weight: 700; font-size: 18px; padding: 14px 16px 0; }
.how-link { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--blue); }

/* ---------- Filters ---------- */
.filters { display: flex; gap: 10px; padding: 16px; }
.chip-pill { border: 1px solid var(--blue); color: var(--text); border-radius: 999px; padding: 7px 16px; font-size: 13px; font-weight: 600; }
.chip-pill.active { background: rgba(47,107,255,0.12); }
.chip-drop { border: 1px solid var(--line-2); color: var(--muted); border-radius: 999px; padding: 7px 16px; font-size: 13px; font-weight: 600; display: flex; gap: 6px; align-items: center; }

/* ---------- Date tabs ---------- */
.date-tabs { display: flex; gap: 4px; padding: 0 16px 6px; overflow-x: auto; scrollbar-width: none; }
.date-tabs::-webkit-scrollbar { display: none; }
.date-tab { flex: 0 0 auto; text-align: center; padding: 8px 16px; border-radius: 8px; color: var(--muted); }
.date-tab .dt-d { font-size: 12px; font-weight: 600; }
.date-tab .dt-n { font-family: 'Oxanium'; font-size: 17px; font-weight: 700; color: inherit; }
.date-tab.active { color: var(--text); }
.date-tab.active .dt-n { color: #fff; }
.date-tab.active { box-shadow: inset 0 -2px 0 var(--text); }

/* ---------- Carousel ---------- */
.carousel { display: flex; gap: 12px; overflow-x: auto; padding: 8px 16px 18px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }

/* ---------- Match card ---------- */
.mcard { flex: 0 0 84%; max-width: 320px; scroll-snap-align: start; background: var(--card);
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.mcard-art { position: relative; height: 150px; display: flex; }
.mcard-art .half { flex: 1; background-size: cover; background-position: center; }
.mcard-art .half.r { transform: scaleX(-1); }
.mcard-art::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,13,0.1) 40%, var(--card) 100%),
    repeating-linear-gradient(0deg, rgba(0,0,0,0.18) 0 1px, transparent 1px 3px); }
.mcard-body { padding: 14px 16px 16px; }
.mcard-title { font-family: 'Oxanium'; font-weight: 700; font-size: 18px; margin-bottom: 12px; }
.mcard-probs { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.mcard-probs .crest { width: 26px; height: 19px; border-radius: 3px; object-fit: cover; box-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.mcard-probs .pp { font-family: 'Oxanium'; font-weight: 800; font-size: 16px; }
.mcard-probs .pp.home { color: var(--blue); }
.mcard-probs .pp.mut { color: var(--muted-2); }
.mcard-probs .spacer { flex: 1; }
.mcard-outs { display: grid; grid-template-columns: 1fr 0.8fr 1fr; gap: 8px; margin-bottom: 14px; }
.out-btn { font-family: 'Oxanium'; font-weight: 700; font-size: 13px; padding: 11px 6px; border-radius: 9px; text-align: center; transition: filter 0.12s, transform 0.08s; }
.out-btn:active { transform: translateY(1px); }
.out-btn.home { background: var(--blue); color: #fff; }
.out-btn.draw { background: var(--gray); color: var(--muted); }
.out-btn.away { background: var(--card-2); color: var(--text); border: 1px solid var(--line-2); }
.out-btn.home:hover { filter: brightness(1.1); }
.mcard-foot { display: flex; align-items: center; gap: 12px; font-size: 11px; color: var(--muted); }
.mcard-foot .spark { width: 34px; height: 12px; border-radius: 3px; background: linear-gradient(90deg, var(--blue), var(--green)); opacity: 0.8; }
.mcard-foot .up { color: var(--green); font-weight: 700; }
.mcard-foot .fi { display: flex; align-items: center; gap: 4px; }

/* ---------- Bands ---------- */
.band { margin: 4px 16px 0; border-radius: 14px; overflow: hidden; position: relative; }
.band-select { height: 84px; display: flex; align-items: center; gap: 14px; padding: 0 22px;
  background: repeating-linear-gradient(90deg, rgba(0,0,0,0.2) 0 2px, transparent 2px 5px), linear-gradient(100deg, #3b1d9e, #5b3df5 55%, #7b5cff); }
.band-arrow { width: 40px; height: 40px; border-radius: 50%; background: #0a0a0d; color: #fff; font-size: 18px; flex-shrink: 0; }
.band-text { font-family: 'Oxanium'; font-weight: 800; font-size: 20px; letter-spacing: 0.5px; }

/* ---------- Hero ---------- */
.hero { position: relative; margin: 24px 16px; text-align: center; padding: 14px 0 0; }
.hero-title { font-family: 'Oxanium'; font-weight: 800; font-size: 30px; line-height: 1.05; letter-spacing: -0.5px;
  -webkit-text-stroke: 1px rgba(255,255,255,0.85); color: transparent; }
.hero-title span { color: #fff; -webkit-text-stroke: 0; }
.hero-ball { height: 200px; margin: -6px auto -40px; max-width: 280px;
  background: radial-gradient(circle at 38% 32%, #ff6a3d 0%, #e5333c 26%, #6a1bd0 55%, #2f6bff 78%, #0a0a0d 100%);
  border-radius: 50%; filter: blur(0.3px) saturate(1.3);
  box-shadow: inset -18px -22px 50px rgba(0,0,0,0.55), 0 30px 80px rgba(47,107,255,0.25);
  clip-path: circle(46% at 50% 46%); }
.prize { position: relative; z-index: 1; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.prize-amt { font-family: 'Oxanium'; font-weight: 800; font-size: 30px; color: #fff; letter-spacing: -0.5px; }
.prize-lbl { font-size: 11px; letter-spacing: 2px; color: var(--muted); margin-top: 4px; }

/* ---------- Winner band ---------- */
.band-winner { padding: 16px; background:
  repeating-linear-gradient(90deg, rgba(0,0,0,0.18) 0 2px, transparent 2px 6px),
  linear-gradient(120deg, #2a1570, #4b2bc7 60%, #6a44ff); }
.band-winner-head { font-family: 'Oxanium'; font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.band-winner-head b { font-weight: 800; }
.ball-ico { font-size: 18px; }
.winner-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.win-cell { text-align: center; }
.win-cell img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 7px; border: 1px solid rgba(255,255,255,0.15); }
.win-cell .wp { font-family: 'Oxanium'; font-size: 10px; font-weight: 700; margin-top: 3px; display: block; }
.winner-vol { font-family: 'Oxanium'; text-align: center; font-size: 13px; letter-spacing: 1px; margin-top: 14px; opacity: 0.9; }
.winner-vol b { color: #fff; }

/* ---------- Sections ---------- */
.section { margin-top: 28px; }
.sec-head { font-family: 'Oxanium'; font-weight: 800; font-size: 24px; text-align: center; letter-spacing: 1px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center; gap: 10px; }
.sec-ico { color: var(--blue); }
.sec-head.gold { background: linear-gradient(90deg, var(--gold-1), var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; }

/* ---------- Groups ---------- */
.group { flex: 0 0 78%; max-width: 300px; scroll-snap-align: start; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.group h3 { font-family: 'Oxanium'; font-weight: 700; font-size: 16px; margin-bottom: 10px; }
.grp-head, .grp-row { display: grid; grid-template-columns: 1fr 24px 24px 24px 28px; align-items: center; gap: 4px; }
.grp-head { font-size: 11px; color: var(--muted-2); font-weight: 600; padding-bottom: 8px; border-bottom: 1px solid var(--line); text-align: center; }
.grp-head span:first-child { text-align: left; }
.grp-row { padding: 9px 0; font-size: 13px; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.04); }
.grp-row:last-child { border-bottom: none; }
.grp-team { display: flex; align-items: center; gap: 8px; text-align: left; font-weight: 600; min-width: 0; }
.grp-team img { width: 20px; height: 15px; border-radius: 2px; object-fit: cover; flex-shrink: 0; }
.grp-team span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.grp-row .pts { font-family: 'Oxanium'; font-weight: 800; }

/* ---------- Golden leaders ---------- */
.gold-card { position: relative; margin: 0 16px 12px; border-radius: 14px; padding: 16px; overflow: hidden;
  background: linear-gradient(110deg, #6a4e16, #b8862c 45%, #f3d271 70%, #b8862c 100%); }
.gold-card::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(0,0,0,0.08) 0 3px, transparent 3px 7px); }
.gold-inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; }
.gold-bar { flex: 1; background: rgba(10,8,2,0.78); border-radius: 8px; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; }
.gold-name { font-weight: 700; font-size: 14px; color: #fff; }
.gold-pct { font-family: 'Oxanium'; font-weight: 800; color: var(--gold-1); font-size: 14px; margin-right: 8px; }
.gold-yn { display: flex; gap: 6px; }
.yn-s { font-family: 'Oxanium'; font-weight: 700; font-size: 12px; padding: 7px 14px; border-radius: 7px; }
.yn-s.y { background: var(--blue); color: #fff; }
.yn-s.n { background: var(--red); color: #fff; }

/* ---------- Game tabs + rows ---------- */
.game-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 0 16px 14px; scrollbar-width: none; }
.game-tabs::-webkit-scrollbar { display: none; }
.game-tab { flex: 0 0 auto; font-size: 13px; font-weight: 600; color: var(--muted); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); display: flex; gap: 6px; align-items: center; }
.game-tab.active { background: var(--card-2); color: var(--text); border-color: var(--line-2); }

.grow { margin: 0 16px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.grow-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.grow-ball { width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #2f6bff, #0a0a0d); display: grid; place-items: center; font-family: 'Oxanium'; font-weight: 800; font-size: 11px; color: #fff; flex-shrink: 0; }
.grow-title { font-weight: 700; font-size: 14px; flex: 1; }
.grow-yield { font-size: 11px; color: var(--green); display: flex; align-items: center; gap: 4px; font-weight: 600; }
.grow-probs { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 12px; }
.grow-probs .crest { width: 30px; height: 22px; border-radius: 3px; object-fit: cover; }
.grow-probs .pp { font-family: 'Oxanium'; font-weight: 800; font-size: 16px; }
.grow-probs .pp.home { color: var(--blue); } .grow-probs .pp.mut { color: var(--muted-2); }
.grow-outs { display: grid; grid-template-columns: 1fr 0.55fr 1fr; gap: 8px; margin-bottom: 12px; }
.grow-foot { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--muted); }
.grow-foot .pp-rate { display: flex; gap: 3px; align-items: center; background: var(--card-2); padding: 3px 8px; border-radius: 6px; font-weight: 700; }
.grow-foot .star { color: var(--gold-1); }

/* ---------- Footer ---------- */
.foot { margin-top: 36px; padding: 28px 16px 24px; border-top: 1px solid var(--line); text-align: center; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-bottom: 18px; }
.foot-links a { font-size: 13px; color: var(--muted); }
.foot-links a:hover { color: var(--text); }
.foot-social { display: flex; justify-content: center; gap: 18px; font-size: 16px; color: var(--muted); }

/* ---------- Bottom sheets ---------- */
.sheet-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  display: none; align-items: flex-end; justify-content: center; }
.sheet-overlay.open { display: flex; }
.sheet { width: 100%; max-width: 500px; background: var(--bg-2); border: 1px solid var(--line); border-bottom: none;
  border-radius: 20px 20px 0 0; padding: 14px 18px 28px; position: relative; animation: up 0.22s cubic-bezier(0.16,1,0.3,1); }
@keyframes up { from { transform: translateY(100%); } to { transform: none; } }
.sheet-grip { width: 40px; height: 4px; border-radius: 2px; background: var(--line-2); margin: 0 auto 14px; }
.sheet-close { position: absolute; top: 12px; right: 14px; font-size: 22px; color: var(--muted); }
.sheet-h { font-family: 'Oxanium'; font-size: 18px; font-weight: 700; margin-bottom: 14px; }

.trade-mkt { margin-bottom: 12px; }
.tm-q { font-family: 'Oxanium'; font-weight: 700; font-size: 18px; }
.tm-match { font-size: 12px; color: var(--muted); margin-top: 3px; }
.yn { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.yn-btn { padding: 14px; border-radius: 12px; font-family: 'Oxanium'; font-weight: 700; font-size: 15px; border: 1px solid var(--line); color: var(--muted); }
.yn-btn b { display: block; font-size: 20px; margin-top: 2px; }
.yn-btn.yes.on { background: rgba(47,107,255,0.16); border-color: var(--blue); color: var(--blue); }
.yn-btn.no.on { background: rgba(229,51,60,0.16); border-color: var(--red); color: var(--red); }
.amt-row { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.amt-row label { font-size: 12px; color: var(--muted); }
.amt-row input { background: none; border: none; outline: none; color: #fff; font-family: 'Oxanium'; font-weight: 800; font-size: 20px; text-align: right; width: 120px; }
.presets { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-bottom: 14px; }
.preset { background: var(--card); border: 1px solid var(--line); border-radius: 9px; padding: 10px; font-size: 13px; font-weight: 700; }
.preset:hover { border-color: var(--blue); }
.t-summary { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); padding: 6px 0; }
.t-summary.big { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; }
.t-summary .v { color: var(--text); font-weight: 700; }
.t-summary.big .v { font-family: 'Oxanium'; font-size: 18px; color: var(--green); }
.buy-btn { width: 100%; margin-top: 14px; padding: 15px; border-radius: 12px; font-family: 'Oxanium'; font-weight: 800; font-size: 16px;
  background: var(--blue); color: #fff; }
.buy-btn.no { background: var(--red); }
.buy-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* positions */
.pos-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 13px; margin-bottom: 10px; }
.pos-card.win { border-color: var(--green); }
.pos-top { display: flex; justify-content: space-between; gap: 8px; }
.pos-name { font-weight: 700; font-size: 14px; }
.pos-match { font-size: 11px; color: var(--muted); margin-top: 2px; }
.pos-rm { color: var(--muted); font-size: 18px; }
.pos-stats { display: flex; justify-content: space-between; align-items: center; margin-top: 9px; font-size: 12px; color: var(--muted); }
.pos-val { font-family: 'Oxanium'; font-weight: 800; font-size: 15px; color: var(--text); }
.pos-val em { font-style: normal; font-size: 11px; margin-left: 5px; }
.pos-val.pos em { color: var(--green); } .pos-val.neg em { color: var(--red); }
.empty-s { text-align: center; color: var(--muted); font-size: 13px; padding: 24px 0; }
.fees-line { text-align: center; font-size: 12px; color: var(--gold-1); font-weight: 600; margin-bottom: 12px; }

/* wallet */
.wallet-opt { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-bottom: 10px; }
.wallet-opt:hover { border-color: var(--blue); }
.wallet-opt .wo-ic { font-size: 22px; }
.wallet-opt .wo-name { font-weight: 700; font-size: 14px; }
.wallet-opt .wo-sub { font-size: 11px; color: var(--muted); }
.wallet-info { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-bottom: 12px; }
.wi-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13px; }
.wi-row .k { color: var(--muted); } .wi-row .v { font-weight: 700; font-family: 'Oxanium'; }
.wi-row .v.big { color: var(--gold-1); }
.wallet-warn { font-size: 11px; color: var(--gold-1); margin-top: 10px; line-height: 1.5; }
.field { margin-bottom: 12px; } .field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.field input { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px; color: var(--text); font-size: 13px; }
.modal-cta { width: 100%; padding: 13px; border-radius: 11px; font-weight: 800; background: var(--blue); color: #fff; margin-top: 4px; }
.modal-cta.ghost { background: transparent; border: 1px solid var(--line-2); margin-top: 8px; }
.tx-status { font-size: 12px; color: var(--muted); text-align: center; margin-top: 10px; word-break: break-all; }

/* ---------- Floating portfolio FAB ---------- */
.fab { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 900;
  background: var(--blue); color: #fff; font-family: 'Oxanium'; font-weight: 800; font-size: 14px;
  padding: 12px 20px; border-radius: 999px; box-shadow: 0 12px 30px rgba(47,107,255,0.45); display: flex; align-items: center; gap: 10px; }
.fab .fab-pos { background: rgba(0,0,0,0.3); border-radius: 999px; padding: 1px 8px; font-size: 12px; }

.empty { text-align: center; color: var(--muted); font-size: 13px; padding: 24px; }
#mock-bar { background: var(--gold-1); color: #1a1530; padding: 6px 12px; text-align: center; font-size: 11px; font-weight: 700; }

/* lang toggle */
.lang-toggle { font-size: 12px; font-weight: 700; color: var(--text); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 11px; }
.lang-toggle:hover { border-color: var(--blue); color: var(--blue); }
.hero-title .ht1 { -webkit-text-stroke: 1px rgba(255,255,255,0.85); color: transparent; }
body.locked { overflow: hidden; }

/* ===== Pay-to-access paywall ===== */
.paywall { position: fixed; inset: 0; z-index: 4000; display: none; align-items: center; justify-content: center; padding: 20px; overflow-y: auto;
  background: radial-gradient(120% 80% at 50% -10%, rgba(47,107,255,0.22), transparent 60%), rgba(6,6,12,0.94); backdrop-filter: blur(8px); }
.paywall.open { display: flex; }
.pw-card { width: 100%; max-width: 420px; position: relative; background: linear-gradient(180deg, #15161f, #0e0e15);
  border: 1px solid var(--line-2); border-radius: 20px; padding: 30px 24px; text-align: center; box-shadow: 0 40px 120px rgba(0,0,0,0.7); }
.pw-lang { position: absolute; top: 16px; right: 16px; }
.pw-logo { display: inline-block; font-family: 'Oxanium'; font-weight: 800; font-size: 24px; margin-bottom: 14px; }
.pw-title { font-family: 'Oxanium'; font-weight: 800; font-size: 26px; margin-bottom: 6px; }
.pw-sub { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.pw-bonus { background: rgba(47,210,122,0.12); border: 1px solid rgba(47,210,122,0.4); color: var(--green); border-radius: 10px; padding: 10px; font-size: 12px; font-weight: 600; margin-bottom: 18px; }
.pw-plans { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin-bottom: 14px; }
.pw-plan { position: relative; background: var(--card); border: 2px solid transparent; border-radius: 12px; padding: 16px 6px 12px; cursor: pointer; }
.pw-plan:hover { border-color: rgba(47,107,255,0.5); }
.pw-plan.on { border-color: var(--blue); background: rgba(47,107,255,0.12); }
.pw-plan .pp-n { display: block; font-size: 11px; color: var(--muted); font-weight: 600; }
.pw-plan .pp-p { display: block; font-family: 'Oxanium'; font-size: 19px; font-weight: 800; margin-top: 4px; }
.pw-plan .pp-per { display: block; font-size: 10px; color: var(--muted); }
.pw-plan .pp-badge { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff; font-size: 8px; font-weight: 800; padding: 3px 8px; border-radius: 20px; white-space: nowrap; }
.pw-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 14px; }
.pw-m { border: 1px solid var(--line); border-radius: 10px; padding: 11px; font-size: 13px; font-weight: 700; color: var(--muted); }
.pw-m.on { border-color: var(--blue); background: rgba(47,107,255,0.12); color: var(--text); }
.pw-cta { width: 100%; padding: 15px; border-radius: 12px; font-family: 'Oxanium'; font-weight: 800; font-size: 16px; background: var(--blue); color: #fff; box-shadow: 0 10px 28px rgba(47,107,255,0.4); }
.pw-cta:hover { filter: brightness(1.07); } .pw-cta:disabled { opacity: 0.6; cursor: wait; }
.pw-demo { font-size: 10px; color: var(--muted-2); margin-top: 12px; line-height: 1.5; }
.pw-lock { font-size: 30px; margin-bottom: 6px; }
.pw-cta-alt { background: transparent; border: 1px solid var(--line-2); color: var(--text); box-shadow: none; margin-top: 8px; }
.pw-cta-alt:hover { border-color: var(--blue); filter: none; }
.pw-chains { font-size: 11px; color: var(--muted); margin-bottom: 18px; letter-spacing: 0.3px; }
.chain-switch { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.chain-pill { font-size: 11px; font-weight: 700; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 6px 11px; }
.chain-pill:hover { border-color: var(--blue); color: var(--text); }
.chain-pill.on { background: rgba(47,107,255,0.16); border-color: var(--blue); color: var(--blue); }
.dep-box { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 13px; margin: 12px 0; }
.dep-h { font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 9px; }
.dep-row { display: flex; gap: 8px; }
.dep-row input { flex: 1; background: var(--bg); border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; color: var(--text); font-size: 14px; }
.dep-btn { background: var(--green); color: #04240f; font-weight: 800; border-radius: 9px; padding: 10px 16px; font-size: 13px; }
.dep-btn:hover { filter: brightness(1.06); }
.dep-btn.alt { background: var(--blue); color: #fff; }
.dep-status { font-size: 11px; color: var(--muted); margin-top: 8px; word-break: break-all; }
.dep-status a { color: var(--accent-2); }
.dep-faucet { display: inline-block; margin-top: 8px; font-size: 11px; color: var(--accent-2); font-weight: 600; }

/* toast */
#toast { position: fixed; bottom: 84px; left: 50%; transform: translateX(-50%) translateY(20px); z-index: 5000;
  background: var(--green); color: #04240f; font-weight: 800; font-size: 13px; padding: 11px 18px; border-radius: 999px;
  box-shadow: 0 12px 30px rgba(47,210,122,0.4); opacity: 0; pointer-events: none; transition: all 0.3s var(--ease); }
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== Desktop layout ===== */
@media (min-width: 760px) {
  .app { max-width: 1080px; padding-bottom: 40px; }
  .topbar, .wc-banner, .lineup-head, .filters, .date-tabs, .band, .hero, .section, .foot { padding-left: 32px; padding-right: 32px; }
  .wc-banner { height: 96px; }
  .wc-logo { font-size: 34px; } .wc-timer b { font-size: 24px; }
  /* match cards + games become responsive grids instead of single-row carousels */
  #match-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; overflow: visible; }
  #match-cards .mcard { flex: none; max-width: none; }
  #groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; overflow: visible; }
  #groups .group { flex: none; max-width: none; }
  #games-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .grow { margin: 0; }
  .gold-card { margin-left: 32px; margin-right: 32px; }
  .hero-title { font-size: 46px; } .hero-ball { height: 260px; max-width: 360px; }
  .winner-grid { grid-template-columns: repeat(12, 1fr); }
  .sec-head { font-size: 30px; }
  .fab { left: auto; right: 28px; transform: none; }
  .sheet { border-radius: 18px; margin-bottom: 24px; max-width: 440px; }
  .sheet-overlay { align-items: center; }
}
@media (min-width: 1024px) {
  .app { max-width: 1200px; }
  #match-cards { grid-template-columns: repeat(4, 1fr); }
}
