@font-face { font-family: "Space Grotesk"; font-style: normal; font-display: swap; font-weight: 300 700; src: url(fonts/space-grotesk-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-display: swap; font-weight: 300 700; src: url(fonts/space-grotesk-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Ripple Harbor — arayüz. Telefon öncelikli; güvenli alan (çentik) uyumlu; ana CTA alt başparmak bölgesinde. */

@font-face { font-family: "Nunito"; font-style: normal; font-display: swap; font-weight: 200 1000; src: url(fonts/nunito-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; font-style: normal; font-display: swap; font-weight: 200 1000; src: url(fonts/nunito-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-style: normal; font-display: swap; font-weight: 200 1000; src: url(fonts/nunito-cyrillic-wght-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Nunito"; font-style: normal; font-display: swap; font-weight: 200 1000; src: url(fonts/nunito-cyrillic-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Nunito"; font-style: normal; font-display: swap; font-weight: 200 1000; src: url(fonts/nunito-vietnamese-wght-normal.woff2) format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }

:root {
  --deniz: #1d6f8f;
  --deniz-koyu: #124a62;
  --kopuk: #f4fbfc;
  --kart: rgba(255, 255, 255, 0.94);
  --kart-kenar: rgba(18, 74, 98, 0.12);
  --yazi: #16384a;
  --soluk: #5f7b8a;
  --ana: #ff8a5c;
  --ana-2: #ff6b6b;
  --ikincil: #e9f4f7;
  --basari: #2fbf8f;
  --tehlike: #ef5350;
  --altin: #f6c34a;
  --reklam: #6d5dfc;
  --golge: 0 10px 30px -12px rgba(10, 40, 60, 0.45);
  --yaricap: 20px;
  --st: env(safe-area-inset-top, 0px);
  --sb: env(safe-area-inset-bottom, 0px);
  --sl: env(safe-area-inset-left, 0px);
  --sr: env(safe-area-inset-right, 0px);
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Arabic", "Noto Sans Devanagari", sans-serif;
}

html, body { background: #0f3d52; color: var(--yazi); }
body { padding: 0; }
#app { position: fixed; inset: 0; overflow: hidden; }
#sahne { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
button { border: 0; background: none; color: inherit; font: inherit; }
svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }

/* ---------------- düğmeler ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 22px; border-radius: 18px;
  font-weight: 900; font-size: 17px; letter-spacing: 0.01em;
  transition: transform 0.12s ease, filter 0.15s ease, opacity 0.15s;
  -webkit-tap-highlight-color: transparent; cursor: pointer;
}
.btn:active:not(:disabled) { transform: scale(0.96); }
.btn:disabled { opacity: 0.45; cursor: default; }
.btn.ana { color: #fff; background: linear-gradient(180deg, #ffa071, var(--ana) 55%, #f4704a); box-shadow: 0 5px 0 #d65a36, 0 12px 24px -10px rgba(214, 90, 54, 0.8); }
.btn.ana:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 2px 0 #d65a36; }
.btn.ikincil { background: var(--ikincil); color: var(--deniz-koyu); box-shadow: inset 0 0 0 2px rgba(29, 111, 143, 0.15); }
.btn.tehlike { background: var(--tehlike); color: #fff; }
.btn.reklam { color: #fff; background: linear-gradient(180deg, #8a7bff, var(--reklam)); box-shadow: 0 4px 0 #4f40d6; min-height: 46px; font-size: 15px; }
.btn.buyuk { min-height: 60px; font-size: 20px; padding: 0 30px; flex: 1; }
.btn.kucuk { min-height: 42px; font-size: 15px; padding: 0 16px; border-radius: 14px; }
.btn.mini { min-height: 34px; font-size: 13px; padding: 0 12px; border-radius: 12px; }
.btn svg { width: 20px; height: 20px; }
.ikon-btn { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.92); color: var(--deniz-koyu); box-shadow: var(--golge); cursor: pointer; flex: none; }
.ikon-btn:active { transform: scale(0.93); }
.ikon-btn.buyuk-ikon { width: 60px; height: 60px; border-radius: 20px; }
.ikon-btn.buyuk-ikon svg { width: 28px; height: 28px; }
.ikon-yer { width: 60px; flex: none; }
.baglanti { color: var(--deniz); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; padding: 10px; cursor: pointer; }
.tehlike-yazi { color: var(--tehlike); }
.nabiz { animation: nabiz 1.6s ease-in-out infinite; }
@keyframes nabiz { 50% { transform: scale(1.06); } }

/* ---------------- ekran katmanı ---------------- */
.ekran { position: absolute; inset: 0; display: flex; flex-direction: column; padding: calc(var(--st) + 10px) calc(var(--sr) + 14px) calc(var(--sb) + 12px) calc(var(--sl) + 14px); overflow-y: auto; overscroll-behavior: contain; }
.ekran-home, .ekran-splash, .ekran-intro, .ekran-result, .ekran-consent { overflow: hidden; }
.ekran-harbor, .ekran-captains, .ekran-tasks, .ekran-shop, .ekran-events { background: linear-gradient(180deg, rgba(232, 246, 249, 0.97), rgba(214, 238, 244, 0.97)); }
.ekran-intro, .ekran-result { background: radial-gradient(120% 80% at 50% 0%, rgba(15, 61, 82, 0.15), rgba(15, 61, 82, 0.62)); }

.ust-cubuk { display: flex; align-items: center; gap: 8px; min-height: 52px; }
.bosluk { flex: 1; }
.para { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px 0 8px; border-radius: 20px; background: rgba(255, 255, 255, 0.94); box-shadow: var(--golge); font-weight: 900; font-size: 16px; color: var(--yazi); }
.para svg { width: 26px; height: 26px; }
.para.sandik { cursor: pointer; }
.seviye-rozet { position: relative; width: 48px; height: 48px; display: grid; place-items: center; background: #fff; border-radius: 50%; box-shadow: var(--golge); }
.seviye-rozet svg { position: absolute; inset: 3px; width: 42px; height: 42px; transform: rotate(-90deg); }
.seviye-rozet .halka-zemin { fill: none; stroke: #e2eef2; stroke-width: 4; }
.seviye-rozet .halka { fill: none; stroke: var(--basari); stroke-width: 4; stroke-linecap: round; }
.seviye-rozet b { font-size: 17px; font-weight: 1000; }

/* logo */
.logo { position: relative; display: inline-flex; flex-direction: column; align-items: center; line-height: 0.92; color: #fff; text-shadow: 0 4px 0 rgba(10, 50, 70, 0.35), 0 10px 30px rgba(0, 0, 0, 0.25); }
.logo-ripple { font-size: 54px; font-weight: 1000; letter-spacing: -0.02em; }
.logo-harbor { font-size: 34px; font-weight: 900; letter-spacing: 0.32em; margin-left: 0.32em; color: #ffe08a; }
.logo-dalga { width: 150px; height: 14px; color: #bff1f5; margin-top: 6px; fill: none; }
.logo-orta { display: flex; justify-content: center; margin-top: 4vh; }
.logo-orta.kucuk .logo-ripple { font-size: 46px; }
.logo-orta.kucuk .logo-harbor { font-size: 28px; }

/* açılış */
.acilis { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; }
.yukleniyor { width: 160px; height: 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.3); overflow: hidden; }
.yukleniyor i { display: block; height: 100%; width: 40%; border-radius: 6px; background: #fff; animation: yuk 1s ease-in-out infinite; }
@keyframes yuk { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.studyo { color: rgba(255, 255, 255, 0.8); font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; position: absolute; bottom: calc(var(--sb) + 26px); }

/* ana menü */
.ana-govde { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.alt-bolge { display: flex; flex-direction: column; gap: 14px; }
.oyna-satir { display: flex; align-items: center; gap: 10px; }
.btn.oyna { flex: 1; flex-direction: column; gap: 0; min-height: 76px; border-radius: 24px; }
.oyna-ust { font-size: 14px; font-weight: 800; opacity: 0.9; }
.oyna-alt { font-size: 26px; font-weight: 1000; line-height: 1.1; }
.alt-nav { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; background: rgba(255, 255, 255, 0.93); border-radius: 22px; padding: 6px; box-shadow: var(--golge); }
.nav-btn { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px; border-radius: 16px; color: var(--deniz-koyu); font-size: 11.5px; font-weight: 800; cursor: pointer; min-height: 58px; justify-content: center; }
.nav-btn svg { width: 26px; height: 26px; }
.nav-btn:active:not(:disabled) { background: var(--ikincil); }
.nav-btn.kilitli { color: #9fb3bd; }
.nav-btn.kilitli > svg { opacity: 0.5; }
.kilit-rozet { position: absolute; top: 5px; right: 18%; width: 20px; height: 20px; border-radius: 50%; background: #7d93a0; color: #fff; display: grid; place-items: center; }
.kilit-rozet svg { width: 12px; height: 12px; }
.nav-btn span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rozet-nokta { position: absolute; top: 4px; right: 10%; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--tehlike); color: #fff; font-style: normal; font-size: 12px; font-weight: 900; display: grid; place-items: center; }
.etkinlik-serit { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: linear-gradient(90deg, rgba(109, 93, 252, 0.95), rgba(45, 168, 214, 0.95)); color: #fff; text-align: start; box-shadow: var(--golge); cursor: pointer; margin: 0 auto; width: min(100%, 420px); }
.etkinlik-serit span { display: flex; flex-direction: column; flex: 1; }
.etkinlik-serit b { font-size: 16px; }
.etkinlik-serit small { opacity: 0.9; font-weight: 700; }
.etkinlik-serit i { font-style: normal; font-size: 28px; }

/* kartlar ve modallar */
.kart { background: var(--kart); border-radius: var(--yaricap); box-shadow: var(--golge); padding: 18px; }
.modal-katman { position: absolute; inset: 0; z-index: 30; }
.modal { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; background: rgba(8, 30, 42, 0.5); padding: calc(var(--st) + 14px) calc(var(--sr) + 12px) calc(var(--sb) + 12px) calc(var(--sl) + 12px); opacity: 0; transition: opacity 0.18s; }
.modal.acik { opacity: 1; }
.modal-kutu { width: min(100%, 460px); max-height: 100%; overflow-y: auto; background: #fff; border-radius: 26px; padding: 20px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35); transform: translateY(24px); transition: transform 0.22s cubic-bezier(.2, .9, .3, 1.2); }
.modal.acik .modal-kutu { transform: none; }
.modal.kucuk { align-items: center; }
.modal.tam .modal-kutu { height: 100%; }
.modal-bas { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.modal-bas h2 { margin: 0; }
.modal-bas .ikon-btn { box-shadow: none; background: var(--ikincil); }
h1, h2, h3 { margin: 0; line-height: 1.15; }
h2 { font-size: 22px; font-weight: 1000; }
.duraklat h2 { text-align: center; margin-bottom: 14px; }
.dikey-dugmeler { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.dugme-satir { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.metin-orta { text-align: center; margin: 10px 0; font-weight: 700; }
.soluk { color: var(--soluk); }
.kucuk-yazi { font-size: 13px; display: flex; align-items: center; gap: 6px; }
.kucuk-yazi svg { width: 18px; height: 18px; }

/* rıza */
.riza { flex: 1; display: flex; flex-direction: column; gap: 18px; justify-content: space-between; }
.riza-kart h2 { margin-bottom: 8px; }
.riza-kart p { margin: 0 0 10px; color: var(--soluk); font-weight: 700; line-height: 1.45; }
.madde-liste { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 8px; }
.madde-liste li { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; }
.madde-liste svg { color: var(--basari); }
.alt-cta { display: flex; flex-direction: column; gap: 10px; }

/* seviye girişi */
.giris { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; }
.giris-kart { display: flex; flex-direction: column; gap: 12px; animation: yukari 0.35s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes yukari { from { transform: translateY(30px); opacity: 0; } }
.ust-yazi { font-size: 13px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; color: var(--deniz); }
:lang(tr) .ust-yazi, :lang(ar) .ust-yazi, :lang(hi) .ust-yazi { text-transform: none; letter-spacing: 0.02em; }
.giris-kart h1 { font-size: 32px; font-weight: 1000; }
.hedef { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 18px; padding: 12px 14px; border-radius: 16px; background: #e8f6f2; color: #136b52; }
.hedef.ikincil { background: #eef4ff; color: #2c4aa8; font-size: 16px; }
.hedef.ustalik { background: #fff6dc; color: #8a6300; font-size: 15px; }
.tehlikeler { display: flex; flex-wrap: wrap; gap: 8px; }
.tehlike { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 9px; border-radius: 12px; background: #f1f5f8; font-weight: 800; font-size: 14px; }
.tehlike-storm { color: #4b5d9c; } .tehlike-fog { color: #607080; } .tehlike-tide { color: #b08328; } .tehlike-urgent { color: #d9442f; } .tehlike-ferry { color: #c0392b; }
.ipucu { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 14px; border-radius: 16px; background: #f4f0ff; color: #4b3cb8; font-weight: 700; line-height: 1.4; }

/* HUD */
.hud { position: absolute; inset: 0; pointer-events: none; z-index: 10; padding: calc(var(--st) + 8px) calc(var(--sr) + 10px) calc(var(--sb) + 14px) calc(var(--sl) + 10px); }
.hud button { pointer-events: auto; }
.hud-ust { display: flex; align-items: center; gap: 8px; }
.hud-btn { width: 46px; height: 46px; }
.hedef-hap { flex: 1; display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px 0 8px; border-radius: 21px; background: rgba(255, 255, 255, 0.94); box-shadow: var(--golge); min-width: 0; }
.hedef-ikon { color: var(--deniz); display: grid; }
.hedef-cubuk { flex: 1; height: 10px; border-radius: 6px; background: #e1edf1; overflow: hidden; min-width: 30px; }
.hedef-cubuk i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #4cd3a5, var(--basari)); border-radius: 6px; transition: width 0.3s ease; }
.hedef-hap b { font-weight: 1000; font-size: 16px; white-space: nowrap; }
.hud-sag { display: flex; gap: 6px; }
.sure-hap, .skor-hap { display: flex; align-items: center; gap: 4px; height: 42px; padding: 0 12px; border-radius: 21px; background: rgba(255, 255, 255, 0.94); box-shadow: var(--golge); font-weight: 1000; font-size: 16px; }
.sure-hap svg { width: 18px; height: 18px; color: var(--deniz); }
.sure-hap.az { background: #ffe1df; color: var(--tehlike); animation: nabiz 0.8s infinite; }
.skor-hap.vur b { animation: vur 0.3s ease; display: inline-block; }
@keyframes vur { 40% { transform: scale(1.3); } }
.tehlike-serit { position: absolute; top: calc(var(--st) + 66px); left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 16px; font-weight: 900; font-size: 15px; color: #fff; box-shadow: var(--golge); max-width: calc(100% - 28px); white-space: nowrap; }
.tehlike-serit span { overflow: hidden; text-overflow: ellipsis; }
.tehlike-serit.uyari { background: #f39c3d; }
.tehlike-serit.bilgi { background: rgba(29, 111, 143, 0.95); }
.tehlike-serit.kotu { background: var(--tehlike); }
.tehlike-serit.goster { animation: serit 0.35s cubic-bezier(.2, .9, .3, 1.3); }
@keyframes serit { from { transform: translate(-50%, -20px); opacity: 0; } }
.arac-btn { position: absolute; right: calc(var(--sr) + 14px); bottom: calc(var(--sb) + 18px); width: 72px; height: 72px; border-radius: 24px; background: rgba(255, 255, 255, 0.95); box-shadow: var(--golge); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--deniz-koyu); cursor: pointer; }
.arac-btn svg { width: 30px; height: 30px; }
.arac-btn small { font-size: 10.5px; font-weight: 900; }
.arac-btn.aktif { background: #fff3c4; animation: nabiz 0.8s infinite; }
.arac-btn.bitti { opacity: 0.45; }
.hud.solak .arac-btn { right: auto; left: calc(var(--sl) + 14px); }
.hud.solak .hud-ust { flex-direction: row-reverse; }

/* koç (öğretici) */
.koc { position: absolute; left: 50%; transform: translate(-50%, 10px); top: calc(var(--st) + 120px); z-index: 12; max-width: min(88%, 420px); padding: 14px 18px; border-radius: 18px; background: rgba(15, 50, 68, 0.92); color: #fff; font-weight: 800; font-size: 17px; text-align: center; line-height: 1.35; opacity: 0; transition: opacity 0.25s, transform 0.25s; pointer-events: none; }
.koc.goster { opacity: 1; transform: translate(-50%, 0); }

/* sonuç */
.sonuc { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.sonuc-ust { display: flex; flex-direction: column; align-items: center; gap: 8px; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); padding-top: 4vh; text-align: center; }
.sonuc-ust .ust-yazi { color: #c9f1f8; }
.sonuc-ust h1 { font-size: 38px; font-weight: 1000; }
.yildiz-satir { display: flex; gap: 6px; align-items: flex-end; }
.buyuk-yildiz svg { width: 64px; height: 64px; fill: rgba(255, 255, 255, 0.28); }
.buyuk-yildiz:nth-child(2) svg { width: 82px; height: 82px; }
.buyuk-yildiz.dolu svg { fill: #ffd44d; filter: drop-shadow(0 4px 0 #d79b16); animation: yildiz 0.5s cubic-bezier(.2, .9, .3, 1.6) both; animation-delay: inherit; }
.buyuk-yildiz { animation-delay: inherit; }
@keyframes yildiz { from { transform: scale(0) rotate(-40deg); } }
.buyuk-skor { font-size: 64px; font-weight: 1000; }
.sonuc-kart { display: flex; flex-direction: column; gap: 10px; }
.kosul { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--soluk); }
.kosul svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: #eef2f4; color: #9fb3bd; }
.kosul.tamam { color: var(--yazi); }
.kosul.tamam svg { background: var(--basari); color: #fff; }
.istat { display: flex; justify-content: space-around; padding: 10px 0; border-top: 2px dashed #e6eef1; border-bottom: 2px dashed #e6eef1; }
.istat span { display: flex; align-items: center; gap: 5px; font-weight: 900; color: var(--deniz-koyu); }
.istat small { font-size: 12px; color: var(--soluk); }
.odul-satir { display: flex; justify-content: center; gap: 18px; }
.odul { display: inline-flex; align-items: center; gap: 5px; font-weight: 1000; font-size: 20px; }
.odul svg { width: 28px; height: 28px; }
.odul.xp { color: var(--deniz); font-size: 16px; }
.bildirim { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; border-radius: 14px; background: #e8f6f2; color: #136b52; font-weight: 900; text-align: center; }
.bildirim.yeni { background: #fff4d6; color: #8a6300; }
.sonuc-cta .dugme-satir { margin-top: 0; }
.neden-ikon svg { width: 72px; height: 72px; fill: #fff; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3)); }
.ilerleme-buyuk { display: flex; align-items: center; gap: 12px; font-weight: 1000; font-size: 20px; }
.cubuk { flex: 1; height: 14px; border-radius: 8px; background: #e1edf1; overflow: hidden; }
.cubuk i { display: block; height: 100%; background: linear-gradient(90deg, #ffb26b, var(--ana)); border-radius: 8px; }
.cubuk.ince { height: 8px; }

/* sayfalar */
.sayfa { display: flex; flex-direction: column; gap: 12px; padding-bottom: 20px; max-width: 640px; width: 100%; margin: 0 auto; }
.sayfa-baslik { font-size: 30px; font-weight: 1000; margin: 6px 0 2px; }
.alt-baslik { font-size: 16px; font-weight: 900; color: var(--soluk); margin: 10px 0 0; display: flex; align-items: center; gap: 6px; }
.sekmeler { display: flex; gap: 6px; background: #fff; padding: 5px; border-radius: 16px; box-shadow: var(--golge); }
.sekme { flex: 1; min-height: 42px; border-radius: 12px; font-weight: 900; color: var(--soluk); cursor: pointer; }
.sekme.secili { background: var(--deniz); color: #fff; }
.urun-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.urun-kart { background: #fff; border-radius: 18px; padding: 14px; box-shadow: var(--golge); display: flex; flex-direction: column; gap: 10px; border: 3px solid transparent; }
.urun-kart.secili { border-color: var(--basari); }
.urun-kart.vurgu { border-color: var(--altin); background: linear-gradient(180deg, #fffaf0, #fff); }
.urun-kart.ozel { background: linear-gradient(180deg, #f2efff, #fff); }
.urun-ust { display: flex; align-items: center; gap: 10px; }
.urun-ust b { font-size: 16px; font-weight: 1000; }
.urun-ikon { width: 42px; height: 42px; border-radius: 13px; background: var(--ikincil); display: grid; place-items: center; color: var(--deniz); flex: none; }
.urun-ikon svg { width: 26px; height: 26px; }
.aciklama { margin: 0; color: var(--soluk); font-weight: 700; font-size: 14px; line-height: 1.4; }
.durum-etiket { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; border-radius: 14px; background: #e8f6f2; color: #136b52; font-weight: 900; font-size: 14px; }
.durum-etiket svg { width: 18px; height: 18px; }
.ozellik-cubuklari { display: grid; gap: 6px; }
.oz small { font-size: 12px; font-weight: 800; color: var(--soluk); }
.tema-onizleme { height: 54px; border-radius: 12px; background: linear-gradient(180deg, #2f86a8, #86d3d6); }
.tema-sunset { background: linear-gradient(180deg, #e8806a, #f7c27d); }
.tema-night { background: linear-gradient(180deg, #13284d, #2b4f7a); }
.kaplama-onizleme { height: 54px; border-radius: 12px; display: grid; place-items: center; background: #dff2f6; }
.kaplama-onizleme svg { width: 40px; height: 40px; }
.kaplama-classic svg { fill: #e85d4a; } .kaplama-pastel svg { fill: #f3a7a0; } .kaplama-navy svg { fill: #273652; }

/* kaptanlar */
.kusanan { display: flex; flex-direction: column; gap: 10px; }
.kusanan > span { font-weight: 900; color: var(--soluk); }
.slotlar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.slot { min-height: 92px; border-radius: 16px; border: 2px dashed #c9dce3; display: flex; align-items: center; gap: 10px; padding: 8px; color: var(--soluk); font-weight: 800; text-align: start; }
.slot.dolu { border-style: solid; border-color: var(--basari); background: #f2fbf8; cursor: pointer; }
.slot img { width: 60px; height: 60px; border-radius: 14px; }
.slot small { font-size: 12.5px; line-height: 1.3; }
.slot.kilitli { justify-content: center; flex-direction: column; text-align: center; }
.koleksiyon-ust { display: flex; align-items: center; justify-content: space-between; font-weight: 900; }
.kart-izgara { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-kart { background: #fff; border-radius: 16px; padding: 6px; box-shadow: var(--golge); display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; border: 3px solid transparent; }
.mini-kart img { width: 100%; aspect-ratio: 1; border-radius: 12px; }
.mini-kart small { font-weight: 900; font-size: 13px; }
.mini-kart.yok { opacity: 0.8; }
.mini-kart.secili { border-color: var(--basari); }
.nadir-rare { box-shadow: 0 0 0 2px #a99cf2, var(--golge); }
.nadir-epic { box-shadow: 0 0 0 2px #f3b453, 0 0 18px rgba(243, 180, 83, 0.6); }
.sandik-ac { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.kart-buyuk { width: 220px; border-radius: 22px; background: #fff; padding: 10px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.kart-buyuk img { width: 200px; height: 200px; border-radius: 16px; }
.kart-buyuk b { font-size: 22px; font-weight: 1000; }
.kart-buyuk small { color: var(--soluk); font-weight: 800; }
.acil-donus { animation: donus 0.7s cubic-bezier(.2, .9, .3, 1.3); }
@keyframes donus { from { transform: rotateY(90deg) scale(0.6); } }
.yetenek { margin: 0; padding: 10px 14px; border-radius: 14px; background: #eef8f4; color: #136b52; font-weight: 900; text-align: center; }

/* görevler */
.gorev { background: #fff; border-radius: 18px; padding: 14px; box-shadow: var(--golge); display: flex; flex-direction: column; gap: 8px; }
.gorev-ust { display: flex; justify-content: space-between; font-weight: 900; gap: 10px; }
.gorev-ust small { color: var(--soluk); }
.gorev-alt { display: flex; align-items: center; justify-content: space-between; }
.gorev-alt .odul { font-size: 16px; }
.gorev-alt .odul svg { width: 22px; height: 22px; }
.gorev.hazir { box-shadow: 0 0 0 3px var(--basari), var(--golge); }
.gorev.alindi { opacity: 0.6; }
.gorev .cubuk i { background: linear-gradient(90deg, #4cd3a5, var(--basari)); }

/* etkinlikler */
.etkinlik-kart { display: flex; flex-direction: column; gap: 10px; }
.ev-bas { display: flex; align-items: center; gap: 12px; }
.ev-bas > svg { width: 40px; height: 40px; padding: 8px; border-radius: 14px; background: #efeaff; color: var(--reklam); }
.ev-bas div { display: flex; flex-direction: column; }
.ev-bas b { font-size: 18px; font-weight: 1000; }
.ev-bas small { color: var(--soluk); font-weight: 800; }
.basamaklar { display: grid; gap: 6px; }
.basamak { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: #f4f8fa; font-weight: 900; }
.basamak svg { width: 18px; height: 18px; vertical-align: -3px; }
.basamak.hazir { background: #e8f6f2; }
.basamak.alindi { opacity: 0.55; }
.basamak > svg { color: var(--basari); }

/* bölümler */
.bolum-izgara { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.bolum-btn { aspect-ratio: 1; border-radius: 16px; background: var(--ikincil); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-weight: 1000; font-size: 18px; cursor: pointer; color: var(--deniz-koyu); }
.bolum-btn.simdiki { background: var(--ana); color: #fff; }
.bolum-btn.kilitli { opacity: 0.45; }
.bolum-btn svg { width: 18px; height: 18px; }
.yildizlar { display: flex; gap: 1px; }
.yildizlar i svg { width: 12px; height: 12px; fill: rgba(0, 0, 0, 0.15); }
.yildizlar i.dolu svg { fill: #f5b82e; }

/* ayarlar */
.ayarlar { display: flex; flex-direction: column; gap: 4px; }
.ayar { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 4px; border-bottom: 1px solid #eef3f5; font-weight: 800; }
.ayar > svg { color: var(--deniz); }
.ayar span { flex: 1; }
.ayar select { font: inherit; font-weight: 800; padding: 8px 10px; border-radius: 12px; border: 2px solid #dbe8ed; background: #fff; color: var(--yazi); max-width: 52%; }
.ayar input[type=range] { width: 46%; accent-color: var(--deniz); }
.anahtar { appearance: none; -webkit-appearance: none; width: 52px; height: 30px; border-radius: 15px; background: #cfdde3; position: relative; transition: background 0.2s; cursor: pointer; flex: none; }
.anahtar::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); transition: transform 0.2s; }
.anahtar:checked { background: var(--basari); }
.anahtar:checked::after { transform: translateX(22px); }
.surum { text-align: center; color: var(--soluk); font-size: 12px; font-weight: 700; margin-top: 10px; }

/* debug */
.debug-izgara { display: flex; flex-wrap: wrap; gap: 6px; }
.log { margin-top: 10px; max-height: 40vh; overflow-y: auto; font-family: ui-monospace, monospace; font-size: 11px; background: #0f2633; color: #bfe6f1; border-radius: 12px; padding: 8px; }
.log-satir { padding: 2px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); word-break: break-all; }
.fps { position: fixed; top: calc(var(--st) + 60px); left: 8px; z-index: 50; background: rgba(0, 0, 0, 0.6); color: #7cf2c6; font: 800 12px ui-monospace, monospace; padding: 3px 6px; border-radius: 6px; pointer-events: none; }

/* toast */
.toast { position: absolute; left: 50%; bottom: calc(var(--sb) + 110px); transform: translate(-50%, 20px); z-index: 40; display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 18px; background: rgba(15, 50, 68, 0.94); color: #fff; font-weight: 900; opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; max-width: 88%; }
.toast.goster { opacity: 1; transform: translate(-50%, 0); }
.hata { margin: auto; padding: 20px; background: #fff; border-radius: 18px; text-align: center; font-weight: 800; }

/* sağdan sola (Arapça) */
[dir=rtl] .tehlike-serit { direction: rtl; }
[dir=rtl] .etkinlik-serit i { transform: scaleX(-1); }
[dir=rtl] .hud .arac-btn { right: auto; left: calc(var(--sl) + 14px); }
[dir=rtl] .hud.solak .arac-btn { left: auto; right: calc(var(--sr) + 14px); }

/* küçük ekran (360dp ve altı) */
@media (max-width: 370px) {
  .logo-ripple { font-size: 44px; }
  .logo-harbor { font-size: 26px; }
  .btn.oyna { min-height: 68px; }
  .oyna-alt { font-size: 22px; }
  .nav-btn { font-size: 10.5px; }
  .sonuc-ust h1 { font-size: 32px; }
  .buyuk-yildiz svg { width: 54px; height: 54px; }
  .buyuk-yildiz:nth-child(2) svg { width: 68px; height: 68px; }
  .hedef-hap b, .sure-hap, .skor-hap { font-size: 14px; }
}
/* yatay / tablet: içerik ortada dar sütun */
@media (min-aspect-ratio: 4/5) {
  .ekran-home .alt-bolge, .ekran-home .ana-govde, .giris, .sonuc, .riza { width: min(100%, 520px); margin-left: auto; margin-right: auto; }
}
/* etkinlik kartı vurguları (config.liveops banner_asset) */
.etkinlik-kart { border-inline-start: 6px solid var(--reklam); }
.ev-storm { border-color: #4b5d9c; } .ev-trophy { border-color: var(--altin); } .ev-cards { border-color: #a99cf2; } .ev-road { border-color: var(--basari); } .ev-daily { border-color: var(--deniz); }

/* premium başlık tipografisi (logo + büyük başlıklar) */
.logo, .giris-kart h1, .sonuc-ust h1, .sayfa-baslik, .buyuk-skor, .oyna-alt { font-family: "Space Grotesk", "Nunito", system-ui, sans-serif; letter-spacing: -0.01em; }
.logo-ripple { font-size: 58px; font-weight: 700; letter-spacing: -0.02em; text-shadow: 0 6px 24px rgba(0, 20, 40, 0.45); }
.logo-harbor { font-size: 26px; font-weight: 700; letter-spacing: 0.5em; margin-left: 0.5em; color: #ffd36b; text-shadow: 0 4px 16px rgba(0, 20, 40, 0.45); }
.logo-orta.kucuk .logo-ripple { font-size: 50px; }
.logo-orta.kucuk .logo-harbor { font-size: 22px; }
.logo-dalga { color: rgba(255, 211, 107, 0.75); }

/* düzeltmeler (e2e turu) */
.urun-ust { min-width: 0; }
.urun-ust b, .gorev-ust span, .ev-bas b, .kart-buyuk b, h1, h2, .hedef span, .koc span { overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; min-width: 0; }
.nav-btn span { hyphens: none; }
.urun-izgara .alt-baslik { grid-column: 1 / -1; }
.gorev .cubuk, .oz .cubuk { flex: none; }
.soluk, .kucuk-yazi { font-weight: 700; }
.btn.oyna.uzun .oyna-alt { font-size: 20px; }
.btn.oyna.uzun .oyna-ust { font-size: 13px; }

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