/* ==========================================================================
   PlayDukkan — ana stil dosyası
   Not: CSP 'style-src self' olduğu için HTML'de inline style kullanılmaz.
   ========================================================================== */

:root {
  --ink: #2a2250;
  --ink-soft: #5b5280;
  --ground: #fbf7ff;
  --white: #ffffff;
  --violet: #6a4fd8;
  --pink: #ffc9de;
  --pink-soft: #fff0f6;
  --butter: #ffe8a3;
  --mint: #bdefd8;
  --mint-soft: #eefbf5;
  --sky: #c6e4ff;
  --sky-dot: #9ccbf5;
  --lilac: #dcd2ff;
  --lilac-soft: #efe8ff;

  --font-display: "Fredoka", "Baloo Bhaijaan 2", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Nunito", "Baloo Bhaijaan 2", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --font-script: "Caveat", "Baloo Bhaijaan 2", "Comic Sans MS", cursive;

  --line: 3px solid var(--ink);
  --line-thin: 2px solid var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --shadow: 5px 5px 0 var(--ink);
  --shadow-lg: 8px 8px 0 var(--ink);

  --radius-sm: 14px;
  --radius: 26px;
  --radius-lg: 36px;
  --container: 1280px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ground);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

main { overflow-x: clip; } /* eğik şerit ve süslemeler yatay kaydırma yaratmasın */

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

h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

a { color: var(--ink); }
a:hover { color: var(--violet); }

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

[id] { scroll-margin-top: 24px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}
.skip-link:focus { top: 16px; color: var(--white); }

/* ---------- Tente ---------- */
.awning__stripes {
  height: 34px;
  background: repeating-linear-gradient(90deg, var(--pink) 0 64px, var(--white) 64px 128px);
  border-bottom: var(--line);
}
.awning__scallop {
  height: 30px;
  background:
    radial-gradient(circle at 32px 0, var(--pink) 0 28px, var(--ink) 28px 31px, transparent 31px) 0 0 / 128px 30px repeat-x,
    radial-gradient(circle at 32px 0, var(--white) 0 28px, var(--ink) 28px 31px, transparent 31px) 64px 0 / 128px 30px repeat-x;
}

/* ---------- Butonlar ve bağlantılar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: var(--line);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover {
  color: var(--ink);
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}
.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}
.btn--lg { min-height: 58px; padding: 0 28px; font-size: 1.25rem; }
.btn--light { background: var(--white); font-family: var(--font-body); font-weight: 800; font-size: 1rem; }
.btn--dark { background: var(--ink); color: var(--white); box-shadow: 5px 5px 0 var(--violet); }
.btn--dark:hover { color: var(--white); box-shadow: 8px 8px 0 var(--violet); }
.btn--pink { background: var(--pink); }
.btn--mint { background: var(--mint); }
.btn--butter { background: var(--butter); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 8px;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}
.text-link--pink { text-decoration-color: var(--pink); }
.text-link--lilac { text-decoration-color: var(--lilac); }

/* ---------- Header ---------- */
.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo:hover { color: var(--ink); }
.logo__badge {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--butter);
  border: var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transform: rotate(-6deg);
  transition: transform .2s ease;
}
.logo:hover .logo__badge { transform: rotate(6deg) scale(1.05); }
.logo picture { display: block; line-height: 0; }
.logo__img {
  display: block;
  height: 92px;
  width: auto;
  filter: drop-shadow(0 3px 0 rgba(42, 31, 84, .18));
  transition: transform .2s ease;
}
.logo:hover .logo__img { transform: rotate(-3deg) scale(1.04); }
.logo__img--footer { height: 120px; }
.logo__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.9rem;
  letter-spacing: -.5px;
  line-height: 1;
}
.logo__accent { color: var(--violet); }
.logo__tld { font-size: 1.1rem; color: var(--ink-soft); }

.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  place-items: center;
  background: var(--white);
  border: var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.site-nav__list { display: flex; flex-wrap: wrap; gap: 4px; }
.site-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}
.site-nav__link:hover,
.site-nav__link.is-active { background: var(--lilac-soft); color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 72px;
}
.hero__text {
  flex: 1 1 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sign {
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: rotate(-4deg);
  transform-origin: top center;
  animation: swing 4s ease-in-out infinite;
}
.sign__plate {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 3px;
  padding: 8px 18px;
  background: var(--mint);
  border: var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.9rem, 6vw, 5.1rem);
  line-height: 1.02;
  letter-spacing: -1.5px;
}
.hero__highlight {
  display: inline-block;
  margin-top: 10px;
  padding: 2px 18px 8px;
  background: var(--pink);
  border: var(--line);
  border-radius: 22px;
  box-shadow: 6px 6px 0 var(--ink);
  transform: rotate(-2deg);
}
.hero__lead {
  max-width: 480px;
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block: 6px;
  padding-inline: 6px 14px;
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  font-weight: 800;
  font-size: .95rem;
}
.chip__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.chip__icon--butter { background: var(--butter); }
.chip__icon--mint { background: var(--mint); }
.chip__icon--sky { background: var(--sky); }

/* ---------- Vitrin ---------- */
.showcase {
  position: relative;
  flex: 1 1 520px;
  min-width: 0;
}
.showcase__panel {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  padding: 56px 28px 48px;
  background-color: var(--sky);
  background-image: radial-gradient(var(--sky-dot) 2px, transparent 2.5px);
  background-size: 22px 22px;
  border: var(--line);
  border-radius: 40px;
  box-shadow: var(--shadow-lg);
}
.showcase__label {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  padding: 4px 18px;
  background: var(--white);
  border: var(--line);
  border-radius: 12px;
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 1.65rem;
  white-space: nowrap;
}

.game-tile {
  position: relative;
  flex: 1 1 200px;
  max-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 10px 10px 14px;
  background: var(--white);
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.game-tile--left { transform: rotate(-3deg); }
.game-tile--right { transform: rotate(3deg) translateY(18px); }
.game-tile:hover { color: var(--ink); transform: rotate(0) translateY(-6px); box-shadow: 8px 10px 0 var(--ink); }
.game-tile img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border: 2.5px solid var(--ink);
  border-radius: 18px;
}
.game-tile__bar { display: flex; align-items: center; gap: 10px; padding: 0 6px; }
.game-tile__icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: var(--line-thin);
  border-radius: 12px;
}
.game-tile__icon--pink { background: var(--pink); }
.game-tile__icon--mint { background: var(--mint); }
.game-tile__name { flex: 1; font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; }

.tag {
  position: absolute;
  top: -16px;
  padding: 4px 12px;
  border: 2.5px solid var(--ink);
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
}
.tag--end { inset-inline-end: -14px; transform: rotate(10deg); }
.tag--start { inset-inline-start: -14px; transform: rotate(-10deg); }
.tag--butter { background: var(--butter); }
.tag--pink { background: var(--pink); }

.deco { position: absolute; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.deco--star { top: -26px; inset-inline-end: 8px; fill: var(--butter); animation: twinkle 3s ease-in-out infinite; }

.script-note {
  margin-top: 34px;
  text-align: center;
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 2.1rem;
  color: var(--violet);
  transform: rotate(-2deg);
}
.script-note--butter { margin: 0; text-align: start; font-size: 1.65rem; color: var(--butter); transform: none; }

/* ---------- Kayan şerit ---------- */
.ribbon {
  margin: 0 -40px;
  padding: 16px 0;
  background: var(--ink);
  color: var(--butter);
  transform: rotate(-1.5deg);
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 1px;
}
.ribbon__track {
  display: inline-flex;
  gap: 40px;
  padding-inline-start: 40px;
  animation: marquee 28s linear infinite;
}

/* ---------- Bölüm başlıkları ---------- */
.section {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 90px;
  padding-bottom: 40px;
}
#oyunlar { padding-top: 110px; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.section-head__text { max-width: 380px; font-size: 1.05rem; color: var(--ink-soft); }
.eyebrow {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--violet);
  line-height: 1.2;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  letter-spacing: -1px;
  line-height: 1.08;
}

/* ---------- Oyun kartları ---------- */
.game-card {
  display: flex;
  flex-wrap: wrap;
  border: var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.game-card--pink { background: var(--pink-soft); }
.game-card--mint { background: var(--mint-soft); }
.game-card--reverse { flex-direction: row-reverse; }

.game-card__media {
  flex: 1 1 360px;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.game-card--pink .game-card__media { background: var(--pink); border-inline-end: var(--line); }
.game-card--mint .game-card__media { background: var(--mint); border-inline-start: var(--line); }
.game-card__media img {
  width: 100%;
  max-width: 380px;
  height: 380px;
  object-fit: cover;
  border: var(--line);
  border-radius: var(--radius);
  transform: rotate(-2deg);
}
.game-card--reverse .game-card__media img { transform: rotate(2deg); }

.game-card__body {
  flex: 999 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 44px;
}
.game-card__title { font-family: var(--font-display); font-weight: 700; font-size: 3rem; letter-spacing: -1px; line-height: 1.1; }
.game-card__text { max-width: 520px; font-size: 1.125rem; line-height: 1.65; color: var(--ink-soft); }
.game-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 8px; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill,
.platform {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  background: var(--white);
  border: var(--line-thin);
  border-radius: 999px;
  font-weight: 800;
  font-size: .875rem;
}
.platform { padding: 6px 14px; }

/* ---------- Yakında ---------- */
.soon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  padding: 32px 36px;
  background: var(--white);
  border: 3px dashed var(--ink);
  border-radius: var(--radius-lg);
}
.soon__box {
  flex: none;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  background: var(--lilac);
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.25rem;
  transform: rotate(-6deg);
  animation: wobble 2.8s ease-in-out infinite;
}
.soon__text { flex: 1 1 300px; display: flex; flex-direction: column; gap: 6px; color: var(--ink-soft); font-size: 1.05rem; }
.soon__title { font-family: var(--font-display); font-weight: 600; font-size: 1.75rem; color: var(--ink); }

/* ---------- Hakkımızda ---------- */
.about { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 48px; padding-bottom: 90px; }
.about__text {
  flex: 1 1 400px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.about__text .section-title { color: var(--ink); }

.values {
  flex: 1 1 440px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding-bottom: 24px;
}
.value {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  border: var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  transition: transform .2s ease;
}
.value h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; }
.value p { font-size: .95rem; line-height: 1.55; }
.value--butter { background: var(--butter); transform: rotate(-1.5deg); }
.value--mint { background: var(--mint); transform: rotate(1.5deg) translateY(24px); }
.value--sky { background: var(--sky); transform: rotate(1deg); }
.value--pink { background: var(--pink); transform: rotate(-1deg) translateY(24px); }

/* ---------- Bülten ---------- */
#iletisim { padding-top: 40px; padding-bottom: 100px; }
.newsletter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: 56px 48px;
  background: var(--lilac);
  border: var(--line);
  border-radius: 40px;
  box-shadow: var(--shadow-lg);
}
.newsletter__text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; font-size: 1.05rem; }
.newsletter__text a { font-weight: 800; }
.newsletter__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -1px;
  line-height: 1.1;
}
.newsletter__form { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.field-label { font-weight: 800; font-size: .95rem; }
.newsletter__row { display: flex; flex-wrap: wrap; gap: 12px; }
.newsletter__row input {
  flex: 1 1 220px;
  min-width: 0;
  min-height: 56px;
  padding: 0 22px;
  font: 600 1.05rem var(--font-body);
  color: var(--ink);
  background: var(--white);
  border: var(--line);
  border-radius: 999px;
}
.newsletter__row input::placeholder { color: #7c739f; }
.newsletter__row input[aria-invalid="true"] { border-color: #b3261e; box-shadow: 0 0 0 3px #ffd7d4; }
.newsletter__row .btn { min-height: 56px; }

.consent { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; line-height: 1.5; cursor: pointer; }
.consent input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--violet); cursor: pointer; }
.consent a { font-weight: 800; }

.form-status { min-height: 1.5em; font-weight: 800; }
.form-status.is-error { color: #a1201a; }
.form-status.is-success { color: #1d6b45; }

/* Bot tuzağı alanı: ekran okuyuculardan ve görünümden gizli */
.hp {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  inset-inline-start: -9999px;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--ground); }
.site-footer a { color: var(--ground); }
.site-footer a:hover { color: var(--butter); }
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-top: 48px;
  padding-bottom: 40px;
}
.site-footer__brand { display: flex; flex-direction: column; gap: 10px; flex: 1 1 280px; }
.logo__text--light { font-size: 1.75rem; }
.logo__accent--pink { color: var(--pink); }
.logo__tld--light { font-size: 1.05rem; color: var(--lilac); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-weight: 700; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer__bottom {
  padding-top: 18px;
  padding-bottom: 28px;
  border-top: 2px solid #4a4078;
  font-size: .875rem;
  color: var(--lilac);
}

/* ---------- Bildirim (toast) ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 50;
  transform: translateX(-50%);
  padding: 14px 24px;
  background: var(--butter);
  border: var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  animation: pop-in .25s ease;
}

/* ---------- Animasyonlar ---------- */
@keyframes swing { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(3deg); } }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.15) rotate(15deg); } }
@keyframes wobble { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(4deg); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pop-in { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }

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

/* ---------- Mobil ---------- */
@media (max-width: 980px) {
  .nav-toggle { display: grid; }
  .site-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px;
    background: var(--white);
    border: var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav__list { flex-direction: column; }
  .site-nav__link { min-height: 48px; }
  .hero { padding-top: 32px; gap: 56px; }
  .game-card--reverse { flex-direction: row; }
  .game-card--pink .game-card__media { border-inline-end: 0; border-bottom: var(--line); }
  .game-card--mint .game-card__media { border-inline-start: 0; border-bottom: var(--line); }
  .game-card__body { padding: 28px 24px 32px; }
  .game-card__title { font-size: 2.4rem; }
  .game-card__media img { height: 300px; }
  .newsletter { padding: 40px 24px; }
}

@media (max-width: 520px) {
  .logo__text { font-size: 1.55rem; }
  .logo__badge { width: 46px; height: 46px; }
  .logo__img { height: 72px; }
  .showcase__panel { padding: 48px 16px 40px; }
  .game-tile { max-width: 100%; }
  .game-tile--right { transform: rotate(2deg); }
  .values { grid-template-columns: minmax(0, 1fr); }
  .value--mint, .value--pink { transform: rotate(1deg); }
  .ribbon { font-size: 1.2rem; }
  .soon { padding: 24px; }
}
.legal {
  max-width: 820px;
  padding-top: 48px;
  padding-bottom: 96px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.legal .section-title { color: var(--ink); margin-bottom: 8px; }
.legal h2 {
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--ink);
}
.legal a { font-weight: 800; }
.legal__note {
  padding: 12px 18px;
  background: var(--butter);
  border: var(--line-thin);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: .95rem;
}

.notfound {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
  font-size: 1.15rem;
  color: var(--ink-soft);
}
.notfound .section-title { color: var(--ink); }

/* ==========================================================================
   PHP sürümü eklemeleri: alt menü, formlar, üyelik, oyun sayfası
   ========================================================================== */

/* ---------- Oyunlar alt menüsü ---------- */
button.site-nav__link {
  gap: 4px;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 800;
  color: var(--ink);
  cursor: pointer;
}
.sub-toggle svg { transition: transform .2s ease; }
.has-sub { position: relative; }
.has-sub.is-open .sub-toggle svg { transform: rotate(180deg); }

.submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 40;
  min-width: 220px;
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  background: var(--white);
  border: var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  transform: translateX(-50%);
}
.submenu::before { /* fare menüye geçerken kapanmasın */
  content: "";
  position: absolute;
  inset: -14px 0 auto;
  height: 14px;
}
.has-sub.is-open .submenu { display: flex; }
@media (hover: hover) and (min-width: 981px) {
  .has-sub:hover .submenu { display: flex; }
  .has-sub:hover .sub-toggle svg { transform: rotate(180deg); }
}
.submenu__link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding-block: 6px;
  padding-inline: 6px 12px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
}
.submenu__link:hover,
.submenu__link.is-active { background: var(--lilac-soft); color: var(--ink); }
.submenu__link--all { padding-inline-start: 14px; font-family: var(--font-body); font-weight: 800; font-size: .95rem; color: var(--ink-soft); }
.submenu__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: var(--line-thin);
  border-radius: 11px;
}
.submenu__icon--pink { background: var(--pink); }
.submenu__icon--mint { background: var(--mint); }

.btn.is-current { background: var(--lilac); }
.btn__label { max-width: 14ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Uyarılar ---------- */
.flashes { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; }
.alert {
  padding: 14px 18px;
  border: var(--line-thin);
  border-radius: var(--radius-sm);
  font-weight: 700;
  line-height: 1.5;
}
.alert ul { padding-inline-start: 18px; list-style: disc; display: flex; flex-direction: column; gap: 4px; }
.alert--success { background: var(--mint); }
.alert--error { background: #ffe1df; border-color: #a1201a; color: #6d1510; }
.alert--info { background: var(--sky); }
.alert p + .link-button { margin-top: 6px; }

.link-button {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 800;
  color: var(--ink);
  cursor: pointer;
}

/* ---------- Üyelik kartları ---------- */
.auth { display: flex; justify-content: center; padding-top: 48px; padding-bottom: 96px; }
.auth-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 56px 36px 36px;
  background: var(--white);
  border: var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.auth-card__badge {
  position: absolute;
  top: -32px;
  inset-inline-start: 36px;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transform: rotate(-6deg);
}
.auth-card__badge--butter { background: var(--butter); }
.auth-card__badge--pink { background: var(--pink); }
.auth-card__badge--mint { background: var(--mint); }
.auth-card__badge--sky { background: var(--sky); }
.auth-card__badge--lilac { background: var(--lilac); }
.auth-card__title { font-family: var(--font-display); font-weight: 700; font-size: 2.25rem; line-height: 1.1; letter-spacing: -.5px; }
.auth-card__lead { color: var(--ink-soft); font-size: 1.05rem; }
.auth-card__alt { text-align: center; color: var(--ink-soft); }
.auth-card__alt a { font-weight: 800; }

.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 800; font-size: .95rem; }
.field__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.field__link { font-size: .9rem; font-weight: 700; }
.field__hint { font-size: .85rem; color: var(--ink-soft); }
.field input,
.password input {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  font: 600 1.05rem var(--font-body);
  color: var(--ink);
  background: var(--ground);
  border: var(--line);
  border-radius: 16px;
}
.field input:focus-visible { outline-offset: 2px; background: var(--white); }
.password { position: relative; }
.password input { padding-inline-end: 92px; }
.password__toggle {
  position: absolute;
  top: 50%;
  inset-inline-end: 8px;
  min-height: 38px;
  padding: 0 12px;
  transform: translateY(-50%);
  background: var(--lilac-soft);
  border: var(--line-thin);
  border-radius: 10px;
  font: 800 .85rem var(--font-body);
  color: var(--ink);
  cursor: pointer;
}
.btn--block { width: 100%; }
.btn--danger { background: #ffb4ad; }

/* ---------- Hesabım ---------- */
.account { padding-top: 48px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 32px; }
.account__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.account__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; align-items: start; }
.panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  background: var(--white);
  border: var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.panel--butter { background: var(--butter); }
.panel--danger { background: #fff1f0; }
.panel__title { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; }
.panel__subtitle { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
.facts { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.facts div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding-bottom: 10px; border-bottom: 2px dashed rgba(42, 34, 80, .25); }
.facts dt { color: var(--ink-soft); }
.facts dd { margin: 0; font-weight: 800; word-break: break-all; }
.account__games { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Oyun sayfası ---------- */
.game-page { display: flex; flex-direction: column; gap: 28px; padding-top: 32px; padding-bottom: 96px; }
.game-switch { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.game-switch__back { gap: 6px; text-decoration-color: var(--lilac); }
.game-switch__tabs {
  display: flex;
  gap: 6px;
  padding: 6px;
  background: var(--white);
  border: var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.game-switch__tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
}
.game-switch__tab:hover { background: var(--lilac-soft); color: var(--ink); }
.game-switch__tab--pink.is-active { background: var(--pink); }
.game-switch__tab--mint.is-active { background: var(--mint); }

.game-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.game-head__title { display: flex; align-items: center; gap: 18px; min-width: 0; }
.game-head__badge {
  flex: none;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  transform: rotate(-5deg);
}
.game-head__badge--pink { background: var(--pink); }
.game-head__badge--mint { background: var(--mint); }
.game-head__title > div { display: flex; flex-direction: column; gap: 8px; }
.game-head__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.5rem); line-height: 1; letter-spacing: -1px; }
.game-head__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.pill--platform { gap: 4px; }

.game-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  padding: 14px;
  border: var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.game-stage--pink { background: var(--pink); }
.game-stage--mint { background: var(--mint); }
.game-stage:fullscreen { padding: 0; border: 0; border-radius: 0; background: #000; }
.game-stage__frame {
  display: block;
  width: 100%;
  height: 100%;
  border: var(--line);
  border-radius: 24px;
  background: var(--white);
}
.game-stage:fullscreen .game-stage__frame { border: 0; border-radius: 0; }
.game-stage__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 24px;
  background-color: var(--white);
  background-image: radial-gradient(var(--lilac) 2px, transparent 2.5px);
  background-size: 22px 22px;
  border: var(--line);
  border-radius: 24px;
}
.game-stage__placeholder img {
  width: auto;
  max-height: 100%;
  max-width: min(320px, 100%);
  height: min(380px, 100%);
  object-fit: cover;
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
}
.game-stage__soon { max-width: 360px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; color: var(--ink-soft); }
.game-stage__soon-title { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; line-height: 1.15; color: var(--ink); }

.game-info { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.game-info__text { flex: 999 1 420px; display: flex; flex-direction: column; gap: 8px; font-size: 1.1rem; color: var(--ink-soft); }
.game-info__title { font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; color: var(--ink); }
.other-game {
  flex: 1 1 280px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-block: 12px;
  padding-inline: 12px 20px;
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.other-game:hover { color: var(--ink); transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.other-game--pink { background: var(--pink); }
.other-game--mint { background: var(--mint); }
.other-game img { width: 84px; height: 84px; object-fit: cover; border: var(--line-thin); border-radius: 16px; }
.other-game > span { display: flex; flex-direction: column; }
.other-game__label { font-family: var(--font-script); font-weight: 700; font-size: 1.4rem; line-height: 1; color: var(--violet); }
.other-game__name { display: flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; }

@media (max-width: 980px) {
  .submenu {
    position: static;
    min-width: 0;
    margin-block: 6px;
    margin-inline: 14px 0;
    transform: none;
    box-shadow: none;
  }
  .submenu::before { display: none; }
  .game-stage { aspect-ratio: 3 / 4; padding: 8px; }
  .game-stage__frame, .game-stage__placeholder { border-radius: 18px; }
  .game-stage__placeholder img { height: 220px; }
  .auth-card { padding: 52px 22px 28px; }
}

@media (max-width: 520px) {
  .game-switch__tabs { width: 100%; }
  .game-switch__tab { flex: 1; justify-content: center; padding: 0 10px; }
  .game-head__badge { width: 58px; height: 58px; }
}

/* ==========================================================================
   Tasarım v2: büyük logo, dil seçici, bülten kartı, alt bilgi,
   tablet/mobil düzeni ve Arapça (sağdan sola) desteği
   ========================================================================== */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- Header ---------- */
.site-header__inner { padding-top: 4px; row-gap: 12px; }
.logo { order: 1; margin-block: -6px -14px; position: relative; z-index: 2; }
.logo__img { height: 124px; }
.site-nav { order: 2; margin-inline-start: auto; gap: 18px; }
.site-header__tools { order: 3; display: flex; align-items: center; gap: 10px; }

.lang-switch {
  display: inline-flex;
  padding: 4px;
  gap: 2px;
  background: var(--white);
  border: var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.lang-switch__item {
  min-width: 40px;
  min-height: 38px;
  display: inline-grid;
  place-items: center;
  padding: 0 10px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1;
  text-decoration: none;
  color: var(--ink-soft);
  transition: background .15s ease, color .15s ease;
}
.lang-switch__item[lang="ar"] { font-size: 1.2rem; padding-bottom: 7px; }
.lang-switch__item:hover { background: var(--lilac-soft); color: var(--ink); }
.lang-switch__item.is-active { background: var(--ink); color: var(--white); }

/* ---------- Hero ---------- */
.hero { padding-top: 40px; column-gap: 64px; }
.hero__title { font-size: clamp(2.6rem, 5.6vw, 4.9rem); }
.hero__lead { max-width: 520px; font-size: 1.2rem; }
.chips { gap: 10px; }
.chip { font-size: .9rem; gap: 8px; }
.chip__icon { width: 30px; height: 30px; }
.showcase__panel { padding: 60px 32px 56px; }

/* ---------- Oyun kartları: platform bilgisi buton gibi görünmesin ---------- */
.platforms { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; color: var(--ink-soft); font-weight: 800; font-size: .95rem; }
.platforms li { display: inline-flex; align-items: center; gap: 6px; }
.platforms svg { color: var(--violet); }
.game-card { transition: transform .2s ease, box-shadow .2s ease; }
@media (hover: hover) {
  .game-card:hover { transform: translateY(-4px); box-shadow: 10px 12px 0 var(--ink); }
}
.pill { background: var(--white); }

.soon .btn { flex: none; }

/* ---------- Bülten ---------- */
.newsletter {
  position: relative;
  align-items: stretch;
  gap: 48px;
  padding: 56px;
  background-color: var(--lilac);
  background-image: radial-gradient(rgba(106, 79, 216, .18) 2px, transparent 2.5px);
  background-size: 22px 22px;
}
.newsletter__text { justify-content: center; gap: 16px; }
.newsletter__badge {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  background: var(--butter);
  border: var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transform: rotate(-6deg);
}
.perks { display: flex; flex-direction: column; gap: 10px; font-weight: 800; }
.perks li { display: flex; align-items: center; gap: 10px; }
.perks__icon {
  flex: none;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: var(--mint);
  border: var(--line-thin);
  border-radius: 50%;
}
.newsletter__contact { font-size: .95rem; color: var(--ink-soft); }
.newsletter__contact a { color: var(--ink); overflow-wrap: anywhere; }

.newsletter__box {
  position: relative;
  align-self: center;
  flex: 1 1 400px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
  background: var(--white);
  border: var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.newsletter__form { flex: none; }
.newsletter__row input { background: var(--ground); }
.newsletter__row input:focus-visible { background: var(--white); }
.newsletter__row .btn { padding: 0 22px; }

.newsletter__done {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px 4px;
  text-align: center;
  color: var(--ink-soft);
}
.newsletter__done[hidden],
.newsletter__form[hidden] { display: none; }
.newsletter__done:focus { outline: none; }
.newsletter__done-icon {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  margin-bottom: 6px;
  background: var(--mint);
  border: var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}
.newsletter__done-title { font-family: var(--font-display); font-weight: 700; font-size: 2rem; line-height: 1.1; color: var(--ink); }
.is-celebrating .newsletter__done-icon { animation: pop-badge .5s cubic-bezier(.2, 1.6, .4, 1) both; }

.confetti { position: absolute; inset: 0; pointer-events: none; }
.confetti i {
  position: absolute;
  top: -12px;
  width: 10px;
  height: 16px;
  border: 2px solid var(--ink);
  border-radius: 3px;
  opacity: 0;
}
.is-celebrating .confetti i { animation: confetti 1.6s ease-out forwards; }
.confetti i:nth-child(1) { left: 10%; background: var(--pink); animation-delay: .05s; }
.confetti i:nth-child(2) { left: 22%; background: var(--butter); animation-delay: .2s; }
.confetti i:nth-child(3) { left: 35%; background: var(--mint); animation-delay: .1s; }
.confetti i:nth-child(4) { left: 48%; background: var(--sky); animation-delay: .3s; }
.confetti i:nth-child(5) { left: 60%; background: var(--pink); animation-delay: .15s; }
.confetti i:nth-child(6) { left: 72%; background: var(--lilac); animation-delay: .25s; }
.confetti i:nth-child(7) { left: 84%; background: var(--butter); animation-delay: .05s; }
.confetti i:nth-child(8) { left: 92%; background: var(--mint); animation-delay: .35s; }
@keyframes confetti {
  0% { opacity: 1; transform: translateY(0) rotate(0); }
  100% { opacity: 0; transform: translateY(260px) rotate(320deg); }
}
@keyframes pop-badge { from { transform: scale(.3) rotate(-30deg); } to { transform: scale(1) rotate(0); } }

/* ---------- Alt bilgi ---------- */
.site-footer { position: relative; margin-top: 40px; }
.site-footer::before { /* tente kenarı */
  content: "";
  position: absolute;
  inset: -22px 0 auto;
  height: 22px;
  background: radial-gradient(circle at 16px 22px, var(--ink) 15px, transparent 16px) 0 0 / 32px 22px repeat-x;
}
.site-footer__top { align-items: center; gap: 40px; padding-top: 52px; }
.site-footer__brand { flex-direction: row; align-items: center; gap: 22px; flex: 1 1 420px; }
.site-footer__logo { flex: none; }
.logo__img--footer { height: 132px; }
.site-footer__intro { display: flex; flex-direction: column; gap: 6px; color: var(--lilac); max-width: 340px; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 24px 64px; }
.site-footer__heading { margin-bottom: 4px; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--butter); }
.footer-nav { flex-direction: column; gap: 0; }
.footer-nav a { min-height: 40px; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
.dev-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  padding-inline: 6px 14px;
  background: rgba(255, 255, 255, .06);
  border: 2px solid #4a4078;
  border-radius: 999px;
  color: var(--lilac);
}
.dev-credit strong { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--butter); letter-spacing: .3px; }
.dev-credit__icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: var(--butter);
  border-radius: 50%;
  color: var(--ink);
}

/* ---------- Sadece fareli cihazlarda hover efektleri (dokunmatikte "yapışmasın") ---------- */
@media (hover: none) {
  .btn:hover { transform: none; box-shadow: 4px 4px 0 var(--ink); }
  .btn--dark:hover { box-shadow: 5px 5px 0 var(--violet); }
  .game-tile:hover { transform: none; box-shadow: var(--shadow); }
  .game-tile--left:hover { transform: rotate(-3deg); }
  .game-tile--right:hover { transform: rotate(3deg) translateY(18px); }
}

/* ---------- Tablet (yatay ve dikey) ---------- */
@media (max-width: 1100px) {
  .hero { column-gap: 40px; }
  .hero__title { font-size: clamp(2.4rem, 4.6vw, 4.9rem); }
  .hero__text { flex-basis: 380px; }
  .showcase { flex-basis: 440px; }
  .game-tile img { height: 240px; }
}

@media (max-width: 980px) {
  .hero__title { font-size: clamp(2.4rem, 6.4vw, 4.2rem); }
  .logo { margin-block: -4px -8px; }
  .logo__img { height: 104px; }
  .site-header__tools { order: 2; margin-inline-start: auto; }
  .site-nav { order: 3; margin-inline-start: 0; }
  .site-nav .btn { align-self: flex-start; }
  .hero { padding-top: 24px; padding-bottom: 56px; }
  .hero__text { flex-basis: 100%; align-items: flex-start; }
  .showcase { flex-basis: 100%; max-width: 640px; margin-inline: auto; }
  .section { padding-top: 72px; }
  #oyunlar { padding-top: 88px; }
  .newsletter { gap: 32px; }
  .site-footer__brand { flex-basis: 100%; }
}

/* Tablet dikey: oyun kartları yan yana kalsın, görsel küçülsün */
@media (min-width: 641px) and (max-width: 980px) {
  .game-card, .game-card--reverse { flex-wrap: nowrap; }
  .game-card--reverse { flex-direction: row-reverse; }
  .game-card__media { flex: 0 0 38%; padding: 20px; }
  .game-card--pink .game-card__media { border-bottom: 0; border-inline-end: var(--line); }
  .game-card--mint .game-card__media { border-bottom: 0; border-inline-start: var(--line); }
  .game-card__media img { height: 300px; }
  .game-card__body { flex: 1 1 auto; padding: 32px 28px; }
  .game-stage { aspect-ratio: 4 / 3; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Telefon ---------- */
@media (max-width: 640px) {
  .container { padding-inline: 16px; }
  .awning__stripes { height: 24px; }
  .awning__scallop { height: 22px; background-size: 96px 22px, 96px 22px; background-position: 0 0, 48px 0; }
  .logo__img { height: 84px; }
  .lang-switch { padding: 3px; }
  .lang-switch__item { min-width: 36px; min-height: 36px; padding: 0 8px; font-size: .85rem; }
  .nav-toggle { width: 48px; height: 48px; }
  .hero { gap: 40px; }
  .hero__title { font-size: clamp(2.3rem, 10.5vw, 3rem); letter-spacing: -1px; }
  .hero__highlight { padding: 2px 14px 6px; border-radius: 18px; }
  .hero__lead { font-size: 1.08rem; }
  .hero__actions .btn { flex: 1 1 auto; }
  .chips { gap: 8px; }
  .chip { font-size: .82rem; padding-inline: 4px 12px; }
  .chip__icon { width: 26px; height: 26px; }
  .chip__icon svg { width: 14px; height: 14px; }

  /* Vitrin: iki oyun yan yana, küçük kartlar */
  .showcase__panel { flex-wrap: nowrap; gap: 14px; padding: 44px 14px 34px; border-radius: 30px; }
  .showcase__label { font-size: 1.35rem; top: -20px; }
  .game-tile { flex: 1 1 0; min-width: 0; max-width: none; padding: 7px 7px 10px; gap: 8px; border-radius: 20px; }
  .game-tile img { height: 170px; border-radius: 14px; }
  .game-tile__bar { gap: 6px; padding: 0 2px; }
  .game-tile__icon { width: 28px; height: 28px; border-radius: 9px; }
  .game-tile__icon svg { width: 16px; height: 16px; }
  .game-tile__name { font-size: 1.05rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .game-tile__bar > svg { display: none; }
  .game-tile--left { transform: rotate(-2deg); }
  .game-tile--right { transform: rotate(2deg) translateY(10px); }
  .tag { font-size: .8rem; padding: 2px 8px; top: -14px; }
  .deco--star { width: 40px; height: 40px; top: -20px; }

  .ribbon { font-size: 1.1rem; padding: 12px 0; }
  .ribbon__track { gap: 28px; }
  .section { gap: 28px; padding-top: 64px; }
  #oyunlar { padding-top: 72px; }
  .eyebrow { font-size: 1.5rem; }
  .section-head__text { font-size: 1rem; }
  .game-card { border-radius: 28px; box-shadow: var(--shadow); }
  .game-card__media { padding: 16px; }
  .game-card__media img { height: 240px; max-width: none; }
  .game-card__body { padding: 24px 20px 28px; gap: 14px; }
  .game-card__title { font-size: 2.1rem; }
  .game-card__text { font-size: 1.02rem; }
  .game-card__actions .btn { width: 100%; }
  .soon { padding: 22px; gap: 18px; border-radius: 28px; }
  .soon__box { width: 64px; height: 64px; font-size: 2.3rem; }
  .soon__title { font-size: 1.4rem; }
  .soon .btn { width: 100%; }
  .about { gap: 32px; padding-bottom: 56px; }
  .about__text { font-size: 1.04rem; }
  .value { padding: 20px; border-radius: 22px; }
  .values { gap: 14px; }

  .newsletter { padding: 28px 18px; border-radius: 30px; gap: 24px; }
  .newsletter__box { padding: 22px 18px; border-radius: 24px; }
  .newsletter__row .btn { width: 100%; }
  .newsletter__title { font-size: 1.85rem; }

  .site-footer__top { padding-top: 40px; gap: 28px; }
  .site-footer__brand { flex-direction: column; align-items: flex-start; gap: 12px; }
  .logo__img--footer { height: 110px; }
  .site-footer__nav { gap: 20px 48px; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }

  .game-stage { aspect-ratio: 3 / 4; }
  .auth { padding-top: 40px; padding-bottom: 64px; }
  .auth-card__title { font-size: 1.9rem; }
  .account__head .section-title { font-size: 2rem; }
}

@media (max-width: 380px) {
  .logo__img { height: 74px; }
  .lang-switch__item { min-width: 32px; padding: 0 6px; }
  .game-tile img { height: 140px; }
  .game-tile__name { font-size: .95rem; }
}

/* Mobil menü açıkken: tam genişlik panel */
@media (max-width: 980px) {
  .site-nav.is-open { animation: drop-in .18s ease; }
  .site-nav .btn { width: 100%; }
}
@keyframes drop-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Arapça / sağdan sola ---------- */
[dir="rtl"] .i-arrow,
[dir="rtl"] .i-back,
[dir="rtl"] .i-external { transform: scaleX(-1); }
[dir="rtl"] .ribbon { direction: rtl; }
[dir="rtl"] .ribbon__track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
[dir="rtl"] .hero__highlight { transform: rotate(2deg); }
[dir="rtl"] .dev-credit { flex-direction: row; }
/* Arapça harfler birbirine bağlıdır: harf aralığı bağlantıyı koparır */
:lang(ar) .hero__title,
:lang(ar) .section-title,
:lang(ar) .game-card__title,
:lang(ar) .newsletter__title,
:lang(ar) .sign__plate,
:lang(ar) .auth-card__title { letter-spacing: 0; }
:lang(ar) .hero__title { line-height: 1.35; }
:lang(ar) .section-title, :lang(ar) .newsletter__title { line-height: 1.35; }
:lang(ar) .eyebrow, :lang(ar) .showcase__label, :lang(ar) .other-game__label, :lang(ar) .script-note { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; }
:lang(ar) .showcase__label { font-size: 1.2rem; padding-top: 6px; }
:lang(ar) body { line-height: 1.8; }

/* ==========================================================================
   Kafa Dünya (AsWorld) tanıtım sayfası
   ========================================================================== */
.game-page--detail { gap: 36px; }
.game-page--detail .game-head { margin-top: 12px; }

/* ---------- Üst bölüm ---------- */
.kd-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 56px;
  padding: 48px;
  background-color: var(--mint-soft);
  background-image: radial-gradient(rgba(42, 34, 80, .09) 2px, transparent 2.5px);
  background-size: 22px 22px;
  border: var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.kd-hero__text { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.kd-hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -1.2px;
}
.kd-hero__highlight {
  display: inline-block;
  margin-top: 10px;
  padding: 2px 16px 8px;
  background: var(--mint);
  border: var(--line);
  border-radius: 20px;
  box-shadow: 6px 6px 0 var(--ink);
  transform: rotate(-1.5deg);
}
.kd-hero__lead { font-size: 1.15rem; line-height: 1.65; color: var(--ink-soft); max-width: 560px; }
.kd-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.kd-facts { display: flex; flex-wrap: wrap; gap: 8px; }
.kd-facts__item {
  padding: 5px 14px;
  border: var(--line-thin);
  border-radius: 999px;
  font-weight: 800;
  font-size: .9rem;
}
.kd-facts__item--sky { background: var(--sky); }
.kd-facts__item--butter { background: var(--butter); }
.kd-facts__item--pink { background: var(--pink); }
.kd-facts__item--mint { background: var(--white); }

.kd-hero__art { position: relative; padding-bottom: 70px; min-width: 0; }
.kd-hero__frame {
  overflow: hidden;
  border: var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
  background: var(--sky);
}
.kd-hero__frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.kd-hero__cast {
  position: absolute;
  inset-inline: -4% -4%;
  bottom: 0;
  width: 108%;
  max-width: none;
  filter: drop-shadow(0 6px 0 rgba(42, 34, 80, .18));
}
.kd-hero__badge {
  position: absolute;
  top: -18px;
  inset-inline-end: -10px;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  background: var(--butter);
  border: var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  transform: rotate(12deg);
  animation: twinkle 4s ease-in-out infinite;
}

/* ---------- Ortak ---------- */
.kd-section { display: flex; flex-direction: column; gap: 24px; padding-top: 40px; }
.kd-head { display: flex; flex-direction: column; gap: 2px; }

/* ---------- Karakter ---------- */
.kd-char {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}
.kd-char__text { display: flex; flex-direction: column; gap: 16px; font-size: 1.1rem; line-height: 1.7; color: var(--ink-soft); }
.kd-char__text .section-title { color: var(--ink); }
.kd-char__art {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 36px 24px 26px;
  background: var(--pink);
  border: var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.kd-char__art img { width: 100%; }
.kd-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.kd-tags li {
  padding: 4px 14px;
  background: var(--white);
  border: var(--line-thin);
  border-radius: 999px;
  font-weight: 800;
  font-size: .95rem;
  color: var(--ink);
}
.kd-tags li:nth-child(odd) { transform: rotate(-2deg); }
.kd-tags li:nth-child(even) { transform: rotate(2deg); background: var(--butter); }
.kd-moves { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.kd-moves li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--white);
  border: var(--line-thin);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}

/* ---------- Şehir ---------- */
.kd-places {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.kd-place {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  font-size: 1rem;
  line-height: 1.6;
  transition: transform .2s ease, box-shadow .2s ease;
}
@media (hover: hover) {
  .kd-place:hover { transform: translateY(-4px) rotate(-.5deg); box-shadow: 8px 10px 0 var(--ink); }
}
.kd-place--pink { background: var(--pink-soft); }
.kd-place--butter { background: #fff7d6; }
.kd-place--sky { background: #e9f4ff; }
.kd-place--mint { background: var(--mint-soft); }
.kd-place--lilac { background: var(--lilac-soft); }
.kd-place--avm { grid-row: span 2; }
.kd-place__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 4px;
  border: var(--line-thin);
  border-radius: 18px;
}
.kd-place__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: var(--white);
  border: var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  font-size: 1.9rem;
  line-height: 1;
  transform: rotate(-6deg);
}
.kd-place--avm .kd-place__icon { position: absolute; top: 12px; inset-inline-start: 12px; }
.kd-place__title { font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; line-height: 1.15; }
.kd-place p { color: var(--ink-soft); }

/* ---------- İkili paneller ---------- */
.kd-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-top: 24px; align-items: start; }
.kd-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 34px;
  border: var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  font-size: 1.05rem;
  line-height: 1.65;
}
.kd-panel--sky { background: var(--sky); }
.kd-panel--butter { background: var(--butter); }
.kd-panel__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.1; letter-spacing: -.5px; }

.kd-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  background: var(--white);
  border: var(--line);
  border-radius: 24px;
}
.kd-chat__bubble {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 85%;
  padding: 8px 14px;
  border: var(--line-thin);
  border-radius: 18px;
  font-weight: 800;
  font-size: .95rem;
  line-height: 1.4;
  animation: bubble-in .4s ease both;
}
.kd-chat__bubble:nth-child(2) { animation-delay: .15s; }
.kd-chat__bubble:nth-child(3) { animation-delay: .3s; }
.kd-chat__bubble:nth-child(4) { animation-delay: .45s; }
.kd-chat__bubble--them { align-self: flex-start; background: var(--lilac-soft); border-end-start-radius: 4px; }
.kd-chat__bubble--me { align-self: flex-end; background: var(--mint); border-end-end-radius: 4px; }
.kd-chat__who { font-size: 1.2rem; }
@keyframes bubble-in { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }

.kd-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; counter-reset: s; }
.kd-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 8px;
  padding-inline: 8px 12px;
  background: var(--white);
  border: var(--line-thin);
  border-radius: 16px;
  font-weight: 800;
  font-size: .95rem;
  line-height: 1.3;
}
.kd-steps__n {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--butter);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
}
.kd-items { display: flex; flex-wrap: wrap; gap: 8px; }
.kd-items li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--white);
  border: var(--line-thin);
  border-radius: 999px;
  font-weight: 800;
  font-size: .9rem;
}
.kd-pets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.kd-pets li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 6px 10px;
  background: var(--white);
  border: var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-display);
  font-weight: 600;
}
.kd-pets li:nth-child(odd) { transform: rotate(-3deg); }
.kd-pets li:nth-child(even) { transform: rotate(3deg); }
.kd-pets__emoji { font-size: 2.1rem; line-height: 1; }

/* ---------- Cihazlar ---------- */
.kd-devices__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.kd-device {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px;
  background: var(--white);
  border: var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  color: var(--ink-soft);
}
.kd-device h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; color: var(--ink); }
.kd-device__icon { font-size: 2.1rem; line-height: 1.2; letter-spacing: 4px; }
.kd-device--wide { grid-column: span 2; background: var(--lilac); color: var(--ink); }
.kd-device__strong { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; }
.kd-langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.kd-langs li { padding: 4px 12px; background: var(--white); border: var(--line-thin); border-radius: 999px; font-weight: 800; font-size: .9rem; }

/* ---------- Kapanış ---------- */
.kd-end {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 36px 32px 44px;
  background: var(--ink);
  color: var(--white);
  border: var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 8px 8px 0 var(--violet);
  text-align: center;
}
.kd-end__cast { width: min(100%, 520px); margin-top: -8px; }
.kd-end__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.15; }
.kd-end__text { font-family: var(--font-script); font-weight: 700; font-size: 1.9rem; color: var(--butter); }
.kd-end .btn { margin-top: 6px; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .kd-hero { gap: 36px; padding: 36px; }
  .kd-devices__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .kd-hero { grid-template-columns: minmax(0, 1fr); }
  .kd-hero__art { max-width: 640px; width: 100%; margin-inline: auto; }
  .kd-char { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .kd-char__text { order: -1; }
  .kd-places { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kd-place--avm { grid-row: auto; grid-column: span 2; }
  .kd-place--avm .kd-place__img { aspect-ratio: 16 / 7; }
  .kd-duo { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Telefon ---------- */
@media (max-width: 640px) {
  .game-page--detail { gap: 28px; }
  .kd-hero { padding: 26px 18px 22px; border-radius: 30px; box-shadow: var(--shadow); gap: 28px; }
  .kd-hero__title { font-size: clamp(2.1rem, 9.4vw, 2.7rem); letter-spacing: -.8px; }
  .kd-hero__highlight { padding: 2px 12px 6px; border-radius: 16px; box-shadow: 4px 4px 0 var(--ink); }
  .kd-hero__lead { font-size: 1.03rem; }
  .kd-hero__actions .btn { flex: 1 1 auto; }
  .kd-hero__art { padding-bottom: 46px; }
  .kd-hero__frame { border-radius: 22px; }
  .kd-hero__badge { width: 56px; height: 56px; font-size: 1.2rem; top: -14px; }
  .kd-section { padding-top: 24px; }
  .kd-char__art { padding: 26px 14px 18px; border-radius: 28px; box-shadow: var(--shadow); }
  .kd-char__text { font-size: 1.03rem; }
  .kd-moves li { font-size: .9rem; padding: 5px 11px; }
  .kd-places { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .kd-place--avm { grid-column: auto; }
  .kd-place--avm .kd-place__img { aspect-ratio: 16 / 9; }
  .kd-place { padding: 20px; border-radius: 24px; }
  .kd-panel { padding: 24px 18px; border-radius: 28px; box-shadow: var(--shadow); }
  .kd-steps { grid-template-columns: minmax(0, 1fr); }
  .kd-pets { gap: 8px; }
  .kd-pets li { padding: 10px 2px 8px; font-size: .85rem; border-radius: 16px; }
  .kd-pets__emoji { font-size: 1.7rem; }
  .kd-devices__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .kd-device--wide { grid-column: auto; }
  .kd-end { padding: 28px 18px 34px; border-radius: 30px; }
  .kd-end__text { font-size: 1.5rem; }
  .kd-end .btn { width: 100%; }
}

/* ---------- Arapça ---------- */
:lang(ar) .kd-hero__title, :lang(ar) .kd-panel__title, :lang(ar) .kd-end__title { letter-spacing: 0; line-height: 1.35; }
:lang(ar) .kd-end__text { font-family: var(--font-display); font-size: 1.5rem; }
[dir="rtl"] .kd-hero__frame { transform: rotate(-1.5deg); }
[dir="rtl"] .kd-hero__highlight { transform: rotate(1.5deg); }

/* ---------- Kafa Dünya: oyundan kareler ---------- */
.kd-shot {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  padding: 28px;
  border: var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.kd-shot + .kd-shot { margin-top: 8px; }
.kd-shot:nth-of-type(even) .kd-shot__media { order: 2; }
.kd-shot--mint { background: var(--mint-soft); }
.kd-shot--butter { background: #fff7d6; }
.kd-shot--sky { background: #e9f4ff; }
.kd-shot__media { position: relative; margin: 0; }
.kd-shot__media > img:first-child {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
  transform: rotate(-1deg);
}
.kd-shot:nth-of-type(even) .kd-shot__media > img:first-child { transform: rotate(1deg); }
.kd-shot__inset {
  position: absolute;
  bottom: -22px;
  inset-inline-end: -18px;
  width: 42%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  transform: rotate(4deg);
}
.kd-shot__body { display: flex; flex-direction: column; gap: 14px; font-size: 1.07rem; line-height: 1.7; color: var(--ink-soft); }
.kd-shot__tag {
  align-self: flex-start;
  padding: 4px 14px;
  background: var(--white);
  border: var(--line-thin);
  border-radius: 999px;
  font-weight: 800;
  font-size: .9rem;
  color: var(--ink);
}
.kd-shot__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.1; letter-spacing: -.5px; color: var(--ink); }
.kd-shot__points { display: flex; flex-direction: column; gap: 8px; font-weight: 800; color: var(--ink); }
.kd-shot__points li { display: flex; align-items: center; gap: 10px; }

@media (max-width: 980px) {
  .kd-shot { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .kd-shot:nth-of-type(even) .kd-shot__media { order: 0; }
}
@media (max-width: 640px) {
  .kd-shot { padding: 16px 16px 24px; border-radius: 28px; box-shadow: var(--shadow); gap: 30px; }
  .kd-shot__media > img:first-child { border-radius: 20px; }
  .kd-shot__inset { width: 46%; bottom: -18px; inset-inline-end: -6px; border-radius: 14px; }
  .kd-shot__body { font-size: 1.02rem; padding-inline: 4px; }
}
:lang(ar) .kd-shot__title { letter-spacing: 0; line-height: 1.35; }
