/* ===========================================================================
   Erendor Online — Ana sayfa vitrini (yalnız index.html + en/index.html)
   Palet style.css'teki "İznik Gecesi" değişkenleridir (--gold = FİRÛZE).
   Bu dosya style.css'ten SONRA yüklenir; ana sayfadaki eski .hero/.carousel/
   .classes-grid kurallarını burada ezer, öteki sayfalara dokunmaz.
   =========================================================================== */

:root {
  --hx-glow: rgba(79, 179, 166, 0.35);
  /* --hx-cta-top / --hx-cta-bot: style.css (ortak) */
  /* İznik sekiz köşeli yıldız (hatem) deseni — çok soluk, yalnız doku */
  --iznik-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%2386d9cd' stroke-width='1'%3E%3Cpath d='M32 10l6.5 15.5L54 32l-15.5 6.5L32 54l-6.5-15.5L10 32l15.5-6.5z'/%3E%3Crect x='19' y='19' width='26' height='26' transform='rotate(45 32 32)'/%3E%3Ccircle cx='32' cy='32' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

/* --- Kaydırınca belirme (js/home.js ekler; JS yoksa her şey görünür) --- */
html.has-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
html.has-reveal [data-reveal].is-in { opacity: 1; transform: none; }

/* ============================ KAHRAMAN ============================ */
.hero.hx {
  max-width: none;
  margin: 0;
  padding: 0;
  text-align: left;
  position: relative;
  min-height: calc(100svh - 69px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.hx-bg {
  position: absolute;
  inset: -4%;
  z-index: -2;
  background: url("../assets/shots/hero-bg.webp") center / cover no-repeat;
  opacity: 0.55;
  animation: hx-drift 40s ease-in-out infinite alternate;
}
.hero.hx::before {
  /* karartma + alt kenarda zemine erime */
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 60% at 72% 45%, rgba(79, 179, 166, 0.10), transparent 70%),
    linear-gradient(90deg, rgba(11, 13, 22, 0.94) 0%, rgba(11, 13, 22, 0.78) 45%, rgba(11, 13, 22, 0.55) 100%),
    linear-gradient(180deg, rgba(11, 13, 22, 0.2) 0%, rgba(11, 13, 22, 0) 55%, var(--bg-deepest) 100%);
}
.hero.hx::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--iznik-pattern);
  background-size: 64px 64px;
  opacity: 0.035;
  pointer-events: none;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

@keyframes hx-drift {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to   { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

.hx-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 4.5rem 2rem 6rem;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 3.5rem;
  align-items: center;
}

.hx-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.hx-kicker::before {
  content: '';
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

/* "Google Play'de yayında" rozeti ve "Android • Ücretsiz • Türkçe" satırı ana sayfada
   gizli: aynı bilgiyi dolu indirme düğmesi ve altındaki sözler zaten veriyor. Öğeler
   HTML'de kalır (main.js doldurur, öteki dillerde/arama motorunda metin durur). */
.hero-badge.hx-badge,
.hx .hero-meta { display: none; }

.hero-title.hx-title {
  font-size: clamp(2.7rem, 5.6vw, 5rem);
  line-height: 1.02;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 24px rgba(79, 179, 166, 0.25));
}

.hero-subtitle.hx-sub { margin-bottom: 1rem; font-size: 1.15rem; }

.hero-description.hx-desc {
  margin: 0;
  max-width: 34rem;
  font-size: 1.05rem;
  color: #c3c8d9;
}

.hx .hero-notice { margin: 1rem 0 0; }

/* Canlı satır: "21 kişi şu an oyunda · bugün 189 kişi oynadı · 25 yeni yolcu katıldı" */
.hx-live {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
  margin-top: 1.5rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid rgba(119, 184, 106, 0.35);
  background: rgba(20, 40, 30, 0.45);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--parchment-dim);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.hx-live[hidden] { display: none; }
.hx-live strong { color: var(--parchment); font-weight: 600; }
.hx-live .hl-now { display: inline-flex; align-items: center; gap: 0.5rem; }
.hx-live .hl-sep { color: var(--text-muted); }
.hl-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #7fd46b;
  box-shadow: 0 0 0 0 rgba(127, 212, 107, 0.6);
  animation: hl-pulse 2s infinite;
}
@keyframes hl-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(127, 212, 107, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(127, 212, 107, 0); }
  100% { box-shadow: 0 0 0 0 rgba(127, 212, 107, 0); }
}

.hx-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 1.75rem;
}
.hx-cta .store-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Ana sayfadaki indirme düğmeleri DOLU firûze — sayfanın tek "bas bana" rengi */
.hx .play-store-btn,
.cta-section .play-store-btn {
  background: linear-gradient(180deg, var(--hx-cta-top) 0%, var(--hx-cta-bot) 100%);
  border: 1px solid #8ee3d6;
  padding: 0.95rem 1.8rem 0.95rem 1.4rem;
  box-shadow: 0 10px 30px rgba(44, 132, 120, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  overflow: hidden;
  border-radius: 4px;
}
.hx .play-store-btn::after,
.cta-section .play-store-btn::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  animation: hx-shine 5s ease-in-out infinite;
}
@keyframes hx-shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.hx .play-store-btn:hover,
.cta-section .play-store-btn:hover {
  background: linear-gradient(180deg, #74d6c8 0%, #339a8c 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(44, 132, 120, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.hx .play-store-btn-glyph,
.cta-section .play-store-btn-glyph { background: #0b0d16; color: var(--gold-bright); }
.hx .play-store-btn-small,
.cta-section .play-store-btn-small { color: rgba(6, 22, 19, 0.75); font-weight: 500; }
.hx .play-store-btn-large,
.cta-section .play-store-btn-large { color: #061613; font-weight: 700; font-size: 1.15rem; }

.hx .hero-meta { font-size: 0.82rem; }

.hx-vows {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
  padding: 0;
}
.hx-vows li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.8rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--parchment);
  background: rgba(27, 32, 50, 0.7);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.hx-vows li::before { content: '◆'; font-size: 0.55rem; color: var(--gold); }

/* --- Telefon çerçevesi (yatay) --- */
.hx-device { position: relative; perspective: 1600px; }
.hx-device::after {
  /* yerdeki yansıma */
  content: '';
  position: absolute;
  left: 8%; right: 8%; bottom: -9%;
  height: 16%;
  background: radial-gradient(ellipse at center, var(--hx-glow), transparent 70%);
  filter: blur(12px);
  z-index: -1;
}
.hx-phone {
  position: relative;
  aspect-ratio: 2960 / 1440;
  border-radius: 30px;
  border: 11px solid #05060a;
  background: #05060a;
  box-shadow:
    0 0 0 1px rgba(134, 217, 205, 0.28),
    0 0 0 3px #10131d,
    0 40px 80px rgba(0, 0, 0, 0.65),
    0 0 90px rgba(79, 179, 166, 0.18);
  overflow: hidden;
  transform: rotateY(-9deg) rotateX(4deg) rotateZ(0.5deg);
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  animation: hx-float 7s ease-in-out infinite;
}
.hx-device:hover .hx-phone { transform: rotateY(-3deg) rotateX(1deg); }
.hx-phone::before {
  /* kamera deliği — yatay tutuşta sol kenarda */
  content: '';
  position: absolute;
  left: 10px; top: 50%;
  width: 9px; height: 9px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: #0d0f16;
  box-shadow: inset 0 0 0 2px #1a1e2b;
  z-index: 3;
}
.hx-phone::after {
  /* cam parlaması */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.10) 0%, transparent 32%, transparent 70%, rgba(255, 255, 255, 0.04) 100%);
  pointer-events: none;
  z-index: 2;
}
@keyframes hx-float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -10px; }
}
.hx-frame {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
  border-radius: 19px;
  overflow: hidden;
}
.hx-frame.is-on { opacity: 1; }
.hx-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hx-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hx-scroll:hover { color: var(--gold-bright); }
.hx-scroll-arrow { font-size: 1rem; animation: hx-bob 2.2s ease-in-out infinite; }
@keyframes hx-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ============================ RAKAM ŞERİDİ ============================ */
.stat-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(90deg, transparent, rgba(79, 179, 166, 0.06), transparent),
    var(--bg-dark);
  position: relative;
}
.stat-band-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.6rem 1.5rem;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1rem;
}
.sb-item { text-align: center; min-width: 90px; }
.sb-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sb-label {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--parchment-dim);
}

/* ============================ NEDEN ERENDOR ============================ */
.showcase-section {
  max-width: 1200px;
  margin: 6rem auto 3rem;
  padding: 0 2rem;
}
.showcase { display: flex; flex-direction: column; gap: 5rem; }
.sc-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: center;
}
.sc-row.is-flipped .sc-media { order: 2; }
.sc-media {
  margin: 0;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), 0 0 50px rgba(79, 179, 166, 0.08);
  aspect-ratio: 2960 / 1440;
  background: var(--bg-panel);
}
.sc-media::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 60px rgba(11, 13, 22, 0.55);
  pointer-events: none;
}
.sc-media img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.sc-row:hover .sc-media img { transform: scale(1.04); }
.sc-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 0.5rem;
  margin-bottom: 0.9rem;
  border-bottom: 1px solid var(--gold-muted);
}
.sc-title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--parchment);
}
.sc-text { color: var(--parchment-dim); font-size: 1.02rem; line-height: 1.75; }
.sc-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--gold-muted);
  padding-bottom: 2px;
}

/* ============================ GALERİ ============================ */
.carousel { border-radius: 10px; }
.carousel-viewport { aspect-ratio: 2960 / 1440; touch-action: pan-y; }
.carousel-slide img { background: var(--bg-deepest); }
.carousel-caption {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 3rem;
  padding: 0.85rem 1.25rem;
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  color: var(--parchment);
}
.carousel-count {
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  padding: 0.15rem 0.55rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
}
.carousel-dots.carousel-thumbs {
  justify-content: safe center;
  gap: 0.5rem;
  padding: 0.75rem;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-muted) transparent;
}
.carousel-thumb {
  flex: 0 0 auto;
  width: 112px;
  aspect-ratio: 2960 / 1440;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-deepest);
  opacity: 0.45;
  cursor: pointer;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.carousel-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel-thumb:hover { opacity: 0.8; }
.carousel-thumb.active {
  opacity: 1;
  border-color: var(--gold-bright);
  box-shadow: 0 0 12px rgba(79, 179, 166, 0.45);
}

/* ============================ SINIF SEÇİCİ ============================ */
.classes-grid.class-picker {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
.cp-tabs { display: flex; flex-direction: column; gap: 0.6rem; }
.cp-tab {
  --cls: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  padding: 0.85rem 1rem;
  text-align: left;
  font: inherit;
  color: var(--parchment-dim);
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.cp-tab:hover { transform: translateX(3px); border-color: var(--border-strong); }
.cp-tab.is-active {
  color: var(--parchment);
  border-color: color-mix(in srgb, var(--cls) 55%, transparent);
  border-left-color: var(--cls);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--cls) 22%, transparent), transparent 85%),
    var(--bg-panel);
}
.cp-tab-sym {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: 1.3rem;
  color: var(--cls);
  border: 1px solid color-mix(in srgb, var(--cls) 50%, transparent);
  background: color-mix(in srgb, var(--cls) 10%, var(--bg-deepest));
}
.cp-tab.is-active .cp-tab-sym { box-shadow: 0 0 18px color-mix(in srgb, var(--cls) 55%, transparent); }
.cp-tab-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.cp-tab-name { font-family: var(--font-display); font-size: 1.12rem; letter-spacing: 0.04em; color: inherit; }
.cp-tab-role { font-size: 0.78rem; color: var(--text-muted); }

.cp-stage { position: relative; min-width: 0; }
.cp-panel {
  --cls: var(--gold);
  position: relative;
  height: 100%;
  padding: 2.4rem 2.6rem;
  border: 1px solid color-mix(in srgb, var(--cls) 40%, transparent);
  border-radius: 10px;
  background:
    radial-gradient(ellipse 60% 70% at 100% 0%, color-mix(in srgb, var(--cls) 20%, transparent), transparent 70%),
    linear-gradient(180deg, var(--bg-panel), var(--bg-dark));
  overflow: hidden;
  animation: cp-in 0.45s ease;
}
.cp-panel[hidden] { display: none; }
@keyframes cp-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cp-sigil {
  position: absolute;
  right: -1.5rem; top: -2.5rem;
  font-size: 15rem;
  line-height: 1;
  color: var(--cls);
  opacity: 0.08;
  pointer-events: none;
  font-family: var(--font-display);
}
.cp-role {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cls);
  margin-bottom: 0.35rem;
}
.cp-name {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--parchment);
  margin-bottom: 0.6rem;
}
.cp-lore {
  /* Cinzel yalnız büyük harf çizer — uzun cümlede okunmuyor, gövde yazısı italik */
  font-style: italic;
  font-size: 1.05rem;
  color: color-mix(in srgb, var(--cls) 60%, var(--parchment));
  margin-bottom: 1rem;
  max-width: 40rem;
}
.cp-desc { color: var(--parchment-dim); max-width: 42rem; line-height: 1.7; margin-bottom: 1.4rem; }
.cp-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}
.cp-facts > div {
  padding: 0.75rem 0.95rem;
  background: rgba(11, 13, 22, 0.45);
  border: 1px solid var(--border);
  border-radius: 6px;
}
.cp-facts dt {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}
.cp-facts dd { margin: 0; color: var(--parchment); font-size: 0.95rem; }
.cp-skills-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.class-skills.cp-skills { justify-content: flex-start; }
.cp-skills li { border-color: color-mix(in srgb, var(--cls) 35%, transparent); color: color-mix(in srgb, var(--cls) 70%, var(--parchment)); border-radius: 3px; }
.cp-more {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  color: var(--cls);
}
.cp-more:hover { color: var(--parchment); }

/* Sınıf seçicinin altındaki test çağrısı (main.js > renderClasses) */
.quiz-teaser { text-align: center; margin-top: 1.75rem; }
.quiz-teaser-link {
  display: inline-block;
  padding: 0.75rem 1.4rem;
  border: 1px dashed var(--border-strong);
  border-radius: 999px;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  color: var(--gold-bright);
  background: rgba(79, 179, 166, 0.06);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.quiz-teaser-link:hover { background: rgba(79, 179, 166, 0.14); border-style: solid; color: var(--gold-bright); }

/* ============================ CANLI DÜNYA girişi ============================ */
.lw-intro { margin: -0.5rem auto 1.75rem; }

/* ============================ YOLDAŞINI ÇAĞIR ============================ */
.invite-section {
  max-width: 1000px;
  margin: 5rem auto 4rem;
  padding: 0 2rem;
}
.invite-card {
  position: relative;
  text-align: center;
  padding: 3rem 2rem 2.6rem;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(79, 179, 166, 0.16), transparent 65%),
    linear-gradient(180deg, var(--bg-panel), var(--bg-dark));
  overflow: hidden;
  isolation: isolate;
}
.invite-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--iznik-pattern) center / 64px 64px;
  opacity: 0.07;
  mask-image: radial-gradient(ellipse at 50% 50%, transparent 30%, #000 85%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, transparent 30%, #000 85%);
}
.invite-sigil {
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 0.6rem;
  text-shadow: 0 0 18px var(--hx-glow);
}
.invite-title { font-size: clamp(1.6rem, 3.6vw, 2.3rem); margin-bottom: 0.75rem; }
.invite-text { color: var(--parchment-dim); max-width: 36rem; margin: 0 auto 1.75rem; }
/* .invite-buttons / .iv-* paylaşım düğmeleri style.css'te (sınıf testi de kullanır) */

/* ============================ SON ÇAĞRI ============================ */
.cta-section .cta-inner {
  border-radius: 14px;
  padding: 4.5rem 2rem;
  background:
    linear-gradient(180deg, rgba(11, 13, 22, 0.55), rgba(11, 13, 22, 0.88)),
    url("../assets/shots/hero-bg.webp") center / cover;
}
.cta-section .store-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.75rem; }

/* ============================ MOBİL İNDİR ÇUBUĞU ============================ */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
    background: rgba(11, 13, 22, 0.92);
    border-top: 1px solid var(--border-strong);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: translateY(110%);
    transition: transform 0.35s ease;
  }
  .sticky-cta.is-shown { transform: none; }
  .stk-id { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
  .stk-name { font-family: var(--font-display); color: var(--gold-bright); font-size: 1rem; }
  .stk-sub { font-size: 0.75rem; color: var(--parchment-dim); }
  .stk-btn {
    flex-shrink: 0;
    padding: 0.6rem 1.4rem;
    font-weight: 700;
    color: #061613;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--hx-cta-top), var(--hx-cta-bot));
    box-shadow: 0 6px 18px rgba(44, 132, 120, 0.35);
  }
  .stk-btn:hover { color: #061613; }
}

/* ============================ DUYARLI ============================ */
@media (max-width: 960px) {
  /* Mobilde oyun görüntüsü ilk ekranda görünsün: metin sütunu "açılır" (display:contents)
     ve telefon çerçevesi başlığın hemen altına sıralanır. */
  .hx-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 2rem 1.25rem 3rem;
    text-align: center;
  }
  .hx-copy { display: contents; }
  .hx-kicker { order: 1; }
  .hx-title { order: 2; }
  .hx-device { order: 3; margin: 0.75rem auto 1.75rem !important; }
  .hx-sub { order: 4; }
  .hx-desc { order: 5; }
  .hx .hero-notice { order: 6; }
  .hx-live { order: 7; }
  .hx-cta { order: 8; }
  .hx-vows { order: 9; }
  .hero-subtitle.hx-sub { font-size: 1rem; }
  .hero-description.hx-desc { margin: 0 auto; }
  .hx-cta, .hx-vows { justify-content: center; }
  .hx-cta { flex-direction: column; }
  .hx-phone { transform: none; animation: none; border-width: 8px; border-radius: 22px; }
  .hx-frame { border-radius: 14px; }
  .hx-device { max-width: 640px; width: 100%; margin: 0 auto; }
  .hx-scroll { display: none; }
  .hero.hx { min-height: 0; }

  .sc-row, .sc-row.is-flipped { grid-template-columns: 1fr; gap: 1.5rem; }
  .sc-row.is-flipped .sc-media { order: 0; }
  .showcase { gap: 3.5rem; }

  .classes-grid.class-picker { grid-template-columns: 1fr; }
  .cp-tabs {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
  }
  .cp-tabs::-webkit-scrollbar { display: none; }
  .cp-tab { flex: 0 0 auto; width: auto; padding: 0.55rem 0.9rem 0.55rem 0.6rem; }
  .cp-tab:hover { transform: none; }
  .cp-tab-role { display: none; }
  .cp-tab-sym { width: 34px; height: 34px; font-size: 1rem; }
  .cp-panel { padding: 1.75rem 1.4rem; }
  .cp-sigil { font-size: 10rem; }
}

@media (max-width: 560px) {
  .showcase-section, .invite-section { padding: 0 1rem; margin-top: 4rem; }
  .stat-band-inner { padding: 1.2rem 0.75rem; gap: 0.75rem 0.5rem; }
  .sb-item { min-width: 30%; }
  .carousel-caption { font-size: 0.9rem; padding: 0.7rem 0.9rem; }
  .carousel-thumb { width: 88px; }
  .hx-live { font-size: 0.82rem; border-radius: 14px; justify-content: center; }
  /* Küçük ekranda indirme düğmesi ilk ekrana yaklaşsın — açıklama aynı şeyi söylüyor */
  .hero-subtitle.hx-sub { display: none; }
  .iv-btn { min-width: 0; flex: 1 1 40%; }
  .cta-section .cta-inner { padding: 3rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hx-bg, .hx-phone, .hx-scroll-arrow, .hl-dot,
  .hx .play-store-btn::after, .cta-section .play-store-btn::after { animation: none; }
}
