/* ==========================================================================
   Karos Legacy — site.css
   İki tasarım dilinin sentezi:
     · İSKELET + ATMOSFER  → pazarlama sitesi (sinematik kahraman, geniş nefes,
       Georgia serif display başlıklar, ince altın saç çizgileri, keskin kenarlı
       tam-genişlik bantlar)
     · FONKSİYONEL YÜZEY   → Karos Wiki (mor-siyah zemin, 12/16/9 yarıçaplı kart
       bileşenleri, --ease geçiş eğrisi, mor odak halkası, rozet/çip/tablo dili,
       özel scrollbar, nadirlik renk skalası)
   Köprü renk ALTIN: iki dosyada da vardı, birincil vurgu olarak kalıyor.
   MOR ikincil vurgu: odak, hover, degrade, kategori çipleri.
   Sıfır bağımlılık: dış stil, dış font ve dış kaynak yüklemesi yoktur.
   ========================================================================== */

:root {
  /* --- zemin: wiki'nin mor-siyahı --- */
  --ink: #0a0713;
  --ink-2: #100b1f;
  --panel: #161029;
  --panel-2: #1f1739;
  --panel-3: #271d47;

  /* --- çizgiler: wiki'nin mor hatları + pazarlamanın altın saç çizgisi --- */
  --line: #2c2450;
  --line-2: #3a2f66;
  --hair: rgba(232, 193, 90, 0.16);
  --hair-strong: rgba(232, 193, 90, 0.38);

  /* --- köprü renk: ALTIN (birincil vurgu) --- */
  --gold: #e8c15a;
  --gold-2: #f5d97a;

  /* --- ikincil vurgu: MOR --- */
  --purple: #a855f7;
  --purple-2: #c084fc;
  --blue: #3b82f6;
  --blue-2: #60a5fa;

  /* --- metin --- */
  --text: #eae7f6;
  --ivory: #eae7f6;
  --muted: #9a92b8;
  --muted-2: #b4adcd;

  /* --- durum --- */
  --green: #33d17a;
  --red: #ff5c6c;
  --amber: #f0a83a;

  /* --- nadirlik skalası (wiki) --- */
  --r0: #8b93a7;
  --r1: #3fbf6f;
  --r2: #4a90e2;
  --r3: #b45cf5;
  --r4: #f0a83a;

  /* --- ölçüler --- */
  --rad: 12px;
  --rad-lg: 16px;
  --rad-sm: 9px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ring: 0 0 0 3px rgba(168, 85, 247, 0.28);
  --shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 28px 70px rgba(0, 0, 0, 0.6);

  /* --- tipografi --- */
  --display: Georgia, "Times New Roman", "Nimbus Roman", serif;
  --sans: "Segoe UI", Roboto, system-ui, -apple-system, BlinkMacSystemFont,
    "Helvetica Neue", Arial, sans-serif;

  --shell: min(1420px, 100%);
  --pad-x: 5vw;
  --head-h: 88px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--ink);
  scroll-padding-top: calc(var(--head-h) + 1.5rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  background:
    radial-gradient(1200px 600px at 80% -10%, #1a1233 0, transparent 60%),
    radial-gradient(900px 520px at 5% 40%, rgba(70, 45, 18, 0.16), transparent 62%),
    var(--ink);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; -webkit-user-drag: none; }

button, a { color: inherit; font: inherit; }
button { border: 0; background: transparent; font-family: inherit; }
a { text-decoration: none; transition: color 0.14s var(--ease); }
button, a[href], input, select, textarea { -webkit-tap-highlight-color: transparent; }

/* wiki'nin mor odak halkası — tüm sitede tek odak dili */
:focus-visible {
  outline: 2px solid var(--purple-2);
  outline-offset: 2px;
  border-radius: 6px;
}

::selection { background: var(--gold); color: #1b1206; }

/* wiki'nin özel scrollbar'ı */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--panel-3); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--line-2); }
::-webkit-scrollbar-track { background: transparent; }
* { scrollbar-color: var(--panel-3) transparent; scrollbar-width: thin; }

/* SERİF DISPLAY = sinematik register (kahraman, bölüm başlıkları) */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.2; }
/* SANS 800 = fonksiyonel register (kart, panel, tablo başlıkları) */
.ui-title { font-family: var(--sans); font-weight: 800; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.is-hidden { display: none !important; }

/* mor→altın degrade metin. Sayfa başına EN FAZLA 1-2 kez. */
.grad {
  background: linear-gradient(90deg, var(--gold-2), var(--purple-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 1rem; left: 1rem;
  padding: 0.8rem 1.1rem;
  border-radius: var(--rad-sm);
  transform: translateY(-200%);
  background: var(--gold-2);
  color: #1b1206;
  font-size: 0.8rem;
  font-weight: 700;
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---------------------------------------------------------------- header */

.site-header {
  position: fixed;
  z-index: 100;
  top: 0; left: 0;
  width: 100%;
  height: var(--head-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 0 var(--pad-x);
  border-bottom: 1px solid var(--line);
  background: rgba(14, 10, 26, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.is-stuck {
  background: rgba(10, 7, 19, 0.96);
  border-bottom-color: var(--line-2);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.4);
}

.brand { width: max-content; display: inline-flex; align-items: center; gap: 0.8rem; }
.brand-mark {
  width: 42px; height: 42px;
  flex: 0 0 auto;
  border-radius: var(--rad-sm);
  background: url("/static/img/legacy-emblem.png") center / contain no-repeat;
}
.brand-name {
  display: block;
  font-family: var(--display);
  font-size: 1.02rem;
  letter-spacing: 0.16em;
  white-space: nowrap;
}
.brand-name b { color: var(--gold); font-weight: 400; }
.brand small {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.main-nav { display: flex; align-items: center; gap: clamp(1.3rem, 2.3vw, 2.8rem); }
.main-nav a, .text-action {
  position: relative;
  padding: 0.55rem 0;
  color: #cdc7e0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.18s var(--ease);
}
/* hover'da çizilen ince altın alt çizgi (pazarlama dili) */
.main-nav a::after {
  content: "";
  position: absolute;
  right: 0; bottom: 0; left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--gold), var(--purple));
  transition: transform 0.3s var(--ease);
}
.main-nav a:hover, .text-action:hover { color: var(--gold-2); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--gold-2); }

.header-actions { justify-self: end; display: flex; align-items: center; gap: 1rem; }

.header-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 1.25rem;
  border: 1px solid rgba(245, 217, 122, 0.55);
  border-radius: var(--rad-sm);
  background: linear-gradient(135deg, var(--gold-2), #b9862b);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.3);
  color: #1b1206;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.18s var(--ease), filter 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.header-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.3), 0 8px 24px rgba(232, 193, 90, 0.18);
}

.menu-toggle {
  position: relative;
  width: 42px; height: 40px;
  display: none;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--rad-sm);
  background: var(--panel);
  cursor: pointer;
  transition: border-color 0.15s var(--ease);
}
.menu-toggle:hover { border-color: var(--purple); }
.menu-toggle span {
  position: absolute;
  width: 20px; height: 1.5px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s var(--ease);
}
.menu-toggle span:first-child { transform: translateY(-4px); }
.menu-toggle span:last-child { transform: translateY(4px); }
.menu-toggle.is-open span:first-child { transform: rotate(45deg); }
.menu-toggle.is-open span:last-child { transform: rotate(-45deg); }

/* ------------------------------------------------------------------ hero */
/* Sinematik: tam genişlik, keskin kenar, büyük serif başlık. */

.hero {
  position: relative;
  min-height: 920px;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  padding: 160px var(--pad-x) 90px;
  background: var(--ink);
}

.hero-art {
  position: absolute;
  z-index: -3;
  inset: -6% 0;
  background-image: url("/static/img/karos-hero-no-text.webp");
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
  will-change: transform;
}

/* mor-siyah perde: wiki zeminine bağlanıyor */
.hero-veil {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(900px 520px at 82% 8%, rgba(168, 85, 247, 0.2), transparent 68%),
    linear-gradient(90deg, rgba(10, 7, 19, 0.96) 0%, rgba(10, 7, 19, 0.76) 36%,
      rgba(10, 7, 19, 0.24) 68%, rgba(10, 7, 19, 0.6) 100%),
    linear-gradient(180deg, rgba(10, 7, 19, 0.6) 0%, transparent 22%, transparent 60%, var(--ink) 100%);
}

.hero-noise {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-grid {
  width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.62fr);
  align-items: end;
  gap: clamp(3rem, 7vw, 8rem);
}

.hero-copy { max-width: 780px; }

/* wiki çip dili + canlı nokta */
.season-pill {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.7rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: rgba(22, 16, 41, 0.72);
  color: var(--muted-2);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.dot {
  width: 7px; height: 7px;
  flex: 0 0 auto;
  display: inline-block;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(51, 209, 122, 0.75);
}
.dot.is-off { background: var(--red); box-shadow: 0 0 12px rgba(255, 92, 108, 0.6); }
.dot.is-wait { background: var(--amber); box-shadow: 0 0 12px rgba(240, 168, 58, 0.6); }

.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.hero-wordmark {
  width: min(400px, 82%);
  margin: 0 0 1.4rem;
  filter: drop-shadow(0 10px 34px rgba(0, 0, 0, 0.65));
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.2rem, 7.4vw, 7.6rem);
  line-height: 0.84;
  letter-spacing: -0.05em;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.6);
}
.hero h1 em { font-style: italic; font-weight: 400; }

.hero-lead {
  max-width: 640px;
  margin: 1.9rem 0 0;
  color: var(--muted-2);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

/* ---------------------------------------------------------------- düğme */

.primary-button, .secondary-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  padding: 0 1.5rem;
  border-radius: var(--rad);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease),
    border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), filter 0.18s var(--ease);
}

.primary-button {
  min-width: 250px;
  justify-content: space-between;
  border: 1px solid rgba(245, 217, 122, 0.5);
  background: linear-gradient(135deg, var(--gold-2), #b9862b);
  box-shadow: 0 14px 38px rgba(140, 96, 20, 0.24), inset 0 1px rgba(255, 255, 255, 0.34);
  color: #1b1206;
}
.primary-button b { font-size: 1.02rem; }
.primary-button:hover {
  transform: translateY(-3px);
  filter: brightness(1.06);
  box-shadow: 0 18px 46px rgba(140, 96, 20, 0.3), inset 0 1px rgba(255, 255, 255, 0.34);
}
.primary-button:disabled, .secondary-button:disabled,
.primary-button[aria-disabled="true"] {
  opacity: 0.5; cursor: not-allowed; transform: none; filter: none;
}

.secondary-button {
  border: 1px solid var(--line-2);
  background: rgba(22, 16, 41, 0.6);
  color: var(--text);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.secondary-button:hover {
  transform: translateY(-3px);
  border-color: var(--purple);
  background: var(--panel-2);
  box-shadow: var(--shadow);
}

/* wiki'nin küçük nötr düğmesi */
.btn {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--rad-sm);
  background: var(--panel);
  color: var(--text);
  font-size: 0.82rem;
  cursor: pointer;
  transition: border-color 0.14s var(--ease), background 0.14s var(--ease);
}
.btn:hover { border-color: var(--purple); background: var(--panel-2); }
.btn.ghost { background: none; }

.hero-trust { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; }
.avatar-stack { display: flex; }
.avatar-stack span {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  margin-left: -8px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: linear-gradient(145deg, var(--panel-3), var(--panel));
  color: var(--gold-2);
  font-size: 0.56rem;
  font-weight: 800;
}
.avatar-stack span:first-child { margin-left: 0; }
.hero-trust p { margin: 0; color: var(--muted); font-size: 0.8rem; }
.hero-trust strong { color: var(--text); font-weight: 700; }

/* ----------------------------------------------------------- server card */
/* wiki kart yüzeyi: yarıçap, panel degradesi, mor hover */

.server-card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  border: 1px solid var(--line-2);
  border-radius: var(--rad-lg);
  background: linear-gradient(120deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow-lg);
}
.server-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 260px at 88% 6%, rgba(168, 85, 247, 0.24), transparent 70%);
  pointer-events: none;
}
.server-card > * { position: relative; }

.server-card-head, .event-kicker, .server-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.micro-label {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.server-card-head h2 { margin: 0.4rem 0 0; font-size: 1.2rem; color: var(--text); }

.online-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.75rem;
  border: 1px solid rgba(51, 209, 122, 0.32);
  border-radius: 20px;
  background: rgba(51, 209, 122, 0.09);
  color: #79e2a5;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.online-badge.is-off {
  border-color: rgba(255, 92, 108, 0.32);
  background: rgba(255, 92, 108, 0.09);
  color: #ff96a1;
}

.server-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 1.4rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.server-metrics div { padding: 1.2rem 0; }
.server-metrics div + div { padding-left: 1.3rem; border-left: 1px solid var(--line); }
.server-metrics strong {
  display: block;
  color: var(--gold-2);
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.server-metrics span { display: block; margin-top: 0.35rem; color: var(--muted); font-size: 0.68rem; }

.event-panel {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--rad);
  background: linear-gradient(135deg, rgba(232, 193, 90, 0.08), transparent 55%), rgba(10, 7, 19, 0.4);
}
.event-kicker { color: var(--muted); font-size: 0.64rem; }
.event-kicker b { color: var(--gold-2); font-weight: 600; }
.event-panel h3 { margin: 1.1rem 0 0.35rem; font-size: 1.45rem; }
.event-panel > p { margin: 0; color: var(--muted); font-size: 0.72rem; }

.countdown {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0.6rem;
  margin-top: 1.1rem;
}
.countdown div { text-align: center; }
.countdown strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.countdown span {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.countdown > i { color: var(--purple-2); font-family: var(--display); font-size: 1.7rem; font-style: normal; line-height: 0.95; }

.server-card-foot { padding-top: 1.1rem; color: var(--muted); font-size: 0.66rem; }
.server-card-foot span { display: flex; align-items: center; gap: 0.5rem; }
.server-card-foot b { color: var(--muted-2); font-weight: 600; }

.scroll-cue {
  position: absolute;
  right: var(--pad-x); bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.scroll-cue span { width: 1px; height: 48px; background: linear-gradient(var(--gold), transparent); }

/* ------------------------------------------------------------ statusrail */

.status-rail {
  width: min(1500px, 92%);
  min-height: 112px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  margin: -1px auto 0;
  border: 1px solid var(--line);
  border-radius: var(--rad-lg);
  background: linear-gradient(180deg, var(--panel), var(--ink-2));
  overflow: hidden;
}
.status-rail > div {
  min-height: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 1.8rem;
  border-right: 1px solid var(--line);
}
.status-rail > div:last-child { border-right: 0; }
.status-rail span {
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.status-rail strong {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.5rem;
  color: var(--text);
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 400;
}

/* --------------------------------------------------------------- section */

.section {
  position: relative;
  width: min(1420px, 90%);
  margin: 0 auto;
  padding: clamp(5rem, 8.5vw, 9.5rem) 0;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}
.section-heading h2, .world-intro h2, .guide-copy h2 {
  margin: 0;
  font-size: clamp(2.5rem, 4.4vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.section-heading h2 em, .world-intro h2 em { font-style: italic; color: var(--gold-2); }

/* wiki'nin ince çizgili küçük bölüm başlığı */
.sect-title { display: flex; align-items: center; gap: 0.85rem; margin: 0 0 1.1rem; }
.sect-title h2, .sect-title h3 { margin: 0; font-family: var(--sans); font-size: 1.05rem; font-weight: 800; letter-spacing: 0.01em; }
.sect-title .line { flex: 1; height: 1px; background: var(--line); }

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0 0 0.55rem;
  border-bottom: 1px solid var(--hair-strong);
  color: var(--muted-2);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.section-link span { color: var(--gold); transition: transform 0.2s var(--ease); }
.section-link:hover { color: var(--gold-2); border-bottom-color: var(--gold); }
.section-link:hover span { transform: translateX(4px); }

.news-section::before, .ranking-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 12%; left: 50%;
  width: 100vw; height: 40rem;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.09), transparent 64%);
  pointer-events: none;
}

/* ------------------------------------------------------------------ news */

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.8fr);
  gap: 1.2rem;
}

.featured-news {
  min-height: 540px;
  display: grid;
  grid-template-rows: 1.15fr 0.85fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--rad-lg);
  background: linear-gradient(180deg, var(--panel), var(--ink-2));
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.featured-news:hover { border-color: var(--purple); transform: translateY(-3px); box-shadow: var(--shadow); }

.featured-visual {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  background:
    linear-gradient(180deg, transparent 42%, var(--panel) 100%),
    url("/static/img/legacy-fortress.webp") center 44% / cover;
}

/* wiki rozet/çip dili */
.news-chip, .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: var(--panel-3);
  color: var(--text);
  font-size: 0.68rem;
  font-weight: 600;
  white-space: nowrap;
}
.news-chip { position: absolute; top: 1.1rem; left: 1.1rem; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); background: rgba(39, 29, 71, 0.82); color: var(--gold-2); letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.62rem; }
.badge.is-gold { color: var(--gold-2); border-color: rgba(232, 193, 90, 0.34); }
.badge.is-purple { color: var(--purple-2); }

.tag {
  display: inline-flex;
  padding: 0.2rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel-3);
  color: var(--purple-2);
  font-size: 0.72rem;
  transition: border-color 0.14s var(--ease), color 0.14s var(--ease);
}
.tag:hover { border-color: var(--purple); color: var(--gold-2); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  color: var(--muted);
  font-size: 0.74rem;
  white-space: nowrap;
}

.feature-number {
  position: absolute;
  right: 1rem; bottom: -1.6rem;
  color: rgba(232, 193, 90, 0.13);
  font-family: var(--display);
  font-size: 8.5rem;
  line-height: 1;
  pointer-events: none;
}

.featured-copy { position: relative; z-index: 1; padding: 1.8rem 2rem 2rem; }
.featured-copy time, .news-meta {
  color: var(--muted);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.featured-copy h3 { margin: 0.7rem 0; font-size: clamp(1.75rem, 2.7vw, 2.7rem); line-height: 1.08; }
.featured-copy h3 a { color: var(--text); }
.featured-copy h3 a:hover { color: var(--gold-2); }
.featured-copy p { max-width: 730px; margin: 0; color: var(--muted); line-height: 1.7; }

.read-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.2rem;
  color: var(--purple-2);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.read-link span { transition: transform 0.2s var(--ease); }
.read-link:hover { color: var(--gold-2); }
.read-link:hover span { transform: translateX(5px); }

.news-layout > .empty, .news-grid > .empty { grid-column: 1 / -1; }

.news-list { display: grid; grid-template-rows: 1fr 1fr; gap: 1.2rem; }

.news-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 1rem;
  padding: 1.7rem;
  border: 1px solid var(--line);
  border-radius: var(--rad-lg);
  background: linear-gradient(180deg, var(--panel), var(--ink-2));
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.news-item:hover { transform: translateY(-3px); border-color: var(--purple); box-shadow: var(--shadow); }
.news-index { color: rgba(232, 193, 90, 0.26); font-family: var(--display); font-size: 2.3rem; line-height: 1; }
.news-meta { display: flex; justify-content: space-between; gap: 1rem; }
.news-meta span { color: var(--gold); }
.news-item h3 { margin: 1rem 0 0.65rem; font-size: 1.55rem; line-height: 1.18; }
.news-item h3 a { color: var(--text); }
.news-item h3 a:hover { color: var(--gold-2); }
.news-item p { margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.65; }

/* ----------------------------------------------------------------- world */

.world-section {
  position: relative;
  width: 100%;
  max-width: none;
  overflow: hidden;
  padding-right: var(--pad-x);
  padding-left: var(--pad-x);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(10, 7, 19, 0.93), rgba(16, 11, 31, 0.97)),
    url("/static/img/karos-legacy-title.webp") center / cover fixed;
}

.world-intro {
  width: var(--shell);
  margin: 0 auto 3.5rem;
  display: grid;
  grid-template-columns: 0.55fr 1.25fr 0.65fr;
  align-items: end;
  gap: 3rem;
}
.world-intro .eyebrow { align-self: start; margin: 0; }
.world-intro > p:last-child { margin: 0; color: var(--muted); line-height: 1.7; }

.feature-grid {
  width: var(--shell);
  min-height: 580px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 1rem;
}

.feature-card {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 1.9rem;
  border: 1px solid var(--line);
  border-radius: var(--rad-lg);
  background: linear-gradient(180deg, var(--panel), var(--ink-2));
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.feature-card:hover { transform: translateY(-3px); border-color: var(--purple); box-shadow: var(--shadow); }
.feature-card-main {
  background:
    linear-gradient(180deg, rgba(10, 7, 19, 0.12), rgba(10, 7, 19, 0.97)),
    url("/static/img/legacy-fortress.webp") 50% center / cover;
}
.feature-label {
  position: absolute;
  top: 1.5rem; left: 1.7rem;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.feature-card h3 { position: relative; margin: 0 0 0.7rem; font-size: clamp(1.7rem, 2.7vw, 3rem); line-height: 1.05; }
.feature-card p { position: relative; max-width: 520px; margin: 0; color: var(--muted); line-height: 1.7; }
.feature-card ul { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.3rem 0 0; padding: 0; list-style: none; }
.feature-card li {
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: rgba(39, 29, 71, 0.55);
  color: var(--muted-2);
  font-size: 0.68rem;
}

.sigil {
  position: absolute;
  top: 19%; left: 50%;
  width: 148px; height: 148px;
  transform: translateX(-50%) rotate(45deg);
  border: 1px solid rgba(168, 85, 247, 0.28);
}
.sigil::before, .sigil::after, .sigil i {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(232, 193, 90, 0.18);
}
.sigil::after { inset: 42px; background: radial-gradient(circle, rgba(168, 85, 247, 0.22), transparent 65%); }
.sigil i { inset: 60px -8px; border-right: 0; border-left: 0; }
.sigil-market, .sigil-market::before { border-radius: 50%; }

/* --------------------------------------------------------------- ranking */

.ranking-heading { align-items: center; }
.ranking-tabs {
  display: flex;
  padding: 0.28rem;
  border: 1px solid var(--line);
  border-radius: var(--rad);
  background: var(--panel);
}
.ranking-tabs button {
  min-width: 92px;
  padding: 0.65rem 0.9rem;
  border-radius: var(--rad-sm);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.16s var(--ease), color 0.16s var(--ease);
}
.ranking-tabs button:hover { color: var(--text); background: var(--panel-2); }
.ranking-tabs button.is-active { background: var(--panel-3); color: var(--gold-2); }

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--rad-lg);
  background: var(--panel);
}

.ranking-table { min-width: 720px; }
.ranking-row {
  min-height: 78px;
  display: grid;
  grid-template-columns: 0.45fr 2fr 1fr 0.75fr 0.75fr;
  align-items: center;
  gap: 1rem;
  padding: 0 1.8rem;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 0.82rem;
  transition: background 0.14s var(--ease);
}
.ranking-row:not(.ranking-header):hover { background: var(--panel-2); }
.ranking-header {
  min-height: 50px;
  border-top: 0;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.rank-number { color: var(--muted); font-family: var(--display); font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.player-cell { display: flex; align-items: center; gap: 0.9rem; min-width: 0; }
.player-cell > i {
  width: 42px; height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: var(--rad-sm);
  background: linear-gradient(145deg, var(--panel-3), var(--panel));
  color: var(--gold-2);
  font-family: var(--display);
  font-style: normal;
}
.player-cell b { display: block; color: var(--text); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-cell small { display: block; margin-top: 0.2rem; color: var(--muted); font-size: 0.66rem; font-weight: 400; }
.ranking-row > strong {
  color: var(--gold-2);
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
/* nadirlik skalası ilk üçe uygulanıyor */
.ranking-row.rank-1 { background: linear-gradient(90deg, rgba(240, 168, 58, 0.12), transparent 46%); }
.ranking-row.rank-1 .rank-number { color: var(--r4); }
.ranking-row.rank-2 .rank-number { color: var(--r3); }
.ranking-row.rank-3 .rank-number { color: var(--r2); }

/* ----------------------------------------------------------------- guide */

.guide-section {
  width: 100%;
  max-width: none;
  padding-right: var(--pad-x);
  padding-left: var(--pad-x);
  background: linear-gradient(115deg, var(--ink-2), var(--ink) 62%);
  border-top: 1px solid var(--line);
}
.guide-layout {
  width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}
.guide-copy > p:not(.eyebrow) { max-width: 550px; margin: 1.4rem 0 0; color: var(--muted); line-height: 1.75; }
.guide-copy .primary-button { margin-top: 1.9rem; }
.guide-steps { margin: 0; padding: 0; list-style: none; }
.guide-steps li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.3rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}
.guide-steps li:first-child { border-top: 1px solid var(--line); }
.guide-steps > li > span { color: var(--gold); font-family: var(--display); font-size: 1.3rem; }
.guide-steps h3 { margin: 0; font-size: 1.4rem; }
.guide-steps p { margin: 0.45rem 0 0; color: var(--muted); font-size: 0.88rem; line-height: 1.6; }

/* ------------------------------------------------------------- community */

.community-section {
  position: relative;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 7rem var(--pad-x);
  text-align: center;
  isolation: isolate;
}
.community-section::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url("/static/img/karos-legacy-title.webp") center / cover;
}
.community-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(700px 400px at 50% 30%, rgba(168, 85, 247, 0.18), transparent 70%),
    radial-gradient(circle, rgba(10, 7, 19, 0.72), rgba(10, 7, 19, 0.97) 76%);
}
.community-mark {
  width: 88px; height: 88px;
  margin: 0 auto 1.8rem;
  background: url("/static/img/legacy-emblem.png") center / contain no-repeat;
}
.community-section h2 { margin: 0; font-size: clamp(2.3rem, 5.2vw, 5.8rem); line-height: 1; letter-spacing: -0.04em; }
.community-section > p:not(.eyebrow) { max-width: 660px; margin: 1.4rem auto 0; color: var(--muted); line-height: 1.7; }
.community-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.9rem; margin-top: 2.2rem; }

/* ---------------------------------------------------------------- footer */

.site-footer { padding: 4rem var(--pad-x) 1.6rem; border-top: 1px solid var(--line); background: var(--ink-2); }
.footer-main { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 2rem; padding-bottom: 2.6rem; }
.footer-main > p { margin: 0; color: var(--muted); font-size: 0.84rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.footer-links a { color: var(--muted-2); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-links a:hover { color: var(--gold-2); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.7rem;
}
.footer-bottom div { display: flex; flex-wrap: wrap; gap: 1.2rem; }

/* ------------------------------------------------------------- page head */

.page-head {
  position: relative;
  overflow: hidden;
  padding: calc(var(--head-h) + 5rem) var(--pad-x) 4rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(700px 340px at 84% 0%, rgba(168, 85, 247, 0.22), transparent 68%),
    linear-gradient(180deg, rgba(10, 7, 19, 0.88) 0%, rgba(10, 7, 19, 0.94) 55%, var(--ink) 100%),
    url("/static/img/legacy-fortress.webp") center 30% / cover;
}
.page-head-inner { position: relative; width: var(--shell); margin: 0 auto; }
.page-head h1 { margin: 0; font-size: clamp(2.4rem, 5.6vw, 5rem); line-height: 0.98; letter-spacing: -0.04em; }
.page-head h1 em { font-style: italic; color: var(--gold-2); }
.page-head .lead { max-width: 640px; margin: 1.3rem 0 0; color: var(--muted); line-height: 1.75; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.3rem;
  color: var(--muted);
  font-size: 0.72rem;
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--gold-2); }
.crumbs i { font-style: normal; opacity: 0.5; }

main { display: block; }

/* ---------------------------------------------------------------- panels */

.panel {
  padding: clamp(1.3rem, 3vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: var(--rad-lg);
  background: linear-gradient(180deg, var(--panel), var(--ink-2));
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line-2);
  border-radius: var(--rad);
  background: var(--panel);
  color: var(--muted-2);
  font-size: 0.88rem;
  line-height: 1.65;
}
.notice b { color: var(--text); font-weight: 600; }
.notice .ni { flex: 0 0 auto; font-size: 1.05rem; line-height: 1.4; }
.notice.is-ok { border-color: rgba(51, 209, 122, 0.34); background: rgba(51, 209, 122, 0.07); }
.notice.is-ok .ni { color: var(--green); }
.notice.is-warn { border-color: rgba(240, 168, 58, 0.34); background: rgba(240, 168, 58, 0.07); }
.notice.is-warn .ni { color: var(--amber); }
.notice.is-bad { border-color: rgba(255, 92, 108, 0.34); background: rgba(255, 92, 108, 0.07); }
.notice.is-bad .ni { color: var(--red); }
.notice.is-gold { border-color: rgba(232, 193, 90, 0.34); background: rgba(232, 193, 90, 0.06); }
.notice.is-gold .ni { color: var(--gold-2); }

/* API'ye ulaşılamadığında sakin yer tutucu (wiki .empty dili) */
.empty {
  padding: 3rem 1.4rem;
  border: 1px dashed var(--line-2);
  border-radius: var(--rad-lg);
  background: rgba(22, 16, 41, 0.4);
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
}
.empty .ei { margin-bottom: 0.7rem; font-size: 2.1rem; opacity: 0.7; line-height: 1; }
.empty h3 { margin: 0 0 0.5rem; color: var(--text); font-size: 1.2rem; }
.empty p { margin: 0 auto; max-width: 46ch; }
.empty .btn { margin-top: 1.2rem; }

.spin {
  width: 34px; height: 34px;
  margin: 3rem auto;
  border: 3px solid var(--line);
  border-top-color: var(--purple);
  border-radius: 50%;
  animation: sp 0.9s linear infinite;
}
@keyframes sp { to { transform: rotate(360deg); } }

/* wiki iskelet yükleyici */
.sk {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--rad);
  background: var(--panel);
}
.sk .b {
  border-radius: 8px;
  background: linear-gradient(90deg, var(--panel-2) 25%, var(--panel-3) 37%, var(--panel-2) 63%);
  background-size: 400% 100%;
  animation: shimmer 1.3s ease infinite;
}
.sk .sq { width: 38px; height: 38px; flex: none; }
.sk .ln { flex: 1; }
.sk .ln .l1 { height: 11px; width: 72%; margin-bottom: 8px; }
.sk .ln .l2 { height: 9px; width: 44%; }
.sk-block { min-height: 190px; display: block; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

.sk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }

/* ------------------------------------------------------------- statbox */
/* wiki'nin anahtar/değer kutusu — indir + kayıt sayfalarında */

.statbox { overflow: hidden; margin: 1.2rem 0; border: 1px solid var(--line); border-radius: var(--rad); }
.statbox .sh {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  background: var(--panel-2);
  color: var(--gold-2);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.statrow { display: flex; justify-content: space-between; gap: 1rem; padding: 0.65rem 1rem; border-top: 1px solid var(--line); font-size: 0.88rem; }
.statrow:nth-child(2n) { background: rgba(255, 255, 255, 0.014); }
.statrow .k { color: var(--muted); }
.statrow .v { color: var(--text); text-align: right; font-weight: 600; word-break: break-word; }

/* ---------------------------------------------------------------- filter */

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  align-items: center;
  margin: 0 0 1.8rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--rad);
  background: linear-gradient(180deg, var(--panel), var(--ink-2));
}
.toolbar > .lbl {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tb-spacer { margin-left: auto; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.14s var(--ease), border-color 0.14s var(--ease), background 0.14s var(--ease);
}
.chip:hover { color: var(--text); border-color: var(--line-2); background: var(--panel-2); }
.chip.is-active { border-color: var(--purple); background: rgba(168, 85, 247, 0.14); color: var(--gold-2); }

/* ------------------------------------------------------------- news grid */

.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.1rem; }

.news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--rad-lg);
  background: linear-gradient(180deg, var(--panel), var(--ink-2));
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.news-card:hover { transform: translateY(-3px); border-color: var(--purple); box-shadow: var(--shadow); }
.news-card-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    linear-gradient(180deg, transparent 50%, rgba(22, 16, 41, 0.96) 100%),
    url("/static/img/legacy-fortress.webp") center / cover;
}
.news-card-visual img { width: 100%; height: 100%; object-fit: cover; }
.news-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.3rem; }
.news-card-body h3 { margin: 0.6rem 0 0.55rem; font-size: 1.35rem; line-height: 1.22; }
.news-card-body h3 a { color: var(--text); }
.news-card-body h3 a:hover { color: var(--gold-2); }
.news-card-body p { margin: 0 0 1.1rem; color: var(--muted); font-size: 0.88rem; line-height: 1.65; }
.news-card-body .read-link { margin-top: auto; }

.load-more { display: flex; justify-content: center; margin-top: 2.5rem; }

/* --------------------------------------------------------------- makale */

.wrap {
  width: min(1420px, 90%);
  margin: 0 auto;
  padding: clamp(2.5rem, 5.5vw, 5rem) 0;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(1.6rem, 4vw, 3.5rem);
  align-items: start;
}

.article {
  max-width: 780px;
  padding: clamp(1.3rem, 3.5vw, 2.6rem);
  border: 1px solid var(--line);
  border-radius: var(--rad-lg);
  background: linear-gradient(180deg, var(--panel), var(--ink-2));
}
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem; }
.article h1 { margin: 1rem 0 1.2rem; font-size: clamp(1.9rem, 4.2vw, 3.2rem); line-height: 1.08; letter-spacing: -0.03em; }
.article-cover { margin: 0 0 1.8rem; border: 1px solid var(--line); border-radius: var(--rad); overflow: hidden; }
.article-body { color: #cfc9e6; font-size: 1rem; line-height: 1.8; }
.article-body > *:first-child { margin-top: 0; }
.article-body p { margin: 0 0 1.2rem; }
.article-body h2 { margin: 2.2rem 0 0.9rem; font-size: 1.7rem; color: var(--text); }
.article-body h3 { margin: 1.8rem 0 0.7rem; font-size: 1.3rem; color: var(--text); }
.article-body ul, .article-body ol { margin: 0 0 1.2rem; padding-left: 1.3rem; }
.article-body li { margin-bottom: 0.45rem; }
.article-body li::marker { color: var(--gold); }
.article-body a { color: var(--purple-2); border-bottom: 1px solid var(--line-2); }
.article-body a:hover { color: var(--gold-2); border-bottom-color: var(--gold); }
.article-body strong { color: var(--text); }
.article-body blockquote {
  margin: 1.5rem 0;
  padding: 0.8rem 1.2rem;
  border-left: 3px solid var(--purple);
  border-radius: 0 var(--rad-sm) var(--rad-sm) 0;
  background: var(--panel-2);
  color: var(--muted-2);
  font-style: italic;
}
.article-body img { margin: 1.5rem 0; border: 1px solid var(--line); border-radius: var(--rad); }
.article-body code { padding: 0.12rem 0.4rem; border: 1px solid var(--line); border-radius: 5px; background: var(--ink-2); font-size: 0.88em; }
.article-body pre { padding: 1rem; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--rad); background: var(--ink-2); }
.article-body pre code { border: 0; padding: 0; }
.article-body table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.article-body th, .article-body td { padding: 0.6rem 0.9rem; border: 1px solid var(--line); text-align: left; }
.article-body th { background: var(--panel-2); color: var(--muted); }

.aside-rail { position: sticky; top: calc(var(--head-h) + 1.5rem); display: grid; gap: 1rem; }

.side-card {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--rad-lg);
  background: linear-gradient(180deg, var(--panel), var(--ink-2));
}
.side-card h2 { margin: 0 0 1rem; font-family: var(--sans); font-size: 1rem; font-weight: 800; }
.side-card ol, .side-card ul { margin: 0; padding-left: 1.2rem; color: var(--muted); font-size: 0.88rem; line-height: 1.7; }
.side-card li { margin-bottom: 0.55rem; }
.side-card li::marker { color: var(--gold); }
.side-card li:last-child { margin-bottom: 0; }
.side-card p { margin: 0 0 0.9rem; color: var(--muted); font-size: 0.88rem; line-height: 1.7; }
.side-card p:last-child { margin-bottom: 0; }
.side-card .btn, .side-card .secondary-button { width: 100%; justify-content: center; margin-top: 1rem; }

.aside-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.85rem; }
.aside-list li { padding-bottom: 0.85rem; border-bottom: 1px solid var(--line); margin: 0; }
.aside-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.aside-list a { display: block; color: var(--text); font-family: var(--display); font-size: 1rem; line-height: 1.35; }
.aside-list a:hover { color: var(--gold-2); }
.aside-list time { display: block; margin-top: 0.35rem; color: var(--muted); font-size: 0.68rem; }

/* --------------------------------------------------------------- kurallar */

.rules-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(1.6rem, 4vw, 3.5rem);
  align-items: start;
}
.rules-toc { position: sticky; top: calc(var(--head-h) + 1.5rem); }
.rules-toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.15rem; }
.rules-toc a {
  display: block;
  padding: 0.55rem 0.9rem;
  border-left: 2px solid var(--line);
  border-radius: 0 var(--rad-sm) var(--rad-sm) 0;
  color: var(--muted);
  font-size: 0.83rem;
  transition: color 0.14s var(--ease), border-color 0.14s var(--ease), background 0.14s var(--ease);
}
.rules-toc a:hover { color: var(--text); background: var(--panel); }
.rules-toc a.is-active { color: var(--gold-2); border-left-color: var(--purple); background: var(--panel-2); font-weight: 600; }

.rule-block { padding: 0 0 2.2rem; margin-bottom: 2.2rem; border-bottom: 1px solid var(--line); }
.rule-block:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.rule-block h2 { display: flex; align-items: baseline; gap: 0.9rem; margin: 0 0 1rem; font-size: clamp(1.45rem, 3vw, 2.1rem); }
.rule-block h2 > i { color: var(--gold); font-family: var(--sans); font-style: normal; font-size: 0.85rem; font-weight: 800; letter-spacing: 0.1em; }
.rule-block p { margin: 0 0 0.9rem; color: var(--muted-2); line-height: 1.8; }
.rule-block ul { margin: 0 0 0.9rem; padding-left: 1.2rem; color: var(--muted-2); line-height: 1.8; }
.rule-block li { margin-bottom: 0.45rem; }
.rule-block li::marker { color: var(--gold); }
.rule-block strong { color: var(--text); }

.data-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.86rem; }
.data-table th, .data-table td { padding: 0.75rem 1rem; border-top: 1px solid var(--line); text-align: left; color: var(--muted-2); }
.data-table thead th {
  border-top: 0;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.data-table tbody tr:hover { background: var(--panel-2); }
.data-table td:first-child { color: var(--gold-2); font-weight: 600; }

/* ---------------------------------------------------------------- indir */

.download-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: clamp(1.6rem, 4vw, 3.5rem);
  align-items: start;
}

.download-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border: 1px solid var(--line-2);
  border-radius: var(--rad-lg);
  background: linear-gradient(120deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow);
}
.download-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 260px at 88% 6%, rgba(168, 85, 247, 0.24), transparent 70%);
  pointer-events: none;
}
.download-card > * { position: relative; }
.modal-mark {
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 1.6rem;
  border: 1px solid var(--gold);
  border-radius: var(--rad);
  transform: rotate(45deg);
  color: var(--gold-2);
  font-size: 1.1rem;
}
.modal-mark > span { transform: rotate(-45deg); }
.download-card h2 { margin: 0; font-size: clamp(1.9rem, 4.6vw, 3.2rem); line-height: 1; letter-spacing: -0.03em; }
.download-card > p { margin: 1rem 0 0; color: var(--muted); line-height: 1.75; }

.requirements { display: grid; grid-template-columns: repeat(3, 1fr); margin: 1.8rem 0; border: 1px solid var(--line); border-radius: var(--rad); overflow: hidden; }
.requirements div { padding: 0.9rem 1rem; border-right: 1px solid var(--line); background: rgba(10, 7, 19, 0.35); }
.requirements div:last-child { border-right: 0; }
.requirements span { display: block; color: var(--muted); font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; }
.requirements strong { display: block; margin-top: 0.4rem; color: var(--text); font-size: 0.8rem; }

.modal-download {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.2rem;
  border: 1px solid rgba(245, 217, 122, 0.5);
  border-radius: var(--rad);
  background: linear-gradient(135deg, var(--gold-2), #b9862b);
  color: #1b1206;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.18s var(--ease), filter 0.18s var(--ease);
}
.modal-download:hover { transform: translateY(-2px); filter: brightness(1.06); }
.modal-download > span { padding: 0.25rem 0.55rem; border-radius: 6px; background: rgba(27, 18, 6, 0.16); font-size: 0.6rem; }
.download-card small { display: block; margin-top: 0.8rem; color: var(--muted); font-size: 0.68rem; text-align: center; }

.shot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0.8rem; }
.shot-grid img { width: 100%; border: 1px solid var(--line); border-radius: var(--rad); background: var(--ink-2); }

/* ------------------------------------------------------------------ form */

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.6fr);
  gap: clamp(1.6rem, 4vw, 3.5rem);
  align-items: start;
}

.form-shell {
  position: relative;
  overflow: hidden;
  padding: clamp(1.3rem, 3.2vw, 2.6rem);
  border: 1px solid var(--line-2);
  border-radius: var(--rad-lg);
  background: linear-gradient(120deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow-lg);
}
.form-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(560px 280px at 90% -6%, rgba(168, 85, 247, 0.22), transparent 70%);
  pointer-events: none;
}
.form-shell > * { position: relative; }
.form-shell > h2 { margin: 0 0 0.5rem; font-size: clamp(1.6rem, 3.2vw, 2.3rem); line-height: 1.1; }
.form-intro { margin: 0 0 1.8rem; color: var(--muted); font-size: 0.92rem; line-height: 1.7; }

.mode-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: var(--panel-3);
  color: var(--gold-2);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field { margin-bottom: 1.35rem; }
.field > label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--muted-2);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.field > label .opt { color: var(--muted); font-weight: 500; letter-spacing: 0.04em; text-transform: none; }
.field > label .req { color: var(--purple-2); }

.control { position: relative; display: flex; align-items: center; }

.field input[type="text"],
.field input[type="password"],
.field input[type="email"],
.field textarea,
.field select {
  width: 100%;
  min-height: 50px;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--panel);
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease), background 0.15s var(--ease);
}
.field textarea { min-height: 118px; resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 0.75; }
.field input:hover, .field textarea:hover { border-color: var(--line-2); }
.field input:focus, .field textarea:focus { border-color: var(--purple); box-shadow: var(--ring); background: var(--panel-2); }

.field.has-toggle input { padding-right: 5rem; }
.pw-toggle {
  position: absolute;
  right: 0.5rem;
  padding: 0.42rem 0.6rem;
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.14s var(--ease), background 0.14s var(--ease);
}
.pw-toggle:hover { color: var(--gold-2); background: var(--panel-3); }

.field.is-bad input, .field.is-bad textarea { border-color: rgba(255, 92, 108, 0.65); }
.field.is-bad input:focus, .field.is-bad textarea:focus { box-shadow: 0 0 0 3px rgba(255, 92, 108, 0.22); }
.field.is-ok input, .field.is-ok textarea { border-color: rgba(51, 209, 122, 0.55); }

.hint { display: block; margin-top: 0.45rem; min-height: 1.15em; color: var(--muted); font-size: 0.78rem; line-height: 1.5; }
.hint.is-bad { color: #ff9aa4; }
.hint.is-ok { color: #6fe0a2; }
.hint.is-wait { color: var(--amber); }

.strength { margin-top: 0.65rem; }
.strength-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.strength-track i { display: block; height: 4px; border-radius: 3px; background: var(--line); transition: background 0.3s var(--ease); }
.strength[data-skor="1"] .strength-track i:nth-child(-n + 1) { background: var(--red); }
.strength[data-skor="2"] .strength-track i:nth-child(-n + 2) { background: var(--amber); }
.strength[data-skor="3"] .strength-track i:nth-child(-n + 3) { background: var(--gold); }
.strength[data-skor="4"] .strength-track i { background: var(--green); }
.strength-label { display: block; margin-top: 0.45rem; color: var(--muted); font-size: 0.74rem; }

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  color: var(--muted-2);
  font-size: 0.86rem;
  line-height: 1.6;
}
.check-row input[type="checkbox"] {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  margin: 2px 0 0;
  accent-color: var(--purple);
  cursor: pointer;
}
.check-row a { color: var(--purple-2); border-bottom: 1px solid var(--line-2); }
.check-row a:hover { color: var(--gold-2); }
.check-row.is-bad { color: #ff9aa4; }

.form-actions .primary-button { width: 100%; }
.form-result:not(:empty) { margin-top: 1.4rem; }

.success-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 3.5vw, 2.8rem);
  border: 1px solid var(--line-2);
  border-radius: var(--rad-lg);
  background: linear-gradient(120deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.success-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(520px 260px at 50% -10%, rgba(168, 85, 247, 0.24), transparent 70%);
  pointer-events: none;
}
.success-panel > * { position: relative; }
.success-mark {
  width: 60px; height: 60px;
  display: grid;
  place-items: center;
  margin: 0 auto 1.5rem;
  border: 1px solid var(--gold);
  border-radius: var(--rad);
  transform: rotate(45deg);
  color: var(--gold-2);
  font-size: 1.25rem;
}
.success-mark > span { transform: rotate(-45deg); }
.success-panel h2 { margin: 0 0 0.8rem; font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.1; }
.success-panel > p { margin: 0 auto 1.5rem; max-width: 48ch; color: var(--muted-2); line-height: 1.75; }
.success-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; }
.success-actions .primary-button, .success-actions .secondary-button { min-width: 210px; }

/* doğrulama sonucuna göre işaret rengi */
.success-panel.is-ok .success-mark { border-color: var(--green); color: var(--green); }
.success-panel.is-warn .success-mark { border-color: var(--amber); color: var(--amber); }
.success-panel.is-bad .success-mark { border-color: var(--red); color: #ff96a1; }
.success-panel.is-gold .success-mark { border-color: var(--gold); color: var(--gold-2); }

.verify-wrap { width: min(760px, 90%); margin: 0 auto; padding: clamp(3rem, 8vw, 7rem) 0; }

/* ----------------------------------------------------------------- toast */

.toast {
  position: fixed;
  z-index: 400;
  bottom: 1.6rem; left: 50%;
  max-width: min(420px, calc(100vw - 2rem));
  padding: 0.75rem 1.25rem;
  transform: translateX(-50%) translateY(20px);
  border: 1px solid var(--line-2);
  border-radius: var(--rad);
  background: var(--panel-3);
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 0.86rem;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.toast.is-visible { transform: translateX(-50%) translateY(0); opacity: 1; }

.spinner {
  width: 14px; height: 14px;
  display: inline-block;
  border: 2px solid rgba(27, 18, 6, 0.28);
  border-top-color: #1b1206;
  border-radius: 50%;
  animation: sp 0.7s linear infinite;
}

/* ------------------------------------------------------------ animasyon */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.js .reveal.is-in { opacity: 1; transform: none; }

.js .hero-copy { animation: enter-copy 0.95s 0.08s both var(--ease-out); }
.js .server-card { animation: enter-card 0.95s 0.24s both var(--ease-out); }
.js .hero-art { animation: enter-art 1.7s both ease-out; }

@keyframes enter-copy { from { transform: translateY(26px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes enter-card { from { transform: translateX(22px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes enter-art { from { transform: scale(1.12); opacity: 0.2; } to { transform: scale(1.04); opacity: 1; } }

/* --------------------------------------------------------------- responsive */

@media (max-width: 1120px) {
  .site-header { grid-template-columns: 1fr auto; }
  .main-nav {
    position: fixed;
    top: var(--head-h); right: 0; bottom: 0; left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.6rem;
    padding: 2rem;
    transform: translateX(100%);
    background: linear-gradient(180deg, var(--ink-2), var(--ink));
    overflow-y: auto;
    transition: transform 0.28s var(--ease);
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { font-family: var(--display); font-size: 1.85rem; font-weight: 400; letter-spacing: 0.03em; text-transform: none; }
  .main-nav a::after { display: none; }
  .menu-toggle { display: grid; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 2.5rem; }
  .status-rail { width: 100%; grid-template-columns: repeat(3, 1fr); }
  .status-rail > div:nth-child(4), .status-rail > div:nth-child(5) { display: none; }
  .news-layout { grid-template-columns: 1fr; }
  .news-list { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .world-intro { grid-template-columns: 1fr 1.5fr; }
  .world-intro > p:last-child { grid-column: 2; }
  .feature-grid { min-height: 740px; grid-template-columns: 1fr 1fr; }
  .feature-card-main { grid-column: 1 / -1; min-height: 400px; }
  .guide-layout { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .footer-main { grid-template-columns: 1fr auto; }
  .footer-main > p { grid-column: 1 / -1; grid-row: 2; }
  .form-layout, .article-layout, .download-layout, .rules-layout { grid-template-columns: 1fr; }
  .aside-rail, .rules-toc { position: static; }
  .rules-toc ol { display: flex; flex-wrap: wrap; gap: 0.4rem; }
  .rules-toc a { border-left: 0; border: 1px solid var(--line); border-radius: 20px; padding: 0.45rem 0.85rem; font-size: 0.76rem; }
  .rules-toc a.is-active { border-color: var(--purple); }
}

@media (max-width: 760px) {
  :root { --head-h: 72px; --pad-x: 1.15rem; }
  body { background-attachment: scroll; }
  .site-header { padding: 0 1rem; gap: 0.8rem; }
  .brand small { display: none; }
  .brand-name { font-size: 0.88rem; }
  .brand-mark { width: 36px; height: 36px; }
  .text-action { display: none; }
  .header-cta { padding: 0 0.85rem; font-size: 0.66rem; }
  .header-actions { gap: 0.55rem; }
  .hero { min-height: auto; padding: 116px 1.15rem 4.5rem; }
  .hero-art { background-position: 57% center; }
  .hero-veil { background: linear-gradient(180deg, rgba(10, 7, 19, 0.55), rgba(10, 7, 19, 0.92) 48%, var(--ink) 100%); }
  .hero-grid { grid-template-columns: 1fr; gap: 2.8rem; }
  .hero-copy { text-align: center; }
  .hero-wordmark, .season-pill { margin-right: auto; margin-left: auto; }
  .hero h1 { font-size: clamp(2.8rem, 14vw, 4.8rem); line-height: 0.88; }
  .hero-lead { margin-right: auto; margin-left: auto; font-size: 0.95rem; }
  .hero-actions, .community-actions, .success-actions { flex-direction: column; }
  .primary-button, .secondary-button { width: 100%; min-width: 0; }
  .success-actions .primary-button, .success-actions .secondary-button { min-width: 0; }
  .hero-trust { justify-content: center; }
  .server-card { width: 100%; max-width: 470px; margin: 0 auto; }
  .scroll-cue { display: none; }
  .status-rail { grid-template-columns: 1fr; }
  .status-rail > div { min-height: 74px; padding: 0 1.2rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .status-rail > div:last-child { border-bottom: 0; }
  .status-rail > div:nth-child(3) { display: none; }
  .section { width: calc(100% - 2.3rem); padding: 4.5rem 0; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 1.3rem; margin-bottom: 2.2rem; }
  .section-heading h2, .world-intro h2, .guide-copy h2 { font-size: clamp(2.1rem, 11.5vw, 3.6rem); }
  .news-list { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 46px 1fr; padding: 1.2rem; }
  .news-meta { flex-direction: column; gap: 0.3rem; }
  .featured-news { min-height: auto; }
  .featured-copy { padding: 1.3rem; }
  .world-section, .guide-section { width: 100%; }
  .world-section { background-attachment: scroll; }
  .world-intro { grid-template-columns: 1fr; gap: 1.1rem; margin-bottom: 2.2rem; }
  .world-intro > p:last-child { grid-column: auto; }
  .feature-grid { min-height: 0; grid-template-columns: 1fr; }
  .feature-card-main { grid-column: auto; min-height: 440px; }
  .feature-card:not(.feature-card-main) { min-height: 380px; }
  .ranking-heading { align-items: flex-start; }
  .ranking-tabs { width: 100%; }
  .ranking-tabs button { flex: 1; min-width: 0; }
  .ranking-row { padding: 0 1.1rem; }
  .guide-layout { grid-template-columns: 1fr; gap: 2.6rem; }
  .community-section { min-height: 540px; padding: 4.5rem 1.15rem; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-main > p { grid-column: auto; grid-row: auto; }
  .footer-bottom { flex-direction: column; }
  .page-head { padding: calc(var(--head-h) + 3rem) 1.15rem 2.6rem; }
  .wrap { width: calc(100% - 2.3rem); }
  .requirements { grid-template-columns: 1fr; }
  .requirements div { border-right: 0; border-bottom: 1px solid var(--line); }
  .requirements div:last-child { border-bottom: 0; }
  .news-grid { grid-template-columns: 1fr; }
  .toast { left: 1rem; right: 1rem; bottom: 1rem; max-width: none; transform: translateY(20px); }
  .toast.is-visible { transform: translateY(0); }
}

@media (max-width: 440px) {
  .hero h1 { font-size: 2.6rem; }
  .season-pill { width: 100%; justify-content: center; font-size: 0.56rem; letter-spacing: 0.09em; }
  .server-card { padding: 1rem; }
  .server-metrics strong { font-size: 1.35rem; }
  .event-panel { padding: 0.9rem; }
  .countdown { gap: 0.25rem; }
  .countdown strong { font-size: 1.8rem; }
  .news-item { grid-template-columns: 1fr; }
  .news-index { font-size: 1.4rem; }
  .guide-steps li { grid-template-columns: 46px 1fr; }
  .footer-links { gap: 0.9rem; }
  .form-shell, .success-panel, .download-card, .article { padding: 1.1rem; }
}

/* ----------------------------------------------------- reduced motion */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .js .hero-copy, .js .server-card, .js .hero-art { animation: none !important; }
  .hero-art { transform: scale(1.04) !important; }
  .world-section, body { background-attachment: scroll; }
  .sk .b { animation: none; }
  .spin { animation: none; border-top-color: var(--line-2); }
}

@media print {
  .site-header, .toast, .scroll-cue, .hero-art, .hero-noise, .hero-veil { display: none !important; }
  body { background: #fff; color: #000; }
}
