/* =========================================================
   Sayfa bileşenleri
   ========================================================= */

.section-alt { background: linear-gradient(180deg, transparent, rgba(11, 22, 51, 0.45) 18%, rgba(11, 22, 51, 0.45) 82%, transparent); }
.section-tight { padding-top: clamp(2rem, 4vw, 3rem); }

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  max-width: none;
  flex-wrap: wrap;
}

.block-title {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  margin: 2.6rem 0 1.3rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
}
.block-title:first-child { margin-top: 0; }

.page-hero {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2rem, 4vw, 3rem);
  text-align: center;
}
.page-hero .lead { margin-inline: auto; }
.page-hero-tight { padding-bottom: 1rem; }

.hint {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.84rem;
  color: var(--text-dim);
}

.result-count {
  font-family: var(--font-ui);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.86rem;
  color: var(--text-dim);
  margin: 1.6rem 0 1.2rem;
}
.result-count strong { color: var(--gold-400); font-size: 1.05rem; }

.empty-state {
  padding: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}
.empty-state h2, .empty-state h3 { margin-bottom: 0.6rem; }
.empty-state p { margin-bottom: 1.6rem; }

.breadcrumb {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.84rem;
  color: var(--text-dim);
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-soft); }
.breadcrumb a:hover { color: var(--gold-300); }
.breadcrumb [aria-current] { color: var(--gold-400); }

/* =========================================================
   ANA SAYFA — Kahraman sahnesi
   ========================================================= */

.hero-section {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem) 0 5rem;
  overflow: hidden;
}

.hero-section-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-rays {
  position: absolute;
  top: -30%; left: 50%;
  width: 160%; height: 160%;
  transform: translateX(-50%);
  background: conic-gradient(
    from 180deg at 50% 30%,
    transparent 0deg, rgba(245, 196, 81, 0.07) 12deg, transparent 26deg,
    transparent 60deg, rgba(53, 208, 255, 0.07) 74deg, transparent 90deg,
    transparent 200deg, rgba(245, 196, 81, 0.06) 216deg, transparent 232deg
  );
  animation: rays 60s linear infinite;
  mask-image: radial-gradient(circle at 50% 32%, #000 10%, transparent 62%);
  -webkit-mask-image: radial-gradient(circle at 50% 32%, #000 10%, transparent 62%);
}
@keyframes rays { to { transform: translateX(-50%) rotate(360deg); } }

.hero-hex {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(120, 170, 255, 0.1) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, #000, transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
  opacity: 0.6;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-copy h1 { margin-bottom: 1.2rem; text-shadow: 0 0 60px rgba(30, 111, 242, 0.5); }
.hero-actions { margin: 2rem 0 2.6rem; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem 1.4rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}
.stat-counter strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.1;
}
.stat-counter span {
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* --- 3B sahne çerçevesi --- */

.hero-stage-wrap { position: relative; }

.hero-stage-frame {
  position: relative;
  aspect-ratio: 4 / 4.2;
  min-height: 380px;
  max-height: 620px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at 50% 70%, rgba(30, 111, 242, 0.22), transparent 62%),
    linear-gradient(160deg, rgba(11, 28, 72, 0.6), rgba(4, 6, 14, 0.85));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card), 0 0 90px -30px rgba(53, 208, 255, 0.4);
  overflow: hidden;
}

.hero-stage { position: absolute; inset: 0; touch-action: pan-y; }

.hero-stage-hud { position: absolute; inset: 0; pointer-events: none; }
.hud-corner {
  position: absolute;
  width: 30px; height: 30px;
  border: 2px solid var(--gold-500);
  opacity: 0.75;
  filter: drop-shadow(0 0 6px rgba(245, 196, 81, 0.6));
}
.hud-corner.tl { top: 16px; left: 16px; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.hud-corner.tr { top: 16px; right: 16px; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.hud-corner.bl { bottom: 16px; left: 16px; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.hud-corner.br { bottom: 16px; right: 16px; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }

.hud-scan {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(53, 208, 255, 0.8), transparent);
  box-shadow: 0 0 18px rgba(53, 208, 255, 0.7);
  animation: scan 5.5s ease-in-out infinite;
}
@keyframes scan {
  0%, 100% { top: 8%; opacity: 0; }
  10% { opacity: 1; }
  50% { top: 92%; opacity: 1; }
  60% { opacity: 0; }
}

.hero-stage-info {
  position: absolute;
  left: 26px; bottom: 26px;
  max-width: 62%;
  padding: 1rem 1.2rem;
  background: rgba(4, 7, 18, 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold-500);
  border-radius: 12px;
  animation: info-in 0.5s var(--ease);
}
@keyframes info-in { from { opacity: 0; transform: translateY(14px); } }
.hero-stage-info h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin: 0.5rem 0 0.1rem; }
.hero-stage-info p { font-size: 0.9rem; color: var(--gold-300); margin-bottom: 0.8rem; }

/* =========================================================
   Çerçeveli kahraman portresi (3B sahnenin yerine)
   ========================================================= */

.hero-frame {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 62%, color-mix(in srgb, var(--hero-color) 22%, transparent), transparent 62%),
    linear-gradient(160deg, rgba(11, 28, 72, 0.62), rgba(4, 6, 14, 0.92));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card), 0 0 90px -34px color-mix(in srgb, var(--hero-color) 80%, transparent);
  perspective: 1000px;
}
/* Kare kalsın diye yükseklik değil genişlik sınırlanıyor */
.hero-frame.is-large { width: 100%; max-width: 400px; margin-inline: auto; }
.hero-frame.is-medium { width: 100%; max-width: 330px; margin-inline: auto; }
/* Kap ne kadarsa o kadar (karusel kartı içinde kullanılır) */
.hero-frame.is-fluid { width: 100%; }
.hero-frame.is-empty { background: var(--surface); }

/* Renkli ışıma */
.hero-frame-aura {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--hero-color) 42%, transparent), transparent 66%);
  filter: blur(46px);
  animation: aura-pulse 6s ease-in-out infinite;
}
@keyframes aura-pulse {
  50% { transform: scale(1.12); opacity: 0.75; }
}

/* Portrenin bulanık büyütülmüş kopyası — büyük görünüm hissi verir */
.hero-frame-haze {
  position: absolute;
  width: 92%;
  height: 92%;
  object-fit: cover;
  border-radius: 50%;
  filter: blur(48px) saturate(150%);
  opacity: 0.42;
  transform: translate3d(calc(var(--shift-x, 0px) * -0.4), calc(var(--shift-y, 0px) * -0.4), 0) scale(1.1);
  transition: transform 0.5s var(--ease);
}

/* Dönen rün halkaları */
.hero-frame-runes {
  position: absolute;
  width: 96%;
  height: 96%;
  pointer-events: none;
}
.hero-frame-runes .ring {
  stroke-width: 1.1;
  transform-origin: 50% 50%;
}
.ring-1 { stroke: var(--gold-500); opacity: 0.55; animation: spin 46s linear infinite; }
.ring-2 { stroke: var(--hero-color); opacity: 0.4; animation: spin 34s linear infinite reverse; }
.ring-3 { stroke: var(--cyan-400); opacity: 0.34; animation: spin 70s linear infinite; }

/* Sürüklenen buhar katmanları */
.hero-frame-fog { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-frame-fog i {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.5;
  mix-blend-mode: screen;
}
.hero-frame-fog .fog-1 {
  width: 70%; height: 45%;
  left: -18%; bottom: 4%;
  background: radial-gradient(ellipse, color-mix(in srgb, var(--hero-color) 55%, transparent), transparent 70%);
  animation: fog-drift-a 17s ease-in-out infinite;
}
.hero-frame-fog .fog-2 {
  width: 62%; height: 40%;
  right: -14%; top: 12%;
  background: radial-gradient(ellipse, rgba(245, 196, 81, 0.4), transparent 70%);
  animation: fog-drift-b 23s ease-in-out infinite;
}
.hero-frame-fog .fog-3 {
  width: 80%; height: 34%;
  left: 10%; bottom: -8%;
  background: radial-gradient(ellipse, rgba(150, 200, 255, 0.32), transparent 72%);
  animation: fog-drift-c 29s ease-in-out infinite;
}
@keyframes fog-drift-a {
  50% { transform: translate3d(34%, -16%, 0) scale(1.28); opacity: 0.28; }
}
@keyframes fog-drift-b {
  50% { transform: translate3d(-30%, 20%, 0) scale(1.34); opacity: 0.24; }
}
@keyframes fog-drift-c {
  50% { transform: translate3d(-14%, -26%, 0) scale(1.2); opacity: 0.2; }
}

/* Çerçeve gövdesi — dış katman fare eğimi */
.hero-frame-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: min(62%, 250px);
  aspect-ratio: 1;
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.45s var(--ease);
}

/* İç katman — kahraman değişince dönerek inip sert oturur */
.hero-frame-slam {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: hero-slam 0.92s cubic-bezier(0.3, 1.4, 0.4, 1) both;
}
@keyframes hero-slam {
  0% {
    opacity: 0;
    transform: translate3d(58px, -150px, 0) rotateY(-215deg) rotateZ(16deg) scale(1.45);
    filter: blur(7px) brightness(2.2);
  }
  45% {
    opacity: 1;
    filter: blur(0) brightness(1.5);
  }
  62% {
    /* çakılma anı — hafif ezilme */
    transform: translate3d(0, 10px, 0) rotateY(0deg) rotateZ(0deg) scale(1.08, 0.9);
    filter: blur(0) brightness(1.9);
  }
  76% { transform: translate3d(0, -7px, 0) scale(0.97, 1.05); }
  88% { transform: translate3d(0, 3px, 0) scale(1.02, 0.98); }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateY(0deg) scale(1);
    filter: none;
  }
}

/* Çarpma efektleri */
.hero-frame-impact { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.hero-frame-impact i { position: absolute; border-radius: 50%; opacity: 0; }
.hero-frame-impact .shock {
  width: 100%; aspect-ratio: 1;
  border: 2px solid var(--gold-300);
  box-shadow: 0 0 26px rgba(245, 196, 81, 0.8);
  animation: shockwave 0.85s ease-out 0.56s both;
}
.hero-frame-impact .shock-late {
  border-color: color-mix(in srgb, var(--hero-color) 90%, white);
  animation-delay: 0.66s;
  animation-duration: 1.05s;
}
.hero-frame-impact .dust {
  width: 118%; aspect-ratio: 1;
  background: radial-gradient(circle, color-mix(in srgb, var(--hero-color) 60%, transparent) 0%, transparent 62%);
  filter: blur(22px);
  animation: impact-dust 1.1s ease-out 0.56s both;
}
@keyframes shockwave {
  0% { opacity: 0.95; transform: scale(0.42); }
  100% { opacity: 0; transform: scale(1.75); }
}
@keyframes impact-dust {
  0% { opacity: 0; transform: scale(0.5); }
  22% { opacity: 0.85; }
  100% { opacity: 0; transform: scale(1.5); }
}

/* Dövme altın çerçeve — metalik degrade kenar + iç kabartma */
.hero-frame-ornate {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(
    from 140deg,
    #7a5410 0deg, #f5c451 42deg, #fff6d8 72deg, #dfa829 108deg,
    #7a5410 165deg, #c98a12 210deg, #fff0b8 252deg, #b57f0f 300deg, #7a5410 360deg
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  filter: drop-shadow(0 0 14px rgba(245, 196, 81, 0.75));
  animation: ornate-turn 24s linear infinite;
}
@keyframes ornate-turn { to { transform: rotate(360deg); } }

/* İç ince halka + dış kesikli halka (ayrı katmanlar, maskeden etkilenmez) */
.hero-frame-slam::before {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 1px solid rgba(245, 196, 81, 0.38);
  box-shadow: inset 0 0 38px -8px color-mix(in srgb, var(--hero-color) 80%, transparent);
  pointer-events: none;
}
.hero-frame-slam::after {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px dashed rgba(245, 196, 81, 0.26);
  animation: ornate-turn 40s linear infinite reverse;
  pointer-events: none;
}

/* Portre — 128px kaynağı fazla büyütmeden net göster */
.hero-frame-portrait {
  position: relative;
  display: grid;
  place-items: center;
  width: 76%;
  /* Kaynak 128px: 180px üstüne çıkarsa yumuşamaya başlıyor */
  max-width: 180px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.08), rgba(4, 8, 22, 0.9));
  transform: translate3d(calc(var(--shift-x, 0px) * 0.35), calc(var(--shift-y, 0px) * 0.35), 40px);
  transition: transform 0.45s var(--ease);
}
.hero-frame-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 128px kaynak büyütülürken yumuşasın, pikselli görünmesin */
  image-rendering: auto;
}

.hero-frame-shine {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.26) 0%, transparent 42%, transparent 60%, rgba(255, 255, 255, 0.08) 100%);
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Köşe süsleri */
.frame-corner {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 2px solid var(--gold-400);
  opacity: 0.85;
  filter: drop-shadow(0 0 6px rgba(245, 196, 81, 0.7));
}
.frame-corner.tl { top: -6px; left: -6px; border-right: 0; border-bottom: 0; border-radius: 7px 0 0 0; }
.frame-corner.tr { top: -6px; right: -6px; border-left: 0; border-bottom: 0; border-radius: 0 7px 0 0; }
.frame-corner.bl { bottom: -6px; left: -6px; border-right: 0; border-top: 0; border-radius: 0 0 0 7px; }
.frame-corner.br { bottom: -6px; right: -6px; border-left: 0; border-top: 0; border-radius: 0 0 7px 0; }

/* Süzülen zerrecikler */
.hero-frame-motes { position: absolute; inset: 0; pointer-events: none; }
.hero-frame-motes i {
  position: absolute;
  left: calc(8% + var(--i) * 9%);
  bottom: -8px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold-300);
  box-shadow: 0 0 8px rgba(245, 196, 81, 0.9);
  opacity: 0;
  animation: mote-rise 9s linear infinite;
  animation-delay: calc(var(--i) * 0.85s);
}
@keyframes mote-rise {
  0% { transform: translateY(0) scale(0.6); opacity: 0; }
  12% { opacity: 0.9; }
  80% { opacity: 0.5; }
  100% { transform: translateY(-460px) translateX(22px) scale(1.1); opacity: 0; }
}

/* Alt bilgi levhası */
.hero-frame-plate {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.6rem 1.4rem 1.3rem;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(4, 6, 14, 0.9) 55%);
}
.hero-frame-plate h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  letter-spacing: 0.05em;
}
.hero-frame-plate p {
  margin: 0.15rem 0 0;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-400);
}

/* Hareket azaltma tercihi: tüm döngüsel animasyonlar durur, iniş kısalır */
.hero-frame.is-still .hero-frame-aura,
.hero-frame.is-still .ring,
.hero-frame.is-still .hero-frame-ornate,
.hero-frame.is-still .hero-frame-slam::after,
.hero-frame.is-still .hero-frame-motes i { animation: none; }
.hero-frame.is-still .hero-frame-slam { animation-duration: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .hero-frame-aura,
  .hero-frame-runes .ring,
  .hero-frame-ornate,
  .hero-frame-slam::after,
  .hero-frame-fog i,
  .hero-frame-motes i { animation: none !important; }
  .hero-frame-slam { animation: none !important; }
  .hero-frame-impact { display: none; }
}

/* =========================================================
   Ana sayfa kahraman karuseli
   Portre, isim ve düğme TEK kartta; hepsi aynı genişlikte.
   ========================================================= */

.showcase-shell {
  --showcase-w: 400px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

/* Kartın tamamı bağlantı: tıklayınca kahraman sayfasına gider */
.showcase-card {
  position: relative;
  display: block;
  width: 100%;
  max-width: var(--showcase-w);
  padding: 0 0 1.3rem;
  color: inherit;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(175deg, rgba(13, 24, 56, 0.55), rgba(4, 6, 14, 0.9));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.showcase-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--hero-color) 65%, transparent);
  box-shadow:
    var(--shadow-card),
    0 0 60px -18px color-mix(in srgb, var(--hero-color) 100%, transparent);
}

/* Portre alanı — çerçeve kartın genişliğini alır */
.showcase-portrait { position: relative; }
.showcase-portrait .hero-frame {
  width: 100%;
  max-width: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background:
    radial-gradient(ellipse at 50% 60%, color-mix(in srgb, var(--hero-color) 26%, transparent), transparent 64%),
    linear-gradient(165deg, rgba(11, 28, 72, 0.6), rgba(4, 6, 14, 0.35));
}

/* Fareyle üzerine gelince hareketli kısım güçlenir */
.showcase-card:hover .hero-frame-aura { opacity: 1; transform: scale(1.14); }
.showcase-card:hover .hero-frame-ornate {
  animation-duration: 7s;
  filter: drop-shadow(0 0 24px rgba(245, 196, 81, 1));
}
.showcase-card:hover .ring-1 { animation-duration: 16s; opacity: 0.85; }
.showcase-card:hover .ring-2 { animation-duration: 12s; opacity: 0.7; }
.showcase-card:hover .ring-3 { animation-duration: 24s; opacity: 0.6; }
.showcase-card:hover .hero-frame-portrait { transform: translate3d(0, 0, 40px) scale(1.06); }
.showcase-card:hover .hero-frame-fog i { opacity: 0.78; }

/* Kart içi bilgi bloğu */
.showcase-meta {
  position: relative;
  padding: 0 1.4rem;
  margin-top: -0.4rem;
  text-align: center;
  animation: meta-in 0.6s var(--ease) both;
}
@keyframes meta-in {
  from { opacity: 0; transform: translateY(16px); filter: blur(5px); }
  to { opacity: 1; transform: none; filter: none; }
}

.showcase-roles { display: flex; justify-content: center; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 0.6rem; }
.showcase-meta h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 0.1rem; }
.showcase-title {
  margin: 0 0 1rem;
  font-family: var(--font-ui);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-400);
}
/* Kart zaten bağlantı olduğu için bu bir span; görsel olarak düğme gibi durur */
.showcase-cta { pointer-events: none; }
.showcase-card:hover .showcase-cta {
  color: var(--gold-200);
  background: rgba(245, 196, 81, 0.12);
  box-shadow: 0 0 24px -4px rgba(245, 196, 81, 0.7);
}

/* Otomatik geçiş sayacı — kartın alt kenarında */
.showcase-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--gold-500), color-mix(in srgb, var(--hero-color) 90%, white));
  box-shadow: 0 0 12px rgba(245, 196, 81, 0.7);
  animation: showcase-tick 5s linear forwards;
}
@keyframes showcase-tick { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.showcase-progress.is-paused { animation-play-state: paused; opacity: 0.35; }

.showcase-count {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-400);
  background: rgba(4, 8, 22, 0.7);
  border: 1px solid var(--line-gold);
  border-radius: 2px;
  padding: 0.2rem 0.55rem 0.16rem;
}

/* Sağ / sol oklar */
.showcase-nav {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--gold-400);
  background: rgba(6, 10, 26, 0.72);
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.showcase-nav:hover {
  color: #0a0f1e;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-600));
  transform: scale(1.12);
  box-shadow: 0 0 26px -4px rgba(245, 196, 81, 0.9);
}
.showcase-nav:active { transform: scale(0.96); }

/* Dar ekranlarda oklar kartın üzerine biner */
@media (max-width: 560px) {
  .showcase-shell { gap: 0; }
  .showcase-nav { position: absolute; top: 34%; z-index: 3; width: 40px; height: 40px; }
  .showcase-nav.is-prev { left: 4px; }
  .showcase-nav.is-next { right: 4px; }
}

/* Vitrin altındaki kahraman bilgisi (eski düzen — geri dönüş için duruyor) */
.hero-showcase-info {
  max-width: 400px;
  margin: 1rem auto 0.3rem;
  padding: 0.9rem 1.2rem;
  background: rgba(4, 7, 18, 0.62);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold-500);
  border-radius: 12px;
  animation: info-in 0.5s var(--ease);
}
.hero-showcase-info h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  margin: 0.4rem 0 0.1rem;
  animation: name-in 0.6s var(--ease) both;
}
.hero-showcase-info p {
  font-size: 0.88rem;
  color: var(--gold-300);
  margin-bottom: 0.7rem;
  animation: name-in 0.6s var(--ease) 0.07s both;
}
/* İsim, madalyonla birlikte yandan kayarak girsin */
@keyframes name-in {
  from { opacity: 0; transform: translateX(-22px); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: none; }
}

/* Kutuyu saran ince ışık şeridi */
.hero-showcase-info::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.09) 48%, transparent 62%);
  background-size: 260% 100%;
  animation: shine 6s linear infinite;
}
.hero-showcase-info { position: relative; overflow: hidden; }

.hero-rail {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  overflow-x: auto;
  padding: 0.4rem 0.2rem 0.5rem;
  scrollbar-width: thin;
}
/* Tüm kutular birebir aynı ölçüde olsun (isim uzunluğundan bağımsız) */
.hero-rail-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 76px;
  height: 76px;
  padding: 0.4rem 0.3rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(4, 8, 22, 0.6));
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.32s var(--ease), border-color 0.32s var(--ease), box-shadow 0.32s var(--ease);
}
/* Seçili kutuda dönen ışık halkası */
.hero-rail-item::before {
  content: '';
  position: absolute;
  inset: -60%;
  background: conic-gradient(from 0deg, transparent 0deg, color-mix(in srgb, var(--hero-color) 75%, transparent) 40deg, transparent 90deg);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  animation: ornate-turn 3.6s linear infinite;
  pointer-events: none;
}
.hero-rail-orb {
  position: relative;
  width: 34px; height: 34px;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at 35% 30%, #fff, var(--hero-color) 55%, #05060f 100%);
  border: 1px solid color-mix(in srgb, var(--hero-color) 60%, transparent);
  box-shadow: 0 0 12px color-mix(in srgb, var(--hero-color) 70%, transparent);
}
.hero-rail-orb img { width: 100%; height: 100%; object-fit: cover; }
.hero-rail-name {
  position: relative;
  max-width: 100%;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-rail-item { position: relative; }
.hero-rail-item:hover {
  transform: translateY(-5px);
  border-color: var(--line-gold);
  box-shadow: 0 12px 26px -14px color-mix(in srgb, var(--hero-color) 90%, transparent);
}
.hero-rail-item.is-active {
  border-color: var(--gold-500);
  transform: translateY(-5px);
  box-shadow:
    0 0 22px -6px rgba(245, 196, 81, 0.8),
    inset 0 0 22px -10px color-mix(in srgb, var(--hero-color) 90%, transparent);
}
.hero-rail-item.is-active::before { opacity: 0.35; }
.hero-rail-item.is-active .hero-rail-name { color: var(--gold-200); }
.hero-rail-item.is-active .hero-rail-orb {
  border-color: var(--gold-400);
  box-shadow: 0 0 16px color-mix(in srgb, var(--hero-color) 90%, transparent);
}

.hero-scroll-cue {
  position: absolute;
  bottom: 1.6rem; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 40px;
  border: 1.5px solid var(--line-gold);
  border-radius: 14px;
}
.hero-scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  width: 3px; height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--gold-400);
  animation: cue 2s ease-in-out infinite;
}
@keyframes cue { 50% { transform: translateY(12px); opacity: 0.2; } }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage-frame { min-height: 340px; aspect-ratio: 1 / 1; }
  .hero-scroll-cue { display: none; }
  .hero-section { min-height: 0; }
}

/* =========================================================
   Özellik kartları / roller
   ========================================================= */

.feature-card {
  height: 100%;
  padding: 2rem 1.7rem;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--line-gold);
  box-shadow: var(--shadow-card), 0 0 40px -14px rgba(245, 196, 81, 0.55);
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin-bottom: 1.2rem;
  color: var(--gold-400);
  background: linear-gradient(140deg, rgba(245, 196, 81, 0.16), rgba(30, 111, 242, 0.1));
  border: 1px solid var(--line-gold);
  border-radius: 14px;
  box-shadow: 0 0 22px -8px rgba(245, 196, 81, 0.6);
}
.feature-card h3 { margin-bottom: 0.6rem; }
.feature-card p { margin: 0; font-size: 0.95rem; }

.role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.2rem;
}
.role-card {
  position: relative;
  display: block;
  height: 100%;
  padding: 1.8rem 1.5rem 2.6rem;
  background: linear-gradient(160deg, color-mix(in srgb, var(--role-color) 14%, transparent), rgba(8, 14, 34, 0.85));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.role-card::before {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--role-color);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.45s var(--ease);
}
.role-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--role-color) 55%, transparent);
  box-shadow: 0 20px 44px -22px color-mix(in srgb, var(--role-color) 85%, transparent);
}
.role-card:hover::before { transform: scaleX(1); }
.role-card-num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--role-color);
  opacity: 0.8;
}
.role-card h3 { margin: 0.5rem 0 0.2rem; color: var(--text); }
.role-card p { margin: 0; font-size: 0.88rem; color: var(--text-dim); }
.role-card-arrow {
  position: absolute;
  right: 1.4rem; bottom: 1.2rem;
  color: var(--role-color);
  font-size: 1.3rem;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.role-card:hover .role-card-arrow { opacity: 1; transform: none; }

/**
 * Rol rozeti — köşeli kutu, sabit altın renk.
 *
 * Dikey hizalama notu: Türkçe'de büyük "İ" harfinin noktası normal büyük harf
 * yüksekliğinin üstüne çıkıyor. line-height 1 verilirse nokta üst kenara
 * değiyor; bu yüzden satır yüksekliği ve alt/üst dolgu ona göre ayarlandı.
 */
.role-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0.3rem 0.7rem 0.26rem;
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.12em;
  /* letter-spacing son harften sonra da boşluk bırakır; metni geri ortalar */
  text-indent: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;

  color: var(--gold-300);
  background: linear-gradient(165deg, rgba(245, 196, 81, 0.18), rgba(4, 8, 22, 0.8));
  border: 1px solid var(--line-gold);
  border-radius: 2px;
  box-shadow:
    inset 0 1px 0 rgba(255, 240, 184, 0.22),
    0 0 14px -6px rgba(245, 196, 81, 0.7);
}
/* Sol kenarda dolu altın şerit */
.role-badge::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-200), var(--gold-600));
}
.role-badge { position: relative; overflow: hidden; }

.role-badge.is-small {
  min-height: 23px;
  font-size: 0.68rem;
  padding: 0.26rem 0.58rem 0.22rem;
  letter-spacing: 0.1em;
  text-indent: 0.1em;
}

/* =========================================================
   Kahraman kartı
   ========================================================= */

.hero-card {
  position: relative;
  display: block;
  height: 100%;
  padding: 0 0 1.3rem;
  background: linear-gradient(170deg, rgba(13, 24, 56, 0.9), rgba(5, 8, 20, 0.95));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform-style: preserve-3d;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  will-change: transform;
}
.hero-card:hover {
  border-color: color-mix(in srgb, var(--hero-color) 60%, transparent);
  box-shadow: 0 26px 60px -28px color-mix(in srgb, var(--hero-color) 90%, transparent), var(--shadow-card);
}
.hero-card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 30%), color-mix(in srgb, var(--hero-color) 28%, transparent), transparent 62%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.hero-card:hover .hero-card-glow { opacity: 1; }

.hero-card-frame {
  position: absolute;
  inset: 8px;
  border: 1px solid color-mix(in srgb, var(--hero-color) 25%, transparent);
  border-radius: calc(var(--radius-lg) - 6px);
  pointer-events: none;
  opacity: 0.5;
}

.hero-card-art {
  position: relative;
  display: grid;
  place-items: center;
  height: 190px;
  background:
    radial-gradient(ellipse at 50% 90%, color-mix(in srgb, var(--hero-color) 30%, transparent), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
  overflow: hidden;
}
.hero-sigil {
  transition: transform 0.6s var(--ease), filter 0.5s var(--ease);
  filter: drop-shadow(0 0 14px color-mix(in srgb, var(--hero-color) 55%, transparent));
}
.hero-card:hover .hero-sigil { transform: scale(1.12) rotate(6deg); }
.hero-sigil-ring { transform-origin: 50% 50%; animation: spin 24s linear infinite; }

/* Resmi portreler 128x128 ikon — dairesel madalyon olarak gösteriliyor */
.hero-card-photo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 116px;
  height: 116px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-500);
  box-shadow:
    0 0 0 4px rgba(4, 8, 22, 0.85),
    0 0 26px -4px color-mix(in srgb, var(--hero-color) 90%, transparent),
    0 10px 26px -10px rgba(0, 0, 0, 0.9);
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease);
  background: var(--navy-850);
}
.hero-card:hover .hero-card-photo {
  transform: translate(-50%, -50%) scale(1.09);
  box-shadow:
    0 0 0 4px rgba(4, 8, 22, 0.85),
    0 0 38px -2px color-mix(in srgb, var(--hero-color) 100%, transparent),
    0 14px 30px -10px rgba(0, 0, 0, 0.9);
}

.hero-card-lane {
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.hero-card-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 23px;
  padding: 0.26rem 0.55rem 0.22rem;
  font-family: var(--font-ui);
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.1em;
  text-indent: 0.1em;
  color: #0a0f1e;
  background: linear-gradient(135deg, var(--gold-200), var(--gold-500) 55%, var(--gold-700));
  border: 1px solid var(--gold-300);
  border-radius: 2px;
  box-shadow: 0 2px 10px -2px rgba(245, 196, 81, 0.8);
  white-space: nowrap;
}

.hero-card-body { position: relative; padding: 1rem 1.3rem 0; }
.hero-card-roles { display: flex; gap: 0.35rem; flex-wrap: wrap; margin-bottom: 0.7rem; }
.hero-card-body h3 { margin: 0 0 0.15rem; font-size: 1.28rem; }
.hero-card-title { font-size: 0.86rem; color: var(--text-dim); margin-bottom: 0.9rem; }

.hero-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
}
.difficulty { display: inline-flex; gap: 4px; }
.difficulty i {
  width: 9px; height: 9px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: rgba(255, 255, 255, 0.12);
}
.difficulty i.on {
  background: var(--gold-500);
  box-shadow: 0 0 8px rgba(245, 196, 81, 0.8);
}
.hero-card-cta {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-400);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.hero-card:hover .hero-card-cta { opacity: 1; transform: none; }
.hero-card.is-compact .hero-card-art { height: 130px; }

/* =========================================================
   Filtre çubuğu
   ========================================================= */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 1.3rem;
}
.filter-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1 1 240px;
  color: var(--text-dim);
}
.filter-search svg { position: absolute; left: 14px; pointer-events: none; }
.filter-search input { padding-left: 2.7rem; }

.filter-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chip {
  padding: 0.42rem 0.95rem;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.28s var(--ease);
}
.chip:hover { border-color: var(--line-gold); color: var(--gold-300); }
.chip.is-active {
  color: #0a0f1e;
  background: var(--chip-color, var(--gold-500));
  border-color: transparent;
  box-shadow: 0 0 18px -4px var(--chip-color, var(--gold-500));
}
.filter-selects { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; }
.filter-selects select { min-width: 168px; }

/* =========================================================
   Kahraman detay
   ========================================================= */

.hero-detail-head { position: relative; padding: 2.4rem 0 3rem; overflow: hidden; }
.hero-detail-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 78% 30%, color-mix(in srgb, var(--hero-color) 26%, transparent), transparent 66%),
    radial-gradient(700px 400px at 10% 0%, rgba(245, 196, 81, 0.12), transparent 60%);
  pointer-events: none;
}
.hero-detail-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.hero-detail-copy h1 { margin: 1rem 0 0.2rem; }
.hero-detail-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
}
.hero-detail-copy .row { margin-top: 1.6rem; }

/* Çerçeve bileşeni kendi arka planını ve kenarlığını taşır; burası sadece kap */
.hero-detail-stage { position: relative; }

.hero-detail-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 2.4rem;
  align-items: start;
}

.skill-list { display: flex; flex-direction: column; gap: 1rem; }
.skill-card {
  display: flex;
  gap: 1.2rem;
  padding: 1.3rem 1.5rem;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.skill-card:hover { transform: translateX(6px); border-color: var(--line-gold); }
.skill-key {
  flex: none;
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--gold-300);
  background: linear-gradient(145deg, rgba(245, 196, 81, 0.2), rgba(30, 111, 242, 0.14));
  border: 1px solid var(--line-gold);
  border-radius: 14px;
  box-shadow: inset 0 0 18px rgba(245, 196, 81, 0.14);
}
.skill-card h3 { margin: 0; font-size: 1.12rem; }
.skill-card p { margin: 0; font-size: 0.94rem; }

/* Kaynak/eksik veri bilgilendirmeleri */
.source-note { margin-bottom: 1.2rem; font-size: 0.9rem; }
.skill-missing { color: var(--text-dim); font-style: italic; font-size: 0.9rem; margin: 0; }
.build-default-note {
  margin: 0.4rem 0 0.6rem;
  font-size: 0.86rem;
  color: var(--text-dim);
  border-left: 2px solid var(--line-gold);
  padding-left: 0.7rem;
}

.result-sub { font-style: normal; color: var(--text-dim); font-size: 0.82rem; }

.build-panel { padding: 1.6rem; }
.build-head { margin-bottom: 1.4rem; }
.build-sub { margin: 0; font-size: 0.92rem; }
.build-sub strong { color: var(--gold-300); }

.item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.8rem;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: item;
}
.item-slot {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  background: rgba(4, 8, 22, 0.65);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.item-slot:hover { border-color: var(--line-gold); transform: translateY(-3px); }
.item-index {
  position: absolute;
  top: 6px; right: 9px;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  color: var(--text-dim);
}
.item-gem {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 7px;
  background: linear-gradient(140deg, var(--gold-300), var(--gold-700));
  box-shadow: 0 0 12px -2px rgba(245, 196, 81, 0.8);
}
.item-name { font-size: 0.88rem; font-weight: 600; color: var(--text-soft); line-height: 1.3; }

.tips-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.9rem; }
.tips-list li {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: rgba(10, 18, 44, 0.5);
  border-left: 2px solid var(--gold-600);
  border-radius: 0 12px 12px 0;
}
.tip-num { font-family: var(--font-display); color: var(--gold-500); font-size: 1.05rem; flex: none; }
.tips-list p { margin: 0; font-size: 0.94rem; }

.hero-detail-side { display: flex; flex-direction: column; gap: 1.2rem; position: sticky; top: calc(var(--nav-h) + 1.2rem); }
.stat-panel, .relation-panel { padding: 1.4rem 1.5rem; }
.stat-panel h3, .relation-panel h3 { font-size: 1.05rem; margin-bottom: 1.1rem; }

.stat-row { display: grid; grid-template-columns: 88px 1fr 34px; gap: 0.7rem; align-items: center; margin-bottom: 0.7rem; }
.stat-name { font-size: 0.8rem; color: var(--text-dim); font-family: var(--font-ui); letter-spacing: 0.06em; }
.stat-bar {
  height: 7px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}
.stat-bar span {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--blue-600), var(--gold-500));
  box-shadow: 0 0 10px rgba(245, 196, 81, 0.5);
  animation: bar-grow 1.1s var(--ease);
}
@keyframes bar-grow { from { width: 0 !important; } }
.stat-val { font-family: var(--font-ui); font-size: 0.85rem; color: var(--gold-300); text-align: right; }
.stat-row-difficulty { grid-template-columns: 88px 1fr; padding-top: 0.6rem; border-top: 1px solid var(--line); }

.relation-hint { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 0.9rem; }
.relation-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.relation-chip {
  padding: 0.4rem 0.85rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--hero-color);
  background: color-mix(in srgb, var(--hero-color) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--hero-color) 38%, transparent);
  border-radius: 999px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.relation-chip:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--hero-color) 25%, transparent); color: #fff; }

@media (max-width: 900px) {
  .hero-detail-grid, .hero-detail-body { grid-template-columns: 1fr; }
  .hero-detail-side { position: static; }
}

/* =========================================================
   Turnuvalar
   ========================================================= */

.banner-aurora { background: linear-gradient(120deg, #0b1c48 0%, #123a8a 45%, #35d0ff 100%); }
.banner-imperial { background: linear-gradient(120deg, #12060a 0%, #5b3a08 50%, #f5c451 100%); }
.banner-abyss { background: linear-gradient(120deg, #05060f 0%, #1a1040 55%, #7b3fe4 100%); }
.banner-ember { background: linear-gradient(120deg, #170606 0%, #7a1f1f 50%, #ff8a3d 100%); }
.banner-jade { background: linear-gradient(120deg, #031712 0%, #0c4d3a 55%, #5ce6a8 100%); }
.banner-nebula { background: linear-gradient(120deg, #0a0620 0%, #3b1560 45%, #ff8fd0 100%); }
.banner-steel { background: linear-gradient(120deg, #0a0d14 0%, #232b3d 55%, #8ab4ff 100%); }
.banner-mythic { background: linear-gradient(120deg, #0b1c48 0%, #7b3fe4 40%, #f5c451 100%); }

.tour-card {
  display: block;
  height: 100%;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.tour-card:hover {
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--tour-color) 55%, transparent);
  box-shadow: 0 26px 56px -26px color-mix(in srgb, var(--tour-color) 85%, transparent);
}

.tour-card-banner {
  position: relative;
  display: grid;
  place-items: center;
  height: 130px;
  overflow: hidden;
}
.tour-card-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(0, 0, 0, 0.7), transparent 62%),
    repeating-linear-gradient(115deg, transparent 0 22px, rgba(255, 255, 255, 0.05) 22px 24px);
}
.tour-format {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.tour-format-side { display: flex; gap: 4px; }
.tour-format-side i {
  width: 9px; height: 20px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
.tour-format em {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.85);
}
.tour-format-label {
  position: absolute;
  right: 14px; bottom: 10px;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.18);
  letter-spacing: 0.06em;
}

.tour-card-body { padding: 1.2rem 1.4rem 1.5rem; }
.tour-card-body h3 { margin: 0.8rem 0 1rem; font-size: 1.2rem; line-height: 1.25; }

.tour-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; margin: 0 0 1.2rem; }
.tour-facts dt {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 3px;
}
.tour-facts dd { margin: 0; font-size: 0.88rem; font-weight: 600; color: var(--text); }

.tour-slots-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.tour-slots-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--tour-color), var(--gold-300));
  box-shadow: 0 0 10px color-mix(in srgb, var(--tour-color) 70%, transparent);
}
.tour-slots-text { font-size: 0.8rem; color: var(--text-dim); }
.tour-slots-text em { color: var(--gold-400); font-style: normal; }

/* Öne çıkan turnuva */
.spotlight {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
  gap: 2rem;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  align-items: center;
  overflow: hidden;
}
.spotlight-glow {
  position: absolute;
  inset: -40% 40% auto -20%;
  height: 160%;
  background: radial-gradient(circle, color-mix(in srgb, var(--tour-color) 28%, transparent), transparent 62%);
  filter: blur(50px);
  pointer-events: none;
}
.spotlight-copy { position: relative; }
.spotlight-copy h2 { margin: 0.8rem 0 0.6rem; }
.spotlight-facts { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 1.4rem; }
.spotlight-facts span {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.spotlight-facts strong { font-family: var(--font-display); font-size: 1.2rem; }

.spotlight-countdown {
  position: relative;
  text-align: center;
  padding: 1.4rem;
  background: rgba(4, 8, 22, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.countdown-label {
  font-family: var(--font-ui);
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.9rem;
}

.countdown { display: flex; gap: 0.5rem; justify-content: center; margin-bottom: 1.2rem; }
.countdown-cell {
  min-width: 62px;
  padding: 0.6rem 0.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-gold);
  border-radius: 10px;
}
.countdown-cell strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-300);
  line-height: 1;
}
.countdown-cell span {
  font-family: var(--font-ui);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.countdown.is-compact .countdown-cell { min-width: 54px; padding: 0.4rem 0.3rem; }
.countdown.is-compact strong { font-size: 1.2rem; }
.countdown-done { font-family: var(--font-ui); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-400); }

@media (max-width: 820px) {
  .spotlight { grid-template-columns: 1fr; }
}

/* Format sekmeleri */
.format-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 0.4rem;
  background: rgba(8, 14, 34, 0.6);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 0.9rem;
}
.format-tab {
  flex: 1 1 130px;
  padding: 0.8rem 1rem;
  background: none;
  border: 0;
  border-radius: 10px;
  color: var(--text-soft);
  font-family: var(--font-ui);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.format-tab strong { font-size: 1rem; letter-spacing: 0.06em; }
.format-tab:hover { background: rgba(255, 255, 255, 0.05); color: var(--gold-300); }
.format-tab.is-active {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-700));
  color: #0a0f1e;
  box-shadow: 0 0 22px -6px rgba(245, 196, 81, 0.8);
}
.format-desc { font-size: 0.92rem; color: var(--text-dim); margin-bottom: 1.4rem; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; list-style: none; padding: 0; margin: 0; }
.steps li {
  padding: 1.6rem 1.4rem;
  background: rgba(10, 18, 44, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.steps li:hover { border-color: var(--line-gold); transform: translateY(-5px); }
.step-num { font-family: var(--font-display); font-size: 1.8rem; display: block; margin-bottom: 0.4rem; }
.steps h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.steps p { margin: 0; font-size: 0.9rem; }

/* Turnuva detay */
.tour-hero { position: relative; padding: 2.4rem 0 2.8rem; overflow: hidden; }
.tour-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 6, 14, 0.55), rgba(4, 6, 14, 0.92)),
    repeating-linear-gradient(115deg, transparent 0 26px, rgba(255, 255, 255, 0.04) 26px 28px);
}
.tour-hero-inner { position: relative; }
.tour-hero-inner h1 { margin: 1rem 0 1.4rem; }

.tour-hero-facts { display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; }
.tour-hero-facts span {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.tour-hero-facts strong { font-family: var(--font-display); font-size: 1.08rem; }
.tour-hero-countdown { margin-top: 1.8rem; }
.tour-hero-countdown .countdown { justify-content: flex-start; margin-bottom: 0; }

.tabs {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
}
.tab {
  position: relative;
  padding: 0.9rem 1.4rem;
  background: none;
  border: 0;
  color: var(--text-soft);
  font-family: var(--font-ui);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s var(--ease);
}
.tab::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-500), var(--cyan-400));
  transform: scaleX(0);
  transition: transform 0.35s var(--ease);
}
.tab:hover { color: var(--gold-300); }
.tab.is-active { color: var(--gold-400); }
.tab.is-active::after { transform: scaleX(1); }

.tour-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2rem; align-items: start; }
.tour-panel { padding: 1.8rem; }
.tour-panel h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.tour-panel h3 { font-size: 1.15rem; margin: 1.8rem 0 0.8rem; }

.check-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.check-list li { position: relative; padding-left: 1.8rem; font-size: 0.95rem; color: var(--text-soft); }
.check-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--gold-500);
  font-size: 0.75rem;
  top: 3px;
}

.rules-list { list-style: none; padding: 0; margin: 0; counter-reset: rule; display: flex; flex-direction: column; gap: 0.9rem; }
.rules-list li { display: flex; gap: 1rem; padding: 0.9rem 1.1rem; background: rgba(4, 8, 22, 0.5); border-radius: 12px; border-left: 2px solid var(--gold-600); }
.rule-num { font-family: var(--font-display); color: var(--gold-500); flex: none; }
.rules-list p { margin: 0; font-size: 0.94rem; }

.team-list { display: flex; flex-direction: column; gap: 0.8rem; }
.team-row {
  display: flex;
  gap: 1.1rem;
  padding: 1rem 1.2rem;
  background: rgba(4, 8, 22, 0.5);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.3s var(--ease);
}
.team-row:hover { border-color: var(--line-gold); }
.team-row.is-mine { border-color: var(--gold-500); background: rgba(245, 196, 81, 0.06); }
.team-seed { font-family: var(--font-display); color: var(--gold-500); font-size: 1.1rem; flex: none; }
.team-info h3 { font-size: 1.05rem; margin: 0 0 0.5rem; display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.team-tag { font-style: normal; color: var(--cyan-400); font-family: var(--font-ui); }
.team-members { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; }
.team-members li { font-size: 0.88rem; color: var(--text-soft); display: inline-flex; align-items: center; gap: 5px; }
.team-members em { font-style: normal; font-size: 0.76rem; color: var(--text-dim); }
.captain-mark { color: var(--gold-500); }

.tour-side { display: flex; flex-direction: column; gap: 1.2rem; position: sticky; top: calc(var(--nav-h) + 1.2rem); }
.tour-register, .tour-side-facts { padding: 1.5rem; }
.tour-register h3, .tour-side-facts h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.tour-side-facts dl { margin: 0; }
.tour-side-facts dl > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}
.tour-side-facts dl > div:last-child { border-bottom: 0; }
.tour-side-facts dt { font-size: 0.85rem; color: var(--text-dim); }
.tour-side-facts dd { margin: 0; font-size: 0.9rem; font-weight: 600; color: var(--gold-300); }

.team-form-intro { font-size: 0.88rem; padding-bottom: 0.8rem; border-bottom: 1px solid var(--line); margin-bottom: 1.2rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.member-fieldset {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  margin: 0 0 1.2rem;
}
.member-fieldset legend {
  padding: 0 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-400);
}

@media (max-width: 940px) {
  .tour-body { grid-template-columns: 1fr; }
  .tour-side { position: static; }
}
@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; }
}

/* Fikstür */
.bracket-scroll { overflow-x: auto; padding: 1.4rem 0 0.4rem; }
.bracket { display: flex; gap: 2rem; min-width: min-content; }
.bracket-round { display: flex; flex-direction: column; min-width: 200px; }
.bracket-round-title {
  font-family: var(--font-ui);
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 1rem;
  text-align: center;
}
.bracket-matches { display: flex; flex-direction: column; justify-content: space-around; gap: 1rem; flex: 1; }
.bracket-match {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px;
  background: rgba(4, 8, 22, 0.6);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.bracket-match.is-busy { opacity: 0.5; }
.bracket-slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  padding: 0.55rem 0.7rem;
  background: rgba(255, 255, 255, 0.03);
  border: 0;
  border-radius: 7px;
  color: var(--text-soft);
  font-family: var(--font-ui);
  font-size: 0.88rem;
  text-align: left;
  cursor: default;
}
.bracket-slot.is-clickable { cursor: pointer; }
.bracket-slot.is-clickable:hover { background: rgba(245, 196, 81, 0.12); color: var(--gold-200); }
.bracket-slot.is-winner { background: rgba(245, 196, 81, 0.16); color: var(--gold-200); font-weight: 700; }
.bracket-slot.is-loser { opacity: 0.45; }
.bracket-team { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bracket-check { color: var(--gold-500); }
.bracket-score {
  position: absolute;
  right: -8px; top: 50%;
  transform: translate(100%, -50%);
  font-size: 0.76rem;
  color: var(--text-dim);
}
.bracket-champion { justify-content: center; }
.champion-card {
  display: grid;
  place-items: center;
  gap: 0.4rem;
  padding: 1.6rem 1.2rem;
  background: linear-gradient(160deg, rgba(245, 196, 81, 0.18), rgba(4, 8, 22, 0.8));
  border: 1px solid var(--gold-500);
  border-radius: 14px;
  box-shadow: 0 0 40px -12px rgba(245, 196, 81, 0.8);
}
.champion-crown { font-size: 2rem; color: var(--gold-400); }
.champion-card strong { font-family: var(--font-display); font-size: 1.1rem; text-align: center; }

/* =========================================================
   Giriş / Kayıt
   ========================================================= */

.auth-page { position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 4rem; overflow: hidden; }
.auth-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.auth-orb-1 { width: 460px; height: 460px; top: -140px; left: -120px; background: radial-gradient(circle, rgba(30, 111, 242, 0.4), transparent 68%); }
.auth-orb-2 { width: 400px; height: 400px; bottom: -160px; right: -100px; background: radial-gradient(circle, rgba(245, 196, 81, 0.28), transparent 68%); }

.auth-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.auth-story-title { font-size: clamp(2rem, 4.4vw, 3.4rem); margin: 0.6rem 0 1rem; }
.auth-highlights { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-direction: column; gap: 0.8rem; }
.auth-highlights li { display: flex; align-items: center; gap: 0.8rem; color: var(--text-soft); font-size: 0.98rem; }
.auth-check {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  flex: none;
  color: var(--gold-400);
  background: rgba(245, 196, 81, 0.12);
  border: 1px solid var(--line-gold);
  border-radius: 8px;
}
.auth-emblem { margin-top: 2.4rem; opacity: 0.75; }
.auth-emblem-ring { transform-origin: 50% 50%; animation: spin 40s linear infinite; }

.auth-card { padding: clamp(1.8rem, 4vw, 2.6rem); }
.auth-form-title { font-size: 1.9rem; margin-bottom: 1.6rem; }
.auth-switch { margin: 1.4rem 0 0; text-align: center; font-size: 0.92rem; }
.auth-back { text-align: center; margin-top: 2.4rem; font-size: 0.9rem; }

.pw-meter { display: flex; align-items: center; gap: 0.8rem; margin-top: 0.6rem; }
.pw-bar { flex: 1; height: 5px; background: rgba(255, 255, 255, 0.1); border-radius: 3px; overflow: hidden; }
.pw-bar span { display: block; height: 100%; border-radius: 3px; transition: width 0.35s var(--ease), background 0.35s var(--ease); }
.pw-bar .level-0 { background: #ff5f6d; }
.pw-bar .level-1 { background: #ff9a3d; }
.pw-bar .level-2 { background: #f5c451; }
.pw-bar .level-3 { background: #9be77e; }
.pw-bar .level-4 { background: #5ce6a8; }
.pw-label { font-size: 0.8rem; color: var(--text-dim); min-width: 74px; }

@media (max-width: 900px) {
  .auth-grid { grid-template-columns: 1fr; }
  .auth-emblem { display: none; }
}

/* =========================================================
   Profil
   ========================================================= */

.profile-page { padding-bottom: 3rem; }
.profile-banner { position: relative; height: clamp(180px, 26vw, 300px); overflow: hidden; }
.profile-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 6, 14, 0.25), rgba(4, 6, 14, 0.92));
}
.profile-banner-pattern {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, transparent 0 28px, rgba(255, 255, 255, 0.05) 28px 30px);
  mask-image: linear-gradient(180deg, #000, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent);
}

.profile-head {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: -70px;
  position: relative;
  z-index: 2;
  padding-bottom: 2rem;
}
.profile-identity { display: flex; gap: 1.5rem; align-items: flex-end; flex-wrap: wrap; }
.profile-avatar-wrap { position: relative; flex: none; }
.profile-avatar { border-width: 4px; border-color: rgba(4, 6, 14, 0.9); }
.profile-avatar-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid var(--profile-accent, var(--gold-500));
  opacity: 0.6;
  animation: pulse-ring 3.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes pulse-ring { 50% { transform: scale(1.06); opacity: 0.2; } }

.profile-names h1 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-bottom: 0.15rem; }
.profile-handle { font-family: var(--font-ui); color: var(--text-dim); margin-bottom: 0.8rem; }

.profile-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.8rem;
  align-items: start;
}
.profile-main, .profile-side { display: flex; flex-direction: column; gap: 1.4rem; }
.profile-card { padding: 1.6rem 1.7rem; }
.profile-card h2 { font-size: 1.3rem; margin-bottom: 1rem; }
.profile-card h3 { font-size: 1.05rem; margin-bottom: 1rem; }

.profile-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 1.2rem; }
.profile-stats > div { text-align: center; }
.profile-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1.1;
}
.profile-stats span {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.fav-heroes { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 0.8rem; }
.fav-hero {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0.9rem;
  background: color-mix(in srgb, var(--hero-color) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--hero-color) 32%, transparent);
  border-radius: 12px;
  transition: transform 0.3s var(--ease);
}
.fav-hero:hover { transform: translateY(-3px); }
.fav-hero-orb {
  width: 30px; height: 30px;
  flex: none;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--hero-color) 60%, #05060f);
  box-shadow: 0 0 12px color-mix(in srgb, var(--hero-color) 60%, transparent);
}
.fav-hero strong { display: block; font-size: 0.95rem; color: var(--text); }
.fav-hero em { font-style: normal; font-size: 0.76rem; color: var(--text-dim); }

.history-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.history-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.85rem 1rem;
  background: rgba(4, 8, 22, 0.5);
  border-radius: 10px;
  border-left: 2px solid var(--profile-accent, var(--gold-500));
}
.history-list em { display: block; font-style: normal; font-size: 0.82rem; color: var(--text-dim); }

.info-list { margin: 0; }
.info-list > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid var(--line); }
.info-list > div:last-child { border-bottom: 0; }
.info-list dt { font-size: 0.85rem; color: var(--text-dim); }
.info-list dd { margin: 0; font-size: 0.9rem; font-weight: 600; }

.badge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 0.7rem; }
.badge {
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 0.9rem 0.5rem;
  background: linear-gradient(160deg, rgba(245, 196, 81, 0.14), rgba(4, 8, 22, 0.7));
  border: 1px solid var(--line-gold);
  border-radius: 12px;
  text-align: center;
}
.badge span { font-size: 1.4rem; color: var(--gold-400); }
.badge strong { font-family: var(--font-ui); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; }

.social-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.9rem; color: var(--text-soft); }

@media (max-width: 900px) {
  .profile-body { grid-template-columns: 1fr; }
  .profile-head { margin-top: -50px; }
}

/* =========================================================
   Ayarlar
   ========================================================= */

.settings-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  padding-bottom: 3rem;
}
.settings-nav {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  position: sticky;
  top: calc(var(--nav-h) + 1.2rem);
  padding: 0.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.settings-nav-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 0.9rem;
  background: none;
  border: 0;
  border-radius: 10px;
  color: var(--text-soft);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.28s var(--ease);
}
.settings-nav-item:hover { background: rgba(255, 255, 255, 0.05); color: var(--gold-300); }
.settings-nav-item.is-active {
  background: linear-gradient(135deg, rgba(245, 196, 81, 0.2), rgba(30, 111, 242, 0.12));
  color: var(--gold-300);
  box-shadow: inset 2px 0 0 var(--gold-500);
}
.settings-nav-link { margin-top: 0.5rem; border-top: 1px solid var(--line); padding-top: 1rem; }

.settings-content { display: flex; flex-direction: column; gap: 1.4rem; }
.settings-card { padding: 1.7rem; }
.settings-card h2 { font-size: 1.35rem; margin-bottom: 1.4rem; padding-bottom: 0.7rem; border-bottom: 1px solid var(--line); }
.settings-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.4rem; }

.settings-preview { overflow: hidden; }
.settings-preview-banner { height: 90px; }
.settings-preview-body {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 1.4rem 1.2rem;
  margin-top: -32px;
}
.settings-preview-body strong { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.settings-preview-body span { font-size: 0.84rem; color: var(--text-dim); }
.settings-preview-body .tag { margin-left: auto; }

.banner-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 0.7rem; }
.banner-option {
  position: relative;
  height: 66px;
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.banner-option span {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 4px 8px;
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
}
.banner-option:hover { transform: translateY(-3px); }
.banner-option.is-active { border-color: var(--gold-400); box-shadow: 0 0 18px -4px rgba(245, 196, 81, 0.9); }

.accent-picker { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.accent-option {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: var(--c);
  cursor: pointer;
  box-shadow: 0 0 12px -2px var(--c);
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease);
}
.accent-option:hover { transform: scale(1.12); }
.accent-option.is-active { border-color: #fff; transform: scale(1.15); }
.accent-custom { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--text-dim); cursor: pointer; }
.accent-custom input { width: 42px; height: 38px; padding: 2px; border-radius: 10px; background: none; border: 1px solid var(--line); cursor: pointer; }

.theme-picker { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.7rem; }
.theme-option {
  padding: 1rem;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  color: var(--text-soft);
  transition: all 0.3s var(--ease);
}
.theme-option[data-theme-preview='midnight'] { background: linear-gradient(140deg, #060a1a, #123a8a); }
.theme-option[data-theme-preview='imperial'] { background: linear-gradient(140deg, #14090b, #6b3d0c); }
.theme-option[data-theme-preview='abyss'] { background: linear-gradient(140deg, #07061a, #3b1580); }
.theme-option strong { display: block; font-family: var(--font-ui); font-size: 1rem; color: var(--text); }
.theme-option em { font-style: normal; font-size: 0.8rem; color: var(--text-dim); }
.theme-option:hover { transform: translateY(-3px); }
.theme-option.is-active { border-color: var(--gold-400); box-shadow: 0 0 18px -4px rgba(245, 196, 81, 0.8); }

.fav-picker { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.fav-pick {
  padding: 0.4rem 0.85rem;
  font-family: var(--font-ui);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.fav-pick:hover { border-color: var(--hero-color); color: var(--hero-color); }
.fav-pick.is-active {
  background: color-mix(in srgb, var(--hero-color) 22%, transparent);
  border-color: var(--hero-color);
  color: #fff;
}

.danger-zone { border-color: rgba(255, 95, 109, 0.3); }
.danger-zone h2 { border-bottom-color: rgba(255, 95, 109, 0.25); }

@media (max-width: 860px) {
  .settings-layout { grid-template-columns: 1fr; }
  .settings-nav { position: static; flex-direction: row; overflow-x: auto; }
  .settings-nav-item { white-space: nowrap; }
  .settings-nav-link { margin: 0; border-top: 0; padding-top: 0.75rem; }
}

/* =========================================================
   Sıralama
   ========================================================= */

.podium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: end;
  margin: 2rem 0 2.4rem;
}
.podium-slot.is-empty { display: none; }
.podium-slot a {
  display: grid;
  place-items: center;
  gap: 0.4rem;
  padding: 1.6rem 1rem;
  background: linear-gradient(170deg, color-mix(in srgb, var(--profile-accent, #f5c451) 16%, transparent), rgba(6, 10, 26, 0.9));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.podium-slot a:hover { transform: translateY(-6px); border-color: var(--line-gold); box-shadow: 0 20px 44px -22px rgba(245, 196, 81, 0.8); }
.podium-slot.rank-1 a { padding: 2.4rem 1rem; border-color: var(--gold-500); box-shadow: 0 0 40px -14px rgba(245, 196, 81, 0.9); }
.podium-rank {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  font-family: var(--font-display);
  font-weight: 900;
  color: #0a0f1e;
  background: linear-gradient(140deg, var(--gold-300), var(--gold-700));
  border-radius: 50%;
}
.podium-slot strong { font-family: var(--font-display); font-size: 1.1rem; color: var(--text); }
.podium-handle { font-size: 0.8rem; color: var(--text-dim); }
.podium-points { font-family: var(--font-ui); font-weight: 700; }

.table-wrap { overflow-x: auto; padding: 0.4rem; }
.rank-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.rank-table th {
  padding: 0.9rem 1rem;
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.rank-table td { padding: 0.8rem 1rem; border-bottom: 1px solid rgba(120, 160, 255, 0.08); font-size: 0.92rem; vertical-align: middle; }
.rank-table tbody tr { transition: background 0.25s var(--ease); }
.rank-table tbody tr:hover { background: rgba(245, 196, 81, 0.05); }
.rank-num { font-family: var(--font-display); color: var(--text-dim); width: 50px; }
.rank-player { display: flex; align-items: center; gap: 0.7rem; }
.rank-player strong { display: block; font-size: 0.95rem; color: var(--text); }
.rank-player em { font-style: normal; font-size: 0.78rem; color: var(--text-dim); }
.rank-points { font-family: var(--font-display); font-size: 1.05rem; }

@media (max-width: 640px) {
  .podium { grid-template-columns: 1fr; }
}

/* =========================================================
   Hakkımızda
   ========================================================= */

.about-card { position: relative; padding: 2rem 1.9rem; height: 100%; }
.about-card-num { font-family: var(--font-display); font-size: 1.1rem; }
.about-card h2 { font-size: 1.3rem; margin: 0.5rem 0 0.7rem; }
.about-card p { margin: 0; font-size: 0.95rem; }

.timeline { list-style: none; padding: 0 0 0 2rem; margin: 0; position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold-500), var(--blue-600), transparent);
}
.timeline li { position: relative; padding: 0 0 2rem 1.2rem; }
.timeline-dot {
  position: absolute;
  left: -2rem; top: 6px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--navy-900);
  border: 2px solid var(--gold-500);
  box-shadow: 0 0 12px rgba(245, 196, 81, 0.7);
}
.timeline-year {
  font-family: var(--font-ui);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-500);
}
.timeline h3 { font-size: 1.2rem; margin: 0.3rem 0 0.4rem; }
.timeline p { margin: 0; font-size: 0.94rem; }

.faq { display: flex; flex-direction: column; gap: 0.8rem; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-300); background: rgba(245, 196, 81, 0.05); }
.faq-icon {
  position: relative;
  flex: none;
  width: 16px; height: 16px;
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 0;
  width: 16px; height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-item p { padding: 0 1.5rem 1.4rem; margin: 0; font-size: 0.95rem; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  margin: 2rem 0;
}
.contact-grid > div {
  padding: 1.1rem;
  background: rgba(4, 8, 22, 0.5);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.contact-grid span {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.contact-grid strong { font-size: 0.98rem; color: var(--gold-300); }

/* =========================================================
   CTA & 404
   ========================================================= */

.cta-panel {
  position: relative;
  padding: clamp(2.4rem, 6vw, 4.4rem) clamp(1.6rem, 5vw, 3.5rem);
  text-align: center;
  overflow: hidden;
}
.cta-panel .lead { margin-inline: auto; margin-bottom: 2rem; }
.cta-shine {
  position: absolute;
  inset: -60% -20% auto;
  height: 200%;
  background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(245, 196, 81, 0.12) 40deg, transparent 90deg, transparent 270deg, rgba(53, 208, 255, 0.1) 310deg, transparent 360deg);
  animation: rays 40s linear infinite;
  pointer-events: none;
}

.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound-inner { max-width: 560px; margin-inline: auto; }
.notfound-code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 16vw, 10rem);
  font-weight: 900;
  line-height: 1;
  margin: 0;
}
.notfound h1 { margin: 0 0 1rem; }
.notfound .lead { margin-inline: auto; margin-bottom: 2rem; }
