/* =========================================================================
   Toon Arcade — çizgi film teması
   Kalın mürekkep kontur, şeker renkleri, "zıplayan" düğmeler, gökyüzü + bulut arka plan.
   ========================================================================= */
:root {
  --ink: #2b1b4a;
  --paper: #fffaf0;
  --paper-2: #fff1d6;
  --text: #2b1b4a;
  --muted: #7a6a9a;
  --yellow: #ffd23f;
  --orange: #ff8a3d;
  --pink: #ff5ca8;
  --blue: #4fc3ff;
  --green: #3ddc97;
  --purple: #7c4dff;
  --red: #ff4f7b;
  --sky-1: #8fd3ff;
  --sky-2: #b9a4ff;
  --radius: 22px;
  --radius-sm: 14px;
  --pop: 0 4px 0 var(--ink);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --dock-h: 74px;
  --font: "Baloo 2", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Arabic", "Noto Sans Thai", "Noto Sans Bengali", "Noto Sans Devanagari", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
  background: linear-gradient(180deg, var(--sky-1), var(--sky-2));
  color: var(--text);
  font: 600 14.5px/1.4 var(--font);
  overflow: hidden;
  overscroll-behavior: none;
  user-select: none;
  -webkit-user-select: none;
}
input, button { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
button:disabled { cursor: not-allowed; opacity: .55; }
[hidden] { display: none !important; }
.num { font-variant-numeric: tabular-nums; }
.gold { color: #d97a00; }
.cyan { color: #1b8fd6; }
.green { color: #13a466; }
.red { color: #e8335f; }
.muted { color: var(--muted); font-size: 13.5px; margin-bottom: 12px; }
.small { font-size: 12px; }

/* ---------- Gökyüzü arka plan + bulutlar ---------- */
.bg-sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background: radial-gradient(60% 40% at 80% 0%, rgba(255,255,255,.5), transparent 70%), linear-gradient(180deg, var(--sky-1), var(--sky-2)); }
.cloud { position: absolute; display: block; width: 120px; height: 44px; border-radius: 40px; background: #fff; opacity: .75; animation: drift 60s linear infinite; }
.cloud::before, .cloud::after { content: ''; position: absolute; background: #fff; border-radius: 50%; }
.cloud::before { width: 56px; height: 56px; left: 18px; top: -26px; }
.cloud::after { width: 40px; height: 40px; left: 62px; top: -16px; }
.cloud.c1 { top: 16%; left: -140px; }
.cloud.c2 { top: 48%; left: -140px; transform: scale(.7); animation-duration: 85s; animation-delay: -30s; }
.cloud.c3 { top: 78%; left: -140px; transform: scale(1.2); animation-duration: 110s; animation-delay: -70s; opacity: .5; }
@keyframes drift { to { translate: calc(100vw + 300px) 0; } }
#snow { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

/* ---------- Üst çubuk ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: calc(var(--safe-top) + 10px) 12px 10px;
}
.me-chip { display: flex; align-items: center; gap: 8px; min-width: 0; text-align: start; padding: 4px 12px 4px 4px; border-radius: 999px;
  background: var(--paper); border: 3px solid var(--ink); box-shadow: var(--pop); }
.me-meta { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.me-name { font-weight: 800; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 34vw; }
.me-sub { font-size: 11px; color: var(--muted); font-weight: 700; }
.avatar {
  width: 38px; height: 38px; flex: none; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center; font-size: 22px; border: 2.5px solid var(--ink);
  background: linear-gradient(135deg, #ffe27a, #ffb238);
}
.avatar img, .avatar svg { width: 100%; height: 100%; object-fit: cover; }
.avatar.lg { width: 76px; height: 76px; font-size: 40px; border-width: 3px; }
.topbar-right { display: flex; align-items: center; gap: 8px; }
.net-badge { font-size: 10px; font-weight: 800; letter-spacing: .06em; padding: 2px 7px; border-radius: 8px;
  color: #fff; background: var(--orange); border: 2px solid var(--ink); }
.balance-chip {
  display: flex; align-items: center; gap: 5px; padding: 4px 5px 4px 5px; border-radius: 999px;
  background: var(--paper); border: 3px solid var(--ink); box-shadow: var(--pop); font-weight: 800; font-size: 15px;
}
.balance-chip .coin-ico { display: grid; }
.balance-chip .plus { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font-weight: 900; font-size: 16px; line-height: 1; border: 2px solid var(--ink); }
.icon-btn { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--paper); border: 3px solid var(--ink); box-shadow: var(--pop); color: var(--ink); }
.icon-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }

/* ---------- Ekranlar ---------- */
.screens {
  position: fixed; inset: 0; z-index: 1;
  padding: calc(var(--safe-top) + 76px) 14px calc(var(--safe-bottom) + var(--dock-h) + 30px);
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.screen { display: none; animation: pop-in .28s cubic-bezier(.2,1.3,.4,1); }
.screen.active { display: block; }
@keyframes pop-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.screen-title { font-size: 22px; font-weight: 800; line-height: 1.15; margin-bottom: 4px; }
.screen > .screen-title, .screen > .muted, .screen > .section-title { color: #fff; text-shadow: 0 2px 0 var(--ink), 2px 0 0 var(--ink), -2px 0 0 var(--ink), 0 -2px 0 var(--ink); }
.screen > .muted { text-shadow: 0 1px 0 rgba(43,27,74,.6); font-weight: 700; }
.section-title { font-size: 17px; font-weight: 800; margin: 20px 2px 10px; }
.card .section-title, .sheet .section-title { color: var(--ink); text-shadow: none; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

/* ---------- Kartlar ---------- */
.card {
  position: relative; background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius);
  box-shadow: 0 6px 0 var(--ink); padding: 16px; margin-bottom: 16px;
}
.card + .card { margin-top: 4px; }

/* ana kart (bakiye + enerji) */
.hero { background: linear-gradient(180deg, #fff 0%, var(--paper) 60%, var(--paper-2) 100%); overflow: hidden; }
.hero::before { content: ''; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(255,210,63,.45), transparent 70%); }
.hero-top { position: relative; display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.hero-mascot { border-radius: 18px; border: 3px solid var(--ink); box-shadow: var(--pop); animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-5px) rotate(-3deg); } }
.hero-label { font-size: 12.5px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.hero-balance { display: flex; align-items: center; gap: 6px; font-size: 34px; font-weight: 800; line-height: 1.1; }
.hero-balance .coin-ico { display: grid; }
.hero-balance .num { color: var(--ink); }
.hero-balance .sym { font-size: 16px; color: var(--muted); align-self: flex-end; margin-bottom: 6px; }
.hero-stats { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.hero-stats > div { display: flex; flex-direction: column; padding: 8px 10px; border-radius: 14px; background: #fff; border: 2.5px solid var(--ink); }
.hero-stats .k { font-size: 10.5px; color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: .03em; line-height: 1.2; }
.hero-stats .v { font-size: 17px; font-weight: 800; }
.hero-stats > div:first-child .v { color: #13a466; }
.boost-banner { position: relative; margin-top: 10px; padding: 8px 12px; border-radius: 14px; font-weight: 800; font-size: 13px; text-align: center;
  background: linear-gradient(90deg, #ffe680, #ffb3dd); border: 2.5px solid var(--ink); }

/* enerji */
.energy-box { position: relative; margin-top: 12px; padding: 12px; border-radius: 18px; background: linear-gradient(180deg, #eef8ff, #dff0ff); border: 3px solid var(--ink); }
.energy-head { display: flex; align-items: center; gap: 8px; }
.energy-ico { display: grid; animation: zap 2.2s ease-in-out infinite; }
@keyframes zap { 0%, 80%, 100% { transform: none; } 85% { transform: rotate(-12deg) scale(1.15); } 90% { transform: rotate(10deg) scale(1.15); } }
.energy-t { flex: 1; font-weight: 800; font-size: 15px; }
.energy-head b { font-size: 18px; }
.energy-pips { display: flex; gap: 5px; margin: 8px 0; }
.energy-pips i { flex: 1; height: 14px; border-radius: 8px; background: #fff; border: 2.5px solid var(--ink); }
.energy-pips i.on { background: linear-gradient(180deg, #fff38a, var(--yellow) 60%, #ffb238); }
.energy-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.pass-row { display: flex; align-items: center; gap: 8px; width: 100%; margin-top: 10px; padding: 9px 12px; border-radius: 14px; text-align: start;
  background: linear-gradient(90deg, #d9c7ff, #b3e6ff); border: 2.5px solid var(--ink); font-weight: 800; }
.pass-row .ac-ico { font-size: 20px; }
.pass-row .ac-t { flex: 1; }
.pass-row .ac-s { font-size: 12px; color: var(--purple); }
.pass-row.on { background: linear-gradient(90deg, #c7ffd8, #ffe680); }
.pass-row.on .ac-s { color: #13a466; }
.pass-row:active { transform: translateY(2px); }

.need-wallet { position: relative; margin-top: 12px; padding: 14px; border-radius: 18px; text-align: center; background: #fff4f8; border: 3px dashed var(--pink); }
.need-wallet .nw-title { display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 800; font-size: 16px; }
.need-wallet .nw-ico { font-size: 20px; }
.need-wallet .nw-desc { font-size: 13px; color: var(--muted); margin: 4px 0 10px; }
.need-wallet .btn { width: 100%; }

/* ---------- Düğmeler ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 18px; border-radius: 16px; font-weight: 800; font-size: 15px; line-height: 1.15;
  border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink); color: var(--ink); background: #fff;
  transition: transform .08s ease, box-shadow .08s ease;
}
.btn:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn-lg { width: 100%; padding: 14px 18px; font-size: 17px; margin-top: 12px; border-radius: 18px; }
.btn-gold { background: linear-gradient(180deg, #fff38a, var(--yellow) 55%, #ffb238); }
.btn-cyan { background: linear-gradient(180deg, #a8e6ff, var(--blue)); }
.btn-green { background: linear-gradient(180deg, #a8f5cf, var(--green)); }
.btn-ghost { background: #fff; }
.btn-danger { background: linear-gradient(180deg, #ffb3c4, var(--red)); color: #fff; }
.btn-sm { padding: 6px 12px; font-size: 13px; border-radius: 12px; border-width: 2.5px; box-shadow: 0 3px 0 var(--ink); }
.btn-play { font-size: 20px; letter-spacing: .02em; }
.btn.shine { overflow: hidden; }
.btn.shine::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent); transform: skewX(-20deg); animation: shine 2.6s ease-in-out infinite; }
@keyframes shine { 60%, 100% { left: 130%; } }
.btn-row { display: flex; gap: 10px; margin-top: 12px; } .btn-row .btn { flex: 1; }
.link { color: var(--purple); font-weight: 800; font-size: 13px; }
.chip { padding: 6px 12px; border-radius: 999px; font-weight: 800; font-size: 13px; background: #fff; border: 2.5px solid var(--ink); }
.chip.active { background: var(--yellow); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.pill { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; background: var(--yellow); border: 2.5px solid var(--ink); white-space: nowrap; }
.badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; font-size: 11px; font-weight: 800; background: var(--red); color: #fff; border: 2px solid var(--ink); }

/* ---------- Sekme ---------- */
.segmented { display: flex; gap: 6px; padding: 5px; margin: 6px 0 14px; border-radius: 18px; background: rgba(255,255,255,.55); border: 3px solid var(--ink); }
.seg { flex: 1; padding: 9px 8px; border-radius: 13px; font-weight: 800; font-size: 14.5px; color: var(--muted); }
.seg.active { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2.5px var(--ink), 0 3px 0 var(--ink); }
.sub { display: none; } .sub.active { display: block; }

/* ---------- Oyun kartları (ana ekran) ---------- */
.games-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.game-tile {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 10px 12px; text-align: center;
  border-radius: 22px; border: 3px solid var(--ink); box-shadow: 0 6px 0 var(--ink); background: var(--paper); overflow: hidden;
  transition: transform .1s ease;
}
.game-tile:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink); }
.game-tile::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 116px; background: var(--tile, #cdefff); border-bottom: 3px solid var(--ink); }
.g-coin_catch { --tile: #9fdcff; } .g-bubble_pop { --tile: #ffc4e4; } .g-critter_bop { --tile: #b5f1bd; } .g-toon_match { --tile: #d7c8ff; } .g-sky_stack { --tile: #ffd9a1; } .g-brick_bounce { --tile: #b9ecff; } .g-space_zap { --tile: #8f80ef; } .g-color_burst { --tile: #f3d2ff; }
.gt-art { position: relative; display: grid; place-items: center; animation: bob 3.4s ease-in-out infinite; }
.game-tile:nth-child(2n) .gt-art { animation-delay: -1.2s; }
.gt-art svg { width: 84px; height: 84px; filter: drop-shadow(0 4px 0 rgba(43,27,74,.25)); }
.gt-name { position: relative; font-weight: 800; font-size: 16px; line-height: 1.15; margin-top: 26px; }
.gt-meta { position: relative; display: flex; gap: 6px; justify-content: center; font-size: 12px; font-weight: 800; color: var(--muted); }
.gt-mult { color: #d97a00; }
.gt-play { position: relative; margin-top: 6px; width: 100%; padding: 7px 0; border-radius: 14px; font-weight: 800; font-size: 15px;
  background: linear-gradient(180deg, #a8f5cf, var(--green)); border: 2.5px solid var(--ink); box-shadow: 0 3px 0 var(--ink); }
.gt-play.unlock { background: linear-gradient(180deg, #fff38a, var(--yellow)); }
.game-tile.locked .gt-art { filter: grayscale(.85) opacity(.6); animation: none; }
.game-tile.locked:not(.next) { opacity: .7; }
.game-tile.locked.next { border-style: dashed; }
.gt-lock { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); z-index: 2; }
.gt-lock svg { width: 40px; height: 40px; }
.games-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ---------- Liste öğeleri ---------- */
.list { display: flex; flex-direction: column; gap: 10px; }
.item {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 18px; text-align: start; width: 100%;
  background: var(--paper); border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink);
}
button.item:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.item .ico { width: 54px; height: 54px; flex: none; border-radius: 16px; display: grid; place-items: center; background: #fff; border: 2.5px solid var(--ink); }
.item .ico svg { width: 46px; height: 46px; }
.item .body { flex: 1; min-width: 0; }
.item .title { font-weight: 800; font-size: 15px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; line-height: 1.2; }
.item .sub-t { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.item .end { text-align: end; flex: none; }
.item.locked { opacity: .6; }
.item.me { background: #fff8c9; }
.lvl { font-size: 11px; font-weight: 800; padding: 1px 8px; border-radius: 999px; background: var(--yellow); border: 2px solid var(--ink); }
.mini-bar { display: block; height: 8px; border-radius: 6px; background: #fff; border: 2px solid var(--ink); overflow: hidden; margin-top: 4px; }
.mini-bar i { display: block; height: 100%; background: var(--green); }
.empty { text-align: center; padding: 22px 14px; border-radius: 18px; color: var(--muted); background: rgba(255,255,255,.75); border: 3px dashed var(--ink); font-weight: 700; }
.empty b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }
.rank { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: #fff; border: 2.5px solid var(--ink); }
.rank.r1 { background: var(--yellow); } .rank.r2 { background: #e3e6f2; } .rank.r3 { background: #ffc48a; }
.top-list .avatar { width: 32px; height: 32px; font-size: 18px; }

/* ---------- Mağaza ---------- */
.shop-cat { font-size: 16px; font-weight: 800; margin: 18px 2px 10px; color: #fff; text-shadow: 0 2px 0 var(--ink), 2px 0 0 var(--ink), -2px 0 0 var(--ink), 0 -2px 0 var(--ink); }
.shop-cat:first-child { margin-top: 4px; }
.shop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.shop-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 8px; border-radius: 20px; text-align: center;
  background: var(--paper); border: 3px solid var(--ink); box-shadow: 0 5px 0 var(--ink); }
.shop-card:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }
.shop-card .vis { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 20px; background: radial-gradient(circle, #fff 30%, #ffe9a8); border: 2.5px solid var(--ink); margin-bottom: 4px; }
.shop-card .vis svg { width: 58px; height: 58px; }
.shop-card .name { font-weight: 800; font-size: 14.5px; line-height: 1.15; }
.shop-card .meta { font-size: 11.5px; color: var(--muted); font-weight: 700; }
.shop-card .meta.add { color: #d97a00; font-size: 14px; font-weight: 800; }
.shop-card .price { margin-top: 6px; padding: 4px 12px; border-radius: 999px; font-weight: 800; background: var(--yellow); border: 2.5px solid var(--ink); }
.owned { position: absolute; top: 8px; inset-inline-end: 8px; font-size: 10.5px; font-weight: 800; padding: 1px 6px; border-radius: 8px; background: var(--green); border: 2px solid var(--ink); }

/* ---------- Form / değer satırları ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0; }
.tile { padding: 10px 6px; border-radius: 16px; text-align: center; background: #fff; border: 3px solid var(--ink); box-shadow: 0 3px 0 var(--ink); }
.tile.active { background: var(--yellow); }
.tile .d { font-weight: 800; } .tile .a { font-size: 12px; color: var(--muted); font-weight: 800; }
.kv-row { display: flex; gap: 8px; margin: 10px 0; }
.kv, .stat { flex: 1; padding: 9px 11px; border-radius: 14px; background: #fff; border: 2.5px solid var(--ink); }
.kv .k, .stat .k { display: block; font-size: 11px; color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.kv .v, .stat .v { display: block; font-size: 15.5px; font-weight: 800; }
.note { font-size: 12.5px; color: var(--muted); margin: 8px 0; font-weight: 700; }
.note.green { color: #0f8a55; padding: 9px 11px; border-radius: 12px; background: #e6fff1; border: 2.5px solid var(--ink); }
.note.gold { color: #a35d00; padding: 9px 11px; border-radius: 12px; background: #fff6cc; border: 2.5px solid var(--ink); }
.field { display: block; margin: 10px 0; }
.field-label { display: block; font-size: 12.5px; font-weight: 800; color: var(--muted); margin-bottom: 5px; }
.field input, .input-wrap input { width: 100%; padding: 12px 14px; border-radius: 14px; background: #fff; border: 3px solid var(--ink); font-size: 17px; font-weight: 800; outline: none; }
.field input:focus { box-shadow: 0 0 0 3px var(--yellow); }
.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap .chip { position: absolute; inset-inline-end: 8px; }
.input-wrap input { padding-inline-end: 80px; }
.nick-status { position: absolute; inset-inline-end: 12px; font-size: 12px; font-weight: 800; }
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; }
.receive { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; margin: 10px 0; border-radius: 16px; background: #fff8c9; border: 3px solid var(--ink); }
.receive .k { font-weight: 800; color: var(--muted); } .receive .v { font-size: 20px; font-weight: 800; }
.burn-note { font-size: 12.5px; font-weight: 800; padding: 8px 11px; border-radius: 12px; color: #c0420f; background: #ffe7d6; border: 2.5px solid var(--ink); margin: 10px 0; }
.qty { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 10px 0; }
.qty button { width: 44px; height: 44px; border-radius: 14px; background: #fff; border: 3px solid var(--ink); box-shadow: 0 3px 0 var(--ink); font-size: 22px; font-weight: 800; }
.qty .num { font-size: 24px; font-weight: 800; min-width: 40px; text-align: center; }

/* ---------- Seri / görev / davet ---------- */
.streak-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin: 10px 0 4px; }
.streak-cell { border-radius: 12px; padding: 5px 2px; text-align: center; background: #fff; border: 2.5px solid var(--ink); }
.streak-cell .d { font-size: 10px; color: var(--muted); font-weight: 800; }
.streak-cell .r { font-size: 12px; font-weight: 800; }
.streak-cell.done { background: #c7ffd8; }
.streak-cell.today { background: var(--yellow); transform: scale(1.06); box-shadow: 0 3px 0 var(--ink); }
.streak-cell.milestone .r { color: var(--pink); }
.task-reward { font-weight: 800; color: #d97a00; }
.ref-link { margin-top: 6px; padding: 12px; border-radius: 14px; background: #fff; border: 3px dashed var(--ink); font-size: 12.5px; word-break: break-all; user-select: all; -webkit-user-select: all; direction: ltr; font-weight: 700; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.stat-link { grid-column: 1 / -1; }
.ref-item { flex-direction: column; align-items: stretch; gap: 10px; }
.ref-row { display: flex; align-items: center; gap: 12px; }
.ref-claim { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 14px; background: #fff8c9; border: 2.5px dashed var(--ink); }
.ref-lock { margin-bottom: 10px; padding: 10px 12px; border-radius: 14px; background: #ffe6ee; border: 2.5px solid var(--ink); font-weight: 700; }

/* ---------- Cüzdan / çekim ---------- */
.wallet-box { padding: 12px; border-radius: 16px; background: #eef8ff; border: 3px solid var(--ink); margin-top: 8px; }
.wallet-status { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13px; margin-bottom: 10px; word-break: break-all; direction: ltr; }
.wallet-status .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--red); flex: none; border: 2px solid var(--ink); }
.wallet-status.on .dot { background: var(--green); }
.tc-btn { display: flex; justify-content: center; min-height: 40px; }
.rules { list-style: none; display: grid; gap: 6px; margin: 8px 0; } .rules li { font-size: 13px; font-weight: 700; }
.status-pill { font-size: 11px; font-weight: 800; padding: 1px 8px; border-radius: 99px; border: 2px solid var(--ink); }
.status-pending { background: #fff1a1; } .status-paid { background: #c7ffd8; } .status-rejected { background: #ffc4d2; }
.req-list { display: flex; flex-direction: column; gap: 8px; }
.req { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: var(--paper); border: 3px solid var(--ink); }
.req .mark { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: none; background: #ffc4d2; border: 2px solid var(--ink); }
.req.met .mark { background: var(--green); }
.req .t { flex: 1; font-weight: 800; font-size: 13.5px; }
.req .p { font-size: 12px; color: var(--muted); font-weight: 700; line-height: 1.35; display: inline-block; margin-top: 2px; }
.req .btn-sm { flex: none; }
.req.flash { animation: req-flash 1.1s ease 2; }
@keyframes req-flash { 40% { background: #fff1a1; transform: scale(1.02); } }
#withdraw-amount:disabled { opacity: .45; }
.verify-card { display: flex; flex-direction: column; gap: 10px; background: linear-gradient(180deg, #fff, #eef8ff); }
.verify-card:empty { display: none; }
.vc-head { display: flex; align-items: center; gap: 12px; }
.vc-ico { flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 28px; background: var(--blue); border: 3px solid var(--ink); }
.vc-head h3 { font-size: 18px; font-weight: 800; margin: 0 0 2px; } .vc-head p { margin: 0; font-size: 13px; }
.vc-step { display: flex; align-items: center; gap: 10px; padding: 11px; border-radius: 14px; background: #fff; border: 2.5px solid var(--ink); }
.vc-step.done { background: #e6fff1; }
.vc-check { flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; background: #fff; border: 2.5px solid var(--ink); }
.vc-step.done .vc-check { background: var(--green); }
.vc-st { font-size: 13.5px; line-height: 1.35; font-weight: 800; } .vc-st span { color: var(--muted); font-size: 12px; font-weight: 700; }
.vc-gift { display: flex; justify-content: space-between; align-items: center; padding: 4px 4px 0; font-weight: 800; }
.vc-done { text-align: center; padding: 12px; border-radius: 14px; font-weight: 800; background: #c7ffd8; border: 2.5px solid var(--ink); }
.vc-note { margin: 0; font-size: 11.5px; line-height: 1.5; color: var(--muted); text-align: center; }
.buy-promo {
  position: relative; display: flex; align-items: center; gap: 12px; margin: 16px 0 14px; padding: 14px; border-radius: 22px; cursor: pointer;
  background: linear-gradient(100deg, #ffe27a 0%, #ffb547 45%, #ff7a9a 100%); border: 3px solid var(--ink); box-shadow: 0 6px 0 var(--ink);
}
.buy-promo:active { transform: translateY(3px); box-shadow: 0 3px 0 var(--ink); }
.buy-promo .bp-ico { flex: none; display: grid; place-items: center; animation: bob 2.6s ease-in-out infinite; }
.buy-promo .bp-text { flex: 1; min-width: 0; }
.buy-promo .bp-title { display: block; font-size: 20px; font-weight: 800; line-height: 1.05; text-transform: uppercase; }
.buy-promo .bp-sub { display: block; font-size: 12.5px; font-weight: 800; opacity: .85; margin-top: 3px; }
.buy-promo .bp-btn { flex: none; padding: 9px 14px; border-radius: 14px; font-weight: 800; font-size: 14px; background: #fff; border: 2.5px solid var(--ink); box-shadow: 0 3px 0 var(--ink); }
.dex-box { margin-top: 6px; }
.or-sep { display: flex; align-items: center; gap: 10px; margin: 12px 0; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.or-sep::before, .or-sep::after { content: ''; flex: 1; height: 3px; border-radius: 2px; background: var(--ink); opacity: .2; }
.dex-btn { background: linear-gradient(180deg, #e6f6ff, #bfe6ff); }
.hist-item .amt.plus { color: #13a466; } .hist-item .amt.minus { color: #e8335f; } .hist-item .amt.zero { color: var(--muted); }

/* ---------- Ayarlar ---------- */
.lang-list { display: grid; gap: 8px; }
.lang-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 14px; background: #fff; border: 2.5px solid var(--ink); text-align: start; width: 100%; }
.lang-row img { width: 26px; height: 18px; border-radius: 4px; object-fit: cover; flex: none; border: 1.5px solid var(--ink); }
.lang-row .n { flex: 1; font-weight: 800; }
.lang-row .s { font-size: 11.5px; color: var(--muted); }
.lang-row.active { background: #fff1a1; }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; margin-bottom: 14px; border-radius: 16px; background: #fff; border: 2.5px solid var(--ink); font-weight: 800; }
.switch { appearance: none; -webkit-appearance: none; width: 52px; height: 30px; border-radius: 999px; background: #e3dcf3; border: 2.5px solid var(--ink); position: relative; cursor: pointer; transition: background .2s ease; flex: none; }
.switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 21px; height: 21px; border-radius: 50%; background: #fff; border: 2.5px solid var(--ink); transition: transform .2s cubic-bezier(.2,1.4,.4,1); }
.switch:checked { background: var(--green); } .switch:checked::after { transform: translateX(22px); }
.prose p { margin-bottom: 10px; line-height: 1.6; font-weight: 600; }
.about-hero { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.about-logo { flex: none; border-radius: 20px; border: 3px solid var(--ink); box-shadow: var(--pop); }
.about-hero .screen-title { color: #fff; text-shadow: 0 2px 0 var(--ink), 2px 0 0 var(--ink), -2px 0 0 var(--ink), 0 -2px 0 var(--ink); }
.about-hero .muted { color: #fff; text-shadow: 0 1px 0 rgba(43,27,74,.7); margin: 0; }

/* ---------- Alt menü ---------- */
.dock {
  position: fixed; left: 10px; right: 10px; bottom: calc(var(--safe-bottom) + 10px); z-index: 20;
  height: var(--dock-h); display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
  border-radius: 26px; padding: 0 4px; background: var(--paper); border: 3px solid var(--ink); box-shadow: 0 6px 0 var(--ink);
}
.dock-item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px; font-size: 10.5px; font-weight: 800; color: var(--muted); padding: 4px 0; }
.dock-item .ico { display: grid; place-items: center; height: 30px; transition: transform .2s cubic-bezier(.2,1.6,.4,1); }
.dock-item.active { color: var(--ink); }
.dock-item.active .ico { transform: translateY(-3px) scale(1.12) rotate(-6deg); }
.dock-item .dot { position: absolute; top: 2px; inset-inline-end: 22%; width: 11px; height: 11px; border-radius: 50%; background: var(--red); border: 2px solid var(--ink); }
.dock-item.center .ico {
  width: 66px; height: 66px; margin-top: -34px; border-radius: 22px;
  background: linear-gradient(180deg, #fff38a, var(--yellow) 55%, #ffb238); border: 3px solid var(--ink); box-shadow: 0 5px 0 var(--ink);
}
.dock-item.center.active .ico { transform: translateY(-3px) scale(1.05); }
.dock-item .lbl { max-width: 100%; padding: 0 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-transform: uppercase; letter-spacing: .01em; font-size: 10px; }
#dock-rewards[aria-expanded=true] { color: var(--ink); }
#dock-rewards[aria-expanded=true] .ico { transform: translateY(-3px) scale(1.12); }
.rewards-pop-backdrop { position: fixed; inset: 0; z-index: 19; background: rgba(43,27,74,.25); animation: bd .15s ease; }
.rewards-pop {
  position: absolute; bottom: calc(var(--safe-bottom) + var(--dock-h) + 24px); inset-inline-start: 10px;
  width: min(62vw, 230px); padding: 8px; border-radius: 22px; display: flex; flex-direction: column; gap: 6px;
  background: var(--paper); border: 3px solid var(--ink); box-shadow: 0 6px 0 var(--ink);
  transform-origin: bottom center; animation: rp-up .22s cubic-bezier(.2,1.4,.4,1);
}
.rewards-pop::after { content: ''; position: absolute; bottom: -9px; inset-inline-start: calc(20% + 10px); width: 16px; height: 16px;
  background: var(--paper); border-inline-end: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(45deg); }
[dir=rtl] .rewards-pop::after { transform: rotate(-45deg); }
@keyframes rp-up { from { opacity: 0; transform: translateY(14px) scale(.9); } }
.rp-item { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; font-weight: 800; font-size: 15.5px; text-align: start; background: #fff; border: 2.5px solid var(--ink); }
.rp-item:active { transform: scale(.97); }
.rp-item.active { background: #fff1a1; }
.rp-item .ico { display: grid; place-items: center; width: 30px; }
.rp-item .dot { position: absolute; top: 8px; inset-inline-end: 10px; width: 11px; height: 11px; border-radius: 50%; background: var(--red); border: 2px solid var(--ink); }

/* ---------- Yan menü + alt sayfa ---------- */
.drawer-backdrop, .sheet-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(43,27,74,.45); animation: bd .2s ease; }
@keyframes bd { from { opacity: 0; } }
.drawer {
  position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(82vw, 320px);
  padding: calc(var(--safe-top) + 14px) 14px 14px; display: flex; flex-direction: column; gap: 10px;
  background: var(--paper); border-inline-start: 3px solid var(--ink); animation: slideIn .25s cubic-bezier(.2,1.3,.4,1);
}
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } }
[dir=rtl] .drawer { border-inline-start: 0; border-inline-end: 3px solid var(--ink); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 19px; margin-bottom: 6px; }
.drawer-item { text-align: start; padding: 13px 14px; border-radius: 16px; font-weight: 800; font-size: 15.5px; background: #fff; border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink); }
.drawer-item:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 90vh; overflow-y: auto;
  padding: 10px 16px calc(var(--safe-bottom) + 20px); border-radius: 30px 30px 0 0;
  background: var(--paper); border: 3px solid var(--ink); border-bottom: 0; animation: up .3s cubic-bezier(.2,1.25,.4,1);
}
@keyframes up { from { transform: translateY(40%); } }
.sheet-grip { width: 48px; height: 6px; border-radius: 99px; background: var(--ink); opacity: .25; margin: 0 auto 10px; }
.sheet-x { position: absolute; top: 12px; inset-inline-end: 12px; width: 38px; height: 38px; }
.sheet-head, .game-sheet-head { display: flex; align-items: center; gap: 12px; margin: 6px 0 12px; padding-inline-end: 44px; }
.sheet-head .ico { width: 66px; height: 66px; border-radius: 20px; display: grid; place-items: center; background: #fff; border: 3px solid var(--ink); flex: none; }
.sheet-head .ico svg { width: 52px; height: 52px; }
.sheet-head h3, .game-sheet-head h3 { font-size: 21px; font-weight: 800; line-height: 1.15; }
.gs-art { flex: none; display: grid; }
.gs-art svg { width: 78px; height: 78px; }

/* oyun sonucu */
.game-result { text-align: center; }
.gr-art { display: grid; place-items: center; margin: 6px 0; animation: bob 2s ease-in-out infinite; }
.gr-art svg { width: 96px; height: 96px; }
.game-result h3 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.gr-big { display: flex; flex-direction: column; align-items: center; padding: 10px; margin: 6px 0 10px; border-radius: 20px; background: linear-gradient(180deg, #fff38a, var(--yellow)); border: 3px solid var(--ink); box-shadow: var(--pop); }
.gr-big .gr-k { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.gr-big b { font-size: 46px; line-height: 1; }
.gr-row { display: flex; justify-content: space-between; padding: 9px 12px; margin: 6px 0; border-radius: 14px; background: #fff; border: 2.5px solid var(--ink); font-weight: 800; }
.gr-row .gold { font-size: 17px; }

/* tam ekran oyun */
.game-ov { position: fixed; inset: 0; z-index: 70; background: #8fd3ff; display: flex; flex-direction: column; touch-action: none; }
.game-top { position: absolute; top: 0; left: 0; right: 0; z-index: 2; display: flex; align-items: center; gap: 8px; padding: calc(var(--safe-top) + 10px) 12px 8px; font-weight: 800; pointer-events: none; }
.game-top > * { pointer-events: auto; }
.game-score, .game-time { display: flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 999px; background: #fff; border: 3px solid var(--ink); box-shadow: var(--pop); font-size: 18px; }
.game-score { margin-inline-start: auto; }
.game-lives { font-size: 16px; letter-spacing: -2px; }
#game-canvas { flex: 1; width: 100%; height: 100%; display: block; touch-action: none; }
.game-hint { position: absolute; left: 16px; right: 16px; bottom: calc(var(--safe-bottom) + 24px); text-align: center; font-weight: 800; pointer-events: none;
  padding: 10px 14px; border-radius: 16px; background: rgba(255,255,255,.92); border: 3px solid var(--ink); }
.game-count { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; font-size: 110px; font-weight: 800; color: #fff;
  text-shadow: 0 6px 0 var(--ink), 4px 0 0 var(--ink), -4px 0 0 var(--ink), 0 -4px 0 var(--ink); animation: pulse .6s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.12); } }
body.gaming .dock, body.gaming .topbar { visibility: hidden; }

/* Energy Pass planları */
.ac-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0 4px; }
.ac-plan { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; border-radius: 16px; background: #fff; border: 3px solid var(--ink); box-shadow: 0 3px 0 var(--ink); }
.ac-plan .d { font-weight: 800; } .ac-plan .p { font-weight: 800; color: #d97a00; } .ac-plan .per { font-size: 10.5px; color: var(--muted); font-weight: 700; }
.ac-plan.sel { background: var(--yellow); transform: translateY(-2px); }

/* ---------- Nasıl oynanır turu ---------- */
.tour { position: fixed; inset: 0; z-index: 55; }
.tour-spot { position: fixed; border-radius: 22px; pointer-events: none; box-shadow: 0 0 0 9999px rgba(43,27,74,.72), 0 0 0 4px var(--yellow); transition: all .3s cubic-bezier(.2,1.2,.4,1); }
.tour-spot.none { top: 50% !important; left: 50% !important; width: 0 !important; height: 0 !important; box-shadow: 0 0 0 9999px rgba(43,27,74,.78); }
.tour-card { position: fixed; left: 14px; right: 14px; max-width: 420px; margin: 0 auto; padding: 16px; border-radius: 24px;
  background: var(--paper); border: 3px solid var(--ink); box-shadow: 0 6px 0 var(--ink); transition: top .3s ease, bottom .3s ease; animation: pop-in .3s cubic-bezier(.2,1.3,.4,1); }
.tour-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.tour-step { font-size: 12px; font-weight: 800; color: var(--muted); letter-spacing: .06em; }
.tour-skip { font-size: 13px; font-weight: 800; color: var(--purple); text-transform: uppercase; letter-spacing: .06em; padding: 4px 2px; }
.tour-title { font-size: 21px; font-weight: 800; margin-bottom: 6px; line-height: 1.2; }
.tour-text { font-size: 14.5px; line-height: 1.5; font-weight: 600; }
.tour-dots { display: flex; gap: 5px; justify-content: center; margin: 14px 0 12px; }
.tour-dots i { width: 8px; height: 8px; border-radius: 4px; background: #e3dcf3; border: 1.5px solid var(--ink); transition: all .2s ease; }
.tour-dots i.on { width: 22px; background: var(--yellow); }
.tour-actions { display: flex; justify-content: space-between; gap: 10px; }
.tour-actions .btn-gold { flex: 1; }
.tour-logo { display: block; margin: 0 auto 10px; border-radius: 20px; border: 3px solid var(--ink); }

/* ---------- Avatar / toast / splash ---------- */
.avatar-picker { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 10px 0 4px; }
.avatar-picker .avatar { width: 52px; height: 52px; cursor: pointer; opacity: .55; }
.avatar-picker .avatar.active { opacity: 1; transform: scale(1.1); box-shadow: 0 0 0 3px var(--yellow); }
.toasts { position: fixed; z-index: 90; left: 12px; right: 12px; top: calc(var(--safe-top) + 70px); display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast { padding: 12px 14px; border-radius: 16px; font-weight: 800; font-size: 14px; pointer-events: auto; background: #fff; border: 3px solid var(--ink); box-shadow: var(--pop); animation: toast .3s cubic-bezier(.2,1.4,.4,1); }
.toast.success { background: #c7ffd8; } .toast.error { background: #ffd2dc; }
@keyframes toast { from { transform: translateY(-14px) scale(.9); opacity: 0; } }
.splash { position: fixed; inset: 0; z-index: 95; display: grid; place-content: center; justify-items: center; gap: 14px; background: linear-gradient(180deg, var(--sky-1), var(--sky-2)); color: var(--ink); font-weight: 800; transition: opacity .3s ease; }
.splash.hide { opacity: 0; pointer-events: none; }
.splash-logo { border-radius: 26px; border: 3px solid var(--ink); box-shadow: 0 6px 0 var(--ink); animation: bob 1.6s ease-in-out infinite; }
.spinner { width: 42px; height: 42px; border-radius: 50%; border: 5px solid rgba(43,27,74,.15); border-top-color: var(--ink); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.float-gain { position: fixed; z-index: 75; pointer-events: none; font-weight: 800; font-size: 26px; color: var(--yellow); text-shadow: 0 3px 0 var(--ink), 2px 0 0 var(--ink), -2px 0 0 var(--ink), 0 -2px 0 var(--ink); animation: rise 1.2s ease forwards; }
@keyframes rise { to { transform: translateY(-80px) scale(1.2); opacity: 0; } }

/* =========================================================================
   Tanıtım sayfası (Telegram dışı) — çizgi film posteri
   ========================================================================= */
html:has(body.landing-mode) { height: auto; scroll-behavior: smooth; }
body.landing-mode { overflow-y: auto; height: auto; min-height: 100%; overscroll-behavior: auto; background: #8fd3ff; user-select: text; -webkit-user-select: text; }
body.landing-mode .topbar, body.landing-mode .screens, body.landing-mode .dock, body.landing-mode .bg-sky { display: none !important; }
@keyframes land-float { 50% { transform: translateY(-12px) rotate(-2deg); } }
.landing { position: relative; z-index: 1; color: var(--ink); }
.landing a { color: inherit; }
.ph { position: relative; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; }
.ph-scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.ph-bar { position: relative; z-index: 3; display: flex; align-items: center; gap: 18px; padding: calc(var(--safe-top) + 16px) 22px 0; max-width: 1200px; width: 100%; margin: 0 auto; }
.ph-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 21px; text-decoration: none; }
.ph-brand img { border-radius: 12px; border: 2.5px solid var(--ink); } .ph-brand b { color: var(--pink); }
.ph-nav { display: flex; gap: 6px; margin-inline-start: auto; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.85); border: 3px solid var(--ink); }
.ph-nav a { text-decoration: none; font-weight: 800; font-size: 14.5px; padding: 4px 12px; border-radius: 999px; }
.ph-nav a:hover { background: var(--yellow); }
.ph-mini { padding: 9px 16px; border-radius: 999px; font-weight: 800; font-size: 14px; text-decoration: none; background: linear-gradient(180deg, #fff38a, var(--yellow)); border: 3px solid var(--ink); box-shadow: var(--pop); }
.ph-center { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px 20px 140px; }
.ph-logo { width: 190px; height: 190px; margin-bottom: 8px; animation: land-float 4s ease-in-out infinite; }
.ph-logo img { width: 100%; height: 100%; border-radius: 44px; border: 4px solid var(--ink); box-shadow: 0 8px 0 var(--ink); }
.ph-title { font-size: clamp(50px, 11vw, 120px); font-weight: 800; line-height: .9; letter-spacing: .01em; }
.ph-title span { display: inline-block; color: #fff; -webkit-text-stroke: 0; text-shadow: 0 8px 0 var(--ink), 5px 0 0 var(--ink), -5px 0 0 var(--ink), 0 -5px 0 var(--ink), 4px 4px 0 var(--ink), -4px 4px 0 var(--ink), 4px -4px 0 var(--ink), -4px -4px 0 var(--ink); }
.ph-title .w1 { color: var(--yellow); transform: rotate(-3deg); }
.ph-title .w2 { color: var(--pink); transform: rotate(2deg); }
.ph-tag { margin-top: 18px; font-size: clamp(20px, 4vw, 28px); font-weight: 800; padding: 4px 18px; border-radius: 999px; background: #fff; border: 3px solid var(--ink); box-shadow: var(--pop); }
.ph-sub { max-width: 620px; margin-top: 14px; font-size: 17px; line-height: 1.55; font-weight: 700; padding: 10px 16px; border-radius: 18px; background: rgba(255,255,255,.85); border: 3px solid var(--ink); }
.ph-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }
.ph-play { display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; border-radius: 22px; font-size: 19px; font-weight: 800; color: #fff !important; text-decoration: none;
  background: linear-gradient(180deg, #5fd0ff, #2a9be8); border: 3px solid var(--ink); box-shadow: 0 6px 0 var(--ink); transition: transform .1s ease; text-shadow: 0 2px 0 rgba(43,27,74,.5); }
.ph-play:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink); }
.ph-play.sm { padding: 13px 22px; font-size: 16px; margin-top: 8px; }
.ph-ghost { display: inline-flex; align-items: center; padding: 15px 22px; border-radius: 22px; font-weight: 800; font-size: 17px; text-decoration: none; background: #fff; border: 3px solid var(--ink); box-shadow: 0 6px 0 var(--ink); cursor: pointer; }
.ph-ghost.sm { padding: 8px 14px; font-size: 13.5px; border-radius: 14px; box-shadow: 0 3px 0 var(--ink); } .ph-ghost.gold { background: var(--yellow); }
.ph-stats { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; justify-content: center; }
.ph-stats div { display: flex; flex-direction: column; align-items: center; min-width: 110px; padding: 8px 14px; border-radius: 18px; background: #fff; border: 3px solid var(--ink); box-shadow: var(--pop); }
.ph-stats b { font-size: 28px; font-weight: 800; line-height: 1.1; color: var(--purple); } .ph-stats span { font-size: 13px; color: var(--muted); font-weight: 800; }
.ph-down { position: absolute; z-index: 2; bottom: calc(var(--safe-bottom) + 14px); left: 50%; transform: translateX(-50%); font-size: 30px; text-decoration: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 3px solid var(--ink); animation: land-float 2s ease-in-out infinite; }
.pticker { overflow: hidden; padding: 12px 0; background: var(--yellow); border-top: 4px solid var(--ink); border-bottom: 4px solid var(--ink); transform: rotate(-1.2deg); margin: -10px -20px 0; position: relative; z-index: 3; }
.pticker-track { display: flex; width: max-content; animation: pticker 40s linear infinite; }
.pticker span { padding: 0 24px; white-space: nowrap; font-weight: 800; font-size: 16px; } .pticker span::after { content: '★'; margin-left: 24px; color: var(--pink); }
@keyframes pticker { to { transform: translateX(-50%); } } [dir=rtl] .pticker-track { animation-direction: reverse; }
.pwrap { max-width: 1160px; margin: 0 auto; padding: 0 18px; }
.landing .pwrap::before { content: ''; position: fixed; inset: 0; z-index: -1; background: linear-gradient(180deg, #8fd3ff, #c3b3ff 60%, #ffc4e4); }
.psec { padding-top: 130px; scroll-margin-top: 30px; }
.peye { display: inline-block; font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 3px 14px; border-radius: 999px; background: #fff; border: 3px solid var(--ink); box-shadow: 0 3px 0 var(--ink); }
.peye.c { display: table; margin: 0 auto; }
.ph2 { text-align: center; font-size: clamp(30px, 4.6vw, 48px); font-weight: 800; margin: 14px 0 32px; line-height: 1.1; color: #fff;
  text-shadow: 0 5px 0 var(--ink), 3px 0 0 var(--ink), -3px 0 0 var(--ink), 0 -3px 0 var(--ink), 3px 3px 0 var(--ink), -3px 3px 0 var(--ink); }
.ph2.left { text-align: start; margin-bottom: 16px; }
.ptag { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; background: var(--yellow); border: 2.5px solid var(--ink); }
.pm { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 50px; }
.pm-card { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 24px; background: #fff; border: 3px solid var(--ink); box-shadow: 0 6px 0 var(--ink); }
.pm-card.t-yellow { background: #fff6c2; } .pm-card.t-pink { background: #ffe0f0; } .pm-card.t-blue { background: #dff3ff; } .pm-card.t-green { background: #dcfbe9; }
.pm-card .k { font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pm-card b { font-size: clamp(24px, 3vw, 34px); font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; } .pm-card .s { font-size: 13px; color: var(--muted); font-weight: 700; }
.pgames { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pgame { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 18px 14px 20px; border-radius: 26px; background: #fff; border: 3px solid var(--ink); box-shadow: 0 7px 0 var(--ink); transition: transform .2s cubic-bezier(.2,1.4,.4,1); }
.pgame:hover { transform: translateY(-6px) rotate(-1deg); }
.pgame.blue { background: #dff3ff; } .pgame.pink { background: #ffe0f0; } .pgame.green { background: #dcfbe9; } .pgame.purple { background: #ece5ff; } .pgame.orange { background: #ffedd2; }
.pgame-art { animation: land-float 4s ease-in-out infinite; } .pgame:nth-child(2n) .pgame-art { animation-delay: -1.6s; }
.pgame-art svg { width: 110px; height: 110px; }
.pgame h3 { font-size: 20px; font-weight: 800; line-height: 1.1; } .pgame p { font-size: 14px; color: #4b3d6b; font-weight: 600; line-height: 1.45; }
.pabout { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; }
.pabout-text { padding: 26px; border-radius: 28px; background: #fff; border: 3px solid var(--ink); box-shadow: 0 7px 0 var(--ink); }
.pabout-text .ph2 { color: var(--ink); text-shadow: none; font-size: clamp(26px, 3.6vw, 38px); }
.pabout-text p { line-height: 1.7; margin: 0 0 12px; font-size: 16px; font-weight: 600; }
.pabout-art img { width: 100%; border-radius: 28px; border: 4px solid var(--ink); box-shadow: 0 8px 0 var(--ink); transform: rotate(2deg); }
.psteps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pstep { position: relative; padding: 26px 18px 20px; border-radius: 26px; background: #fff; border: 3px solid var(--ink); box-shadow: 0 7px 0 var(--ink); text-align: center; }
.pstep-n { position: absolute; top: -18px; inset-inline-start: 18px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; font-size: 20px; font-weight: 800; background: var(--pink); color: #fff; border: 3px solid var(--ink); }
.pstep-ico { width: 96px; height: 96px; margin: 0 auto 10px; display: grid; place-items: center; border-radius: 28px; background: #fff6c2; border: 3px solid var(--ink); animation: land-float 4s ease-in-out infinite; }
.pstep:nth-child(2) .pstep-ico { animation-delay: .4s; } .pstep:nth-child(3) .pstep-ico { animation-delay: .8s; } .pstep:nth-child(4) .pstep-ico { animation-delay: 1.2s; }
.pstep h3 { font-size: 19px; font-weight: 800; margin-bottom: 6px; } .pstep p { font-size: 14.5px; color: #4b3d6b; line-height: 1.5; font-weight: 600; }
.pfeat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pfeat-card { padding: 22px 20px; border-radius: 26px; background: #fff; border: 3px solid var(--ink); box-shadow: 0 7px 0 var(--ink); transition: transform .2s cubic-bezier(.2,1.4,.4,1); }
.pfeat-card:hover { transform: translateY(-5px) rotate(1deg); }
.pfeat-card.yellow { background: #fff6c2; } .pfeat-card.blue { background: #dff3ff; } .pfeat-card.pink { background: #ffe0f0; } .pfeat-card.green { background: #dcfbe9; } .pfeat-card.orange { background: #ffedd2; } .pfeat-card.purple { background: #ece5ff; }
.pfeat-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.pfeat-ico { width: 78px; height: 78px; display: grid; place-items: center; border-radius: 22px; background: #fff; border: 3px solid var(--ink); }
.pfeat-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 6px; } .pfeat-card p { font-size: 14.5px; color: #4b3d6b; line-height: 1.55; font-weight: 600; }
.ptoken { display: grid; grid-template-columns: .9fr 1fr 1.2fr; gap: 24px; align-items: center; }
.ptoken-coin { position: relative; display: grid; place-items: center; min-height: 300px; }
.ptoken-glow { position: absolute; width: 270px; height: 270px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.9), transparent 68%); animation: ptoken-pulse 3s ease-in-out infinite; }
.ptoken-coin svg { position: relative; filter: drop-shadow(0 10px 0 rgba(43,27,74,.35)); animation: coin-spin 5s ease-in-out infinite; }
.ptoken-sym { position: absolute; bottom: 4px; padding: 6px 18px; border-radius: 999px; font-weight: 800; font-size: 18px; background: #fff; border: 3px solid var(--ink); box-shadow: var(--pop); }
@keyframes coin-spin { 0%, 100% { transform: translateY(0) rotateY(0); } 50% { transform: translateY(-16px) rotateY(180deg); } }
@keyframes ptoken-pulse { 50% { transform: scale(1.1); opacity: .7; } }
.ptoken-alloc { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.pdonut { position: relative; width: 210px; height: 210px; border-radius: 50%; border: 4px solid var(--ink); box-shadow: 0 7px 0 var(--ink); background: conic-gradient(#4fc3ff 0 50%, #ff5ca8 50% 70%, #ffd23f 70% 90%, #3ddc97 90% 100%); }
.pdonut span { position: absolute; inset: 40px; border-radius: 50%; background: #fff; border: 4px solid var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.pdonut b { font-size: 30px; font-weight: 800; line-height: 1; } .pdonut small { color: var(--muted); font-weight: 800; }
.plegend { list-style: none; margin: 0; padding: 12px 16px; display: grid; gap: 6px; border-radius: 20px; background: #fff; border: 3px solid var(--ink); }
.plegend li { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 14px; } .plegend i { width: 16px; height: 16px; border-radius: 5px; border: 2px solid var(--ink); }
.ptoken-spec { padding: 8px 20px; border-radius: 26px; background: #fff; border: 3px solid var(--ink); box-shadow: 0 7px 0 var(--ink); }
.ptoken-spec > div { display: flex; justify-content: space-between; gap: 14px; padding: 13px 0; border-bottom: 2.5px dashed rgba(43,27,74,.25); } .ptoken-spec > div:last-child { border-bottom: 0; }
.ptoken-spec span { color: var(--muted); font-weight: 800; } .ptoken-spec b { text-align: end; }
.pca { flex-direction: column; } .pca code { display: block; padding: 10px 12px; border-radius: 12px; background: #f3eeff; border: 2.5px solid var(--ink); font-family: ui-monospace, Consolas, monospace; font-size: 12px; word-break: break-all; }
.pca-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.proad { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 24px; position: relative; }
.proad::before { content: ''; position: absolute; top: 8px; left: 4%; right: 4%; height: 8px; border-radius: 6px; background: repeating-linear-gradient(90deg, #fff 0 18px, var(--yellow) 18px 36px); border: 3px solid var(--ink); }
.proad-item { position: relative; padding: 26px 20px 20px; border-radius: 26px; background: #fff; border: 3px solid var(--ink); box-shadow: 0 7px 0 var(--ink); }
.proad-dot { position: absolute; top: -28px; left: 22px; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); }
.proad-item.road_done .proad-dot { background: var(--green); } .proad-item.road_now .proad-dot { background: var(--yellow); animation: land-float 1.6s ease-in-out infinite; }
.proad-item.road_done .ptag { background: var(--green); } .proad-item.road_next .ptag { background: #dff3ff; }
.proad-item.road_now { background: #fff6c2; }
.proad-item h3 { font-size: 19px; font-weight: 800; margin: 10px 0 8px; } .proad-item ul { margin: 0; padding-inline-start: 18px; font-size: 14.5px; line-height: 1.7; font-weight: 600; }
.pfaq { display: grid; gap: 12px; max-width: 840px; margin: 0 auto; }
.pfaq details { border-radius: 20px; padding: 0 20px; background: #fff; border: 3px solid var(--ink); box-shadow: 0 5px 0 var(--ink); }
.pfaq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 800; font-size: 17px; display: flex; justify-content: space-between; gap: 12px; }
.pfaq summary::after { content: '+'; flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); border: 2.5px solid var(--ink); font-size: 20px; line-height: 1; transition: transform .2s ease; }
.pfaq details[open] summary::after { transform: rotate(45deg); }
.pfaq summary::-webkit-details-marker { display: none; } .pfaq p { padding: 0 0 16px; line-height: 1.65; font-weight: 600; }
.pcta { position: relative; margin-top: 130px; min-height: 480px; display: grid; place-items: center; overflow: hidden; text-align: center; border-top: 4px solid var(--ink); }
.pcta-scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 80%; }
.pcta-in { position: relative; z-index: 2; padding: 40px 18px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.pcta-logo { border-radius: 30px; border: 4px solid var(--ink); box-shadow: 0 7px 0 var(--ink); animation: land-float 4s ease-in-out infinite; }
.pcta h2 { font-size: clamp(32px, 6vw, 54px); font-weight: 800; color: #fff; text-shadow: 0 5px 0 var(--ink), 3px 0 0 var(--ink), -3px 0 0 var(--ink), 0 -3px 0 var(--ink), 3px 3px 0 var(--ink), -3px 3px 0 var(--ink); }
.pfoot { padding: 26px 18px calc(var(--safe-bottom) + 30px); text-align: center; background: var(--ink); color: #d9cff5; font-size: 13.5px; font-weight: 600; }
.pfoot-top { max-width: 1160px; margin: 0 auto 14px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.pfoot .ph-brand { color: #fff; } .pfoot .ph-brand img { border-color: #fff; }
.pfoot-links { display: flex; gap: 22px; } .pfoot-links a { color: #fff; font-weight: 800; text-decoration: none; } .pfoot .small { font-size: 12px; margin-top: 6px; opacity: .8; }
@media (max-width: 1100px) { .pgames { grid-template-columns: repeat(3, 1fr); } }
.pgame.cyan { background: #dcf6ff; } .pgame.indigo { background: #e4e0ff; } .pgame.rose { background: #ffe4f6; }
@media (max-width: 960px) {
  .ph-nav { display: none; } .ph-mini { margin-inline-start: auto; }
  .pm { grid-template-columns: 1fr 1fr; } .psteps { grid-template-columns: 1fr 1fr; row-gap: 30px; } .pfeat { grid-template-columns: 1fr 1fr; }
  .pabout { grid-template-columns: 1fr; } .ptoken { grid-template-columns: 1fr; } .proad { grid-template-columns: 1fr 1fr; row-gap: 40px; } .proad::before { display: none; }
  .pgames { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .psec { padding-top: 100px; } .ph-center { padding-bottom: 110px; } .ph-logo { width: 150px; height: 150px; }
  .psteps, .pfeat, .proad { grid-template-columns: 1fr; } .pm { grid-template-columns: 1fr 1fr; gap: 10px; } .pm-card { padding: 14px; }
  .pgames { grid-template-columns: 1fr 1fr; gap: 10px; } .pgame { padding: 14px 10px; } .pgame-art svg { width: 86px; height: 86px; } .pgame p { font-size: 13px; }
  .pfoot-top { justify-content: center; } .ph-brand { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (min-width: 560px) {
  .screens { max-width: 520px; margin: 0 auto; }
  .dock { max-width: 500px; margin: 0 auto; }
  .rewards-pop { inset-inline-start: calc(50% - 250px + 10px); }
  .sheet { max-width: 560px; margin: 0 auto; }
}
