/* =========================================================
   Refa Games — ana stil dosyası
   Tek marka rengi: sitenin tüm rengini değiştirmek için sadece --brand değerlerini düzenleyin.
   ========================================================= */
/* ---------- Yerel fontlar (Google'a bağlantı yok; KVKK/GDPR dostu) — SIL Open Font License ---------- */
@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/fredoka-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: "Fredoka"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/fredoka-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap;
  src: url("../fonts/nunito-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: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap;
  src: url("../fonts/nunito-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --brand: #f2265c;        /* ana marka rengi */
  --brand-dark: #cc1447;   /* hover / koyu ton */
  --brand-soft: #ffe6ed;   /* açık zemin tonu */

  --ink: #1d1433;
  --muted: #6d6680;
  --line: #ece8f1;
  --bg: #ffffff;
  --bg-soft: #f6f4f8;
  --white: #ffffff;

  --radius: 28px;
  --radius-sm: 16px;
  --shadow: 0 18px 50px rgba(29, 20, 51, .08);
  --shadow-sm: 0 8px 24px rgba(29, 20, 51, .07);

  --font-head: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
/* İngilizce seçiliyse çeviri uygulanana kadar içeriği gizle (Türkçe flaşını önler) */
html.i18n-pending body { visibility: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 .45em;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.center { text-align: center; }
.brand-text { color: var(--brand); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head); font-weight: 600; font-size: .85rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 14px;
}

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  text-decoration: none; color: var(--white);
  background: var(--brand);
  border: 2px solid var(--brand); border-radius: 999px;
  cursor: pointer;
  transition: transform .2s cubic-bezier(.3,1.6,.5,1), background .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-3px) scale(1.02); background: var(--brand-dark); border-color: var(--brand-dark); box-shadow: 0 12px 28px rgba(242, 38, 92, .28); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn--outline { background: transparent; color: var(--brand); }
.btn--outline:hover { background: var(--brand); color: var(--white); }
.btn--white { background: var(--white); color: var(--brand); border-color: var(--white); }
.btn--white:hover { background: var(--white); color: var(--brand-dark); border-color: var(--white); box-shadow: 0 12px 28px rgba(0,0,0,.18); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: var(--white); color: var(--brand); border-color: var(--white); box-shadow: none; }
.btn--lg { padding: 17px 36px; font-size: 1.15rem; }
.btn--sm { padding: 9px 20px; font-size: .95rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; height: 82px; gap: 20px; }
.logo { display: inline-flex; align-items: flex-end; gap: 6px; text-decoration: none; margin-right: 18px; }
.logo img { height: 40px; width: auto; transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.logo:hover img { transform: rotate(-6deg) scale(1.06); }
.logo-games { /* logonun yanındaki "games" yazısı */
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; line-height: 1;
  color: var(--brand); margin-bottom: 2px; letter-spacing: .02em;
}
.header-sep { width: 1px; height: 38px; background: var(--line); }

.nav { display: flex; align-items: center; gap: 30px; flex: 1; }
.nav a:not(.btn) {
  position: relative; padding: 6px 0;
  font-weight: 700; font-size: 1rem; color: var(--muted);
  text-decoration: none; transition: color .15s;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 3px;
  background: var(--brand); transform: scaleX(0); transition: transform .25s ease;
}
.nav a:not(.btn):hover { color: var(--ink); }
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--ink); }
.nav .btn { margin-left: auto; }

/* Dil seçici (sağ üst köşe) */
.lang-switch { display: inline-flex; flex: none; padding: 4px; gap: 2px; background: var(--bg-soft); border-radius: 999px; }
.lang-switch button {
  font-family: var(--font-head); font-weight: 600; font-size: .9rem; line-height: 1;
  padding: 8px 12px; border: 0; border-radius: 999px;
  background: transparent; color: var(--muted); cursor: pointer;
  transition: background .15s, color .15s;
}
.lang-switch button:hover { color: var(--ink); }
.lang-switch button[aria-pressed="true"] { background: var(--brand); color: var(--white); }
.lang-switch button:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }

.nav-toggle {
  display: none; flex: none;
  width: 46px; height: 46px;
  background: var(--brand-soft); border: 0; border-radius: 14px;
  cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 50%; width: 20px; height: 2.5px; margin-left: -10px;
  background: var(--brand); border-radius: 3px; content: ""; transition: transform .25s, opacity .25s;
}
.nav-toggle span { top: 50%; margin-top: -1.25px; }
.nav-toggle span::before { top: -7px; left: 0; margin-left: 0; }
.nav-toggle span::after { top: 7px; left: 0; margin-left: 0; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .header-sep { display: none; }
  .logo { margin-right: auto; }
  .nav-toggle { display: block; order: 3; }
  .lang-switch { order: 2; }
  .nav {
    position: fixed; inset: 82px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px 24px 24px;
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-130%); transition: transform .35s cubic-bezier(.5,0,.2,1);
    z-index: -1;
  }
  .nav-open .nav { transform: translateY(0); }
  .nav a:not(.btn) { font-size: 1.2rem; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav a.is-active { color: var(--brand); }
  .nav .btn { margin: 14px 0 0; }
}

/* ---------- Marka renkli bantlar ---------- */
.brand-band {
  position: relative; overflow: hidden;
  background: var(--brand); color: var(--white);
}
.brand-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 85% 20%, rgba(255,255,255,.18), transparent 60%),
    radial-gradient(500px 380px at 10% 110%, rgba(0,0,0,.14), transparent 60%);
}
.brand-band > * { position: relative; }
.wave { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: 72px; color: var(--bg); z-index: 2; }
.wave--soft { color: var(--bg-soft); }

/* ---------- Hero (ana sayfa) ---------- */
.hero { padding: 40px 0 90px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 10px; align-items: center; min-height: 600px; }
.hero h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); line-height: 1.02; margin-bottom: 22px; }
.hero h1 .squiggle { position: relative; display: inline-block; }
.hero h1 .squiggle::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.08em; height: .22em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 Q 15 1 30 7 T 60 7 T 90 7 T 118 6' fill='none' stroke='%23ffd23f' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.hero-lead { font-size: 1.22rem; font-weight: 600; max-width: 520px; margin-bottom: 34px; opacity: .95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.scene-box { position: relative; }
.scene-box canvas {
  display: block; width: 100%; height: 100%;
  opacity: 0; transform: scale(.96); transition: opacity 1s ease, transform 1.2s cubic-bezier(.2,.8,.2,1);
  touch-action: pan-y;
}
.scene-box canvas.is-ready { opacity: 1; transform: none; }
.hero .scene-box { height: 640px; margin-right: -70px; }

/* ---------- Karşılama ifadesi ---------- */
.statement { max-width: 900px; font-family: var(--font-head); font-weight: 500; font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.25; margin: 0; }

/* ---------- Görsel + metin satırları ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.feature + .feature { margin-top: 110px; }
.feature--rev .feature-media { order: 2; }
.feature-media { position: relative; }
.feature-media::before {
  content: ""; position: absolute; inset: 8% 6%; border-radius: 50%;
  background: radial-gradient(closest-side, var(--brand-soft), transparent);
}
.feature-media .scene-box { height: 460px; }
.feature h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.feature p { color: var(--muted); font-size: 1.08rem; }
.icon-list { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 14px; }
.icon-list li { display: flex; align-items: center; gap: 14px; font-weight: 700; }
.icon-list .ico {
  flex: none; width: 42px; height: 42px; display: grid; place-items: center;
  font-size: 1.2rem; background: var(--brand-soft); border-radius: 14px;
}

/* ---------- Büyük marka bandı (CTA) ---------- */
.cta-band { padding: 40px 0; }
.cta-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; align-items: center; min-height: 420px; }
.cta-grid .scene-box { height: 420px; }
.cta-band h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.05; }
.cta-band p { font-size: 1.15rem; font-weight: 600; opacity: .95; max-width: 520px; margin-bottom: 30px; }

/* ---------- Oyun kartları ---------- */
.games-panel {
  background: var(--white); border-radius: 36px; box-shadow: var(--shadow);
  padding: clamp(28px, 5vw, 56px);
}
.games-panel-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.games-panel-head h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin: 0; }
.games-panel-head p { color: var(--muted); margin: 8px 0 0; max-width: 520px; }
.link-arrow { font-family: var(--font-head); font-weight: 600; color: var(--brand); text-decoration: none; white-space: nowrap; }
.link-arrow:hover { text-decoration: underline; }

.games-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.game-card { display: flex; flex-direction: column; gap: 14px; }
.game-img {
  aspect-ratio: 1 / 1; overflow: hidden; border-radius: 26%;
  background: var(--bg-soft); box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.3,1.6,.5,1), box-shadow .3s;
}
.game-card:hover .game-img { transform: translateY(-6px) rotate(-2deg); box-shadow: 0 20px 40px rgba(29,20,51,.14); }
.game-img img { width: 100%; height: 100%; object-fit: cover; }
.store-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.store-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 6px; white-space: nowrap;
  font-weight: 800; font-size: .8rem; text-decoration: none;
  color: var(--white); background: var(--ink);
  border-radius: 12px;
  transition: background .15s, transform .15s;
}
.store-btn:hover { background: var(--brand); transform: translateY(-2px); }
.store-btn svg { width: 16px; height: 16px; fill: currentColor; flex: none; }

/* ---------- İç sayfa hero ---------- */
.page-hero { padding: 70px 0 120px; }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; }
.page-hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.03; }
.page-hero p { font-size: 1.2rem; font-weight: 600; max-width: 560px; margin: 0; opacity: .95; }
.page-hero .eyebrow { color: rgba(255,255,255,.85); }
.page-hero .scene-box { height: 400px; margin: -30px 0 -40px; }

/* ---------- Kartlar ---------- */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: 30px 26px; border: 1px solid var(--line);
  transition: transform .25s cubic-bezier(.3,1.6,.5,1), box-shadow .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card h3 { font-size: 1.35rem; margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.card-icon {
  width: 58px; height: 58px; display: grid; place-items: center;
  font-size: 1.7rem; margin-bottom: 18px;
  background: var(--brand-soft); border-radius: 18px;
}

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.section-head p { font-size: 1.1rem; color: var(--muted); margin: 0; }

/* Süreç adımları */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; }
.step { position: relative; padding-top: 6px; }
.step-num {
  width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: 16px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.5rem;
  color: var(--white); background: var(--brand); border-radius: 50%;
  box-shadow: 0 10px 24px rgba(242, 38, 92, .3);
}
.step h3 { font-size: 1.3rem; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Form bölümü ---------- */
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }
.split-aside { position: sticky; top: 120px; }
.split-aside h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.split-aside p { color: var(--muted); font-size: 1.08rem; }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; }
.checklist li::before {
  content: "✓"; flex: none;
  width: 26px; height: 26px; display: grid; place-items: center;
  font-weight: 900; font-size: .85rem; color: var(--white); background: var(--brand); border-radius: 50%;
}

.form-card {
  background: var(--white); border-radius: 32px; box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 46px);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-weight: 800; font-size: .96rem; }
.field .opt { font-weight: 600; color: var(--muted); font-size: .86rem; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; font-size: 1rem; color: var(--ink);
  padding: 14px 16px;
  background: var(--bg-soft);
  border: 2px solid transparent; border-radius: var(--radius-sm);
  transition: border-color .15s, background .15s;
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath d='M1.5 1.5 7 7.5l5.5-6' fill='none' stroke='%23f2265c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--white); border-color: var(--brand); }
.field input::placeholder, .field textarea::placeholder { color: #a39cb3; }
.was-validated .field input:invalid, .was-validated .field select:invalid, .was-validated .field textarea:invalid {
  border-color: #e0114f; background: #fff1f4;
}

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px; font-weight: 800; font-size: .95rem;
  background: var(--bg-soft); border: 2px solid transparent; border-radius: 999px;
  cursor: pointer; user-select: none; transition: background .15s, border-color .15s, color .15s;
}
.chip span:hover { border-color: var(--brand-soft); }
.chip input:checked + span { background: var(--brand); color: var(--white); }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .94rem; font-weight: 600; color: var(--muted); cursor: pointer; }
.consent input {
  flex: none; width: 22px; height: 22px; margin: 2px 0 0;
  appearance: none; -webkit-appearance: none;
  border: 2px solid #cfc8da; border-radius: 7px; background: var(--white); cursor: pointer;
  display: grid; place-items: center;
}
.consent input:checked { background: var(--brand); border-color: var(--brand); }
.consent input:checked::after { content: "✓"; color: var(--white); font-weight: 900; font-size: .8rem; }
.was-validated .consent input:invalid { border-color: #e0114f; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; }
.form-note { font-size: .88rem; color: var(--muted); margin: 0; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success .big { font-size: 4rem; line-height: 1; margin-bottom: 14px; display: inline-block; animation: pop .6s cubic-bezier(.3,1.6,.5,1); }
.form-success h3 { font-size: 2rem; }
.form-success p { color: var(--muted); }
.form-card.is-sent form { display: none; }
.form-card.is-sent .form-success { display: block; }
@keyframes pop { from { transform: scale(.2) rotate(-30deg); } to { transform: scale(1) rotate(0); } }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- SSS ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 26px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none;
  width: 34px; height: 34px; display: grid; place-items: center;
  font-size: 1.4rem; color: var(--brand); background: var(--brand-soft); border-radius: 50%;
  transition: transform .25s, background .25s, color .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--brand); color: var(--white); }
.faq details p { padding: 0 26px 22px; margin: 0; color: var(--muted); }

/* ---------- İletişim ---------- */
.contact-card { text-decoration: none; display: block; }
.contact-card .mail { display: inline-block; margin-top: 10px; font-weight: 800; color: var(--brand); word-break: break-word; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.social {
  width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--brand-soft); border-radius: 16px;
  transition: transform .2s cubic-bezier(.3,1.6,.5,1), background .2s;
}
.social:hover { transform: translateY(-3px) rotate(-6deg); background: var(--brand); }
.social svg { width: 22px; height: 22px; fill: var(--brand); transition: fill .2s; }
.social:hover svg { fill: var(--white); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cfc8e0; padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { display: inline-block; }
.footer-logo img { height: 52px; width: auto; }
.site-footer p { margin-top: 16px; max-width: 320px; }
.site-footer h4 { color: var(--white); font-size: 1.15rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer ul a { text-decoration: none; font-weight: 600; transition: color .15s; }
.site-footer ul a:hover { color: var(--white); }
.site-footer .social { background: rgba(255,255,255,.08); }
.site-footer .social svg { fill: #cfc8e0; }
.site-footer .social:hover { background: var(--brand); }
.site-footer .social:hover svg { fill: var(--white); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
  font-size: .92rem;
}

/* ---------- Görünür olunca animasyon ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s !important; }
.reveal-d2 { transition-delay: .16s !important; }
.reveal-d3 { transition-delay: .24s !important; }

/* ---------- Duyarlı düzen ---------- */
@media (max-width: 1080px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { gap: 22px; }
}
@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .hero { padding: 30px 0 70px; }
  .hero-grid, .cta-grid, .page-hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero .scene-box { height: 420px; margin: 10px -24px 0; }
  .cta-grid .scene-box { height: 320px; order: 2; }
  .page-hero { padding: 50px 0 100px; }
  .page-hero .scene-box { height: 260px; }
  .feature { grid-template-columns: 1fr; gap: 20px; }
  .feature--rev .feature-media { order: 0; }
  .feature-media .scene-box { height: 340px; }
  .feature + .feature { margin-top: 70px; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-aside { position: static; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .header-inner { height: 72px; gap: 10px; }
  .nav { inset: 72px 0 auto 0; }
  .logo img { height: 34px; }
  .logo-games { font-size: .95rem; margin-bottom: 1px; }
  .lang-switch button { padding: 7px 10px; font-size: .85rem; }
  .hero .scene-box { height: 360px; margin: 10px -18px 0; }
  .hero-actions .btn { flex: 1 1 100%; }
  .games-grid { gap: 18px; }
  .store-links { grid-template-columns: 1fr; }
  .cards-4, .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .wave { height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Yardımcı sınıflar (satır içi stil yerine; CSP uyumlu) ---------- */
.pt-60 { padding-top: 60px; }
.pb-30 { padding-bottom: 30px; }
.mt-24 { margin-top: 24px; }
.mt-30 { margin-top: 30px; }
.mb-80 { margin-bottom: 80px; }
section[id] { scroll-margin-top: 96px; }
::selection { background: var(--brand); color: var(--white); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

/* Bot tuzağı alanı: insanlar görmez, botlar doldurur */
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Kaydırınca header */
.site-header { transition: box-shadow .25s ease, background .25s ease; }
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(29, 20, 51, .08); background: rgba(255, 255, 255, .98); }

/* Hero açılış animasyonu */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.hero-grid > div:first-child > *, .page-hero-grid > div:first-child > * { animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }
.hero-grid > div:first-child > :nth-child(2), .page-hero-grid > div:first-child > :nth-child(2) { animation-delay: .1s; }
.hero-grid > div:first-child > :nth-child(3), .page-hero-grid > div:first-child > :nth-child(3) { animation-delay: .2s; }
.hero-grid > div:first-child > :nth-child(4), .page-hero-grid > div:first-child > :nth-child(4) { animation-delay: .3s; }
.hero h1 .squiggle::after { animation: draw 1s .6s cubic-bezier(.6,0,.2,1) both; transform-origin: left; }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Oyun kartı adı (mağaza linkleri eklendiğinde) */
.game-name { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; margin: 0; text-align: center; }
a.game-img { display: block; }

@media (prefers-reduced-motion: reduce) {
  .hero-grid > div:first-child > *, .page-hero-grid > div:first-child > *, .hero h1 .squiggle::after { animation: none !important; }
}

.store-links--single { grid-template-columns: 1fr; }

/* ---------- Öne çıkan oyun kartı ---------- */
.games-list { display: grid; gap: 28px; }
.featured-game {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 36px; box-shadow: var(--shadow);
  padding: clamp(26px, 4vw, 52px);
}
.featured-game--flat { border: 0; box-shadow: none; padding: 0; border-radius: 0; overflow: visible; }
.fg-head { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.fg-icon {
  flex: none; width: 108px; height: 108px; border-radius: 26px; overflow: hidden;
  box-shadow: 0 14px 30px rgba(29, 20, 51, .18);
  transition: transform .3s cubic-bezier(.3,1.6,.5,1);
}
.fg-icon:hover { transform: rotate(-4deg) scale(1.05); }
.fg-icon img { width: 100%; height: 100%; object-fit: cover; }
.fg-head .eyebrow { margin-bottom: 4px; }
.fg-title { font-size: clamp(2rem, 3.4vw, 2.6rem); margin: 0 0 4px; }
.fg-tagline { margin: 0; font-weight: 700; color: var(--brand); }
.fg-desc { color: var(--muted); font-size: 1.04rem; }
.fg-chips { list-style: none; padding: 0; margin: 18px 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.fg-chips li { padding: 7px 14px; font-weight: 700; font-size: .9rem; background: var(--bg-soft); border-radius: 999px; }

.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 11px 24px 11px 18px;
  color: var(--white); background: var(--ink); border-radius: 16px; text-decoration: none;
  transition: transform .2s cubic-bezier(.3,1.6,.5,1), background .2s, box-shadow .2s;
}
.store-badge:hover { background: var(--brand); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(242, 38, 92, .3); }
.store-badge svg { width: 26px; height: 26px; fill: currentColor; }
.store-badge span { display: flex; flex-direction: column; font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; line-height: 1.05; }
.store-badge small { font-family: var(--font-body); font-weight: 600; font-size: .72rem; opacity: .8; text-transform: uppercase; letter-spacing: .06em; }

/* Ekran görüntüleri: yelpaze */
.fg-shots { position: relative; height: 470px; }
.fg-shots::before {
  content: ""; position: absolute; inset: 6% 4%; border-radius: 50%;
  background: radial-gradient(closest-side, var(--brand-soft), transparent);
}
.fg-shots img {
  position: absolute; top: 50%; left: 50%; width: 190px; height: auto;
  border-radius: 22px; box-shadow: 0 20px 44px rgba(29, 20, 51, .22);
  transition: transform .45s cubic-bezier(.3,1.4,.5,1);
}
.fg-shots img:nth-child(1) { transform: translate(-50%, -50%) translateX(-150px) rotate(-10deg) scale(.86); z-index: 1; }
.fg-shots img:nth-child(2) { transform: translate(-50%, -50%) scale(1.02); z-index: 3; }
.fg-shots img:nth-child(3) { transform: translate(-50%, -50%) translateX(150px) rotate(10deg) scale(.86); z-index: 2; }
.fg-shots img:nth-child(4) { display: none; }
.featured-game:hover .fg-shots img:nth-child(1) { transform: translate(-50%, -50%) translateX(-175px) rotate(-13deg) scale(.88); }
.featured-game:hover .fg-shots img:nth-child(2) { transform: translate(-50%, -52%) scale(1.06); }
.featured-game:hover .fg-shots img:nth-child(3) { transform: translate(-50%, -50%) translateX(175px) rotate(13deg) scale(.88); }

/* Yakında kartı */
.soon-card {
  text-align: center; padding: 48px 28px;
  border: 2px dashed #e3dcea; border-radius: 36px; background: var(--bg-soft);
}
.soon-ico { font-size: 2.6rem; line-height: 1; margin-bottom: 14px; }
.soon-card h3 { font-size: 1.6rem; margin-bottom: 6px; }
.soon-card p { color: var(--muted); max-width: 460px; margin: 0 auto 14px; }

@media (max-width: 900px) {
  .featured-game { grid-template-columns: 1fr; gap: 24px; }
  .fg-shots {
    height: auto; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 8px 2px 18px; margin: 0 -4px; -webkit-overflow-scrolling: touch;
  }
  .fg-shots::before { display: none; }
  .fg-shots img, .fg-shots img:nth-child(n) {
    position: static; transform: none !important; display: block;
    flex: none; width: 160px; scroll-snap-align: start; box-shadow: 0 10px 24px rgba(29, 20, 51, .16);
  }
}
@media (max-width: 600px) {
  .fg-icon { width: 84px; height: 84px; border-radius: 20px; }
  .fg-head { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .featured-game:hover .fg-shots img { transition: none; }
}

/* ---------- Oyun listesi: ters yerleşim, aksiyonlar ---------- */
.featured-game--rev .fg-shots { order: -1; }
.fg-title a { text-decoration: none; }
.fg-title a:hover { color: var(--brand); }
.fg-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.store-row { display: flex; flex-wrap: wrap; gap: 10px; }
.store-badge--light { color: var(--ink); background: var(--white); }
.store-badge--light:hover { color: var(--white); background: var(--ink); box-shadow: 0 12px 28px rgba(0, 0, 0, .2); }
.fg-shots--watch img { width: 210px; border-radius: 34px; }
.fg-shots--onbrand::before { display: none; }
.fg-shots--onbrand img { box-shadow: 0 24px 50px rgba(60, 0, 20, .35); }

/* ---------- Oyun kutuları (ana sayfa, diğer oyunlar) ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.game-tile {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 22px 18px 18px;
  background: var(--white); border: 1px solid var(--line); border-radius: 26px;
  text-decoration: none; box-shadow: var(--shadow-sm);
  transition: transform .25s cubic-bezier(.3,1.6,.5,1), box-shadow .25s, border-color .25s;
}
.game-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-soft); }
.gt-icon { flex: none; width: 88px; height: 88px; border-radius: 22px; box-shadow: 0 10px 22px rgba(29, 20, 51, .16); }
.gt-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.gt-body .eyebrow { margin-bottom: 2px; font-size: .75rem; }
.gt-name { font-family: var(--font-head); font-weight: 600; font-size: 1.4rem; line-height: 1.15; }
.gt-tagline { color: var(--muted); font-weight: 600; font-size: .95rem; }
.gt-arrow {
  flex: none; width: 42px; height: 42px; display: grid; place-items: center;
  font-size: 1.2rem; font-weight: 800; color: var(--brand); background: var(--brand-soft); border-radius: 50%;
  transition: background .2s, color .2s, transform .2s;
}
.game-tile:hover .gt-arrow { background: var(--brand); color: var(--white); transform: translateX(3px); }
.games-panel .tiles .game-tile { box-shadow: none; background: var(--bg-soft); border-color: transparent; }

/* ---------- Oyun detay sayfası ---------- */
.back-link { display: inline-block; margin-bottom: 18px; font-weight: 700; color: rgba(255,255,255,.85); text-decoration: none; }
.back-link:hover { color: var(--white); text-decoration: underline; }
.gh-head { display: flex; align-items: center; gap: 22px; margin-bottom: 16px; }
.gh-icon { flex: none; width: 120px; height: 120px; border-radius: 30px; box-shadow: 0 18px 40px rgba(60, 0, 20, .35); }
.game-hero .eyebrow { color: rgba(255,255,255,.85); margin-bottom: 6px; }
.game-hero h1 { margin: 0; }
.gh-tagline { font-size: 1.3rem !important; margin-bottom: 26px !important; }
.game-hero .fg-shots { height: 480px; }
.game-about { display: grid; grid-template-columns: 1.4fr .9fr; gap: 50px; align-items: start; }
.game-about h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.game-about p { color: var(--muted); font-size: 1.08rem; }
.highlights { position: sticky; top: 110px; }
.highlights:hover { transform: none; }
.fg-chips--stack { flex-direction: column; align-items: flex-start; margin: 16px 0 20px; }
.hl-meta { display: flex; justify-content: space-between; gap: 10px; padding: 14px 0; margin: 0 0 18px !important; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hl-meta strong { color: var(--ink); }

/* ---------- Gizlilik sayfası ---------- */
.page-hero--compact { padding: 60px 0 110px; }
.page-hero--compact h1 { max-width: 800px; }
.legal { max-width: 800px; }
.legal h2 { font-size: 1.6rem; margin-top: 40px; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--muted); }
.legal a { color: var(--brand); font-weight: 700; }
.legal-date { margin-top: 40px; font-size: .9rem; }

/* ---------- Footer yasal linkler ---------- */
.footer-legal { display: inline-flex; flex-wrap: wrap; gap: 18px; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { color: var(--white); }

@media (max-width: 900px) {
  .featured-game--rev .fg-shots { order: 0; }
  .tiles { grid-template-columns: 1fr; }
  .game-about { grid-template-columns: 1fr; gap: 30px; }
  .highlights { position: static; }
  .game-hero .fg-shots { height: auto; }
  .fg-shots--watch img, .fg-shots--watch img:nth-child(n) { width: 190px; }
}
@media (max-width: 600px) {
  .gh-icon { width: 88px; height: 88px; border-radius: 22px; }
  .gh-head { gap: 16px; }
  .gt-icon { width: 70px; height: 70px; border-radius: 18px; }
  .game-tile { padding: 14px; gap: 14px; }
  .gt-name { font-size: 1.2rem; }
  .gt-arrow { display: none; }
}

/* ---------- "Yakında" oyunlar ve "haber ver" kutusu ---------- */
.soon-badge {
  display: inline-block; margin: 0 0 6px 8px; padding: 2px 10px; vertical-align: 2px;
  font-family: var(--font-head); font-weight: 600; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--white); background: var(--brand); border-radius: 999px;
}
.game-hero .soon-badge { color: var(--brand); background: var(--white); }
.notify-cta { box-shadow: 0 10px 24px rgba(242, 38, 92, .25); }
.notify-form {
  max-width: 520px; padding: 20px 22px; margin-top: 4px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35); border-radius: 24px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.notify-title { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem !important; margin: 0 0 12px !important; }
.notify-row { display: flex; gap: 10px; }
.notify-row input {
  flex: 1; min-width: 0; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 18px; border: 2px solid transparent; border-radius: 999px; background: var(--white);
}
.notify-row input:focus { outline: none; border-color: var(--ink); }
.notify-row .btn { flex: none; }
.notify-consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: .88rem; font-weight: 600; line-height: 1.45; cursor: pointer; }
.notify-consent input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); }
.notify-consent a { color: inherit; text-decoration: underline; }
.notify-msg { margin: 10px 0 0 !important; font-weight: 700; font-size: .95rem !important; min-height: 1em; }
.notify-msg:empty { display: none; }
.notify-msg.is-ok { color: var(--white); }
.notify-msg.is-err { color: #fff1a8; }
.notify-form.is-done .notify-row, .notify-form.is-done .notify-consent { display: none; }
.was-validated .notify-row input:invalid { border-color: #ffd23f; }
@media (max-width: 600px) {
  .notify-row { flex-direction: column; }
}
