/* ==========================================================================
   WELL ANTİCHEAT — style.css
   Performans kuralı: filter / backdrop-filter / mix-blend-mode YOK.
   Animasyonlar yalnızca transform + opacity. Gradient'lar statik.
   ========================================================================== */

:root {
  --red: #e0242f;
  --red-2: #ff3b47;
  --red-3: #ff6b73;
  --red-dark: #8f1119;
  --white: #f4f4f5;
  --grey: #9a9aa3;
  --grey-2: #5c5c66;
  --bg: #070709;
  --bg-2: #0c0c10;
  --bg-3: #121217;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --line-red: rgba(224, 36, 47, 0.45);

  --font-hero: "Bebas Neue", "Rajdhani", sans-serif;
  --font-display: "Rajdhani", "Barlow", sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --container: 1180px;
  --nav-h: 76px;
  --cut: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-2: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* Sitede metin seçimi kapalı */
  -webkit-user-select: none;
  user-select: none;
}

img {
  display: block;
  max-width: 100%;
  -webkit-user-drag: none;
  user-select: none;
}
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); line-height: 1.05; }
p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: normal; }

::selection { background: var(--red); color: #fff; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* Kaydırma çubuğu */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: #1c1c22;
  border: 2px solid var(--bg);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover { background: var(--red); }

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

/* --------------------------------------------------------------------------
   Açılış
   -------------------------------------------------------------------------- */

body.is-loading { overflow: hidden; }

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow: hidden;
  font-family: var(--font-mono);
}

/* Çıkışta ikiye ayrılan iki yarım */
.loader__half {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--bg);
  transition: transform 0.8s var(--ease-2);
  will-change: transform;
}

.loader__half--top { top: 0; }
.loader__half--bottom { bottom: 0; }

.loader.is-exit .loader__half--top { transform: translateY(-100%); }
.loader.is-exit .loader__half--bottom { transform: translateY(100%); }

.loader__seam {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background: var(--red-2);
  transform: scaleX(0);
  transform-origin: center;
  z-index: 3;
}

.loader.is-seam .loader__seam { animation: seam 0.35s var(--ease-2) forwards; }
.loader.is-exit .loader__seam { opacity: 0; transition: opacity 0.3s; }

@keyframes seam { to { transform: scaleX(1); } }

.loader__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 10%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 10%, transparent 100%);
  transition: opacity 0.3s;
}

.loader__mark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-hero);
  font-size: clamp(240px, 42vw, 620px);
  line-height: 1;
  letter-spacing: 0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.045);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  animation: markPulse 4s ease-in-out infinite alternate;
}

@keyframes markPulse {
  from { transform: translate(-50%, -50%) scale(1); }
  to   { transform: translate(-50%, -50%) scale(1.04); }
}

.loader__scan {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.18) 0px, rgba(0, 0, 0, 0.18) 1px, transparent 1px, transparent 3px),
    radial-gradient(ellipse 70% 70% at 50% 50%, transparent 30%, rgba(7, 7, 9, 0.7) 100%);
  pointer-events: none;
}

.loader__content {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: opacity 0.3s;
}

.loader.is-exit .loader__content,
.loader.is-exit .loader__grid,
.loader.is-exit .loader__mark,
.loader.is-exit .loader__scan,
.loader.is-exit .hud--loader,
.loader.is-exit .loader__skip { opacity: 0; transition: opacity 0.25s; }

.hud--loader { animation-delay: 0.2s; }
.hud--loader.hud--tl, .hud--loader.hud--tr { top: 32px; }

/* Terminal */
.term {
  position: relative;
  width: min(580px, calc(100% - 40px));
  background: rgba(10, 10, 14, 0.94);
  border: 1px solid var(--line-2);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  animation: termIn 0.7s var(--ease) both;
}

@keyframes termIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}

.loader.is-welcome .term {
  animation: termOut 0.45s var(--ease-2) forwards;
}

@keyframes termOut {
  to { opacity: 0; transform: translateY(-16px) scale(0.97); }
}

.term::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--red), transparent 70%);
}

.term__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.term__dots { display: flex; gap: 6px; }

.term__dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #26262d;
}

.term__dots i:first-child { background: var(--red); }

.term__title {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--grey);
  text-transform: uppercase;
}

.term__ver {
  margin-left: auto;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--red);
}

.term__body {
  padding: 18px 18px 12px;
  min-height: 178px;
  font-size: 13px;
  line-height: 1.95;
}

.term__line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--white);
  white-space: nowrap;
}

.term__k { overflow: hidden; text-overflow: ellipsis; }
.term__k::before { content: "> "; color: var(--red); }

.term__caret {
  display: inline-block;
  width: 8px;
  height: 13px;
  margin-left: 3px;
  vertical-align: -2px;
  background: var(--red);
  animation: blink 0.8s steps(2) infinite;
}

@keyframes blink { to { opacity: 0; } }

.term__s {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--grey);
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.25s, transform 0.3s var(--ease);
}

.term__s.is-in { opacity: 1; transform: none; }
.term__s.is-accent { color: var(--red-2); }

.term__foot {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px 14px;
  border-top: 1px solid var(--line);
}

.term__progress {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.term__progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--red-dark), var(--red-2));
  transition: width 0.4s var(--ease);
}

.term__pct {
  min-width: 38px;
  text-align: right;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--grey);
}

/* Karşılama */
.loader__welcome {
  position: absolute;
  text-align: center;
  padding: 0 24px;
  opacity: 0;
  visibility: hidden;
}

.loader.is-welcome .loader__welcome {
  opacity: 1;
  visibility: visible;
}

.loader__welcome-sub {
  display: block;
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--red);
  margin-bottom: 14px;
  opacity: 0;
}

.loader.is-welcome .loader__welcome-sub { animation: slideUp 0.5s 0.15s var(--ease) both; }

.loader__welcome-title {
  position: relative;
  font-family: var(--font-hero);
  font-weight: 400;
  font-size: clamp(56px, 9vw, 128px);
  letter-spacing: 0.06em;
  line-height: 0.95;
  color: var(--white);
  opacity: 0;
}

.loader.is-welcome .loader__welcome-title { animation: welcomeIn 0.6s 0.25s var(--ease) both; }

@keyframes welcomeIn {
  from { opacity: 0; transform: scale(1.14); }
  to   { opacity: 1; transform: none; }
}

/* Glitch katmanları */
.loader__welcome-title::before,
.loader__welcome-title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
}

.loader__welcome-title::before { color: var(--red-2); }
.loader__welcome-title::after  { color: var(--white); }

.loader.is-welcome .loader__welcome-title::before { animation: glitchA 0.75s 0.45s steps(1) forwards; }
.loader.is-welcome .loader__welcome-title::after  { animation: glitchB 0.75s 0.45s steps(1) forwards; }

@keyframes glitchA {
  0%   { opacity: 1; clip-path: inset(8% 0 78% 0);  transform: translate(-6px, 0); }
  15%  { clip-path: inset(62% 0 18% 0); transform: translate(5px, 0); }
  30%  { clip-path: inset(28% 0 58% 0); transform: translate(-4px, 0); }
  45%  { clip-path: inset(80% 0 4% 0);  transform: translate(4px, 0); }
  60%  { clip-path: inset(44% 0 42% 0); transform: translate(-3px, 0); }
  75%  { clip-path: inset(12% 0 70% 0); transform: translate(2px, 0); }
  100% { opacity: 0; }
}

@keyframes glitchB {
  0%   { opacity: 1; clip-path: inset(70% 0 10% 0); transform: translate(6px, 0); }
  15%  { clip-path: inset(20% 0 66% 0); transform: translate(-5px, 0); }
  30%  { clip-path: inset(56% 0 30% 0); transform: translate(4px, 0); }
  45%  { clip-path: inset(4% 0 84% 0);  transform: translate(-4px, 0); }
  60%  { clip-path: inset(36% 0 50% 0); transform: translate(3px, 0); }
  75%  { clip-path: inset(66% 0 14% 0); transform: translate(-2px, 0); }
  100% { opacity: 0; }
}

.loader__welcome-line {
  display: block;
  width: 140px;
  height: 3px;
  margin: 22px auto 0;
  background: var(--red);
  transform: scaleX(0);
}

.loader.is-welcome .loader__welcome-line { animation: lineIn 0.5s 0.7s var(--ease) forwards; }

@keyframes lineIn { to { transform: scaleX(1); } }

.loader__skip {
  position: absolute;
  right: 32px;
  bottom: 32px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--grey);
  border: 1px solid var(--line-2);
  background: rgba(12, 12, 16, 0.7);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: color 0.2s, border-color 0.2s;
  animation: slideUp 0.6s 0.8s var(--ease) both;
}

.loader__skip span { transition: transform 0.3s var(--ease); }
.loader__skip:hover { color: var(--white); border-color: var(--red); }
.loader__skip:hover span { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Arka plan
   -------------------------------------------------------------------------- */

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: var(--bg);
}

.bg > * {
  position: absolute;
  pointer-events: none;
}

.bg__video {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: 0.45;
}

/* Video yüklenemezse JS bunu koyar */
.bg__gif {
  inset: 0;
  background: url("../img/wl-logo.gif") center 42% / cover no-repeat;
  opacity: 0.45;
}

.bg__glow {
  width: 70vmax;
  height: 70vmax;
  border-radius: 50%;
  animation: drift 34s ease-in-out infinite alternate;
  will-change: transform;
}

.bg__glow--1 {
  top: -30vmax;
  left: -20vmax;
  background: radial-gradient(circle, rgba(224, 36, 47, 0.30) 0%, rgba(224, 36, 47, 0.12) 28%, rgba(224, 36, 47, 0.03) 50%, transparent 68%);
}

.bg__glow--2 {
  bottom: -32vmax;
  right: -22vmax;
  animation-duration: 42s;
  animation-delay: -16s;
  background: radial-gradient(circle, rgba(255, 59, 71, 0.24) 0%, rgba(143, 17, 25, 0.10) 32%, rgba(143, 17, 25, 0.02) 52%, transparent 70%);
}

@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(6vw, -5vh) scale(1.08); }
  100% { transform: translate(-5vw, 6vh) scale(0.95); }
}

.bg__grid {
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 30%, #000 10%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 30%, #000 10%, transparent 100%);
}

.bg__particles {
  inset: 0;
  width: 100%;
  height: 100%;
}

.bg__beam {
  left: 0;
  right: 0;
  top: -260px;
  height: 260px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(224, 36, 47, 0.06) 45%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(224, 36, 47, 0.06) 55%,
    transparent 100%
  );
  animation: beam 11s linear infinite;
  will-change: transform;
}

@keyframes beam {
  to { transform: translateY(calc(100vh + 520px)); }
}

.bg__overlay {
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.11) 0px, rgba(0, 0, 0, 0.11) 1px, transparent 1px, transparent 3px),
    radial-gradient(ellipse 78% 70% at 50% 38%, transparent 15%, rgba(7, 7, 9, 0.82) 100%),
    linear-gradient(180deg, rgba(7, 7, 9, 0.55) 0%, rgba(7, 7, 9, 0.15) 28%, rgba(7, 7, 9, 0.45) 65%, var(--bg) 100%);
}

/* --------------------------------------------------------------------------
   Kenar rayları
   -------------------------------------------------------------------------- */

.rail {
  position: fixed;
  top: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--grey-2);
  white-space: nowrap;
  pointer-events: none;
}

.rail::before,
.rail::after {
  content: "";
  width: 1px;
  height: 90px;
  background: linear-gradient(180deg, transparent, var(--line-2), transparent);
}

.rail--l {
  left: 26px;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
}

.rail--r {
  right: 26px;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
}

.rail--l::before,
.rail--l::after,
.rail--r::before,
.rail--r::after { width: 1px; height: 90px; }

/* --------------------------------------------------------------------------
   Ortak parçalar
   -------------------------------------------------------------------------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  z-index: 0;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: transform 0.25s var(--ease), color 0.25s;
}

.btn svg { flex: none; transition: transform 0.3s var(--ease); }

.btn--solid {
  background: var(--red);
  color: #fff;
}

.btn--solid::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, var(--red-2), var(--red));
  transform: translateX(-101%);
  transition: transform 0.4s var(--ease);
  z-index: -1;
}

.btn--solid { transition: transform 0.25s var(--ease), color 0.25s, box-shadow 0.3s; }
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -12px rgba(224, 36, 47, 0.8); }
.btn--solid:hover::before { transform: translateX(0); }
.btn--solid:hover svg { transform: translateY(2px); }

.btn--ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.03);
  outline: 1px solid var(--line-2);
  outline-offset: -1px;
}

.btn--ghost::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: translateX(-101%);
  transition: transform 0.4s var(--ease);
  z-index: -1;
}

.btn--ghost:hover { color: var(--bg); transform: translateY(-2px); }
.btn--ghost:hover::before { transform: translateX(0); }
.btn--ghost:hover svg { transform: translateX(3px); }

.btn--sm { padding: 11px 20px; font-size: 13px; }
.btn--lg { padding: 19px 38px; font-size: 16px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid var(--line-2);
  background: rgba(12, 12, 16, 0.6);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(224, 36, 47, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(224, 36, 47, 0.6); }
  70%  { box-shadow: 0 0 0 9px rgba(224, 36, 47, 0); }
  100% { box-shadow: 0 0 0 0 rgba(224, 36, 47, 0); }
}

.section {
  position: relative;
  padding: 130px 0;
  overflow: hidden;
}

.section--alt {
  background: linear-gradient(180deg, transparent, rgba(12, 12, 16, 0.6) 15%, rgba(12, 12, 16, 0.6) 85%, transparent);
}

/* Bölüm arkasındaki dev hayalet numara */
.section__ghost {
  position: absolute;
  top: 40px;
  left: -10px;
  font-family: var(--font-hero);
  font-size: clamp(200px, 30vw, 420px);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
  pointer-events: none;
  user-select: none;
}

.section__ghost--r { left: auto; right: -10px; }

.section__head {
  display: grid;
  grid-template-columns: auto auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 24px;
  align-items: center;
  margin-bottom: 60px;
}

.section__num {
  grid-row: 1;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--red);
  letter-spacing: 0.1em;
}

.section__num::before {
  content: "//";
  margin-right: 6px;
  color: var(--grey-2);
}

.section__title {
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-hero);
  font-size: clamp(56px, 7vw, 88px);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 0.9;
}

/* Başlık yanındaki üye sayısı rozeti */
.section__count {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--white);
  padding: 7px 12px 6px;
  border: 1px solid var(--line-red);
  background: rgba(224, 36, 47, 0.10);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  transform: translateY(4px);
}

.section__count:empty { display: none; }

.section__rule {
  grid-row: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-red), var(--line) 40%, transparent);
  position: relative;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s var(--ease) 0.25s; /* bölüm görününce soldan çizilir */
}

.reveal.is-in .section__rule { transform: scaleX(1); }

.section__rule::before {
  content: "";
  position: absolute;
  left: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  background: var(--red);
  transform: rotate(45deg);
}

.section__sub {
  grid-column: 2 / -1;
  grid-row: 2;
  margin-top: 14px;
  color: var(--grey);
  font-size: 17px;
  max-width: 560px;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Navigasyon
   -------------------------------------------------------------------------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--nav-h);
  transition: transform 0.7s var(--ease), background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(7, 7, 9, 0.94);
  border-bottom-color: var(--line);
}

.nav__progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--red-dark), var(--red-2));
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__logo-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  background: var(--bg-3);
  transition: transform 0.3s var(--ease);
}

.nav__brand:hover .nav__logo-wrap { transform: rotate(-4deg) scale(1.04); }

.nav__logo {
  width: 40px;
  height: 40px;
  object-fit: cover;
}

.nav__name {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 0.1em;
  line-height: 1;
}

.nav__name small {
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--red);
  font-weight: 600;
  margin-top: 2px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav__links a[data-nav] {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  transition: color 0.2s;
  padding: 6px 0;
}

.nav__links a[data-nav] i {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 10px;
  color: var(--red);
  letter-spacing: 0.05em;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.nav__links a[data-nav]::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.nav__links a[data-nav]:hover,
.nav__links a[data-nav].is-active { color: var(--white); }

.nav__links a[data-nav]:hover i,
.nav__links a[data-nav].is-active i { opacity: 1; }

.nav__links a[data-nav]:hover::after,
.nav__links a[data-nav].is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__cta { margin-left: 8px; }

.nav__burger {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 100px;
  overflow: hidden;
}

/* Arkadaki dev "WELL" filigranı */
.hero__mark {
  position: absolute;
  left: 50%;
  top: 50%;
  font-family: var(--font-hero);
  font-size: clamp(220px, 38vw, 560px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.055);
  letter-spacing: 0.06em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  transform: translate(-50%, -54%);
  will-change: transform; /* fare paralaksı main.js'te */
}

/* HUD köşe çerçeveleri */
.hud {
  position: absolute;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-2);
  pointer-events: none;
  animation: hudIn 1s 0.6s var(--ease) both;
}

.hud::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--red);
}

.hud--tl { top: calc(var(--nav-h) + 28px); left: 32px; border-right: 0; border-bottom: 0; }
.hud--tl::after { top: -3px; left: -3px; }
.hud--tr { top: calc(var(--nav-h) + 28px); right: 32px; border-left: 0; border-bottom: 0; }
.hud--tr::after { top: -3px; right: -3px; }
.hud--bl { bottom: 32px; left: 32px; border-right: 0; border-top: 0; }
.hud--bl::after { bottom: -3px; left: -3px; }
.hud--br { bottom: 32px; right: 32px; border-left: 0; border-top: 0; }
.hud--br::after { bottom: -3px; right: -3px; }

@keyframes hudIn {
  from { opacity: 0; transform: scale(0.6); }
  to   { opacity: 1; transform: none; }
}

.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
}

.hero__title {
  margin: 28px 0 8px;
  font-family: var(--font-hero);
  font-weight: 400;
  font-size: clamp(88px, 15vw, 190px);
  letter-spacing: 0.02em;
  line-height: 0.86;
}

.hero__line {
  display: block;
  animation: slideUp 1s var(--ease) both;
}

/* Beyaz satıra poster tarzı kırmızı ofset gölge */
.hero__line:first-child {
  text-shadow: 5px 5px 0 rgba(224, 36, 47, 0.28);
}

.hero__line--accent {
  position: relative;
  color: var(--red);
  background: linear-gradient(180deg, var(--red-3) 0%, var(--red) 55%, var(--red-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation-delay: 0.12s;
}

.hero__line--accent em {
  -webkit-text-fill-color: var(--white);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: none; }
}

/* Harf harf giriş (JS satırları .hero__ch span'lerine böler) */
.hero__line.is-split {
  animation: none;
  opacity: 1;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.hero__line--accent.is-split {
  animation: jitter 9s 4s linear infinite; /* ara ara kısa bir titreme */
}

.hero__ch {
  display: inline-block;
  animation: chIn 0.8s var(--ease) both;
  animation-delay: calc(var(--i) * 40ms);
}

.hero__line--accent .hero__ch {
  background: linear-gradient(180deg, var(--red-3) 0%, var(--red) 55%, var(--red-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__line--accent .hero__ch--dot { -webkit-text-fill-color: var(--white); background: none; }

@keyframes chIn {
  from { opacity: 0; transform: translateY(70px) rotateX(-50deg); }
  to   { opacity: 1; transform: none; }
}

@keyframes jitter {
  0%, 93%, 100% { transform: none; }
  94%  { transform: translate(-4px, 1px) skewX(-8deg); }
  95%  { transform: translate(4px, -1px); }
  96%  { transform: translate(-2px, 0) skewX(5deg); }
  97%  { transform: translate(1px, 1px); }
  98%  { transform: none; }
}

/* HUD okumaları (köşe çerçevelerinin yanında) */
.hud-read {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--grey-2);
  pointer-events: none;
  animation: hudIn 1s 0.8s var(--ease) both;
}

.hud-read span { color: var(--grey); }

.hud-read__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.6);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0%   { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.6); }
  70%  { box-shadow: 0 0 0 7px rgba(61, 220, 132, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); }
}

.hud-read--tl { top: calc(var(--nav-h) + 40px); left: 88px; }
.hud-read--tr { top: calc(var(--nav-h) + 40px); right: 88px; }
.hud-read--bl { bottom: 44px; left: 88px; }
.hud-read--br { bottom: 44px; right: 88px; }

/* Kadro önizleme şeridi */
.hero__crew {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  padding: 8px 18px 8px 8px;
  border: 1px solid var(--line);
  background: rgba(12, 12, 16, 0.6);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: border-color 0.3s, transform 0.3s var(--ease);
  animation: slideUp 0.9s 0.56s var(--ease) both;
}

.hero__crew:hover { border-color: var(--line-red); transform: translateY(-2px); }

.hero__crew-avatars { display: flex; }

.hero__crew-avatars img,
.hero__crew-more {
  width: 34px;
  height: 34px;
  margin-left: -9px;
  object-fit: cover;
  background: var(--bg-3);
  outline: 2px solid var(--bg);
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
  transition: transform 0.3s var(--ease);
}

.hero__crew-avatars img:first-child { margin-left: 0; }
.hero__crew:hover .hero__crew-avatars img { transform: translateX(-2px); }

.hero__crew-more {
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--white);
  background: var(--red);
}

.hero__crew-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
  transition: color 0.2s;
}

.hero__crew-text i { font-style: normal; display: inline-block; transition: transform 0.3s var(--ease); }
.hero__crew:hover .hero__crew-text { color: var(--white); }
.hero__crew:hover .hero__crew-text i { transform: translateX(4px); }

/* Başlığın altındaki üç çizgi */
.hero__slash {
  display: flex;
  gap: 6px;
  margin: 18px 0 26px;
  animation: slideUp 0.9s 0.2s var(--ease) both;
}

.hero__slash span {
  display: block;
  width: 34px;
  height: 3px;
  background: var(--line-2);
  transform: skewX(-30deg);
}

.hero__slash span:first-child { width: 70px; background: var(--red); }

.hero__desc {
  max-width: 540px;
  font-size: 18px;
  color: var(--grey);
  animation: slideUp 0.9s 0.26s var(--ease) both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
  animation: slideUp 0.9s 0.34s var(--ease) both;
}

.hero__stats {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 60px;
  animation: slideUp 0.9s 0.44s var(--ease) both;
}

.stat {
  position: relative;
  min-width: 170px;
  padding: 20px 26px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: rgba(12, 12, 16, 0.7);
  border: 1px solid var(--line);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.stat:hover { border-color: var(--line-red); transform: translateY(-3px); }

.stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--red);
}

.stat strong {
  font-family: var(--font-hero);
  font-size: 46px;
  font-weight: 400;
  line-height: 1;
  color: var(--white);
  letter-spacing: 0.02em;
}

.stat span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--grey-2);
  animation: slideUp 1s 0.8s var(--ease) both;
}

.hero__scroll-line {
  width: 1px;
  height: 46px;
  background: var(--line-2);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 50%;
  background: var(--red);
  animation: scrollLine 1.8s var(--ease-2) infinite;
}

@keyframes scrollLine {
  from { transform: translateY(-100%); }
  to   { transform: translateY(200%); }
}

.hero__scroll-text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.35em;
}

/* --------------------------------------------------------------------------
   Kayan isim şeridi
   -------------------------------------------------------------------------- */

.marquee {
  position: relative;
  overflow: hidden;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, var(--bg) 0%, transparent 12%, transparent 88%, var(--bg) 100%),
    linear-gradient(90deg, transparent, rgba(224, 36, 47, 0.10) 50%, transparent),
    rgba(9, 9, 12, 0.85);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
  will-change: transform;
}

.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  font-family: var(--font-hero);
  font-size: 24px;
  letter-spacing: 0.14em;
  color: var(--grey);
  white-space: nowrap;
  transition: color 0.2s;
}

.marquee__item:hover { color: var(--white); }

.marquee__item::after {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--red);
  transform: rotate(45deg);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   Kadro
   -------------------------------------------------------------------------- */

.team {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  position: relative;
}

.member {
  position: relative;
  padding: 30px 14px 24px;
  background: rgba(12, 12, 16, 0.82);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  /* Ekrana girince belirir (JS .is-in ekler, gecikmeyi kademeler) */
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), border-color 0.3s;
  transform-style: preserve-3d;
}

.member.is-in {
  opacity: 1;
  transform: none;
}

/* Üst kırmızı parıltı */
.member::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(224, 36, 47, 0.26), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}

/* Hover'da soldan sağa geçen parlama */
.member__shine {
  position: absolute;
  top: -20%;
  left: 0;
  width: 45%;
  height: 140%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.07) 50%, transparent 100%);
  transform: translateX(-160%) skewX(-18deg);
  pointer-events: none;
}

.member:hover .member__shine {
  animation: shine 0.9s var(--ease) forwards;
}

@keyframes shine {
  to { transform: translateX(340%) skewX(-18deg); }
}

/* Köşe işaretleri */
.member__corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--line-2);
  border-style: solid;
  border-width: 0;
  transition: border-color 0.3s;
}

.member__corner--tl { top: 8px; left: 8px; border-top-width: 1px; border-left-width: 1px; }
.member__corner--br { bottom: 8px; right: 8px; border-bottom-width: 1px; border-right-width: 1px; }

.member__idx {
  position: absolute;
  top: 10px;
  right: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--grey-2);
  transition: color 0.3s;
}

/* Hover'da yükselme + 3D eğilme main.js'te (fare konumuna göre) */
.member:hover { border-color: var(--line-red); }

.member:hover::before { opacity: 1; }
.member:hover .member__corner { border-color: var(--red); }
.member:hover .member__idx { color: var(--red); }

.member__frame {
  position: relative;
  width: 108px;
  height: 108px;
  margin-bottom: 18px;
  padding: 4px;
  background: linear-gradient(145deg, var(--line-2), transparent 55%, var(--line-red));
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
  transition: transform 0.4s var(--ease);
}

.member:hover .member__frame { transform: scale(1.04); }

/* Hover'da çerçevede dönen kırmızı ışık — clip-path ile 4px'lik halkaya kırpılır */
.member__frame::after {
  content: "";
  position: absolute;
  inset: -45%;
  background: conic-gradient(from 0deg, transparent 0deg, transparent 200deg, var(--red-2) 300deg, transparent 360deg);
  opacity: 0;
  animation: spin 2.2s linear infinite;
  animation-play-state: paused;
  transition: opacity 0.3s;
}

.member:hover .member__frame::after {
  opacity: 1;
  animation-play-state: running;
}

@keyframes spin { to { transform: rotate(360deg); } }

.member__avatar {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--bg-3), var(--bg-2));
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
  overflow: hidden;
}

.member__avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;                                   /* yüklenince belirir, altında baş harfler görünür */
  transition: transform 0.6s var(--ease), opacity 0.5s;
}

.member__avatar img.is-loaded { opacity: 1; }
.member:hover .member__avatar img { transform: scale(1.08); }

/* Fareyi takip eden spot ışığı (--mx / --my main.js'ten) */
.member__spot {
  position: absolute;
  inset: 0;
  background: radial-gradient(200px circle at var(--mx, 50%) var(--my, 50%), rgba(224, 36, 47, 0.20), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.member:hover .member__spot { opacity: 1; }

.member { cursor: pointer; }
.member.is-current { border-color: var(--line-red); }
.member.is-current .member__idx { color: var(--red); }
.member.is-current .member__bar { width: 44px; background: var(--red); }

/* Hover'da avatarın üstünden geçen tarama çizgisi */
.member__scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red-2), transparent);
  opacity: 0;
  pointer-events: none;
}

.member:hover .member__scan {
  animation: scan 1.1s var(--ease-2) infinite;
}

@keyframes scan {
  0%   { transform: translateY(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(104px); opacity: 0; }
}

.member__initials {
  font-family: var(--font-hero);
  font-size: 36px;
  color: var(--white);
  letter-spacing: 0.05em;
}

.member__avatar.is-broken img { display: none; }

.member__name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.3s, transform 0.4s var(--ease);
}

.member:hover .member__name { color: var(--red-2); transform: translateY(-2px); }

.member__bar {
  width: 22px;
  height: 2px;
  margin-top: 12px;
  background: var(--line-2);
  transition: width 0.4s var(--ease), background 0.3s;
}

.member:hover .member__bar { width: 44px; background: var(--red); }

/* --------------------------------------------------------------------------
   İletişim
   -------------------------------------------------------------------------- */

.cta {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 72px 64px;
  background: linear-gradient(135deg, rgba(14, 14, 19, 0.92), rgba(10, 10, 13, 0.92));
  border: 1px solid var(--line);
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 32px 100%, 0 calc(100% - 32px));
}

.cta::before {
  content: "";
  position: absolute;
  right: -160px;
  top: -160px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(224, 36, 47, 0.30), transparent 62%);
  pointer-events: none;
}

.cta::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--red), transparent 60%);
}

.cta__corner {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line-red);
}

.cta__corner--tl { top: 18px; left: 18px; border-right: 0; border-bottom: 0; }
.cta__corner--br { bottom: 18px; right: 18px; border-left: 0; border-top: 0; }

.cta__mark {
  position: absolute;
  right: -20px;
  bottom: -30px;
  font-family: var(--font-hero);
  font-size: clamp(120px, 18vw, 240px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
  letter-spacing: 0.04em;
  pointer-events: none;
  user-select: none;
}

.cta__text { position: relative; }
.cta__text .section__num { display: block; margin-bottom: 14px; }

.cta__title {
  font-family: var(--font-hero);
  font-weight: 400;
  font-size: clamp(56px, 7vw, 96px);
  letter-spacing: 0.03em;
  line-height: 0.9;
  margin-bottom: 18px;
}

.cta__title em { color: var(--red); }

.cta__text p { color: var(--grey); max-width: 460px; font-size: 17px; }

.cta__actions {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.cta__actions .btn { justify-content: center; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  position: relative;
  border-top: 1px solid var(--line);
  background: rgba(7, 7, 9, 0.94);
  padding: 56px 0 40px;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}

.footer__mark {
  position: absolute;
  left: 50%;
  bottom: -18%;
  transform: translateX(-50%);
  font-family: var(--font-hero);
  font-size: clamp(160px, 26vw, 380px);
  line-height: 1;
  letter-spacing: 0.08em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.045);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.footer__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__brand div {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.footer__brand strong {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.14em;
}

.footer__brand span { font-size: 12px; color: var(--grey); }

.footer__logo {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
  opacity: 0.85;
}

.footer__links {
  display: flex;
  gap: 28px;
}

.footer__links a {
  position: relative;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
  transition: color 0.2s;
}

.footer__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.footer__links a:hover { color: var(--white); }
.footer__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.footer__copy {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--grey-2);
}

/* --------------------------------------------------------------------------
   Müzik çalar
   -------------------------------------------------------------------------- */

.player {
  position: fixed;
  left: 28px;
  bottom: 28px;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  width: 300px;
  padding: 12px 14px 14px;
  background: rgba(10, 10, 14, 0.94);
  border: 1px solid var(--line-2);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s, transform 0.5s var(--ease), border-color 0.3s;
}

.is-ready .player {
  opacity: 1;
  transform: none;
  transition-delay: 0.5s;
}

.player:hover { border-color: var(--line-red); }

.player::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--red), transparent 70%);
}

/* Ekolayzır çubukları — sadece çalarken hareket eder */
.player__viz {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  width: 24px;
  height: 22px;
}

.player__viz i {
  flex: 1;
  height: 100%;
  background: var(--red);
  transform: scaleY(0.2);
  transform-origin: bottom;
  animation: viz 0.9s ease-in-out infinite alternate;
  animation-play-state: paused;
}

.player.is-playing .player__viz i { animation-play-state: running; }

.player__viz i:nth-child(1) { animation-duration: 0.7s; }
.player__viz i:nth-child(2) { animation-duration: 1.0s; animation-delay: -0.3s; }
.player__viz i:nth-child(3) { animation-duration: 0.8s; animation-delay: -0.1s; }
.player__viz i:nth-child(4) { animation-duration: 1.1s; animation-delay: -0.5s; }
.player__viz i:nth-child(5) { animation-duration: 0.75s; animation-delay: -0.2s; }

@keyframes viz {
  from { transform: scaleY(0.15); }
  to   { transform: scaleY(1); }
}

.player__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

.player__label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--red);
}

.player__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player__controls {
  display: flex;
  align-items: center;
  gap: 4px;
}

.player__controls button {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--grey);
  transition: color 0.2s, background 0.2s, transform 0.2s var(--ease);
}

.player__controls button:hover { color: var(--white); transform: translateY(-1px); }

.player__toggle {
  width: 36px !important;
  height: 36px !important;
  background: var(--red);
  color: #fff !important;
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
}

.player__toggle:hover { background: var(--red-2); }

.player__toggle .ic-pause { display: none; }
.player.is-playing .player__toggle .ic-play { display: none; }
.player.is-playing .player__toggle .ic-pause { display: block; }

/* Ses: hoparlör butonu + üstüne gelince açılan küçük çubuk */
.player__vol {
  display: flex;
  align-items: center;
  gap: 0;
  margin-right: 4px;
}

.player__vol .ic-mute { display: none; }
.player.is-muted .player__vol .ic-vol { display: none; }
.player.is-muted .player__vol .ic-mute { display: block; }

.player__volbar {
  width: 0;
  height: 14px;              /* tıklama alanı; görünen çizgi ::before */
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: width 0.3s var(--ease), margin 0.3s var(--ease);
}

.player__vol:hover .player__volbar,
.player__volbar:hover { width: 48px; margin-right: 6px; }

.player__volbar::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  margin-top: -1.5px;
  background: rgba(255, 255, 255, 0.1);
}

.player__volbar span {
  position: absolute;
  left: 0;
  top: 50%;
  height: 3px;
  margin-top: -1.5px;
  width: 100%;
  background: var(--red);
  transform-origin: left;
  transform: scaleX(0.45);
}

.player__bar {
  grid-column: 1 / -1;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  cursor: pointer;
}

.player__bar span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--red-dark), var(--red-2));
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

/* --------------------------------------------------------------------------
   Şimdi çalıyor bildirimi
   -------------------------------------------------------------------------- */

.toast {
  position: fixed;
  top: calc(var(--nav-h) + 16px);
  right: 28px;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 340px;
  padding: 12px 18px 12px 14px;
  background: rgba(10, 10, 14, 0.95);
  border: 1px solid var(--line-red);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  opacity: 0;
  transform: translateX(24px);
  pointer-events: none;
  transition: opacity 0.35s, transform 0.45s var(--ease);
}

.toast.is-visible { opacity: 1; transform: none; }

.toast::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--red);
}

.toast__viz {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  width: 16px;
  height: 16px;
}

.toast__viz i {
  flex: 1;
  height: 100%;
  background: var(--red-2);
  transform-origin: bottom;
  animation: viz 0.8s ease-in-out infinite alternate;
}

.toast__viz i:nth-child(2) { animation-delay: -0.3s; }
.toast__viz i:nth-child(3) { animation-delay: -0.55s; }

.toast__body { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }

.toast__label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--red);
}

.toast__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --------------------------------------------------------------------------
   Özel imleç — html.has-cursor JS tarafından sadece fare olan cihazlarda eklenir
   -------------------------------------------------------------------------- */

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  will-change: transform;
}

html.has-cursor,
html.has-cursor * { cursor: none !important; }

html.has-cursor .cursor-dot,
html.has-cursor .cursor-ring { opacity: 1; }

html.has-cursor.cursor-out .cursor-dot,
html.has-cursor.cursor-out .cursor-ring { opacity: 0; }

.cursor-dot {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: var(--red-2);
  transition: opacity 0.2s;
}

.cursor-ring {
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  transition: opacity 0.2s, width 0.25s var(--ease), height 0.25s var(--ease), margin 0.25s var(--ease), border-color 0.25s, background 0.25s;
}

html.has-cursor.cursor-hover .cursor-ring {
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  border-color: var(--red);
  background: rgba(224, 36, 47, 0.10);
}

html.has-cursor.cursor-down .cursor-ring {
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  border-color: var(--red-2);
}

/* Halkanın içinde etiket (data-cursor="PROFİL" gibi) */
.cursor-ring::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.2em;
  color: var(--white);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s, transform 0.25s var(--ease);
}

html.has-cursor.cursor-label .cursor-ring {
  width: 68px;
  height: 68px;
  margin: -34px 0 0 -34px;
  border-color: var(--red);
  background: rgba(10, 10, 14, 0.85);
}

html.has-cursor.cursor-label .cursor-ring::after { opacity: 1; transform: none; }
html.has-cursor.cursor-label .cursor-dot { opacity: 0; }

/* --------------------------------------------------------------------------
   Yukarı çık
   -------------------------------------------------------------------------- */

.totop {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 40;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  color: var(--white);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease), background 0.2s, border-color 0.2s;
}

.totop.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.totop:hover {
  background: var(--red);
  border-color: var(--red);
}

/* --------------------------------------------------------------------------
   Duyarlılık
   -------------------------------------------------------------------------- */

@media (max-width: 1280px) {
  .rail { display: none; }
}

@media (max-width: 1100px) {
  .team { grid-template-columns: repeat(4, 1fr); }
  .hud, .hud-read { display: none; }
}

@media (max-width: 880px) {
  .hero { padding-top: calc(var(--nav-h) + 24px); padding-bottom: 80px; }
  .hero__scroll { display: none; }
  .team { grid-template-columns: repeat(3, 1fr); gap: 12px; }

  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 24px;
    background: rgba(7, 7, 9, 0.97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s var(--ease);
  }

  .nav__links.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav__links a[data-nav] { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__cta { margin: 16px 0 0; justify-content: center; }
  .nav__burger { display: flex; }
  .nav.is-scrolled, .nav.is-open {
    background: rgba(7, 7, 9, 0.96);
    border-bottom-color: var(--line);
  }

  .section__head {
    grid-template-columns: auto auto;
  }
  .section__rule { display: none; }
  .marquee__item { font-size: 20px; }

  .cta { grid-template-columns: 1fr; padding: 48px 32px; }
  .cta__mark { font-size: 120px; right: -10px; bottom: -20px; }

  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__brand { justify-content: center; }
  .footer__links { justify-content: center; flex-wrap: wrap; }
  .footer__copy { text-align: center; }
}

@media (max-width: 600px) {
  .section { padding: 90px 0; }
  .section__head { grid-template-columns: 1fr; row-gap: 6px; }
  .section__num { grid-row: auto; }
  .section__title { grid-row: auto; }
  .section__sub { grid-column: 1; grid-row: auto; }
  .section__ghost { font-size: 160px; top: 20px; }

  .hero__title { font-size: clamp(72px, 22vw, 110px); }
  .hero__stats { gap: 10px; flex-wrap: wrap; }
  .stat { min-width: 140px; padding: 16px 20px 14px; }
  .stat strong { font-size: 38px; }

  .team { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .member { padding: 22px 10px 18px; }
  .member__frame { width: 88px; height: 88px; }
  .member__name { font-size: 16px; }

  .cta { padding: 40px 24px; }
  .cta__title { font-size: 56px; }
  .totop { right: 16px; bottom: 16px; }
  .player { left: 12px; bottom: 12px; width: calc(100% - 24px - 62px); padding: 10px 12px 12px; grid-template-columns: 1fr auto; }
  .player__viz { display: none; }
  .player__vol { display: none; }
  .toast { right: 12px; left: 12px; max-width: none; }
  .hero__crew { gap: 12px; padding-right: 14px; }
  .hero__crew-text { font-size: 12px; }

  .bg__video { opacity: 0.38; }
  .bg__beam { display: none; }
  .loader__skip { right: 16px; bottom: 16px; }
  .hud--loader { display: none; }
}

/* --------------------------------------------------------------------------
   Site, açılış bitene kadar bekler (JS body'ye .is-ready ekler)
   -------------------------------------------------------------------------- */

.nav { transform: translateY(-100%); }
.is-ready .nav { transform: none; }

.hero__line, .hero__ch, .hero__slash, .hero__desc, .hero__actions, .hero__stats, .hero__crew,
.hero__scroll, .hero .hud, .hud-read {
  animation-play-state: paused;
}

.is-ready .hero__line, .is-ready .hero__ch, .is-ready .hero__slash, .is-ready .hero__desc,
.is-ready .hero__actions, .is-ready .hero__stats, .is-ready .hero__crew, .is-ready .hero__scroll,
.is-ready .hero .hud, .is-ready .hud-read {
  animation-play-state: running;
}
