/* self-hosted fonts (restored after polish strip) */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/JetBrainsMono-400-italic-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/JetBrainsMono-400-italic-latin.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: 'JetBrains Mono';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/JetBrainsMono-600-italic-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/JetBrainsMono-600-italic-latin.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/JetBrainsMono-400-normal-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/JetBrainsMono-400-normal-latin.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/JetBrainsMono-500-normal-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/JetBrainsMono-500-normal-latin.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/JetBrainsMono-600-normal-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/JetBrainsMono-600-normal-latin.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/JetBrainsMono-700-normal-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/JetBrainsMono-700-normal-latin.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/JetBrainsMono-800-normal-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/JetBrainsMono-800-normal-latin.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;
}

/* ============================================================
   Küme Tezgâhı — Sweet Bonanza 6×5 mekanik rehberi
   Bilgilendirme amaçlı · gerçek para ile oyun yoktur
   ============================================================ */

:root {
  --bg: #FFF7FB;
  --surface: #FDE9F2;
  --surface-2: #FCDCEA;
  --surface-3: #FBCFE0;
  --ink: #2B1026;
  --ink-soft: #6B4A5E;
  --accent: #E3528E;        /* fill / dekor */
  --accent-text: #B5216A;   /* metin / linkler */
  --accent2: #39B98A;       /* fill */
  --accent2-text: #1F7A58;  /* metin */
  --plum: #7B4A98;
  --grape: #6C4FA6;
  --melon: #E04D6B;
  --apple: #D8364B;
  --candy: #F2A33C;
  --heart: #E66FA0;
  --line: rgba(43, 16, 38, 0.14);
  --line-strong: rgba(43, 16, 38, 0.28);
  --shadow: 0 18px 46px -26px rgba(43, 16, 38, 0.42);
  --shadow-soft: 0 10px 30px -22px rgba(43, 16, 38, 0.38);
  --header-h: 72px;
  --sec-pad: clamp(56px, 8vw, 104px);
  --maxw: 1320px;
  --radius: 22px;
  --serif: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --sans: system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Consolas", "SF Mono", "JetBrains Mono", ui-monospace, monospace;
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

html, body {
  overflow-x: clip;
  max-width: 100%;
  margin: 0;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.62;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main, .site-footer { position: relative; z-index: 1; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  font-weight: 800;
}

p { margin: 0 0 1em; }
a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

figure, figcaption, blockquote { margin: 0; }

img { max-width: 100%; height: auto; display: block; }

ul, ol { margin: 0 0 1em; padding-left: 1.2em; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: clamp(16px, 4vw, 32px);
  padding-right: clamp(16px, 4vw, 32px);
}

.vh {
  position: absolute !important;
  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: 12px; top: -60px;
  z-index: 2000;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

:where(a, button, input, select, textarea, [tabindex], summary):focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 2px;
  border-radius: 6px;
}

/* word safety */
.break { word-break: break-word; overflow-wrap: anywhere; }

/* ---------------- Header ---------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1080;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 247, 251, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: background .24s ease, box-shadow .24s ease, height .24s ease, border-color .24s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 247, 251, 0.98);
  box-shadow: 0 8px 24px -16px rgba(43, 16, 38, 0.3);
  border-bottom-color: var(--line);
  height: 62px;
}
.header-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 30px; height: 30px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, #fff 0 18%, transparent 19%),
    conic-gradient(var(--accent) 0 25%, var(--candy) 0 50%, var(--accent2) 0 75%, var(--plum) 0 100%);
  box-shadow: inset 0 0 0 3px var(--bg), 0 2px 8px -3px rgba(43,16,38,.5);
  flex: none;
}
.brand small {
  display: block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.nav-desktop { display: none; }
@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: clamp(14px, 1.6vw, 26px);
  }
  .nav-desktop a {
    position: relative;
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 6px 0;
  }
  .nav-desktop a::after {
    content: "";
    position: absolute;
    left: 0; right: 100%;
    bottom: -2px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: right .26s cubic-bezier(.2,.7,.2,1);
  }
  .nav-desktop a:hover { color: var(--accent-text); }
  .nav-desktop a:hover::after,
  .nav-desktop a.is-active::after { right: 0; }
  .nav-desktop a.is-active { color: var(--accent-text); }
}

.nav-toggle {
  position: relative;
  width: 46px; height: 46px;
  padding: 0;
  display: inline-block;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  z-index: 1100;
}
.nav-toggle span {
  position: absolute;
  left: 50%; top: 50%;
  width: 22px; height: 2.5px;
  translate: -50% -50%;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span:nth-child(1) { transform: translateY(-7px); }
.nav-toggle span:nth-child(3) { transform: translateY(7px); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); opacity: 1; }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); opacity: 1; }
@media (min-width: 1024px) { .nav-toggle { display: none; } }

/* ---------------- Drawer ---------------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 6, 18, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity .24s ease, visibility .24s ease;
  z-index: 1040;
}
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 92vw);
  background: var(--ink);
  color: #fff;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.2,.7,.2,1);
  z-index: 1050;
  padding: 90px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}
.drawer.is-open { transform: translateX(0); }
.drawer a {
  color: #FCE3EE;
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.drawer a:hover, .drawer a.is-active { color: #fff; }
.drawer .drawer-tag {
  margin-top: auto;
  font-size: 12px;
  color: #D9A8C2;
  line-height: 1.5;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s cubic-bezier(.2,.7,.2,1), background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn-primary {
  background: var(--accent-text);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(227, 82, 142, 0.9);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: #8E1052;
  color: #fff;
  transform: translateY(-2px);
  /* warm candy glow — sweet-shop micro-effect */
  box-shadow: 0 14px 30px -12px rgba(227, 82, 142, 0.75),
              0 0 24px -4px rgba(242, 163, 60, 0.55);
}
@media (prefers-reduced-motion: reduce) {
  .btn-primary:hover, .btn-primary:focus-visible,
  .btn-ghost:hover, .btn-ghost:focus-visible,
  .btn-green:hover, .btn-green:focus-visible { transform: none; }
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: var(--surface);
  color: var(--ink);
  transform: translateY(-2px);
}
.btn-green {
  background: var(--accent2);
  color: #06281D;
}
.btn-green:hover, .btn-green:focus-visible {
  background: var(--accent2-text);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------------- Sections / general ---------------- */
main { padding-top: var(--header-h); }

section { padding-block: var(--sec-pad); position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.sec-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
}
.sec-head p { color: var(--ink-soft); font-size: 1.06rem; }

.lead { font-size: 1.12rem; color: var(--ink-soft); }

/* candy-crack divider */
.crack {
  height: 16px;
  background:
    linear-gradient(135deg, transparent 49%, var(--accent) 50%, transparent 51%) 0 0 / 18px 16px repeat-x;
  opacity: .28;
  margin: 0;
}

/* ---------------- Reveal ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms cubic-bezier(.2,.7,.2,1), transform 600ms cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.is-in { opacity: 1; transform: none; }
html.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================================
   HERO — split asymmetric
   ============================================================ */
.hero {
  padding-top: clamp(28px, 5vw, 56px);
  background:
    radial-gradient(1200px 520px at 88% -10%, var(--surface) 0%, transparent 60%),
    radial-gradient(900px 440px at 0% 110%, var(--surface-2) 0%, transparent 55%),
    var(--bg);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
}
.hero-copy { min-width: 0; }
.hero h1 {
  font-size: clamp(2.3rem, 6vw, 4.1rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.4em;
}
.hero h1 .accent { color: var(--accent-text); }
.hero .sub {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 44ch;
  margin-bottom: 1.6em;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 7px 12px;
  border-radius: 999px;
}
.trust-strip span::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent2);
}

/* live 6x5 grid in hero */
.hero-visual { min-width: 0; position: relative; }
.candy-board {
  position: relative;
  background: linear-gradient(170deg, #fff 0%, var(--surface) 100%);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.candy-board::before {
  /* candy-glass gleam */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 26px;
  background: linear-gradient(115deg, rgba(255,255,255,.55) 0%, transparent 32%);
  pointer-events: none;
}
.board-6x5 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 8px;
}
.cell {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}
.cell svg { width: 68%; height: 68%; display: block; }
.cell .mult-chip {
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(13px, 2.4vw, 20px);
  color: #fff;
}
/* solid per-symbol backgrounds (always visible, no image dependency) */
.cell[data-sym="grape"]  { background: #EFE8F8; }
.cell[data-sym="melon"]  { background: #FDE6EA; }
.cell[data-sym="plum"]   { background: #EEE6F6; }
.cell[data-sym="apple"]  { background: #FBE2E4; }
.cell[data-sym="candy"]  { background: #FDF0DE; }
.cell[data-sym="heart"]  { background: #FDE5EF; }
.cell[data-sym="mult"]   { background: linear-gradient(150deg, var(--accent) 0%, var(--plum) 100%); }

/* cluster ring glow + tumble animations */
@keyframes ringGlow {
  0%   { box-shadow: 0 0 0 0 rgba(227,82,142,0); }
  40%  { box-shadow: 0 0 0 4px rgba(227,82,142,.55), 0 0 22px 4px rgba(227,82,142,.5); }
  100% { box-shadow: 0 0 0 3px rgba(227,82,142,.35), 0 0 16px 2px rgba(227,82,142,.3); }
}
.cell.is-win { animation: ringGlow .5s ease forwards; z-index: 2; }
.cell.is-win::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 12px;
  border: 2px solid rgba(227,82,142,.8);
}
@keyframes tumbleIn {
  0%   { transform: translateY(-120%) rotate(-8deg); opacity: 0; }
  70%  { transform: translateY(6%) rotate(2deg); opacity: 1; }
  100% { transform: translateY(0) rotate(0); opacity: 1; }
}
.cell.is-drop { animation: tumbleIn .42s cubic-bezier(.3,.9,.4,1.3) both; }
@keyframes popOut {
  0%   { transform: scale(1); opacity: 1; }
  100% { transform: scale(.2); opacity: 0; }
}
.cell.is-clear { animation: popOut .28s ease forwards; }

@media (prefers-reduced-motion: reduce) {
  .cell.is-drop, .cell.is-clear, .cell.is-win { animation: none !important; }
  .cell.is-win { box-shadow: 0 0 0 3px rgba(227,82,142,.45); }
}

.hero-visual .ambient {
  position: absolute;
  z-index: 3;            /* float above the candy-board (fix: a1 label was painting behind it) */
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-text);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}
.hero-visual .ambient.a1 { top: -14px; left: 18px; }
.hero-visual .ambient.a2 { bottom: -14px; right: 22px; color: var(--accent2-text); }
.hero-visual .ambient.a2::before { background: var(--accent2); }

/* ============================================================
   DIAGRAM / SVG blocks
   ============================================================ */
.diagram-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(18px, 3vw, 30px);
  box-shadow: var(--shadow-soft);
}
.diagram-wrap svg { width: 100%; height: auto; display: block; }
.diagram-caption {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .split.wide-left { grid-template-columns: minmax(0,1.15fr) minmax(0,0.85fr); }
  .split.wide-right { grid-template-columns: minmax(0,0.85fr) minmax(0,1.15fr); }
}
.split .copy { min-width: 0; }

/* fact chips inside copy */
.fact-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.fact {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  padding: 12px 16px;
  min-width: 120px;
}
.fact b { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--accent-text); line-height: 1.1; }
.fact span { font-size: 12.5px; color: var(--ink-soft); }

/* ============================================================
   SYMBOL SET
   ============================================================ */
.sym-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 2vw, 22px);
}
@media (min-width: 720px) { .sym-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .sym-grid { grid-template-columns: repeat(6, 1fr); } }
.sym-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 16px 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform .22s cubic-bezier(.2,.7,.2,1), box-shadow .22s ease;
}
.sym-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -24px rgba(227,82,142,.6); }
.sym-chip {
  width: 72px; height: 72px;
  border-radius: 18px;
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
}
.sym-chip svg { width: 64%; height: 64%; }
.sym-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.sym-card p { font-size: 13.5px; color: var(--ink-soft); margin: 0; }
.sym-card .tier { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 8px; }

/* ============================================================
   TOOL — Kaskad tezgâhı
   ============================================================ */
.tool {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}
.tool-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}
@media (min-width: 960px) {
  .tool-shell { grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); }
}
.tool-board-wrap { min-width: 0; }
.tool .candy-board { padding: clamp(12px, 2vw, 18px); }

.tool-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 2.6vw, 28px);
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: calc(var(--header-h) + 14px);
}
.tool-controls { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.tool-controls .btn { flex: 1 1 auto; }

.stat-list { display: grid; gap: 12px; margin: 0 0 20px; padding: 0; list-style: none; }
.stat-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.stat-list .label { font-size: 13.5px; color: var(--ink-soft); font-weight: 600; }
.stat-list .value {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--accent-text);
  min-width: 3ch;
  text-align: right;
}
.stat-list .value.green { color: var(--accent2-text); }

.tool-log {
  background: #2B1026;
  color: #FCE3EE;
  border-radius: 14px;
  padding: 14px 16px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.6;
  min-height: 92px;
  max-height: 170px;
  overflow-y: auto;
}
.tool-log b { color: #F6B7D4; }
.tool-log .g { color: #8BE3C0; }
.tool-note { font-size: 12px; color: var(--ink-soft); margin: 14px 0 0; }

/* ============================================================
   CARDS / misconceptions
   ============================================================ */
.myth-list { display: grid; gap: 16px; }
@media (min-width: 820px) { .myth-list { grid-template-columns: repeat(2, 1fr); } }
.myth {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
}
.myth .tag {
  display: inline-block;
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 8px;
}
.myth h3 { font-size: 1.14rem; }
.myth p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.myth .real { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-strong); color: var(--ink); font-size: 15px; }
.myth .real b { color: var(--accent2-text); }

/* band section (why no money) */
.band {
  background: linear-gradient(160deg, #2B1026 0%, #4A1C3E 100%);
  color: #FDE9F2;
}
.band .eyebrow { color: #F6B7D4; }
.band .eyebrow::before { background: var(--accent2); }
.band h2 { color: #fff; }
.band p { color: #F0D4E2; }
.band .cols { display: grid; gap: clamp(22px,3vw,40px); grid-template-columns: 1fr; }
@media (min-width: 900px) { .band .cols { grid-template-columns: 1.2fr 0.8fr; } }
.band ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.band ul li {
  position: relative;
  padding-left: 28px;
  color: #FBE3EE;
}
.band ul li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent2);
  box-shadow: 0 0 0 4px rgba(57,185,138,.2);
}
.band .side-note {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  padding: 24px;
}
.band .side-note strong { color: #fff; }

/* ============================================================
   PHOTOS
   ============================================================ */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 760px) { .photo-strip { grid-template-columns: repeat(4, 1fr); } }
.photo-strip figure {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  background: var(--surface-2);
}
.photo-strip img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.photo-strip figure:hover img { transform: scale(1.05); }
.photo-strip figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px 12px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(to top, rgba(20,6,18,.82), transparent);
}

/* duzeltme kaydi / editor note */
.notes {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3vw, 40px);
}
@media (min-width: 860px) { .notes { grid-template-columns: 1fr 1fr; } }
.note-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
}
.note-card h3 { font-size: 1.2rem; }
.changelog { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.changelog li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.changelog time {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-text);
  white-space: nowrap;
  padding-top: 2px;
}
.changelog p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: grid; gap: 12px; max-width: 900px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px clamp(18px, 3vw, 26px);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.08rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 1.5rem;
  color: var(--accent-text);
  transition: transform .3s ease;
  flex: none;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item > .answer {
  height: 0;
  padding: 0 clamp(18px, 3vw, 26px);
  overflow: hidden;
  transition: height 360ms cubic-bezier(.4,0,.2,1), padding-block-end 360ms cubic-bezier(.4,0,.2,1);
  color: var(--ink-soft);
}
.faq-item[open] > .answer { height: auto; padding-block-end: 22px; }
.faq-item > .answer p { margin: 0 0 .7em; }
.faq-item > .answer p:last-child { margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) {
  .faq-item > .answer { transition: none; }
}

/* ============================================================
   Contact / cards
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
  transition: transform .22s cubic-bezier(.2,.7,.2,1), box-shadow .22s ease;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -26px rgba(227,82,142,.6); }
.contact-card .ic {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 14px;
  color: var(--accent-text);
}
.contact-card h3 { font-size: 1rem; margin-bottom: 6px; }
.contact-card a, .contact-card p { font-size: 15px; color: var(--ink); text-decoration: none; margin: 0; }
.contact-card a:hover { color: var(--accent-text); }
.contact-card small { display: block; color: var(--ink-soft); font-size: 12.5px; margin-top: 6px; }

/* ---------------- Forms ---------------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 36px);
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 14px; }
.field label .opt { font-weight: 500; font-size: 12.5px; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(227,82,142,.18);
}
.field.kvkk { flex-direction: row; align-items: flex-start; gap: 10px; }
.field.kvkk label { font-weight: 500; font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.field input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: auto;
  width: 18px; height: 18px;
  min-width: 18px; min-height: 18px;
  padding: 0; border: 0; margin: 3px 0 0;
  accent-color: var(--accent);
}
.form-actions { margin-top: 22px; }
.form-actions .btn { width: 100%; }
@media (min-width: 640px) { .form-actions .btn { width: auto; } }

/* ---------------- Tables ---------------- */
.table-scroll {
  display: block; width: 100%; max-width: 100%; min-width: 0;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.table-scroll > table { margin: 0 !important; min-width: 480px; width: 100%; border-collapse: collapse; }
:where(*:has(> .table-scroll), *:has(> * > .table-scroll), *:has(> * > * > .table-scroll)) { min-width: 0; }
table th, table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  font-variant-numeric: tabular-nums;
}
table th { background: var(--surface); font-family: var(--serif); font-weight: 700; }
table tr:last-child td { border-bottom: none; }

/* ============================================================
   Legal / doc pages
   ============================================================ */
.page-hero {
  background:
    radial-gradient(800px 360px at 90% -20%, var(--surface) 0%, transparent 60%),
    var(--bg);
  padding-block: clamp(40px, 6vw, 72px) clamp(24px, 3.5vw, 40px);
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.page-hero p { color: var(--ink-soft); max-width: 60ch; }
/* tighten the vertical rhythm between the page intro and the first doc section */
.page-hero + section { padding-top: clamp(24px, 3.5vw, 44px); }
.doc { max-width: 760px; }
.doc h2 { font-size: 1.5rem; margin-top: 1.8em; }
.doc h3 { font-size: 1.18rem; margin-top: 1.4em; }
.doc p, .doc li { color: #3A1B33; line-height: 1.75; }
.doc ul, .doc ol { margin-bottom: 1.2em; }
.toc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 26px;
  margin-bottom: 32px;
}
.toc h2 { margin-top: 0; font-size: 1.1rem; }
.toc ol { margin: 0; }
.toc a { color: var(--accent-text); }

/* about / team */
.team-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 760px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.person {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
}
.person .ava {
  width: 60px; height: 60px; border-radius: 50%;
  background: conic-gradient(var(--accent), var(--candy), var(--accent2), var(--plum), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 800; font-size: 1.3rem; color: #fff;
  margin-bottom: 14px;
}
.person h3 { font-size: 1.1rem; margin-bottom: 2px; }
.person .role { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 10px; }
.person p { font-size: 14px; color: var(--ink-soft); margin: 0; }

.legal-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.legal-box dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0; }
.legal-box dt { font-weight: 700; color: var(--ink); font-size: 14px; }
.legal-box dd { margin: 0; color: var(--ink-soft); font-size: 14px; }
@media (max-width: 520px) { .legal-box dl { grid-template-columns: 1fr; gap: 2px 0; } .legal-box dd { margin-bottom: 8px; } }

/* thank you */
.thanks { min-height: 56vh; display: flex; align-items: center; }
.thanks .inner { text-align: center; max-width: 560px; margin: 0 auto; }
.thanks .big { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.thanks .emoji {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 20px;
  background: conic-gradient(var(--accent) 0 25%, var(--candy) 0 50%, var(--accent2) 0 75%, var(--plum) 0 100%);
  box-shadow: inset 0 0 0 7px var(--bg), var(--shadow);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: #2B1026;
  color: #F0D4E2;
  padding-block: clamp(44px, 6vw, 72px) 28px;
  font-size: 14.5px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
@media (min-width: 760px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand .brand { color: #fff; }
.footer-brand .brand small { color: #F6B7D4; }
.footer-brand p { color: #D9A8C2; max-width: 40ch; margin-top: 14px; font-size: 14px; }
.footer-col h4 { color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: #E4BCCF; text-decoration: none; display: block; }
.footer-col a:hover { color: #fff; }
.footer-col p { color: #D9A8C2; margin: 0 0 8px; font-size: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom .legal-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer-bottom .legal-links a { color: #E4BCCF; text-decoration: none; display: inline; }
.footer-bottom .legal-links a:hover { color: #fff; }
.footer-disclaimer {
  margin-top: 18px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  color: #FBE3EE;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

/* ============================================================
   Cookie banner
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 30px 60px -24px rgba(43,16,38,.6);
  transform: translateY(140%);
  opacity: 0;
  transition: transform 280ms cubic-bezier(.2,.7,.2,1), opacity 240ms;
  z-index: 1030;
}
@media (min-width: 720px) { .cookie-banner { left: 24px; right: auto; max-width: 420px; } }
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; }
/* keep the banner from covering the open mobile drawer */
html.nav-open .cookie-banner,
body:has(.drawer.is-open) .cookie-banner { display: none; }
.cookie-banner h2 { font-size: 1.05rem; margin-bottom: 6px; }
.cookie-banner p { font-size: 13.5px; color: var(--ink-soft); margin: 0 0 14px; }
.cookie-banner .row { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-banner .row .btn { flex: 1 1 auto; font-size: 14px; padding: 11px 16px; min-height: 44px; }
/* consent fairness: "Reddet" must carry the same visual weight as "Kabul et"
   so rejecting is no harder than accepting (no dark pattern). */
.cookie-banner .row .btn[data-consent="accept"],
.cookie-banner .row .btn[data-consent="reject"] { flex: 1 1 140px; }
.cookie-banner .row .btn[data-consent="reject"] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  /* match the accept button's elevation so neither choice is favoured
     (consent fairness: reject must be as prominent as accept) */
  box-shadow: 0 10px 24px -12px rgba(43, 16, 38, 0.85);
}
.cookie-banner .row .btn[data-consent="reject"]:hover,
.cookie-banner .row .btn[data-consent="reject"]:focus-visible {
  background: #46203c;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(43, 16, 38, 0.7);
}
/* "Ayarlar" stays the quieter, tertiary choice */
.cookie-banner .row .btn[data-consent="settings"] {
  flex: 1 1 100%;
  min-height: 40px;
  background: transparent;
  border-color: transparent;
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-banner .row .btn[data-consent="settings"]:hover,
.cookie-banner .row .btn[data-consent="settings"]:focus-visible {
  background: var(--surface);
  color: var(--accent-text);
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .cookie-banner .row .btn[data-consent="reject"]:hover,
  .cookie-banner .row .btn[data-consent="reject"]:focus-visible { transform: none; }
}

/* ============================================================
   Responsive helpers
   ============================================================ */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .sym-chip { width: 60px; height: 60px; }
}

.scroll-progress{position:fixed;top:0;left:0;height:3px;width:100%;transform:scaleX(0);transform-origin:0 50%;will-change:transform;background:var(--accent);z-index:9998;transition:transform 80ms linear;pointer-events:none}
