/* MineUp ana sayfası: sayfa oyunun içi gibi. Paneller, düğmeler ve yazılar oyunun arayüzünden alındı. */
@font-face { font-family: 'Lilita One'; font-weight: 400; font-display: swap; src: url(fonts/lil-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Lilita One'; font-weight: 400; font-display: swap; src: url(fonts/lil-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+A720-A7FF; }
@font-face { font-family: 'Nunito'; font-weight: 700 800; font-display: swap; src: url(fonts/nun-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Nunito'; font-weight: 700 800; font-display: swap; src: url(fonts/nun-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+A720-A7FF; }

:root {
  --panel: rgba(22, 26, 52, .9);
  --line: rgba(255, 255, 255, .18);
  --gold: #ffc531;
  --ink: #fff;
  --muted: #c3c9e4;
  --display: 'Lilita One', 'Arial Black', Impact, sans-serif;
  --body: 'Nunito', 'Segoe UI', system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  color: var(--ink); font: 700 17px/1.45 var(--body);
  background: linear-gradient(#2f74dc, #7fc1ff 45%, #c77bb0 75%, #2b2463);
  background-attachment: fixed; min-height: 100vh;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); }
a:focus-visible, button:focus-visible { outline: 3px solid #7fd3ff; outline-offset: 3px; }
html[data-lang="en"] body [lang="tr"], html[data-lang="tr"] body [lang="en"] { display: none !important; }
ul { list-style: none; margin: 0; padding: 0; }

#world { display: none; }
html.climb #world { display: block; position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; touch-action: pan-y; cursor: pointer; }

/* üst gösterge: oyundaki metre ve altın göstergeleri */
.hud { position: fixed; top: 0; left: 0; right: 0; z-index: 5; display: flex; align-items: center; gap: 10px; padding: max(10px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) 10px max(14px, env(safe-area-inset-left)); pointer-events: none; }
.hud > * { pointer-events: auto; }
.hud-brand img { width: 46px; height: 46px; border-radius: 13px; border: 3px solid var(--line); }
.hud-stats { display: flex; gap: 8px; pointer-events: none; }
.pill { display: inline-flex; align-items: center; gap: 7px; height: 46px; padding: 0 15px; border-radius: 15px; background: var(--panel); border: 3px solid var(--line); font: 400 20px var(--display); white-space: nowrap; }
.pill b { font-weight: 400; font-size: 23px; min-width: 1ch; font-variant-numeric: tabular-nums; }
.pill img { width: auto; height: 24px; }
.hud-nav { margin-left: auto; display: flex; align-items: center; gap: 8px; height: 46px; }
.hud-link { display: inline-flex; align-items: center; height: 46px; padding: 0 14px; border-radius: 15px; color: #fff; text-decoration: none; background: var(--panel); border: 3px solid var(--line); font: 400 17px var(--display); transition: transform .12s, border-color .12s; }
.hud-link:hover { transform: translateY(-2px); border-color: var(--gold); }
.lang { display: inline-flex; height: 46px; border-radius: 15px; overflow: hidden; background: var(--panel); border: 3px solid var(--line); }
.lang button { background: none; border: 0; color: var(--muted); font: 400 16px var(--display); padding: 0 11px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--gold); color: #4a2400; }
.hud-play { display: inline-flex; align-items: center; height: 46px; padding: 0 20px; border-radius: 15px; text-decoration: none; color: #4a2400; font: 400 20px var(--display); background: linear-gradient(#ffe07a, #ffb020); border: 3px solid #fff3c4; box-shadow: 0 4px 0 #a85f00; transition: transform .12s; }
.hud-play:hover { transform: translateY(-2px); }
@media (max-width: 860px) { .hud-link { display: none; } }
@media (max-width: 520px) {
  .hud { gap: 6px; padding-left: max(8px, env(safe-area-inset-left)); padding-right: max(8px, env(safe-area-inset-right)); }
  .hud-brand { display: none; }
  .hud-stats { gap: 6px; }
  .hud-nav { gap: 6px; }
  .pill { padding: 0 9px; gap: 5px; height: 42px; font-size: 16px; }
  .pill b { font-size: 18px; }
  .lang, .hud-play { height: 42px; }
  .lang button { padding: 0 8px; font-size: 14px; }
  .hud-play { padding: 0 11px; font-size: 16px; }
}

/* düz akış (hareket azaltma, JS yok) */
#stage { position: relative; z-index: 2; padding: 76px 16px 24px; }
.scene { margin: 0 auto 28px; display: flex; flex-direction: column; align-items: center; }
#track { display: none; }

/* tırmanış sahnesi: paneller sayfayla birlikte aşağı kayar, kaydırmak için #track yüksekliği kullanılır */
html.climb #stage { position: fixed; inset: 0; padding: 0; pointer-events: none; overflow: hidden; }
html.climb #track { display: block; }
html.climb .scene { position: absolute; left: 0; right: 0; top: 0; height: 100%; margin: 0; padding: 72px 16px 14px; justify-content: center; will-change: transform; visibility: hidden; }
html.climb .scene.on { visibility: visible; }
html.climb .scene > * { pointer-events: auto; }
html.climb .scene-hero { padding-bottom: 12vh; }
html.climb .panel { max-height: 100%; overflow-y: auto; overscroll-behavior: auto; scrollbar-width: thin; }

/* panel: oyundaki koyu kartlar */
.panel { width: min(920px, 100%); background: var(--panel); border: 4px solid var(--line); border-radius: 26px; padding: clamp(16px, 2.6vh, 28px) clamp(16px, 3vw, 34px); box-shadow: 0 16px 0 rgba(10, 8, 30, .28); text-align: center; }
.title { margin: 0 0 8px; font: 400 clamp(29px, 4.6vw, 44px)/1.08 var(--display); color: #fff; letter-spacing: .5px; paint-order: stroke fill; -webkit-text-stroke: 7px #1a1f44; text-shadow: 0 3px 0 #1a1f44; }
.lead { margin: 0 auto 14px; max-width: 58ch; color: var(--muted); font-size: clamp(15px, 2vh, 18px); }
.tip { margin: 12px 0 0; color: #ffd76a; font-size: 15px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 16px 40px; border-radius: 999px; font: 400 clamp(23px, 3.4vh, 30px) var(--display); text-decoration: none; letter-spacing: .5px; transition: transform .12s, box-shadow .12s; }
.btn-gold { color: #4a2400; background: linear-gradient(#ffe88f, #ffc531 50%, #ff9d1c); border: 4px solid #fff3c4; box-shadow: 0 7px 0 #a85f00, 0 14px 22px rgba(60, 20, 0, .35); }
.btn-gold:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 10px 0 #a85f00, 0 18px 26px rgba(60, 20, 0, .35); }
.btn-gold:active { transform: translateY(5px); box-shadow: 0 2px 0 #a85f00; }

/* giriş */
.scene-hero { text-align: center; }
.hero-logo { margin: 0; width: min(820px, 100%); animation: bob 3.4s ease-in-out infinite; filter: drop-shadow(0 10px 0 rgba(20, 12, 50, .25)); }
.hero-logo img { width: 100%; }
.hero-tag { margin: 6px 0 22px; font: 400 clamp(23px, 3.8vw, 36px)/1.15 var(--display); color: #fff; paint-order: stroke fill; -webkit-text-stroke: 7px #1a1f44; }
.hero-soon { margin: 20px 0 0; font-size: 15px; color: #fff; text-shadow: 0 1px 0 #1a1f44, 0 0 6px #1a1f44; }
.scroll-hint { position: absolute; bottom: 13vh; left: 50%; transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: 4px; background: none; border: 0; color: #fff; font: 800 15px var(--body); cursor: pointer; text-shadow: 0 1px 0 #6a1a00, 0 0 8px #6a1a00; white-space: nowrap; }
html.climb .scroll-hint { display: flex; }
.chev { width: 26px; height: 26px; border-left: 6px solid #ffc531; border-top: 6px solid #ffc531; border-radius: 3px; transform: rotate(45deg); animation: hop 1.1s ease-in-out infinite; filter: drop-shadow(0 2px 0 #6a1a00); }
@keyframes bob { 50% { transform: translateY(-12px) rotate(-.8deg); } }
@keyframes hop { 50% { transform: translateY(-10px) rotate(45deg); } }
@media (prefers-reduced-motion: reduce) { .hero-logo, .chev { animation: none; } }

/* toplananlar */
.pickups { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.pickups li { display: flex; flex-direction: column; align-items: center; padding: 12px 4px; background: rgba(255, 255, 255, .06); border-radius: 18px; }
.pickups img { height: 56px; width: auto; margin-bottom: 6px; }
.pickups b { font: 400 18px var(--display); color: #fff; }
.pickups small { font-size: 13px; color: var(--muted); line-height: 1.2; }
@media (max-width: 560px) { .pickups { grid-template-columns: repeat(3, 1fr); } .pickups img { height: 44px; } .pickups small { font-size: 12px; } }

/* karakter seçimi: oyunun karakter ekranı */
.chars-body { display: grid; grid-template-columns: 300px 1fr; gap: 20px; align-items: center; }
.char-show { min-width: 0; position: relative; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; }
.char-stage { min-width: 0; position: relative; height: clamp(150px, 30vh, 250px); }
.char-stage::after { content: ''; position: absolute; left: 12%; right: 12%; bottom: 3%; height: 15%; border-radius: 50%; background: #2a2f55; border: 3px solid var(--c, #ffb347); box-shadow: 0 0 26px var(--c, #ffb347); z-index: 0; }
#char-big { pointer-events: none; position: absolute; z-index: 1; height: 118%; width: auto; max-width: none; bottom: -5%; left: 50%; transform: translateX(-50%); }
#char-big.pop { animation: pop .28s ease-out; }
@keyframes pop { from { transform: translateX(-50%) scale(.82) translateY(10px); } }
.round { position: relative; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: rgba(0, 0, 0, .25); color: #fff; border: 3px solid #fff; font: 400 28px/1 var(--display); padding: 0 0 4px; cursor: pointer; transition: transform .12s; }
.round:hover { transform: scale(1.12); }
.char-info { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 3px; min-height: 112px; }
.char-name { font: 400 28px/1.1 var(--display); color: #fff3c4; }
.char-tool { padding: 1px 13px; border: 3px solid var(--line); border-radius: 999px; font-size: 14px; }
.char-ab { margin: 4px 0 0; font-size: 14px; color: var(--muted); line-height: 1.3; }
.char-ab b { color: #fff3c4; }
.char-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; align-self: stretch; align-content: center; }
.char-cell { aspect-ratio: 1; padding: 0; background: rgba(255, 255, 255, .07); border: 3px solid transparent; border-radius: 13px; cursor: pointer; overflow: hidden; transition: transform .1s, background .1s; }
.char-cell img { width: 136%; max-width: none; margin: -8% -18% -28%; }
.char-cell:hover { background: rgba(255, 255, 255, .18); transform: translateY(-2px); }
.char-cell[aria-pressed="true"] { border-color: #fff3c4; background: rgba(255, 255, 255, .22); }
@media (max-width: 760px) {
  .chars-body { grid-template-columns: 1fr; gap: 8px; }
  .char-info { min-height: 96px; }
  .char-grid { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-template-rows: repeat(2, 54px); grid-auto-columns: 54px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; justify-content: start; }
}

/* modlar */
.panel-modes { width: min(1000px, 100%); }
.mode-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 10px; }
.mode { --c: #fff; display: flex; flex-direction: column; align-items: center; padding: 12px 8px 10px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 3px solid color-mix(in srgb, var(--c) 45%, transparent); transition: transform .14s, background .14s, border-color .14s; }
.mode:hover { transform: translateY(-5px) rotate(-1.2deg); background: rgba(255, 255, 255, .13); border-color: var(--c); }
.mode img { height: 38px; width: auto; margin-bottom: 6px; }
.mode b { font: 400 17px/1.1 var(--display); color: var(--c); }
.mode .dots { display: flex; gap: 3px; margin: 5px 0; }
.mode .dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.mode .dots i.on { background: #ff8a5a; }
.mode small { font-size: 13px; line-height: 1.22; color: var(--muted); }
@media (max-width: 860px) {
  .mode-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .mode { display: grid; grid-template-columns: 34px 1fr; column-gap: 8px; text-align: left; padding: 7px 9px; align-items: center; }
  .mode img { height: 30px; max-width: 34px; object-fit: contain; grid-row: span 2; margin: 0; }
  .mode .dots { display: none; }
  .mode b { font-size: 15px; }
  .mode small { font-size: 12px; line-height: 1.15; }
}

/* tehlikeler */
.foes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.foes li { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: clamp(84px, 15vh, 122px); padding: 6px 4px; background: rgba(255, 255, 255, .06); border-radius: 18px; transition: transform .14s; }
.foes li:hover { transform: scale(1.08) rotate(-3deg); }
.foes img { flex: 1; min-height: 0; width: 100%; object-fit: contain; }
.foes b { font: 400 15px/1.1 var(--display); margin-top: 3px; }
@media (max-width: 560px) { .foes li { height: 76px; } .foes b { font-size: 12px; } .foes { gap: 5px; } }

/* telefonda oyna */
.panel-try { display: grid; grid-template-columns: auto 1fr; gap: clamp(16px, 4vw, 40px); align-items: center; text-align: left; width: min(860px, 100%); }
.panel-try .lead { margin: 0; }
.phone { position: relative; height: min(68svh, 640px); aspect-ratio: 660 / 1434; border: 7px solid #0b0d22; outline: 3px solid var(--line); border-radius: 30px; overflow: hidden; background: #000; }
.phone img, .phone iframe { width: 100%; height: 100%; border: 0; display: block; object-fit: cover; }
.phone-play { position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%); padding: 10px 26px; white-space: nowrap; }
.phone-play:hover { transform: translateX(-50%) translateY(-3px) scale(1.03); }
.phone-play:active { transform: translateX(-50%) translateY(5px); }
@media (max-width: 680px) {
  .panel-try { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 10px; }
  .try-text { order: -1; }
  .phone { height: min(52svh, 480px); }
  .panel-try .lead { margin: 0 auto; }
}

/* zirve */
.panel-summit { display: flex; flex-direction: column; align-items: center; width: min(760px, 100%); }
.score { color: #ffd76a; font-size: 18px; }
.panel-summit .title { margin-bottom: 14px; }
.panel-summit .hero-soon { margin-top: 18px; color: var(--muted); text-shadow: none; }
.foot { width: 100%; margin-top: 18px; padding-top: 14px; border-top: 2px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }

/* kısa telefon ekranları */
@media (max-width: 860px) and (max-height: 700px) {
  .title { font-size: 25px; margin-bottom: 4px; -webkit-text-stroke-width: 5px; }
  .panel { padding: 10px 12px; }
  .lead { font-size: 14px; margin-bottom: 8px; }
  .tip { font-size: 13px; margin-top: 6px; }
  .mode { padding: 4px 7px; }
  .mode small { font-size: 11px; }
  .char-stage { height: 120px; }
  .char-info { min-height: 80px; }
  .char-grid { grid-template-rows: repeat(2, 46px); grid-auto-columns: 46px; }
  .pickups img { height: 34px; }
  .pickups li { padding: 6px 2px; }
}
