/* Tekrar Oyna arayüzü. Tasarım temeli: Treehouse (uiCookies, ücretsiz lisans); bileşenler bu proje için sadeleştirildi.
   Yazı tipleri (SIL OFL) ve Bootstrap 5.3.8 (MIT) kendi sunucumuzdan yüklenir; dış istek yoktur. */

/* ------------------------------------------------------------------
   1. Yazı tipleri (latin + latin-ext: Türkçe ı İ ş Ş ğ Ğ için ext şart)
------------------------------------------------------------------ */
@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("fonts/baloo-2-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: "Baloo 2";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("fonts/baloo-2-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: "Figtree";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/figtree-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: "Figtree";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/figtree-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;
}

/* ------------------------------------------------------------------
   2. Tasarım değişkenleri. Her ton: dolgu, alt kenar, pastel zemin, yazı rengi, dolgu üstü yazı.
------------------------------------------------------------------ */
:root {
  --blue: #2349d6;    --blue-edge: #142d8c;    --blue-50: #eef2ff;    --blue-ink: #1a37a8;    --blue-on: #ffffff;
  --sun: #ffc93c;     --sun-edge: #d99a0b;     --sun-50: #fff6dc;     --sun-ink: #6b4b00;     --sun-on: #17204a;
  --tomato: #f25c3d;  --tomato-edge: #b8321a;  --tomato-50: #ffebe5;  --tomato-ink: #b3341c;  --tomato-on: #0b1747;
  --green: #2dbb78;   --green-edge: #16844f;   --green-50: #e0f7ec;   --green-ink: #0d6b3c;   --green-on: #17204a;
  --violet: #7b4df0;  --violet-edge: #5128c2;  --violet-50: #f0eaff;  --violet-ink: #5330c8;  --violet-on: #ffffff;
  --pink: #ff6fa8;    --pink-edge: #d33a7d;    --pink-50: #ffe7f1;    --pink-ink: #a8205a;    --pink-on: #17204a;
  --sky: #35b4ee;     --sky-edge: #1486b9;     --sky-50: #e0f4fd;     --sky-ink: #0a6590;     --sky-on: #17204a;
  --orange: #ff8c2e;  --orange-edge: #cf610b;  --orange-50: #ffeddc;  --orange-ink: #9c4200;  --orange-on: #17204a;

  --blue-100: #dbe4ff;
  --blue-deep: #10205e;
  --ink: #17204a;
  --ink-deep: #0b1747;
  --text: #2b3458;
  --muted: #5a6387;
  --line: #e3e8f6;
  --cream: #fffaf0;
  --white: #ffffff;
  --footer-text: #c9d3ff;
  --sun-soft: #ffeeb0;   /* mavi/koyu zeminde sarı yazı: --sun mavide 4.56:1, bu 6:1 */

  --font-display: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 2px 10px rgba(23, 32, 74, .06);
  --shadow: 0 16px 40px rgba(23, 32, 74, .10);
  --shadow-lg: 0 30px 70px rgba(23, 32, 74, .16);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 80px;
}

.hue-blue   { --hc: var(--blue);   --hc-edge: var(--blue-edge);   --hc-wash: var(--blue-50);   --hc-ink: var(--blue-ink);   --hc-on: var(--blue-on); }
.hue-sun    { --hc: var(--sun);    --hc-edge: var(--sun-edge);    --hc-wash: var(--sun-50);    --hc-ink: var(--sun-ink);    --hc-on: var(--sun-on); }
.hue-tomato { --hc: var(--tomato); --hc-edge: var(--tomato-edge); --hc-wash: var(--tomato-50); --hc-ink: var(--tomato-ink); --hc-on: var(--tomato-on); }
.hue-green  { --hc: var(--green);  --hc-edge: var(--green-edge);  --hc-wash: var(--green-50);  --hc-ink: var(--green-ink);  --hc-on: var(--green-on); }
.hue-violet { --hc: var(--violet); --hc-edge: var(--violet-edge); --hc-wash: var(--violet-50); --hc-ink: var(--violet-ink); --hc-on: var(--violet-on); }
.hue-pink   { --hc: var(--pink);   --hc-edge: var(--pink-edge);   --hc-wash: var(--pink-50);   --hc-ink: var(--pink-ink);   --hc-on: var(--pink-on); }
.hue-sky    { --hc: var(--sky);    --hc-edge: var(--sky-edge);    --hc-wash: var(--sky-50);    --hc-ink: var(--sky-ink);    --hc-on: var(--sky-on); }
.hue-orange { --hc: var(--orange); --hc-edge: var(--orange-edge); --hc-wash: var(--orange-50); --hc-ink: var(--orange-ink); --hc-on: var(--orange-on); }

/* ------------------------------------------------------------------
   3. Temel
------------------------------------------------------------------ */
:root { scroll-behavior: auto; }
html { scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
p { margin: 0 0 1rem; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--blue-ink); }
img, svg { max-width: 100%; }
::selection { background: var(--sun); color: var(--ink); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .site-footer :focus-visible, .random-panel :focus-visible, .info-band :focus-visible { outline-color: var(--sun); }
main:focus { outline: none; }

.container { max-width: 1200px; padding-inline: 20px; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 2000;
  background: var(--ink);
  color: var(--white);
  padding: .75rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: var(--sun); }

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ------------------------------------------------------------------
   4. Ortak parçalar
------------------------------------------------------------------ */
.section { position: relative; padding: 88px 0; overflow-x: clip; }
.section-tight { padding-top: 0; }
@media (max-width: 767.98px) { .section { padding: 60px 0; } }

.band { margin-inline: clamp(8px, 1.6vw, 24px); border-radius: clamp(28px, 4vw, 48px); }
.band-sky { background: var(--blue-50); }

.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 36px; }
.section-top .section-head { margin-bottom: 0; }
.section-title { font-size: min(clamp(2.1rem, 1.45rem + 2.3vw, 3.2rem), 14vw); font-weight: 800; line-height: 1.04; margin-bottom: .9rem; }
.section-lead { font-size: 1.14rem; color: var(--muted); }

.kicker { display: inline-flex; align-items: center; gap: .55rem; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: .9rem; }
.kicker::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px var(--sun-50); }
.kicker-tomato { color: var(--tomato-ink); }
.kicker-tomato::before { background: var(--tomato); box-shadow: 0 0 0 4px var(--tomato-50); }
.kicker-light { color: var(--sun-soft); }
.kicker-light::before { box-shadow: 0 0 0 4px rgba(255, 255, 255, .16); }

/* Tombul "oyuncak blok" düğmeler */
.btn-pop {
  --bg: var(--blue);
  --fg: var(--white);
  --edge: var(--blue-edge);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1;
  padding: 1rem 1.55rem .9rem;
  border: 0;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  box-shadow: 0 5px 0 var(--edge);
  cursor: pointer;
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), background-color .2s;
}
.btn-pop:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 7px 0 var(--edge); }
.btn-pop:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--edge); }
.btn-pop .ico { width: 1.1em; height: 1.1em; }
.btn-pop-sun { --bg: var(--sun); --fg: var(--ink); --edge: var(--sun-edge); }
.btn-pop-line { --bg: var(--white); --fg: var(--ink); --edge: var(--line); box-shadow: inset 0 0 0 2px var(--line), 0 5px 0 var(--line); }
.btn-pop-line:hover { box-shadow: inset 0 0 0 2px var(--blue-100), 0 7px 0 var(--blue-100); }
.btn-pop-sm { min-height: 44px; font-size: .98rem; padding: .78rem 1.2rem .7rem; }
.btn-big { min-height: 64px; font-size: 1.35rem; padding: 1.2rem min(2.1rem, 7vw) 1.1rem; max-width: 100%; text-align: center; }
.btn-big .ico { width: 1.2em; height: 1.2em; }

.text-link { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-weight: 800; color: var(--blue); }
.text-link .ico { transition: transform .2s var(--ease); }
.text-link:hover .ico { transform: translateX(4px); }

/* Etiket çipleri: bağlantı kutusu 44px, görünen hap 34px */
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; font-weight: 700; font-size: .88rem; line-height: 1.2; color: var(--ink); }
.chip > span { display: inline-flex; align-items: center; min-height: 34px; padding: .2rem .9rem; border-radius: 999px; background: var(--white); border: 2px solid var(--line); transition: border-color .2s, background-color .2s, color .2s; }
.chip:hover { color: var(--blue); }
.chip:hover > span { border-color: var(--blue); }
.chip:focus-visible { outline: none; }
.chip:focus-visible > span { outline: 3px solid var(--blue); outline-offset: 2px; }
.chip-class > span { background: var(--blue-50); border-color: var(--blue-50); color: var(--blue-ink); }
.chip-interest > span { background: var(--green-50); border-color: var(--green-50); color: var(--green-ink); }
.chip-tag > span { background: var(--sun-50); border-color: var(--sun-50); color: var(--sun-ink); }
.chip-class:hover > span { border-color: var(--blue-ink); }
.chip-interest:hover > span { border-color: var(--green-ink); }
.chip-tag:hover > span { border-color: var(--sun-ink); }
.chip-class:hover, .chip-interest:hover, .chip-tag:hover { color: inherit; }
.chip-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 4px; }

/* Süslü şekiller */
.shape { position: absolute; pointer-events: none; }
.shape-dots { background-image: radial-gradient(var(--tomato) 2.2px, transparent 2.8px); background-size: 16px 16px; opacity: .75; }
.shape-sun { color: var(--sun); }
.shape-sun svg { width: 100%; height: 100%; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.arch { position: relative; overflow: hidden; border-radius: 999px 999px 28px 28px; border: 10px solid var(--white); background: var(--blue); box-shadow: var(--shadow-lg); }

.sticker {
  position: absolute;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1;
  background: var(--sun);
  color: var(--ink);
  box-shadow: 0 6px 0 var(--sun-edge);
  transform: rotate(-10deg);
  animation: bob 5s ease-in-out infinite;
}
@keyframes bob { 50% { transform: rotate(-6deg) translateY(-6px); } }
.sticker strong { display: block; font-size: 1.9rem; line-height: .9; }
.sticker span { display: block; font-size: .8rem; letter-spacing: .02em; margin-top: .25rem; padding-inline: 12px; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.check-list li { display: flex; gap: .8rem; align-items: flex-start; font-weight: 600; }
.check-list .tick { flex: none; width: 28px; height: 28px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: var(--ink); }
.check-list .tick .ico { width: 15px; height: 15px; stroke-width: 3; }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; padding: 0; margin: 0 0 18px; font-size: .92rem; font-weight: 700; }
.crumbs li { color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #8a92b4; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); }

/* ------------------------------------------------------------------
   5. Üst bilgi: logo, merkezi arama, gezinme
------------------------------------------------------------------ */
.site-header { position: relative; z-index: 1030; background: var(--white); border-bottom: 2px solid var(--line); }
.site-header .navbar { padding: 12px 0; }
.site-header .navbar > .container { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }

.brand { order: 1; display: inline-flex; align-items: center; gap: .7rem; min-height: 48px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 48px; height: 48px; flex: none; transition: transform .3s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-6deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; letter-spacing: .02em; line-height: .95; padding-top: .12em; }
.brand-sub { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: .22rem; }

.navbar-toggler {
  order: 2;
  margin-left: auto;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 2px solid var(--line);
  border-radius: 50%;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--white);
}
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.toggler-bar { width: 20px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s; }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.header-search {
  order: 3;
  min-width: 0;
  flex: 1 1 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 4px 5px 4px 18px;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 999px;
  transition: border-color .2s, box-shadow .2s;
}
.header-search:hover { border-color: var(--blue-100); }
.header-search:focus-within { border-color: var(--blue); outline: 3px solid var(--blue); outline-offset: 2px; }
.search-ico { width: 1.3rem; height: 1.3rem; color: var(--blue); }
.header-search input, .hero-search input, .search-card input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 4px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: 600 1rem var(--font-body);
  -webkit-appearance: none;
  appearance: none;
}
.header-search input::placeholder, .hero-search input::placeholder, .search-card input::placeholder { color: var(--muted); opacity: 1; font-weight: 500; }
.header-search input::-webkit-search-cancel-button, .hero-search input::-webkit-search-cancel-button, .search-card input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.search-go { flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: var(--white); box-shadow: 0 3px 0 var(--blue-edge); cursor: pointer; transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
.search-go:hover { transform: translateY(-1px); box-shadow: 0 4px 0 var(--blue-edge); }
.search-go:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--blue-edge); }

.site-header .navbar-collapse { order: 4; flex-basis: 100%; }
.site-header .nav-menu { gap: 2px; }
.site-header .nav-menu .nav-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: .55rem 1.05rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.site-header .nav-menu .nav-link:hover,
.site-header .nav-menu .nav-link:focus-visible { background: var(--blue-50); color: var(--blue); }
.site-header .nav-menu .nav-link[aria-current="page"] { color: var(--blue); background: var(--blue-50); }
.site-header .nav-menu .nav-link:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; box-shadow: none; }
.nav-cta { margin-left: .6rem; }

@media (max-width: 991.98px) {
  .site-header .navbar-collapse { margin-top: 4px; background: var(--white); border: 2px solid var(--line); border-radius: 24px; padding: 10px; box-shadow: var(--shadow); }
  .nav-cta { margin: .5rem 0 .3rem; width: 100%; }
  .site-header .nav-menu .nav-link { padding: .75rem 1rem; }
}
@media (min-width: 992px) {
  .site-header { position: sticky; top: 0; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); }
  .site-header .navbar > .container { flex-wrap: nowrap; gap: 20px; }
  .navbar-toggler { display: none; }
  .header-search { order: 2; flex: 1 1 240px; max-width: 420px; margin-inline: auto; }
  .site-header .navbar-collapse { order: 3; flex: 0 0 auto; margin: 0; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .site-header .nav-menu .nav-link { padding: .5rem .7rem; font-size: .95rem; }
  .brand-sub { display: none; }
}

/* ------------------------------------------------------------------
   6. Ana sayfa: hero
------------------------------------------------------------------ */
.hero { position: relative; padding: 48px 0 80px; overflow: clip; isolation: isolate; }
/* Lavanta kutu kemerin sol kenarına teğet, kemerin altından sarkar: yuvarlak köşe görünür (1240 px üstünde kemer 50% + 78px'te başlar) */
.hero::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 28px; left: min(56%, calc(50% + 78px)); right: 0; background: var(--blue-50); border-bottom-left-radius: 200px; }
.hero-grid { display: grid; gap: 56px; align-items: center; }
.hero-grid > *, .catalog-layout > *, .detail-grid > *, .footer-grid > *, .random-panel > *, .info-band > * { min-width: 0; }
@media (max-width: 991.98px) {
  .hero::before { top: auto; left: clamp(8px, 1.6vw, 24px); right: clamp(8px, 1.6vw, 24px); width: auto; height: 42%; bottom: 44px; border-radius: 160px 160px 48px 48px; }
}
@media (min-width: 992px) { .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 64px; } }

.hero h1, .page-hero h1 { font-size: min(clamp(2.7rem, 1.5rem + 4.4vw, 4.7rem), 16vw); font-weight: 800; line-height: .98; letter-spacing: -.02em; margin: .2rem 0 1.3rem; isolation: isolate; }
.scribble { position: relative; display: inline-block; color: var(--blue); white-space: nowrap; }
.scribble svg { position: absolute; z-index: -1; left: -3%; bottom: .02em; width: 106%; height: .34em; color: var(--sun); }
.hero-lead { font-size: 1.2rem; color: var(--muted); max-width: 34rem; }

.hero-search {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 600px;
  margin: 1.8rem 0 .9rem;
  padding: 8px 8px 8px 20px;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
  transition: border-color .2s;
}
.hero-search:focus-within, .search-card:focus-within { border-color: var(--blue); outline: 3px solid var(--blue); outline-offset: 2px; }
.hero-search .search-ico, .search-card .search-ico { width: 1.5rem; height: 1.5rem; }
.hero-search input, .search-card input { height: 56px; font-size: 1.1rem; }
.hero-search .btn-pop { min-height: 56px; padding-inline: 2rem; }
@media (max-width: 575.98px) {
  .hero-search { flex-wrap: wrap; padding: 14px; border-radius: 28px; }
  .hero-search input { flex: 1 1 0; }
  .hero-search .btn-pop { flex: 1 1 100%; }
}

.popular { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; max-width: 600px; }
.popular-label { font-weight: 800; font-size: .95rem; color: var(--muted); }
.popular ul { display: flex; flex-wrap: wrap; gap: 0 2px; list-style: none; margin: 0; padding: 0; }

.hero-points { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.hero-points li { display: flex; align-items: center; gap: .6rem; font-weight: 700; color: var(--ink); font-size: .98rem; }
.hero-points .dot { flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.hero-points li:nth-child(2) .dot { background: var(--sun-50); color: var(--sun-ink); }
.hero-points li:nth-child(3) .dot { background: var(--tomato-50); color: var(--tomato-ink); }
.hero-points .dot .ico { width: 18px; height: 18px; }

.hero-visual { position: relative; width: 100%; max-width: 500px; margin-inline: auto; isolation: isolate; }
.hero-visual .arch { aspect-ratio: 1000 / 1080; }
.hero-art { display: block; width: 100%; height: 100%; }
.hero-visual .shape-sun { z-index: -1; top: -46px; right: calc(-1 * clamp(14px, calc((100vw - 1200px) / 2 + 12px), 48px)); width: 170px; height: 170px; }  /* ekran kenarına taşmaz (tur 2) */
.hero-visual .shape-dots { z-index: -1; left: max(-40px, calc(-1 * ((100vw - min(500px, 100vw - 40px)) / 2 - 4px))); bottom: 90px; width: 128px; height: 144px; }
.hero-visual .sticker { width: 118px; height: 118px; left: -22px; top: 70px; }
.float-card { position: absolute; display: flex; align-items: center; gap: 14px; background: var(--white); border-radius: 22px; padding: 10px 20px 4px 14px; box-shadow: var(--shadow); }
.hero-visual .float-card { right: -18px; bottom: -26px; max-width: 290px; }
.float-ico { flex: none; width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--tomato-50); color: var(--tomato-ink); }
.float-card p { margin: 0; font-size: .92rem; line-height: 1.35; color: var(--muted); }
.float-card strong { display: block; color: var(--ink); font-size: 1rem; }
.float-card a { display: flex; align-items: center; min-height: 44px; font-weight: 800; font-size: .95rem; }

@media (max-width: 575.98px) {
  .hero { padding: 36px 0 112px; }
  .hero-visual { max-width: 320px; }
  .hero-visual .sticker { width: 94px; height: 94px; left: -10px; top: 30px; }
  .sticker strong { font-size: 1.5rem; }
  .sticker span { font-size: .7rem; }
  .hero-visual .float-card { right: -6px; left: 24px; bottom: -34px; max-width: none; }
  .hero-visual .shape-sun { top: -30px; right: -16px; width: 116px; height: 116px; }
}

/* ------------------------------------------------------------------
   7. Büyük yuvarlak sınıf seçici
------------------------------------------------------------------ */
.grade-grid { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 1060px; }
@media (min-width: 768px) { .grade-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; } }
.grade-pick {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 18px 4px 14px;
  border: 2px solid transparent;
  border-radius: 24px;
  background: rgba(255, 255, 255, .7);
  color: var(--ink);
  font-weight: 800;
  font-size: .9rem;
  line-height: 1.2;
  text-align: center;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.grade-pick:hover { color: var(--ink); background: var(--white); border-color: var(--hc); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.grade-num {
  width: 100%;
  max-width: 80px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1rem + 2.4vw, 2.7rem);
  font-weight: 800;
  line-height: 1;
  padding-top: .12em;
  background: var(--hc);
  color: var(--hc-on);
  box-shadow: 0 6px 0 var(--hc-edge);
  transition: transform .2s var(--ease);
}
.grade-pick:hover .grade-num { transform: scale(1.06) rotate(-4deg); }
.grade-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); font-weight: 600; }

/* ------------------------------------------------------------------
   8. İlgi alanı karoları
------------------------------------------------------------------ */
.interest-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 768px) { .interest-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.interest-tile {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  min-height: 96px;
  padding: 18px 20px;
  border: 2px solid var(--line);
  border-radius: 26px;
  background: var(--white);
  color: var(--ink);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.interest-tile:hover { color: var(--ink); transform: translateY(-4px); border-color: var(--hc); box-shadow: var(--shadow); }
.tile-ico { flex: none; width: 60px; height: 60px; border-radius: 20px; display: grid; place-items: center; background: var(--hc-wash); color: var(--hc-ink); transform: rotate(-5deg); transition: transform .3s var(--ease); }
.tile-ico .ico { width: 30px; height: 30px; }
.interest-tile:hover .tile-ico { transform: rotate(4deg) scale(1.06); }
.tile-title { flex: 1; min-width: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1.1; overflow-wrap: break-word; }
.tile-arrow { color: var(--muted); transition: transform .2s var(--ease), color .2s; }
.interest-tile:hover .tile-arrow { color: var(--hc-ink); transform: translateX(4px); }
@media (max-width: 991.98px) {
  .interest-tile { flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; padding: 18px 16px; }
  .tile-arrow { display: none; }
  .tile-title { font-size: 1.2rem; overflow-wrap: break-word; }
}
@media (max-width: 767.98px) {
  .interest-grid li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .interest-grid li:last-child:nth-child(odd) .interest-tile { flex-direction: row; align-items: center; gap: 16px; }
  .interest-grid li:last-child:nth-child(odd) .tile-arrow { display: block; }
}

/* ------------------------------------------------------------------
   9. Rastgele oyun paneli ve bilgi bandı
------------------------------------------------------------------ */
.random-panel, .info-band { position: relative; display: grid; gap: 32px; align-items: center; padding: clamp(28px, 5vw, 64px); border-radius: 40px; color: var(--white); overflow: hidden; isolation: isolate; }
.random-panel { background: var(--blue); }
.info-band { background: var(--blue-deep); }
@media (min-width: 768px) { .random-panel { grid-template-columns: 1.15fr .85fr; gap: 48px; } }
@media (min-width: 992px) { .info-band { grid-template-columns: 1.1fr .9fr; gap: 56px; } }
.random-panel h2, .info-band h2 { color: var(--white); font-size: min(clamp(2.2rem, 1.5rem + 2.8vw, 3.6rem), 11vw); font-weight: 800; line-height: 1.02; margin-bottom: 1rem; }
.random-panel p, .info-band p { color: rgba(255, 255, 255, .92); font-size: 1.12rem; max-width: 34rem; }
.random-copy .btn-big { margin-top: 1.6rem; }
.random-copy .empty-note { margin-top: 1.4rem; padding-left: 1rem; border-left: 4px solid var(--sun); font-weight: 700; color: var(--white); }
.random-art { width: 100%; max-width: 320px; height: auto; margin-inline: auto; }
.random-panel .shape-dots, .info-band .shape-dots { z-index: -1; right: -20px; top: -20px; width: 150px; height: 110px; background-image: radial-gradient(rgba(255, 255, 255, .5) 2px, transparent 2.6px); opacity: .5; }
.info-band-main h2 { font-size: min(clamp(2.6rem, 1.6rem + 3.8vw, 4.4rem), 12vw); }
.info-band .check-list li { color: var(--white); }

/* ------------------------------------------------------------------
   10. Oyun kartı
------------------------------------------------------------------ */
.card-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 28px;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.game-card:hover { transform: translateY(-4px); border-color: var(--hc); box-shadow: var(--shadow); }
.card-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; }
.card-ico { flex: none; width: 58px; height: 58px; border-radius: 20px; display: grid; place-items: center; background: var(--hc-wash); color: var(--hc-ink); transform: rotate(-5deg); }
.card-ico .ico { width: 28px; height: 28px; }
.card-meta { margin: 0; min-width: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; font-size: .82rem; font-weight: 800; }
.meta-item { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .75rem; border-radius: 999px; background: var(--hc-wash); color: var(--hc-ink); line-height: 1.3; }
.meta-item .ico { width: 1.1em; height: 1.1em; }
.card-title { margin: 0; font-size: 1.5rem; line-height: 1.1; }
.card-title a { display: flex; align-items: center; min-height: 44px; color: var(--ink); }
.card-title a:hover { color: var(--blue); }
.card-text { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.5; }
.game-card .chip-list { margin-top: auto; padding-top: 10px; border-top: 2px dashed var(--line); }
.game-card .chip-list:empty { display: none; }
.card-play { --bg: var(--hc); --fg: var(--hc-on); --edge: var(--hc-edge); width: 100%; margin-top: 6px; font-size: 1.15rem; letter-spacing: .04em; }
.chip-list:empty + .card-play { margin-top: auto; }
.card-play .ico { transition: transform .2s var(--ease); }
.card-play:hover .ico { transform: translateX(4px); }

/* ------------------------------------------------------------------
   11. Altbilgi
------------------------------------------------------------------ */
.site-footer { margin-top: 24px; padding: 64px 0 24px; background: var(--ink-deep); color: var(--footer-text); border-radius: 48px 48px 0 0; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr; gap: 48px; } }
.brand-light, .brand-light:hover { color: var(--white); }
.brand-light .brand-sub { color: var(--footer-text); }
.footer-motto { margin: 14px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--white); }
.footer-title { color: var(--white); font-size: 1.2rem; font-weight: 700; margin-bottom: .6rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.site-footer a { color: var(--footer-text); }
.site-footer a:hover { color: var(--sun); }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .9rem; }
.footer-bottom p { margin: 0; }
.credit { font-size: .85rem; }

/* ------------------------------------------------------------------
   12. Oyunlar sayfası: arama, filtreler, sonuçlar
------------------------------------------------------------------ */
.page-hero { position: relative; padding: 24px 0 36px; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; z-index: -1; inset: 0 clamp(8px, 1.6vw, 24px); background: var(--blue-50); border-radius: 0 0 clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px); }
@media (max-width: 1239.98px) { .page-hero .container { padding-inline: 32px; } }
.page-hero h1 { font-size: min(clamp(2.4rem, 1.6rem + 3.4vw, 3.9rem), 15vw); margin-bottom: .8rem; }
.page-hero-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 8px; }
@media (max-width: 575.98px) { .page-hero .hero-lead { display: none; } }  /* telefonda sonuçlar ilk ekrana yaklaşsın */
.page-hero-art { display: none; flex: none; width: 240px; height: auto; margin-right: 24px; }
@media (min-width: 768px) { .page-hero-art { display: block; } }

.search-card { margin-top: 18px; display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 20px; background: var(--white); border: 2px solid var(--line); border-radius: 30px; box-shadow: var(--shadow); transition: border-color .2s; }
.search-card .btn-pop { min-height: 56px; padding-inline: 2rem; }
@media (max-width: 575.98px) {
  .search-card { flex-wrap: wrap; padding: 14px; border-radius: 28px; }
  .search-card input { flex: 1 1 0; }
  .search-card .btn-pop { flex: 1 1 100%; }
}

.catalog-layout { display: grid; gap: 22px; align-items: start; padding-top: 28px; padding-bottom: 72px; }
@media (min-width: 1100px) { .catalog-layout { grid-template-columns: 300px minmax(0, 1fr); gap: 32px; } }
.filters { background: var(--white); border: 2px solid var(--line); border-radius: 28px; }
.filters > summary { display: flex; flex-wrap: wrap; align-items: center; gap: 4px .7rem; min-height: 60px; padding: 8px 22px; list-style: none; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--ink); cursor: pointer; }
.filters > summary::-webkit-details-marker { display: none; }
.filters > summary .ico { width: 1.3rem; height: 1.3rem; color: var(--blue); }
.filters-count { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; background: var(--blue); color: var(--white); font: 800 .95rem/1 var(--font-body); }
.filters > summary .chev { margin-left: auto; transition: transform .2s var(--ease); }
.filters[open] > summary .chev { transform: rotate(180deg); }
.filters[open] > summary { border-bottom: 2px dashed var(--line); }
.filters-body { display: grid; gap: 22px; padding: 22px; }
@media (min-width: 768px) and (max-width: 1099.98px) {
  .filters-body { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 28px; gap: 26px 36px; }
  .filter-group.kind-class, .filter-group.kind-interest, .filter-group.kind-tag, .filter-actions { grid-column: 1 / -1; }
}
@supports selector(::details-content) {
  @media (min-width: 1100px) {
    .filters > summary { display: none; }
    .filters::details-content { content-visibility: visible; display: block; }
  }
}
.filter-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.filter-group legend { display: flex; align-items: center; gap: .6rem; float: none; width: auto; margin: 0 0 8px; padding: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.filter-group legend::before { content: ""; width: 12px; height: 12px; border-radius: 4px; background: var(--k); }
.filter-group small { color: var(--muted); font-weight: 600; }
.kind-class { --k: var(--blue); --k-on: var(--blue-on); }
.kind-interest { --k: var(--green); --k-on: var(--green-on); }
.kind-tag { --k: var(--sun); --k-on: var(--sun-on); }
.kind-player { --k: var(--tomato); --k-on: var(--tomato-on); }
.kind-duration { --k: var(--violet); --k-on: var(--violet-on); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; max-width: 100%; }
.choice { position: relative; display: inline-flex; max-width: 100%; cursor: pointer; }
.choice-input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice-box { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: 0 1.05rem; border: 2px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font-weight: 700; font-size: .95rem; line-height: 1.2; transition: border-color .2s, background-color .2s, color .2s, transform .15s var(--ease); }
.choice:hover .choice-box { border-color: var(--k); transform: translateY(-1px); }
.choice-input:checked + .choice-box { background: var(--k); border-color: var(--k); color: var(--k-on); }
.choice-input:checked + .choice-box::before { content: ""; width: .42em; height: .8em; margin: -.15em .15em 0 -.1em; border: solid currentColor; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.choice-input:focus-visible + .choice-box { outline: 3px solid var(--blue); outline-offset: 3px; }
.filter-actions { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 6px; }
.filter-actions .btn-pop { max-width: 100%; text-align: center; }


.result-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; margin-bottom: 14px; }
.result-count { margin: 0; font-weight: 700; color: var(--muted); }
.active-filters { display: flex; flex-wrap: wrap; gap: 0 4px; list-style: none; margin: 0; padding: 0; min-width: 0; }
.chip-remove > span { gap: .45rem; background: var(--k); border-color: var(--k); color: var(--k-on); overflow-wrap: anywhere; }
.chip-remove .ico { width: .95em; height: .95em; stroke-width: 3; }
.chip-remove:hover > span { border-color: var(--ink); }
.result-count strong { color: var(--ink); font-family: var(--font-display); font-size: 1.5rem; }

.empty-state { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 44px 20px 48px; border: 2px dashed var(--line); border-radius: 32px; background: var(--cream); }
.empty-state h2, .empty-state h3 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); font-weight: 800; margin: 0; }
.empty-state p { max-width: 30rem; margin: 0 0 6px; color: var(--muted); }
.empty-art { width: 160px; height: auto; }

/* ------------------------------------------------------------------
   13. Oyun sayfası
------------------------------------------------------------------ */
.detail { padding: 24px 0 72px; }
.detail-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 22px; }
.detail-title { margin: 0; font-size: min(clamp(2.2rem, 1.4rem + 3.4vw, 3.6rem), 12vw); font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.detail-grid { display: grid; gap: 22px; align-items: start; }
@media (min-width: 1100px) {
  .detail-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; }
  .detail-grid .stage { grid-column: 1; grid-row: 1; }
  .detail-grid .info-card { grid-column: 2; grid-row: 1; }
}
.stage { padding: 12px; border-radius: 32px; background: var(--blue-50); scroll-margin-top: 90px; }
.stage:focus-visible { outline-offset: 4px; border-radius: 32px; }
.stage-bar { display: flex; align-items: center; gap: 14px; padding: 6px 12px 12px; }
.stage-dots { display: inline-flex; gap: 6px; flex: none; }
.stage-dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--tomato); }
.stage-dots i:nth-child(2) { background: var(--sun); }
.stage-dots i:nth-child(3) { background: var(--green); }
.stage-status { margin: 0; font-size: .92rem; font-weight: 700; color: var(--muted); }
.stage iframe { display: block; width: 100%; height: min(74vh, 700px); min-height: 440px; border: 0; border-radius: 22px; background: var(--white); box-shadow: 0 0 0 6px var(--white); }
/* Masaüstü: oyun alanı ilk ekrana sığar. 380 px = üstbilgi, ekmek kırıntısı, İKİ satırlık başlık ve alan çerçevesi payı;
   kısa ekranlarda başlık küçülür. Tek satırlı başlıkta alt boşluk kalır, üç satırlı çok uzun adda sayfa biraz kayar. */
@media (min-width: 1100px) {
  .detail-top { flex-wrap: nowrap; }
  .detail-title { flex: 1 1 0; min-width: 0; }
  .detail-top .btn-pop { flex: none; }
  .stage iframe { min-height: 0; height: clamp(340px, calc(100vh - 380px), 700px); }
}
@media (min-width: 1100px) and (max-height: 820px) {
  .detail-title { font-size: 2.4rem; }
  .stage iframe { height: clamp(340px, calc(100vh - 342px), 700px); }
}

.info-card { display: flex; flex-direction: column; gap: 18px; padding: 24px; background: var(--white); border: 2px solid var(--line); border-radius: 28px; }
@media (min-width: 1100px) { .info-card { position: sticky; top: 100px; align-self: start; } }
.info-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; }
@media (min-width: 1100px) { .info-meta { display: grid; } }
.info-meta li { display: flex; align-items: center; gap: 14px; min-width: 0; }
.info-meta li > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.info-ico { flex: none; width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center; background: var(--hc-wash); color: var(--hc-ink); transform: rotate(-5deg); }
.info-ico .ico { width: 26px; height: 26px; }
.info-meta small { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.info-meta strong { display: block; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.15; color: var(--ink); }
.info-text { margin: 0; color: var(--text); }
.info-card .btn-big { width: 100%; }
.btn-big .ico-go { display: none; }
@media (min-width: 1100px) { .btn-big .ico-down { display: none; } .btn-big .ico-go { display: inline-block; } }
