/* Mochicade tanıtım sitesi. Renkler uygulamanın paletinden
   (mochicade_mobile lib/constants/colors.dart, lib/theme/app_colors.dart).
   Kartlar ve düğmeler uygulamadaki gibi bulanık gölge yerine altta düz bir
   "derinlik şeridi" taşır. */

/* ------------------------------------------------------------------ Font */
@font-face {
  font-family: 'Nunito';
  src: url('../fonts/nunito-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Nunito';
  src: url('../fonts/nunito-semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Nunito';
  src: url('../fonts/nunito-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Nunito';
  src: url('../fonts/nunito-extrabold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------------------------------------------ Renkler */
:root {
  --bg: #f7f4ff;
  --surface: #ffffff;
  --surface-2: #eee9ff;
  --line: #e2dbf7;
  --edge: #d6ccf4;
  --text: #2a2350;
  --text-2: #625a86;
  --text-3: #8a82a8;
  --primary: #7254f6;
  --primary-depth: #5236cf;
  --primary-soft: #e9e3ff;
  --primary-ink: #5a3ee6;
  --pink: #ff7eb3;
  --pink-depth: #d9558e;
  --sunny: #ffc23d;
  --sunny-depth: #d99a0f;
  --mint: #10845a;
  --sky: #1f7fd1;
  --coral: #d63a40;
  --ink: #2a2350;
  --glow-a: rgba(114, 84, 246, 0.16);
  --glow-b: rgba(255, 126, 179, 0.16);
  --glow-c: rgba(255, 194, 61, 0.18);
  --dots: rgba(114, 84, 246, 0.09);
  --header-bg: rgba(247, 244, 255, 0.82);
  --phone-frame: #221b46;
  --store-bg: #221b46;
  --store-depth: #0b0818;
  --store-text: #ffffff;
  --soft-shadow: 0 24px 48px -28px rgba(42, 35, 80, 0.45);
  --radius-s: 12px;
  --radius: 20px;
  --radius-l: 28px;
  --depth: 6px;
  color-scheme: light;
}

:root[data-theme='dark'] {
  --bg: #141026;
  --surface: #1f1938;
  --surface-2: #2a2349;
  --line: #362e5c;
  --edge: #0b0818;
  --text: #f3f0ff;
  --text-2: #beb6e0;
  --text-3: #8c84ae;
  --primary-soft: #2e2560;
  --primary-ink: #b7a6ff;
  --glow-a: rgba(114, 84, 246, 0.24);
  --glow-b: rgba(255, 126, 179, 0.12);
  --glow-c: rgba(255, 194, 61, 0.08);
  --dots: rgba(183, 166, 255, 0.07);
  --header-bg: rgba(20, 16, 38, 0.82);
  --phone-frame: #0b0818;
  --store-bg: #f3f0ff;
  --store-depth: #8c84ae;
  --store-text: #2a2350;
  --soft-shadow: 0 24px 48px -28px rgba(0, 0, 0, 0.8);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #141026;
    --surface: #1f1938;
    --surface-2: #2a2349;
    --line: #362e5c;
    --edge: #0b0818;
    --text: #f3f0ff;
    --text-2: #beb6e0;
    --text-3: #8c84ae;
    --primary-soft: #2e2560;
    --primary-ink: #b7a6ff;
    --glow-a: rgba(114, 84, 246, 0.24);
    --glow-b: rgba(255, 126, 179, 0.12);
    --glow-c: rgba(255, 194, 61, 0.08);
    --dots: rgba(183, 166, 255, 0.07);
    --header-bg: rgba(20, 16, 38, 0.82);
    --phone-frame: #0b0818;
    --store-bg: #f3f0ff;
    --store-depth: #8c84ae;
    --store-text: #2a2350;
    --soft-shadow: 0 24px 48px -28px rgba(0, 0, 0, 0.8);
    color-scheme: dark;
  }
}

/* ------------------------------------------------------------------ Temel */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Nunito', ui-rounded, 'SF Pro Rounded', system-ui, -apple-system, 'Segoe UI',
    Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Sayfa zemini: hafif ışımalar ve nokta deseni. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(40rem 28rem at 8% -6%, var(--glow-a), transparent 70%),
    radial-gradient(34rem 26rem at 96% 8%, var(--glow-b), transparent 70%),
    radial-gradient(36rem 30rem at 50% 105%, var(--glow-c), transparent 70%),
    radial-gradient(var(--dots) 1.2px, transparent 1.4px) 0 0 / 22px 22px;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--primary-ink);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 8px;
}

.container {
  width: min(1180px, 100% - 40px);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-s);
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

/* ------------------------------------------------------------------ Düğmeler */
.btn {
  --btn-bg: var(--primary);
  --btn-depth: var(--primary-depth);
  --btn-text: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 24px;
  border: 0;
  border-radius: 16px;
  background: var(--btn-bg);
  box-shadow: 0 5px 0 var(--btn-depth);
  color: var(--btn-text);
  font: inherit;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    filter 0.2s;
}

.btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 6px 0 var(--btn-depth);
}

.btn:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 var(--btn-depth);
}

.btn-sunny {
  --btn-bg: var(--sunny);
  --btn-depth: var(--sunny-depth);
  --btn-text: var(--ink);
}

.btn-soft {
  --btn-bg: var(--surface);
  --btn-depth: var(--edge);
  --btn-text: var(--text);
  border: 2px solid var(--line);
}

.btn-sm {
  min-height: 42px;
  padding: 8px 16px;
  border-radius: 13px;
  font-size: 15px;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}

/* Mağaza düğmeleri — uygulama henüz yayında değil: "Yakında" etiketli,
   tıklanamaz. Yayınlanınca README'deki adımla bağlantıya çevrilir. */
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.store-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 228px;
  padding: 10px 20px 10px 16px;
  border-radius: 16px;
  background: var(--store-bg);
  box-shadow: 0 5px 0 var(--store-depth);
  color: var(--store-text);
  text-decoration: none;
}

.store-btn[aria-disabled='true'] {
  cursor: default;
}

.store-btn svg {
  width: 30px;
  height: 30px;
  flex: none;
}

.store-btn span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store-btn small {
  font-size: 12px;
  font-weight: 700;
  opacity: 0.75;
}

.store-btn strong {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.store-btn .soon {
  position: absolute;
  top: -15px;
  right: -8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--sunny);
  box-shadow: 0 3px 0 var(--sunny-depth);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  transform: rotate(4deg);
}

/* ------------------------------------------------------------------ Başlık */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  transition: border-color 0.2s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 3px 0 rgba(217, 154, 15, 0.55);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.main-nav a {
  padding: 8px 12px;
  border-radius: 12px;
  color: var(--text-2);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition:
    color 0.15s,
    background 0.15s;
}

.main-nav a:hover {
  background: var(--surface-2);
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 2px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  box-shadow: 0 3px 0 var(--edge);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.12s;
}

.icon-btn:active {
  transform: translateY(2px);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.theme-toggle .icon-moon,
:root[data-theme='dark'] .theme-toggle .icon-sun {
  display: none;
}

:root[data-theme='dark'] .theme-toggle .icon-moon {
  display: block;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .theme-toggle .icon-sun {
    display: none;
  }

  :root:not([data-theme='light']) .theme-toggle .icon-moon {
    display: block;
  }
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border: 2px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  box-shadow: 0 3px 0 var(--edge);
}

.lang-switch a {
  min-width: 36px;
  padding: 5px 8px;
  border-radius: 9px;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.lang-switch a[aria-current='true'] {
  background: var(--primary);
  color: #fff;
}

.menu-toggle {
  display: none;
}

.menu-toggle .icon-close,
.site-header.menu-open .menu-toggle .icon-menu {
  display: none;
}

.site-header.menu-open .menu-toggle .icon-close {
  display: block;
}

/* Dil önerisi şeridi (tarayıcı dili sayfanın dilinden farklıysa). */
.lang-hint {
  border-bottom: 1px solid var(--line);
  background: var(--primary-soft);
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
}

.lang-hint[hidden] {
  display: none;
}

.lang-hint .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding-block: 6px;
}

.lang-hint a {
  font-weight: 800;
}

.lang-hint button {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
}

.lang-hint button svg {
  width: 16px;
  height: 16px;
}

/* ------------------------------------------------------------------ Bölüm */
.section {
  padding-block: 80px;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.kicker svg {
  flex: none;
  color: var(--sunny);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 14px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--primary-ink);
  font-size: 15px;
  font-weight: 800;
}

.section-head h2,
.split h2 {
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem);
}

.section-head p,
.lead {
  margin-top: 14px;
  color: var(--text-2);
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
}

.gradient-text {
  background: linear-gradient(100deg, var(--primary) 10%, var(--pink) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

:root[data-theme='dark'] .gradient-text {
  background-image: linear-gradient(100deg, #b7a6ff 10%, #ff9cc6 90%);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .gradient-text {
    background-image: linear-gradient(100deg, #b7a6ff 10%, #ff9cc6 90%);
  }
}

/* ------------------------------------------------------------------ Hero */
.hero {
  position: relative;
  padding: 56px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 48px;
}

.hero h1 {
  font-size: clamp(2.6rem, 1.5rem + 4.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.hero .lead {
  max-width: 560px;
  margin-top: 20px;
}

.hero .store-buttons {
  margin-top: 32px;
}

.hero-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-perks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-2);
  font-size: 15px;
  font-weight: 700;
}

.hero-perks .dot {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--mint);
  color: #fff;
}

.hero-perks .dot svg {
  width: 13px;
  height: 13px;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 600px;
}

/* Arkadaki yumuşak güneş — uygulama ikonunun zemini. */
.hero-visual::before {
  content: '';
  position: absolute;
  width: min(520px, 92%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #ffe07a 0%, #ffaa5c 55%, transparent 72%);
  opacity: 0.55;
  filter: blur(6px);
}

:root[data-theme='dark'] .hero-visual::before {
  opacity: 0.28;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .hero-visual::before {
    opacity: 0.28;
  }
}

/* ------------------------------------------------------------------ Telefon */
.phone {
  position: relative;
  z-index: 2;
  width: 292px;
  aspect-ratio: 9 / 19;
  padding: 10px;
  border-radius: 48px;
  background: var(--phone-frame);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.08) inset,
    0 14px 0 -2px rgba(11, 8, 24, 0.35),
    var(--soft-shadow);
  transform: rotate(-3deg);
  animation: phone-float 6s ease-in-out infinite;
}

@keyframes phone-float {
  0%,
  100% {
    transform: rotate(-3deg) translateY(0);
  }
  50% {
    transform: rotate(-2deg) translateY(-12px);
  }
}

.phone-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 38px;
  background: #f7f4ff;
  color: #2a2350;
}

.phone-island {
  position: absolute;
  top: 9px;
  left: 50%;
  z-index: 3;
  width: 84px;
  height: 24px;
  border-radius: 999px;
  background: #0b0818;
  transform: translateX(-50%);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 12px 24px 0;
  font-size: 12px;
  font-weight: 800;
}

.phone-status i {
  display: inline-block;
  width: 26px;
  height: 11px;
  border: 2px solid #2a2350;
  border-radius: 4px;
  font-style: normal;
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px 10px;
}

.app-top strong {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.app-coins {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff4d6;
  box-shadow: 0 2px 0 #f2d58b;
  font-size: 12px;
  font-weight: 800;
}

.app-daily {
  position: relative;
  margin: 0 12px;
  padding: 12px 12px 12px 76px;
  border-radius: 20px;
  background: linear-gradient(140deg, #8a6dff, #6143e8);
  box-shadow: 0 5px 0 #4a2fc4;
  color: #fff;
}

.app-daily .mochi-slot {
  position: absolute;
  left: 4px;
  top: 50%;
  width: 72px;
  height: 72px;
  transform: translateY(-50%);
}

.app-daily small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  opacity: 0.85;
}

.app-daily b {
  display: block;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.app-daily .app-daily-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.app-streak {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 11px;
  font-weight: 800;
}

.app-play {
  padding: 4px 14px;
  border-radius: 10px;
  background: #ffc23d;
  box-shadow: 0 3px 0 #d99a0f;
  color: #2a2350;
  font-size: 12px;
  font-weight: 800;
}

.app-label {
  padding: 14px 16px 8px;
  font-size: 14px;
  font-weight: 800;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 8px;
  padding: 0 12px;
}

.app-grid figure {
  margin: 0;
  text-align: center;
}

.app-grid img {
  width: 100%;
  max-width: 64px;
  margin-inline: auto;
}

.app-grid figcaption {
  margin-top: 3px;
  overflow: hidden;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.app-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: auto;
  padding: 8px 6px 14px;
  border-top: 1px solid #e2dbf7;
  background: #ffffff;
}

.app-tabs span {
  display: grid;
  justify-items: center;
  gap: 2px;
  color: #9890b5;
  font-size: 9px;
  font-weight: 800;
}

.app-tabs span.on {
  color: #7254f6;
}

.app-tabs svg {
  width: 20px;
  height: 20px;
}

/* Telefonun etrafında süzülen logolar ve Mochi. */
.float-tile {
  position: absolute;
  z-index: 3;
  width: 84px;
  height: 84px;
  filter: drop-shadow(0 12px 14px rgba(42, 35, 80, 0.18));
  animation: bob 5s ease-in-out infinite;
}

.float-tile:nth-of-type(1) {
  top: 6%;
  left: 4%;
  transform: rotate(-10deg);
}

.float-tile:nth-of-type(2) {
  top: 14%;
  right: 2%;
  width: 72px;
  height: 72px;
  animation-delay: -1.5s;
}

.float-tile:nth-of-type(3) {
  bottom: 22%;
  right: 0;
  width: 92px;
  height: 92px;
  animation-delay: -3s;
}

.float-tile:nth-of-type(4) {
  top: 46%;
  left: 0;
  width: 66px;
  height: 66px;
  animation-delay: -2.2s;
}

@keyframes bob {
  0%,
  100% {
    translate: 0 0;
    rotate: 0deg;
  }
  50% {
    translate: 0 -14px;
    rotate: 6deg;
  }
}

.hero-mochi {
  position: absolute;
  bottom: 0;
  left: 6%;
  z-index: 4;
  width: 150px;
  height: 150px;
}

.sparkle {
  position: absolute;
  z-index: 1;
  width: 26px;
  height: 26px;
  color: #ffffff;
  filter: drop-shadow(0 0 6px rgba(255, 194, 61, 0.8));
  animation: twinkle 2.6s ease-in-out infinite;
}

.sparkle.s1 {
  top: 2%;
  right: 22%;
}

.sparkle.s2 {
  bottom: 30%;
  left: 18%;
  width: 18px;
  height: 18px;
  animation-delay: -1s;
}

.sparkle.s3 {
  bottom: 6%;
  right: 18%;
  width: 20px;
  height: 20px;
  animation-delay: -1.8s;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.75) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.1) rotate(20deg);
  }
}

/* ------------------------------------------------------------------ Mochi */
.mochi {
  display: block;
  overflow: visible;
}

.mochi .mochi-body {
  transform-box: fill-box;
  transform-origin: 50% 100%;
}

.mochi .mochi-eyes {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: blink 5s infinite;
}

.mochi .mochi-happy {
  opacity: 0;
}

.mochi-bounce .mochi-body {
  animation: mochi-hop 1.6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.mochi-bounce .mochi-shadow {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: mochi-shadow 1.6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

@keyframes mochi-hop {
  0%,
  100% {
    transform: translateY(0) scale(1.12, 0.88);
  }
  12% {
    transform: translateY(0) scale(1, 1);
  }
  50% {
    transform: translateY(-22%) scale(0.96, 1.05);
  }
  88% {
    transform: translateY(0) scale(1, 1);
  }
}

@keyframes mochi-shadow {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(0.68);
    opacity: 0.55;
  }
}

@keyframes blink {
  0%,
  94%,
  100% {
    transform: scaleY(1);
  }
  97% {
    transform: scaleY(0.1);
  }
}

/* Tıklanınca: büyük zıplama, mutlu gözler. */
.mochi.is-jumping .mochi-body {
  animation: mochi-jump 0.75s cubic-bezier(0.3, 0, 0.4, 1);
}

.mochi.is-jumping .mochi-eyes {
  opacity: 0;
  animation: none;
}

.mochi.is-jumping .mochi-happy {
  opacity: 1;
}

@keyframes mochi-jump {
  0% {
    transform: translateY(0) scale(1.18, 0.82);
  }
  40% {
    transform: translateY(-38%) scale(0.92, 1.1) rotate(-6deg);
  }
  75% {
    transform: translateY(0) scale(1.14, 0.86);
  }
  100% {
    transform: translateY(0) scale(1, 1);
  }
}

.mochi-shadow {
  fill: rgba(42, 35, 80, 0.14);
}

:root[data-theme='dark'] .mochi-shadow {
  fill: rgba(0, 0, 0, 0.4);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .mochi-shadow {
    fill: rgba(0, 0, 0, 0.4);
  }
}

/* Güneş zemininde (ikon, CTA) gölge turuncuya çalar — uygulama ikonundaki gibi. */
.on-sun .mochi-shadow,
.app-daily .mochi-shadow,
.mini-widget .mochi-shadow {
  fill: rgba(168, 82, 26, 0.2);
}

.mochi-button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* ------------------------------------------------------------------ Kayan duvar */
.marquee {
  display: grid;
  gap: 16px;
  padding-block: 8px 24px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 70s linear infinite;
}

.marquee-track.reverse {
  animation-direction: reverse;
  animation-duration: 80s;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee img {
  width: 88px;
  height: 88px;
  flex: none;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ------------------------------------------------------------------ Sayılar */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stat {
  padding: 22px 20px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 var(--depth) 0 var(--edge);
  text-align: center;
}

.stat b {
  display: block;
  font-size: clamp(2rem, 1.4rem + 1.8vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--text-2);
  font-weight: 700;
}

.stat:nth-child(1) b {
  color: var(--primary-ink);
}

.stat:nth-child(2) b {
  color: var(--pink-depth);
}

.stat:nth-child(3) b {
  color: var(--sunny-depth);
}

.stat:nth-child(4) b {
  color: var(--mint);
}

:root[data-theme='dark'] .stat:nth-child(2) b {
  color: var(--pink);
}

:root[data-theme='dark'] .stat:nth-child(3) b {
  color: var(--sunny);
}

:root[data-theme='dark'] .stat:nth-child(4) b {
  color: #3fcf95;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .stat:nth-child(2) b {
    color: var(--pink);
  }

  :root:not([data-theme='light']) .stat:nth-child(3) b {
    color: var(--sunny);
  }

  :root:not([data-theme='light']) .stat:nth-child(4) b {
    color: #3fcf95;
  }
}

/* ------------------------------------------------------------------ Oyunlar */
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 16px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 4px 0 var(--edge);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.12s,
    background 0.15s;
}

.chip:hover {
  transform: translateY(-1px);
}

.chip:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--edge);
}

.chip .count {
  min-width: 26px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 13px;
}

.chip[aria-pressed='true'] {
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: 0 4px 0 var(--primary-depth);
  color: #fff;
}

.chip[aria-pressed='true'] .count {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

/* Esnek ve ortalı: süzülmüş listelerde son satır da ortada durur. */
.game-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.game-card {
  display: flex;
  flex: 0 0 132px;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 10px 16px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 var(--depth) 0 var(--edge);
  text-align: center;
  transition: transform 0.18s cubic-bezier(0.3, 1.4, 0.5, 1);
  animation: card-in 0.35s ease both;
}

.game-card:hover {
  transform: translateY(-4px) rotate(-1.5deg);
}

.game-card img {
  width: 76px;
  height: 76px;
}

.game-card b {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

.game-card small {
  margin-top: -6px;
  color: var(--text-3);
  font-size: 13px;
  font-weight: 700;
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
}

/* ------------------------------------------------------------------ Özellikler */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.feature {
  position: relative;
  display: flex;
  flex-direction: column;
  grid-column: span 2;
  padding: 26px;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: 0 var(--depth) 0 var(--edge);
}

.feature.wide {
  grid-column: span 3;
}

.feature.full {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 20px;
}

.feature.full h3 {
  margin-top: 0;
}

.feature.full p {
  grid-column: 2;
}

.feature.full .icon-tile {
  grid-row: 1 / span 2;
}

.feature.full .feature-visual {
  grid-column: 3;
  grid-row: 1 / span 2;
  margin: 0;
  padding: 0;
}

.feature h3 {
  margin-top: 16px;
  font-size: 22px;
}

.feature p {
  margin-top: 8px;
  color: var(--text-2);
}

.icon-tile {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(160deg, var(--tile-top), var(--tile-bottom));
  box-shadow: 0 4px 0 var(--tile-depth);
  font-size: 28px;
  line-height: 1;
}

.tone-primary {
  --tile-top: #9a82ff;
  --tile-bottom: #6a4cf0;
  --tile-depth: #4a2fc4;
}

.tone-pink {
  --tile-top: #ffa3c9;
  --tile-bottom: #ff6fa8;
  --tile-depth: #d9558e;
}

.tone-sunny {
  --tile-top: #ffe07a;
  --tile-bottom: #ffb547;
  --tile-depth: #d99a0f;
}

.tone-mint {
  --tile-top: #4ad6a0;
  --tile-bottom: #17a873;
  --tile-depth: #0a5e40;
}

.tone-sky {
  --tile-top: #6ec0ff;
  --tile-bottom: #2d8ce0;
  --tile-depth: #1560a3;
}

.tone-coral {
  --tile-top: #ff8f8a;
  --tile-bottom: #f05a5f;
  --tile-depth: #a82329;
}

.feature-visual {
  margin-top: auto;
  padding-top: 22px;
}

/* Sıralama podyumu */
.podium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 10px;
  max-width: 300px;
}

.podium div {
  display: grid;
  justify-items: center;
  gap: 6px;
}

.podium .avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface-2);
  font-size: 22px;
}

.podium .step {
  display: grid;
  place-items: center;
  width: 100%;
  border-radius: 14px 14px 6px 6px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
}

.podium .gold .step {
  height: 92px;
  background: #ffc94a;
  box-shadow: 0 5px 0 #d99a0f;
}

.podium .silver .step {
  height: 68px;
  background: #c9d0dc;
  box-shadow: 0 5px 0 #8e97a8;
}

.podium .bronze .step {
  height: 52px;
  background: #e6a06a;
  box-shadow: 0 5px 0 #b06a33;
}

.period-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.period-tabs span {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 800;
}

.period-tabs span:first-child {
  background: var(--primary);
  color: #fff;
}

/* Dil rozetleri */
.lang-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lang-pills li {
  padding: 6px 12px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  font-size: 15px;
  font-weight: 700;
}

/* Widget önizlemesi */
.widget-row {
  display: flex;
  gap: 14px;
}

.mini-widget {
  flex: 1;
  max-width: 150px;
  aspect-ratio: 1;
  padding: 12px;
  border-radius: 24px;
  background: linear-gradient(150deg, #8a6dff, #5d3fe6);
  box-shadow: 0 5px 0 #4a2fc4;
  color: #fff;
}

.mini-widget.sun {
  background: linear-gradient(170deg, #ffe07a, #ffaa5c);
  box-shadow: 0 5px 0 #d98a3a;
  color: var(--ink);
}

.mini-widget small {
  display: block;
  font-size: 11px;
  font-weight: 800;
  opacity: 0.85;
}

.mini-widget b {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.2;
}

.mini-widget .mini-logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-top: 8px;
}

.mini-widget .mini-logos img {
  width: 100%;
  height: auto;
}

.mini-widget .mochi-slot {
  width: 64px;
  height: 64px;
  margin: 6px auto 0;
}

/* Tema önizlemesi */
.theme-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 18px;
}

.theme-preview div {
  display: grid;
  gap: 6px;
  padding: 14px;
}

.theme-preview .light {
  background: #f7f4ff;
}

.theme-preview .dark {
  background: #141026;
}

.theme-preview i {
  display: block;
  height: 10px;
  border-radius: 6px;
  font-style: normal;
}

.theme-preview .light i {
  background: #e2dbf7;
}

.theme-preview .dark i {
  background: #362e5c;
}

.theme-preview i.accent {
  width: 60%;
  background: #7254f6;
}

.theme-preview i.short {
  width: 40%;
}

/* Premium satırı */
.premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 16px;
  background: linear-gradient(150deg, #4b3ab0, #1f1850);
  box-shadow: 0 5px 0 #140f36;
  color: #fff;
  font-weight: 800;
}

.premium-badge span {
  color: #ffc94a;
}

/* ------------------------------------------------------------------ Günlük (gece bandı) */
.night {
  position: relative;
  overflow: hidden;
  background: linear-gradient(170deg, #2b2070 0%, #0c0922 100%);
  color: #f3f0ff;
}

.night::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(1.5px 1.5px at 12% 22%, #fff 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 78% 12%, #fff 50%, transparent 52%),
    radial-gradient(2px 2px at 64% 68%, #ffebb0 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 32% 84%, #fff 50%, transparent 52%),
    radial-gradient(2px 2px at 90% 54%, #fff 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 46% 36%, #fff 50%, transparent 52%),
    radial-gradient(30rem 22rem at 85% 0%, rgba(114, 84, 246, 0.45), transparent 70%),
    radial-gradient(26rem 20rem at 0% 100%, rgba(255, 126, 179, 0.18), transparent 70%);
}

.night .container {
  position: relative;
}

.night .kicker {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #ffc94a;
}

.night .lead {
  color: #d9d2ff;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 700;
}

.check-list .tick {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-top: 1px;
  border-radius: 9px;
  background: #ffc94a;
  box-shadow: 0 3px 0 #a0650a;
  color: var(--ink);
  font-size: 15px;
}

.glass {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-l);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.25);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.daily-cards {
  display: grid;
  gap: 20px;
}

.daily-card {
  padding: 22px;
}

.daily-card header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.daily-card header img {
  width: 56px;
  height: 56px;
}

.daily-card small {
  display: block;
  color: #d9d2ff;
  font-size: 14px;
  font-weight: 700;
}

.daily-card h3 {
  font-size: 22px;
}

.streak {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.streak span {
  display: grid;
  justify-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 800;
  color: #b9b0e6;
}

.streak i {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 44px;
  aspect-ratio: 1;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 20px;
  font-style: normal;
}

.streak .done i {
  background: linear-gradient(160deg, #ffe07a, #ff9d4d);
  box-shadow: 0 3px 0 #b8641d;
}

.streak .today i {
  outline: 2px dashed #ffc94a;
  outline-offset: 2px;
}

.word-grid {
  display: grid;
  gap: 6px;
  margin-top: 18px;
}

.word-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  max-width: 300px;
}

.word-row span {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 20px;
  font-weight: 800;
}

.word-row .hit {
  background: #10845a;
  box-shadow: 0 3px 0 #0a5e40;
}

.word-row .near {
  background: #e29a12;
  box-shadow: 0 3px 0 #a0650a;
}

.word-row .miss {
  background: rgba(255, 255, 255, 0.18);
}

/* ------------------------------------------------------------------ Mochi bölümü */
.meet {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 48px;
  padding: 40px;
  border: 2px solid var(--line);
  border-radius: 36px;
  background: var(--surface);
  box-shadow: 0 var(--depth) 0 var(--edge);
}

.meet-stage {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-width: 380px;
  width: 100%;
  margin-inline: auto;
  border-radius: 32px;
  background: linear-gradient(180deg, #ffe07a, #ffaa5c);
  box-shadow: 0 8px 0 #d98a3a;
}

.meet-stage .mochi-slot {
  width: 72%;
  height: 72%;
}

.bubble {
  position: absolute;
  top: 10%;
  right: 6%;
  padding: 8px 14px;
  border-radius: 16px 16px 16px 4px;
  background: #ffffff;
  box-shadow: 0 4px 0 #e2c27a;
  color: var(--ink);
  font-weight: 800;
  opacity: 0;
  transform: translateY(8px) scale(0.9);
  transition:
    opacity 0.2s,
    transform 0.2s;
}

.bubble.is-visible {
  opacity: 1;
  transform: none;
}

.meet h2 {
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem);
}

.meet .hint {
  margin-top: 18px;
  color: var(--text-3);
  font-size: 15px;
  font-weight: 700;
}

/* ------------------------------------------------------------------ SSS */
.faq {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin-inline: auto;
}

.faq details {
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 4px 0 var(--edge);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 18px;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  display: grid;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary-ink);
  font-size: 22px;
  line-height: 1;
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding: 0 22px 20px;
  color: var(--text-2);
}

.faq-more {
  max-width: 820px;
  margin: 24px auto 0;
  color: var(--text-2);
  font-weight: 700;
  text-align: center;
}

/* ------------------------------------------------------------------ İndir */
.cta {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  padding: 48px 56px;
  overflow: hidden;
  border-radius: 40px;
  background: linear-gradient(170deg, #ffe07a 0%, #ffaa5c 100%);
  box-shadow: 0 8px 0 #d98a3a;
  color: var(--ink);
}

.cta > * {
  position: relative;
  z-index: 1;
}

.cta::after {
  content: '';
  position: absolute;
  z-index: 0;
  right: -80px;
  top: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.cta .mochi-slot {
  width: 200px;
  height: 200px;
}

.cta h2 {
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem);
}

.cta p {
  margin-top: 10px;
  font-size: 19px;
  font-weight: 700;
  opacity: 0.85;
}

.cta .store-buttons {
  position: relative;
  z-index: 1;
  margin-top: 26px;
}

.cta .store-btn {
  --store-bg: #2a2350;
  --store-depth: #140f36;
  --store-text: #ffffff;
}

/* ------------------------------------------------------------------ Alt bilgi */
.site-footer {
  margin-top: 96px;
  padding: 56px 0 32px;
  border-top: 2px solid var(--line);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.footer-grid p {
  max-width: 320px;
  margin-top: 14px;
  color: var(--text-2);
}

.footer-grid h2 {
  margin-bottom: 14px;
  color: var(--text-3);
  font-size: 15px;
  letter-spacing: 0;
}

.footer-grid ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid a {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--primary-ink);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 15px;
  font-weight: 600;
}

/* ------------------------------------------------------------------ Yasal sayfalar */
.legal {
  padding: 48px 0 24px;
}

.legal-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
  gap: 40px;
}

.legal-toc {
  position: sticky;
  top: 96px;
  padding: 20px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 4px 0 var(--edge);
}

.legal-toc h2 {
  margin-bottom: 12px;
  color: var(--text-3);
  font-size: 15px;
  letter-spacing: 0;
}

.legal-toc ol {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.legal-toc a {
  display: flex;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 10px;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.legal-toc a::before {
  counter-increment: toc;
  content: counter(toc);
  min-width: 18px;
  color: var(--primary-ink);
  font-weight: 800;
}

.legal-toc a:hover,
.legal-toc a.is-active {
  background: var(--surface-2);
  color: var(--text);
}

.legal-main {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.legal-head {
  display: flex;
  gap: 20px;
  padding: 28px;
  border: 2px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: 0 var(--depth) 0 var(--edge);
}

.legal-head .icon-tile {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  font-size: 32px;
}

.legal-head h1 {
  font-size: clamp(2rem, 1.5rem + 1.8vw, 2.8rem);
}

.legal-head p {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 18px;
}

.updated {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 14px;
  font-weight: 800;
}

.legal-section {
  display: flex;
  gap: 18px;
  padding: 24px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 4px 0 var(--edge);
}

.legal-section .num {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: var(--primary-soft);
  color: var(--primary-ink);
  font-size: 18px;
  font-weight: 800;
}

.legal-section h2 {
  font-size: 21px;
}

.legal-sections {
  display: grid;
  gap: 16px;
}

.legal-sections:empty {
  display: none;
}

/* Metin API'den düz yazı gelir; satır sonları korunur. */
.legal-section p {
  margin-top: 6px;
  color: var(--text-2);
  white-space: pre-line;
}

.legal-help {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
  padding: 24px;
  border-radius: var(--radius-l);
  background: linear-gradient(170deg, #ffe07a, #ffaa5c);
  box-shadow: 0 6px 0 #d98a3a;
  color: var(--ink);
}

.legal-help .mochi-slot {
  flex: none;
  width: 96px;
  height: 96px;
}

.legal-help h2 {
  font-size: 22px;
}

.legal-help p {
  margin-top: 4px;
  font-weight: 700;
  opacity: 0.85;
}

.legal-help a {
  color: var(--ink);
  font-weight: 800;
}

/* Metin yüklenirken iskelet çizgileri */
.sk {
  display: block;
  height: 14px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--surface-2) 30%, var(--line) 50%, var(--surface-2) 70%);
  background-size: 300% 100%;
  animation: sk-shimmer 1.4s ease-in-out infinite;
}

.sk + .sk {
  margin-top: 10px;
}

.sk-title {
  width: 45%;
  height: 20px;
}

.sk-short {
  width: 70%;
}

.sk + .sk-chip {
  width: 190px;
  max-width: 100%;
  height: 28px;
  margin-top: 16px;
  border-radius: 999px;
}

.legal-head .sk-group {
  margin-top: 14px;
}

.legal-section.is-skeleton .num {
  background: var(--surface-2);
}

.legal-section.is-skeleton .sk-group {
  flex: 1;
  padding-top: 6px;
}

.legal-toc .sk-toc {
  padding: 9px 8px;
}

@keyframes sk-shimmer {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: 0 0;
  }
}

/* Metin açılamadı / JavaScript kapalı */
.legal-state {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px;
  border: 2px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: 0 var(--depth) 0 var(--edge);
}

.legal-state .mochi-slot {
  flex: none;
  width: 104px;
  height: 104px;
}

.legal-state .icon-tile {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  font-size: 30px;
}

.legal-state h2 {
  font-size: 22px;
}

.legal-state p {
  margin-top: 6px;
  color: var(--text-2);
}

.legal-state .btn {
  margin-top: 16px;
}

/* İçindekiler yalnızca metin gelince dolar; hata ve JS kapalıyken yer tutar ama görünmez. */
.legal[data-state='error'] .legal-toc,
html:not(.js) .legal-toc {
  visibility: hidden;
}

/* ------------------------------------------------------------------ 404 */
.not-found {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 72px 0 24px;
  text-align: center;
}

.not-found .mochi-slot {
  width: 180px;
  height: 180px;
}

.not-found h1 {
  font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem);
}

.not-found p {
  max-width: 520px;
  color: var(--text-2);
}

/* ------------------------------------------------------------------ Kaydırınca belirme */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------------ Duyarlı */
@media (max-width: 1080px) {
  .main-nav a {
    padding: 8px 9px;
    font-size: 15px;
  }

  .header-actions .btn {
    display: none;
  }

  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature,
  .feature.wide {
    grid-column: span 1;
  }

  .feature.full {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .section {
    padding-block: 64px;
  }

  .hero {
    padding-top: 32px;
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-text {
    text-align: center;
  }

  .hero .lead {
    margin-inline: auto;
  }

  .hero .store-buttons,
  .hero-perks {
    justify-content: center;
  }

  .hero-visual {
    min-height: 560px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .meet {
    grid-template-columns: 1fr;
    padding: 28px;
    text-align: center;
  }

  .cta {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 40px 28px;
    text-align: center;
  }

  .cta .store-buttons {
    justify-content: center;
  }

  .legal-grid {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    display: none;
  }

  /* Dar ekranda menü açılır panel olur. */
  .menu-toggle {
    display: inline-grid;
  }

  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: 12px 20px 20px;
    border-bottom: 2px solid var(--line);
    background: var(--bg);
  }

  .site-header.menu-open .main-nav {
    display: flex;
  }

  .main-nav a {
    padding: 12px 14px;
    font-size: 18px;
  }

  .header-actions {
    margin-left: auto;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(1180px, 100% - 32px);
  }

  .brand {
    font-size: 20px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .header-actions {
    gap: 6px;
  }

  .lang-switch a {
    min-width: 30px;
    padding: 5px 6px;
  }

  .hero-visual {
    min-height: 660px;
  }

  .float-tile {
    width: 64px;
    height: 64px;
  }

  .float-tile:nth-of-type(2),
  .float-tile:nth-of-type(4) {
    width: 54px;
    height: 54px;
  }

  .float-tile:nth-of-type(3) {
    width: 68px;
    height: 68px;
  }

  .hero-mochi {
    width: 112px;
    height: 112px;
    left: 0;
  }

  .store-btn {
    flex: 1 1 100%;
    justify-content: center;
  }

  .stat {
    padding: 18px 12px;
  }

  .marquee img {
    width: 68px;
    height: 68px;
  }

  .chips {
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin-inline: -16px;
    padding: 4px 16px 10px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .chips::-webkit-scrollbar {
    display: none;
  }

  .chip {
    flex: none;
  }

  .game-grid {
    gap: 10px;
  }

  .game-card {
    flex-basis: calc((100% - 30px) / 4);
    gap: 6px;
    padding: 10px 4px;
    border-radius: 16px;
  }

  .game-card small {
    display: none;
  }

  .game-card img {
    width: 56px;
    height: 56px;
  }

  .game-card b {
    font-size: 12px;
    line-height: 1.2;
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .feature.full {
    display: flex;
  }

  .feature.full h3 {
    margin-top: 16px;
  }

  .feature.full .feature-visual {
    margin-top: auto;
    padding-top: 22px;
  }

  .feature {
    padding: 22px;
  }

  .widget-row .mini-widget {
    max-width: none;
  }

  .meet {
    padding: 20px;
  }

  .cta {
    padding: 32px 20px;
    border-radius: 32px;
  }

  .cta .mochi-slot {
    width: 150px;
    height: 150px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .legal-head,
  .legal-section {
    flex-direction: column;
    gap: 12px;
    padding: 20px;
  }

  .legal-help,
  .legal-state {
    flex-direction: column;
    text-align: center;
  }

  .legal-state {
    gap: 14px;
    padding: 24px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .marquee {
    overflow-x: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
