/* BoStreak ana sayfa. Tek cesur öğe: hero'daki Bo'nun Koşusu sahnesi (marka mavisi üstünde beyaz grafik,
   kırmızı mumlar, altın paralar). Diğer bölümler sakin: beyaz kartlar, ince çerçeve, uygulamanın token'ları.
   Kendiliğinden hareket yalnız hero'da (tanıtım koşusu) ve Bo'nun göz kırpması; geri kalanı kullanıcı dokununca. */

:root {
  --hero: #1f3fe0;
  --hero-deep: #1530b8;
  --run-gold: #f5b83d;
  --candle: #ff5d5d;
  --t-bronze: #cd7f32;
  --t-silver: #9aa5b1;
  --t-gold: #e8a317;
  --t-sapphire: #2f80ed;
  --t-ruby: #e0115f;
  --t-emerald: #12a150;
  --t-diamond: #7b61ff;
  --shadow-lg: 0 28px 64px -36px rgba(14, 21, 37, 0.35);
}
@media (prefers-color-scheme: dark) {
  :root {
    --hero: #1a35c4;
    --hero-deep: #11248c;
    --shadow-lg: 0 28px 64px -36px rgba(0, 0, 0, 0.7);
  }
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
main > section {
  scroll-margin-top: 68px;
}
.num {
  font-variant-numeric: tabular-nums;
}

/* ── Hero + Bo'nun Koşusu ─────────────────────────────────────────── */
.hero {
  background: var(--hero);
  color: #fff;
  padding: 64px 0 0;
  overflow: hidden;
}
.hero h1 {
  font-size: clamp(46px, 7.4vw, 96px);
  font-weight: 800;
  letter-spacing: -0.008em;
  line-height: 1.04;
  max-width: 9.5ch;
}
/* "oyun gibi": uygulamanın karşılama ekranındaki gibi altın zemin, hafif eğik */
.hero h1 .hl {
  display: inline-block;
  white-space: nowrap;
  background: var(--gold);
  color: #14151a;
  border-radius: 0.1em;
  padding: 0 0.12em 0.04em;
  margin: 0.06em 0;
  transform: rotate(-2deg);
}
.hero .lead {
  margin-top: 24px;
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.84);
  max-width: 30em;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Telefon: uygulamanın Öğren ekranı, içi her zaman açık tema (uygulamadaki ölçülerin 0,82 katı) */
.phone {
  --u: #007aff;
  width: 340px;
  flex: none;
  padding: 10px;
  border-radius: 50px;
  background: #0b1020;
  box-shadow: 0 48px 90px -36px rgba(3, 8, 40, 0.75), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.phone-screen {
  position: relative;
  height: 660px;
  border-radius: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #f2f4f8;
  color: #0e1525;
  letter-spacing: 0;
}
.ph-bar {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 44px 14px 10px;
  background: #fff;
  border-bottom: 1px solid #e6e8ec;
}
.ph-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.ph-brand img {
  width: 30px;
}
.ph-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #ebeef3;
}
.ph-stat {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.ph-stat svg {
  width: 14px;
  height: 14px;
}
.ph-fire svg {
  color: #e8a317;
}
.ph-horn svg {
  color: #c97a12;
}
.ph-goalw {
  display: flex;
  padding-left: 8px;
  border-left: 1px solid #d9dde3;
}
.ph-goal {
  width: 16px;
  height: 16px;
  transform: rotate(-90deg);
}
.ph-goal circle {
  fill: none;
  stroke: #d9dde3;
  stroke-width: 2.5;
}
.ph-goal .ph-goal-fill {
  stroke: #1f3fe0;
  stroke-dasharray: 55 100;
  stroke-linecap: round;
}
.ph-stats .ph-horn {
  padding-left: 8px;
  border-left: 1px solid #d9dde3;
}
.ph-body {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 10px 12px 0;
}
.ph-doodle {
  position: absolute;
  width: 54px;
  filter: grayscale(1);
  opacity: 0.1;
}
.d1 {
  right: 26px;
  top: 150px;
}
.d2 {
  left: 112px;
  top: 262px;
}
.d3 {
  right: 34px;
  top: 470px;
}
.ph-sticky {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e6e8ec;
  box-shadow: 0 3px 10px rgba(14, 21, 37, 0.08);
}
.ph-sticky-icon {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--u);
  color: #fff;
}
.ph-sticky-icon svg {
  width: 17px;
  height: 17px;
}
.ph-sticky-text {
  flex: 1;
  display: grid;
  gap: 1px;
  min-width: 0;
}
.ph-sticky-text small {
  font-size: 11px;
  font-weight: 600;
  color: #5b6474;
}
.ph-sticky-text strong {
  font-size: 15px;
  font-weight: 700;
}
.ph-track {
  margin-top: 4px;
  height: 4px;
  border-radius: 2px;
  background: #ebeef3;
  overflow: hidden;
}
.ph-track i {
  display: block;
  width: 29%;
  height: 100%;
  background: var(--u);
}
.ph-count {
  font-size: 13px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(0, 122, 255, 0.22);
  background: #fff;
  font-variant-numeric: tabular-nums;
}
.ph-count small {
  font-size: inherit;
  font-weight: 500;
  color: #9aa1ad;
}
.ph-path {
  position: relative;
  margin: 0 -12px;
  width: 320px;
}
.ph-line {
  position: absolute;
  left: 0;
  top: 0;
  width: 320px;
  height: auto;
}
.ph-line path {
  fill: none;
  stroke: rgba(0, 122, 255, 0.3);
  stroke-width: 7;
  stroke-linecap: round;
}
.ph-path ol {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 18px 8px 0;
  display: grid;
  gap: 24px;
}
.ph-row {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  min-height: 64px;
}
.ph-row.is-right {
  flex-direction: row-reverse;
}
.ph-col {
  position: relative;
  flex: none;
}
.ph-ring {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  border: 5px solid rgba(0, 122, 255, 0.12);
  display: grid;
  place-items: center;
  background: #f2f4f8;
}
.ph-row.is-current .ph-ring {
  border-color: rgba(0, 122, 255, 0.22);
}
.ph-row.is-locked .ph-ring {
  border-color: transparent;
}
.ph-node {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--u);
  color: #fff;
}
.ph-row.is-locked .ph-node {
  background: #e6e8ec;
  color: #9aa1ad;
}
.ph-node svg {
  width: 22px;
  height: 22px;
}
.ph-badge {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid #f2f4f8;
  background: #22a565;
  color: #fff;
  display: grid;
  place-items: center;
}
.ph-badge svg {
  width: 10px;
  height: 10px;
}
.ph-stars {
  position: absolute;
  left: 50%;
  top: 66px;
  transform: translateX(-50%);
  display: flex;
  gap: 2px;
}
.ph-stars i {
  width: 12px;
  height: 12px;
  color: #d9dde3;
}
.ph-stars i.on {
  color: #e8a317;
}
.ph-stars svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.ph-label {
  flex: 1;
  min-height: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 4px;
}
.ph-row.is-right .ph-label {
  align-items: flex-end;
  text-align: right;
}
.ph-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}
.ph-row.is-current .ph-title {
  font-weight: 700;
}
.ph-row.is-locked .ph-title {
  color: #9aa1ad;
}
.ph-acc {
  font-size: 12px;
  font-weight: 600;
  color: #5b6474;
}
.ph-acc.is-full {
  color: #16935a;
}
.ph-xp {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #fdf4e1;
  font-size: 11px;
  font-weight: 600;
}
.ph-xp svg {
  width: 10px;
  height: 10px;
  color: #e8a317;
}
.ph-row.is-locked .ph-xp {
  background: #ebeef3;
  color: #9aa1ad;
}
.ph-row.is-locked .ph-xp svg {
  color: #9aa1ad;
}
/* Sıradaki derste açık ders kartı (uygulamada düğüme dokununca açılan kart) */
.ph-card {
  position: absolute;
  left: 8px;
  right: 8px;
  z-index: 3;
  display: grid;
  gap: 2px;
  padding: 14px 15px 15px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e6e8ec;
  box-shadow: 0 12px 28px -10px rgba(14, 21, 37, 0.22);
}
.ph-card-r2 {
  top: calc(18px + 2 * 88px + 64px + 20px);
}
.ph-card-k {
  font-size: 11px;
  font-weight: 600;
  color: #5b6474;
}
.ph-card strong {
  font-size: 16px;
  font-weight: 700;
}
.ph-card-m {
  font-size: 13px;
  color: #5b6474;
}
.ph-start {
  margin-top: 10px;
  min-height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #1f3fe0;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.ph-start:hover {
  filter: brightness(1.08);
}
.ph-tabs {
  flex: none;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 8px 4px 22px;
  background: #fff;
  border-top: 1px solid #e6e8ec;
}
.ph-tabs span {
  display: grid;
  justify-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 500;
  color: #8a93a3;
}
.ph-tabs span.is-on {
  color: #1f3fe0;
  font-weight: 600;
}
.ph-tabs svg {
  width: 22px;
  height: 22px;
}

.promises {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 15px;
  font-weight: 600;
}
.promises li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.promises svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--run-gold);
}
.hero .store-lg:not(a) {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.4);
}
.hero .store-lg:not(a) small {
  color: inherit;
}
.hero a.store-lg {
  background: #0e1525;
  border-color: #0e1525;
  color: #fff;
}

.run-band {
  margin-top: 72px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.run-head {
  position: relative;
  z-index: 2;
  padding-top: 56px;
}
.run-head h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.06;
}
.run-head p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
  max-width: 28em;
}
.run {
  --run-lo: 0.64;
  --ask-x: -50%;
  position: relative;
  height: 440px;
  margin-top: 16px;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}
.run.is-playing {
  cursor: pointer;
}
.run-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.run-hud {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 3;
  pointer-events: none;
}
.run-hud .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}
.run-lives {
  display: flex;
  gap: 4px;
}
.run-lives i {
  width: 24px;
  height: 24px;
  color: var(--candle);
}
.run-lives i svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.run-lives i.is-lost {
  color: rgba(255, 255, 255, 0.22);
}
.run-score {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}
.run-score b {
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  margin-right: 4px;
}
.run-mult {
  font-weight: 800;
  font-size: 15px;
  color: #0e1525;
  background: var(--run-gold);
  border-radius: 999px;
  padding: 2px 10px;
  font-variant-numeric: tabular-nums;
}
.run-mult.bump {
  animation: bump 0.4s cubic-bezier(0.3, 1.6, 0.5, 1);
}
@keyframes bump {
  0% {
    transform: scale(1.35);
  }
  100% {
    transform: none;
  }
}

.run-panel,
.run-ask {
  position: absolute;
  z-index: 4;
  background: #fff;
  color: #0e1525;
  border-radius: 22px;
  box-shadow: 0 24px 50px -24px rgba(5, 12, 60, 0.6);
}
.run-panel {
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(340px, calc(100% - 40px));
  padding: 20px;
}
.run-panel p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: #5b6474;
}
.run-btn {
  width: 100%;
  background: var(--run-gold);
  color: #0e1525;
  font-weight: 700;
  font-size: 17px;
}
.run-btn:hover {
  filter: brightness(1.05);
}
.run-btn svg {
  width: 20px;
  height: 20px;
}
.run-ghost {
  width: 100%;
  color: #1f3fe0;
  border-color: #d9dde3;
  background: #fff;
}
.run-ghost:hover {
  background: #f1f3f6;
}
.run-over {
  text-align: center;
}
.run-over .run-over-title {
  margin: 0;
  font-weight: 700;
  font-size: 15px;
  color: #5b6474;
}
.run-over .run-over-score {
  margin-top: 2px;
  font-size: 18px;
  color: #0e1525;
  font-weight: 600;
}
.run-over-score b {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  display: block;
  line-height: 1.05;
}
.run-over .run-over-detail {
  margin-top: 4px;
}
.run-over-actions {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.run-ask {
  left: 50%;
  top: 12px;
  transform: translateX(var(--ask-x));
  width: min(560px, calc(100% - 32px));
  padding: 16px;
}
.run-ask.is-in {
  animation: ask-in 0.28s cubic-bezier(0.2, 1.2, 0.4, 1);
}
@keyframes ask-in {
  from {
    transform: translate(var(--ask-x), -10px);
    opacity: 0;
  }
}
.run-q {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.run-timer {
  margin: 12px 0;
  height: 6px;
  border-radius: 999px;
  background: #ebeef3;
  overflow: hidden;
}
.run-timer i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--run-gold);
  border-radius: inherit;
  transform-origin: left;
}
.run-timer i.is-low {
  background: var(--candle);
}
.run-opts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.run-opts button {
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  min-height: 52px;
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid #d9dde3;
  background: #fff;
  color: #0e1525;
  cursor: pointer;
}
.run-opts button:hover:not([disabled]) {
  border-color: #1f3fe0;
  background: #edf1fe;
}
.run-opts button kbd {
  display: block;
  font: inherit;
  font-size: 11px;
  color: #8a93a3;
  font-weight: 600;
}
.run-opts button.is-correct {
  border-color: #16935a;
  background: #e6f6ee;
}
.run-opts button.is-wrong {
  border-color: #d6343a;
  background: #fdecec;
}

.run-notes {
  position: relative;
  padding-top: 8px;
  padding-bottom: 56px;
  display: grid;
  gap: 20px;
}
.run-rules {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.run-rules div {
  border-top: 2px solid rgba(255, 255, 255, 0.25);
  padding-top: 14px;
}
.run-rules dt {
  font-weight: 700;
  font-size: 17px;
}
.run-rules dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}
.run-keys {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}
kbd {
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: 1px 6px;
  color: #fff;
}

/* ── Bölümler ─────────────────────────────────────────────────────── */
.section {
  padding: 96px 0;
}
.section + .section {
  border-top: 1px solid var(--line);
}
.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}
.section h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.06;
}
.section-head p,
.trade-copy > p,
.league-copy > p,
.ward-copy > p {
  margin-top: 16px;
  font-size: 18px;
  color: var(--text-2);
  max-width: 34em;
}

/* Ders + seri */
.learn-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.learn-side {
  display: grid;
  gap: 28px;
}
.demo {
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 20px 20px 22px;
  background: var(--bg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 480px;
}
.demo-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.demo-track {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: var(--element);
  overflow: hidden;
}
.demo-fill {
  height: 100%;
  width: 34%;
  background: var(--accent);
  border-radius: inherit;
  transition: width 0.4s ease;
}
.demo-xp {
  font-size: 13px;
  font-weight: 700;
  color: #9a6a06;
  background: var(--gold-soft);
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.demo-ask {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin: 22px 0 18px;
}
.demo-bo {
  width: 92px;
  flex: none;
}
.bubble {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 26px;
}
.bubble::before {
  content: '';
  position: absolute;
  left: -7px;
  bottom: 16px;
  width: 12px;
  height: 12px;
  background: var(--bg);
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: rotate(45deg);
}
.options {
  display: grid;
  gap: 10px;
}
.option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  text-align: left;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--edge);
  border-radius: 14px;
  cursor: pointer;
}
.option:hover:not([disabled]) {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.option[disabled] {
  cursor: default;
}
.option.is-correct {
  border-color: var(--positive);
  background: var(--positive-soft);
  font-weight: 600;
}
.option.is-wrong {
  border-color: var(--negative);
  background: var(--negative-soft);
}
.option .mark {
  width: 20px;
  height: 20px;
  flex: none;
}
.mark-ok {
  color: var(--positive);
}
.mark-no {
  color: var(--negative);
}
.feedback {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
}
.feedback .btn {
  margin-top: auto;
  width: 100%;
}
.feedback .btn[disabled] {
  background: var(--element);
  color: var(--text-3);
  cursor: default;
  filter: none;
}
.feedback-body {
  margin-bottom: 12px;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.5;
}
.feedback.is-idle .feedback-body {
  visibility: hidden;
}
.feedback.ok .feedback-body {
  background: var(--positive-soft);
}
.feedback.no .feedback-body {
  background: var(--negative-soft);
}
.feedback.done .feedback-body {
  background: var(--gold-soft);
}
.feedback strong {
  display: block;
  font-size: 16px;
  margin-bottom: 2px;
}
.feedback.ok strong {
  color: var(--positive);
}
.feedback.no strong {
  color: var(--negative);
}
.feedback.done strong {
  color: #9a6a06;
}

/* Ders yolu: uygulamadaki gibi sağa sola kıvrılan düğümler */
.lpath {
  list-style: none;
  margin: 0;
  padding: 4px 0;
  display: grid;
  gap: 14px;
}
.lnode {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lnode.lp-1,
.lnode.lp-3 {
  margin-left: 96px;
}
.lnode.lp-2 {
  margin-left: 176px;
}
.lunit {
  display: grid;
  gap: 2px;
  padding: 14px 18px 16px;
  border-radius: 20px;
  background: var(--accent);
  color: #fff;
  margin-bottom: 4px;
}
.lunit span {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.85;
}
.lunit strong {
  font-size: 20px;
  font-weight: 800;
}
.lnode-dot {
  position: relative;
  flex: none;
  width: 68px;
  height: 68px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--element);
  color: var(--text-3);
}
.lnode-dot > svg:not(.lnode-ring) {
  width: 26px;
  height: 26px;
}
.lnode.is-done .lnode-dot {
  background: var(--accent);
  color: #fff;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.18);
}
.lnode.is-current .lnode-dot {
  background: var(--bg);
  color: var(--accent-text);
}
.lnode.is-current.is-done .lnode-dot {
  background: var(--accent);
  color: #fff;
}
.lnode-ring {
  position: absolute;
  inset: -6px;
  width: 80px;
  height: 80px;
  transform: rotate(-90deg);
}
.lnode-ring circle {
  fill: none;
  stroke: var(--element);
  stroke-width: 5;
}
.lnode-ring .lnode-ring-fill {
  stroke: var(--accent);
  stroke-dasharray: 0 100;
  transition: stroke-dasharray 0.5s ease;
}
.lnode.is-done .lnode-ring {
  display: none;
}
.lnode-text {
  display: grid;
  gap: 2px;
}
.lnode-name {
  font-weight: 700;
  font-size: 16px;
}
.lnode.is-locked .lnode-name {
  color: var(--text-3);
}
.lnode-stars {
  display: flex;
  gap: 2px;
  min-height: 18px;
}
.lnode-stars i {
  width: 18px;
  height: 18px;
  color: var(--element);
}
.lnode-stars i.on {
  color: var(--gold);
}
.lnode-stars svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.lnode-stars i.pop {
  animation: bump 0.45s cubic-bezier(0.3, 1.6, 0.5, 1) both;
}

/* Seri haftası */
.week {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px 22px 20px;
  background: var(--bg);
}
.week-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.week-head img {
  width: 64px;
}
.week-count {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.week-count.bump {
  animation: bump 0.5s cubic-bezier(0.3, 1.6, 0.5, 1);
  color: var(--gold);
}
.week-label {
  color: var(--text-2);
  font-size: 15px;
  font-weight: 500;
}
.days {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  text-align: center;
}
.day {
  display: grid;
  justify-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
}
.dot {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--element);
  color: var(--text-3);
}
.dot svg {
  width: 20px;
  height: 20px;
}
.day.done .dot {
  background: var(--gold);
  color: #fff;
}
.day.freeze .dot {
  background: var(--accent-soft);
  color: var(--accent-text);
}
.day.today .dot {
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--gold);
  color: var(--gold);
}
.day.today.done .dot {
  background: var(--gold);
  box-shadow: none;
  color: #fff;
  animation: bump 0.5s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.day.done,
.day.today {
  color: var(--text);
}
.week-hint {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-2);
}

/* Al-sat */
.trade-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 64px;
  align-items: center;
}
.markets {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.markets li {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 14px 5px 5px;
  font-size: 15px;
  font-weight: 600;
}
.markets li.soon {
  color: var(--text-3);
  border-style: dashed;
}
.mk {
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  background: var(--element);
  color: var(--text-2);
}
.mk-crypto {
  background: #fff1df;
  color: #c76b00;
}
.mk-gold {
  background: var(--gold-soft);
  color: #9a6a06;
}
.mk-us {
  background: var(--accent-soft);
  color: var(--accent-text);
}
.trade-copy h3 {
  margin-top: 36px;
  font-size: 19px;
  font-weight: 700;
}
.unlocks {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  max-width: 460px;
}
.unlocks li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-weight: 600;
}
.unlocks small {
  color: var(--text-3);
  font-size: 14px;
  font-weight: 500;
  text-align: right;
}

.slip {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 22px;
  background: var(--bg);
  box-shadow: var(--shadow-lg);
  max-width: 440px;
  width: 100%;
  justify-self: end;
}
.slip-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.slip-logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #c8301f;
  color: #ffe9d6;
  font-weight: 800;
  font-size: 15px;
}
.slip-name {
  display: grid;
  line-height: 1.25;
}
.slip-name small,
.slip-price small {
  color: var(--text-3);
  font-size: 13px;
}
.slip-price {
  margin-left: auto;
  display: grid;
  text-align: right;
  line-height: 1.25;
}
.slip-price b {
  font-size: 19px;
  font-variant-numeric: tabular-nums;
}
.slip-spark {
  width: 100%;
  height: 64px;
  margin: 14px 0 16px;
}
.slip-spark-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.slip-spark-area {
  fill: var(--accent-soft);
}
.slip-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  background: var(--element);
  border-radius: 999px;
}
.slip-side button,
.slip-amounts button {
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
}
.slip-side button[disabled],
.slip-amounts button[disabled] {
  opacity: 0.45;
  cursor: default;
}
.slip-side button[data-side='buy'][aria-pressed='true'] {
  background: var(--positive);
  color: #fff;
}
.slip-side button[data-side='sell'][aria-pressed='true'] {
  background: var(--negative);
  color: #fff;
}
.slip-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.slip-amounts button {
  border-color: var(--edge);
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.slip-amounts button[aria-pressed='true'] {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-text);
}
.slip-lines {
  margin: 16px 0 0;
}
.slip-lines div,
.slip-wallet div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  font-size: 15px;
}
.slip-lines dt,
.slip-wallet dt {
  color: var(--text-2);
}
.slip-lines dd,
.slip-wallet dd {
  margin: 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.slip-total {
  border-top: 1px solid var(--line);
  margin-top: 4px;
}
.slip-total dt,
.slip-total dd {
  color: var(--text);
  font-weight: 800;
  font-size: 17px;
}
.slip-go {
  width: 100%;
  margin-top: 14px;
}
.slip-stamp {
  min-height: 24px;
  margin-top: 10px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  color: var(--positive);
}
.slip-stamp.pop {
  animation: stamp 0.5s cubic-bezier(0.3, 1.6, 0.5, 1);
}
@keyframes stamp {
  0% {
    transform: scale(1.5) rotate(-6deg);
    opacity: 0;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}
.slip-wallet {
  margin: 8px 0 0;
  padding-top: 8px;
  border-top: 1px dashed var(--edge);
}

/* Lig */
.league-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.board {
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 18px;
  background: var(--bg);
  box-shadow: var(--shadow-lg);
  max-width: 460px;
  width: 100%;
}
.board-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 2px 4px 12px;
}
.board-tier {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--tier, var(--t-sapphire));
}
.board-left {
  font-size: 13px;
  color: var(--text-3);
  font-weight: 500;
}
.board-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.brow {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  padding: 0 12px;
  border-radius: 14px;
  background: var(--bg);
}
.brow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 3px;
  background: transparent;
}
.brow.zone-up::before {
  background: var(--positive);
}
.brow.zone-down::before {
  background: var(--negative);
}
.brow.is-me {
  background: var(--accent-soft);
  z-index: 1;
}
.brow-rank {
  width: 18px;
  font-weight: 800;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}
.brow.zone-up .brow-rank {
  color: var(--positive);
}
.brow-av {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  background: #8a93a3;
}
.brow-av.is-bo {
  border-radius: 0;
  background: none;
  object-fit: contain;
}
.av-0 {
  background: #007aff;
}
.av-1 {
  background: #af52de;
}
.av-2 {
  background: #30b0c7;
}
.av-3 {
  background: #ff9500;
}
.av-5 {
  background: #34c759;
}
.av-6 {
  background: #ff2d55;
}
.av-7 {
  background: #5856d6;
}
.brow-name {
  font-weight: 600;
  flex: 1;
}
.brow.is-me .brow-name {
  font-weight: 800;
  color: var(--accent-text);
}
.brow-xp {
  font-size: 14px;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}
.brow-xp b {
  color: var(--text);
  font-size: 16px;
}
.brow-xp.bump b {
  color: var(--gold);
}
.board-zones {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  padding: 10px 4px 0;
}
.z-up {
  color: var(--positive);
}
.z-down {
  color: var(--negative);
}
.board-actions {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}
.board-msg {
  font-size: 14px;
  color: var(--text-2);
  text-align: center;
  min-height: 2.9em;
}
.tiers {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  max-width: 520px;
}
.tier {
  display: grid;
  justify-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  text-align: center;
}
.tier-gem {
  width: 40px;
  height: 44px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--element);
  transition: transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1), background 0.3s;
}
.tier.is-past .tier-gem,
.tier.is-current .tier-gem {
  background: var(--c);
}
.tier.is-past {
  color: var(--text-2);
}
.tier.is-current {
  color: var(--text);
  font-weight: 800;
}
.tier.is-current .tier-gem {
  transform: scale(1.25);
}
.t-bronze {
  --c: var(--t-bronze);
}
.t-silver {
  --c: var(--t-silver);
}
.t-gold {
  --c: var(--t-gold);
}
.t-sapphire {
  --c: var(--t-sapphire);
}
.t-ruby {
  --c: var(--t-ruby);
}
.t-emerald {
  --c: var(--t-emerald);
}
.t-diamond {
  --c: var(--t-diamond);
}
.league-note {
  margin-top: 28px;
  font-size: 15px;
  color: var(--text-2);
  max-width: 34em;
}

/* Gardırop */
.ward-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.ward-stage {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 16px;
}
.ward-stage::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(380px, 92%);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: var(--accent-soft);
}
.ward-bo {
  position: relative;
  width: min(320px, 78%);
  height: auto;
  overflow: visible;
}
.bo-lids {
  opacity: 0;
}
.ward-bo .bo-happy,
.ward-bo .bo-flame,
.ward-item {
  display: none;
}
.ward-bo.is-happy .bo-happy,
.ward-bo.is-happy .bo-flame,
.ward-item.is-on {
  display: inline;
}
.ward-bo.is-happy .bo-neutral {
  display: none;
}
.ward-reset {
  position: relative;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  background: var(--bg);
  border: 1px solid var(--edge);
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
}
.ward-reset:hover {
  color: var(--text);
}
.ward-slots {
  margin-top: 28px;
  display: grid;
  gap: 18px;
}
.ward-slot h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-2);
  margin-bottom: 8px;
}
.ward-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ward-chip {
  font: inherit;
  display: grid;
  gap: 1px;
  text-align: left;
  padding: 7px 14px 8px;
  border-radius: 14px;
  border: 1px solid var(--edge);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  line-height: 1.25;
}
.ward-chip span {
  font-weight: 600;
  font-size: 15px;
}
.ward-chip small {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #9a6a06;
  font-variant-numeric: tabular-nums;
}
.ward-chip small svg {
  width: 12px;
  height: 12px;
  flex: none;
}
.ward-chip.is-earned small {
  color: var(--text-3);
  font-weight: 600;
}
.ward-chip:hover {
  border-color: var(--accent);
}
.ward-chip[aria-pressed='true'] {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.ward-note {
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-3);
  max-width: 36em;
}
@media (prefers-color-scheme: dark) {
  .demo-xp,
  .ward-chip small,
  .mk-gold,
  .feedback.done strong {
    color: var(--gold);
  }
  .mk-crypto {
    background: #2e2213;
    color: #ffb054;
  }
}

/* Dahası: iki sütunlu tanım listesi */
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  column-gap: 56px;
}
.fact {
  position: relative;
  padding: 26px 0 28px 66px;
  border-top: 1px solid var(--line);
}
.fact dt {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.fact dd {
  margin: 6px 0 0;
  color: var(--text-2);
  font-size: 16px;
}
.tile {
  position: absolute;
  left: 0;
  top: 24px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-text);
}
.tile.gold {
  background: var(--gold-soft);
  color: var(--gold);
}
.tile svg {
  width: 24px;
  height: 24px;
}

/* Bo ne yapmaz */
.bo-rules .wrap {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.bo-rules img {
  width: 200px;
}
.bo-rules p {
  margin-top: 16px;
  font-size: 18px;
  color: var(--text-2);
  max-width: 36em;
}

/* SSS */
.faq {
  max-width: 760px;
}
.faq details {
  border-top: 1px solid var(--line);
}
.faq details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 40px 20px 0;
  font-size: 18px;
  font-weight: 600;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--text-2);
  border-bottom: 2px solid var(--text-2);
  transform: translateY(-70%) rotate(45deg);
}
.faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.faq .answer {
  padding: 0 0 22px;
  color: var(--text-2);
  max-width: 42em;
}

/* Son çağrı */
.cta {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 56px 0;
}
.cta .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.cta img {
  width: 110px;
}
.cta h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -0.018em;
}
.cta p {
  margin-top: 6px;
  color: var(--text-2);
  font-size: 17px;
}
.cta .stores-lg {
  margin: 0 0 0 auto;
}

/* Hareket: yalnız tercih edilmişse */
@media (prefers-reduced-motion: no-preference) {
  .demo-bo.pop {
    animation: pop 0.45s cubic-bezier(0.3, 1.6, 0.5, 1);
  }
  @keyframes pop {
    0% {
      transform: scale(0.92) translateY(4px);
    }
    100% {
      transform: none;
    }
  }
  .ph-row,
  .ph-card {
    animation: ph-in 0.45s cubic-bezier(0.3, 1.4, 0.5, 1) both;
  }
  .ph-row.r1 {
    animation-delay: 0.08s;
  }
  .ph-row.r2 {
    animation-delay: 0.16s;
  }
  .ph-card {
    animation-delay: 0.36s;
  }
  .ph-row.r3 {
    animation-delay: 0.24s;
  }
  .ph-row.r4 {
    animation-delay: 0.3s;
  }
  @keyframes ph-in {
    from {
      opacity: 0;
      transform: translateY(8px) scale(0.96);
    }
  }
  .ward-bo .bo-eyes {
    animation: bo-eyes 4.8s infinite;
  }
  .ward-bo .bo-lids {
    animation: bo-lids 4.8s infinite;
  }
  @keyframes bo-eyes {
    0%,
    92%,
    96%,
    100% {
      opacity: 1;
    }
    93%,
    95% {
      opacity: 0;
    }
  }
  @keyframes bo-lids {
    0%,
    92%,
    96%,
    100% {
      opacity: 0;
    }
    93%,
    95% {
      opacity: 1;
    }
  }
  .bo-flame {
    transform-box: fill-box;
    transform-origin: 50% 100%;
    animation: flicker 1.3s ease-in-out infinite;
  }
  @keyframes flicker {
    0%,
    100% {
      transform: scale(1, 1);
    }
    30% {
      transform: scale(0.94, 1.08) rotate(-3deg);
    }
    65% {
      transform: scale(1.05, 0.95) rotate(2deg);
    }
  }
  .ward-item.is-new {
    transform-box: fill-box;
    transform-origin: 50% 100%;
    animation: put-on 0.42s cubic-bezier(0.3, 1.6, 0.5, 1);
  }
  @keyframes put-on {
    0% {
      transform: translateY(-14px) scale(1.08);
      opacity: 0;
    }
    100% {
      transform: none;
      opacity: 1;
    }
  }
  .ward-bo.is-happy {
    animation: hop 0.5s cubic-bezier(0.3, 1.6, 0.5, 1);
  }
  @keyframes hop {
    40% {
      transform: translateY(-8px);
    }
  }
}

/* Geniş ekran: sahne metnin yanına yükselir, paneller sağ sütunda (metnin üstüne binmez) */
@media (min-width: 1000px) {
  .hero h1 {
    font-size: clamp(56px, 6vw, 84px);
  }
  .run {
    --run-lo: 0.6;
    --ask-x: 0;
    height: 500px;
    margin-top: -112px;
  }
  .run-panel,
  .run-ask {
    top: 0;
    left: auto;
    right: max(20px, calc((100% - 1120px) / 2 + 20px));
    transform: none;
  }
  .run-ask {
    width: min(440px, 40%);
    top: 52px;
  }
  .run-hud {
    bottom: auto;
    top: 0;
  }
  .run-hud .wrap {
    justify-content: flex-end;
  }
}

/* Dar ekranlar */
@media (max-width: 900px) {
  .hero {
    padding-top: 40px;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .run-band {
    margin-top: 56px;
  }
  .run-head {
    padding-top: 40px;
  }
  .run-rules {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .learn-grid,
  .trade-grid,
  .league-grid,
  .ward-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .demo,
  .slip,
  .board {
    max-width: none;
    justify-self: stretch;
  }
  .league-copy {
    order: -1;
  }
  .facts {
    grid-template-columns: minmax(0, 1fr);
  }
  .bo-rules .wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .bo-rules img {
    width: 140px;
  }
  .section {
    padding: 64px 0;
  }
  .cta .stores-lg {
    margin-left: 0;
  }
}
@media (max-width: 380px) {
  .phone {
    zoom: 0.9;
  }
}
@media (max-width: 640px) {
  .hero .lead {
    font-size: 17px;
  }
  .run {
    --run-lo: 0.66;
    height: 480px;
  }
  .run-q {
    font-size: 16px;
  }
  .run-timer {
    margin: 10px 0;
  }
  .run-opts {
    gap: 6px;
  }
  .run-opts button {
    font-size: 13.5px;
    min-height: 56px;
    padding: 6px;
  }
  .run-opts button kbd {
    display: none;
  }
  .run-keys {
    display: none;
  }
  .demo,
  .slip,
  .board {
    padding: 16px;
    border-radius: 22px;
  }
  .demo-bo {
    width: 72px;
  }
  .dot {
    width: 36px;
    height: 36px;
  }
  .lnode.lp-1,
  .lnode.lp-3 {
    margin-left: 44px;
  }
  .lnode.lp-2 {
    margin-left: 84px;
  }
  .phone {
    margin: 0 auto;
  }
  .tier {
    font-size: 10px;
  }
  .tier-gem {
    width: 30px;
    height: 33px;
  }
}
