/* ============ Özel font: Hesorder (satın alınıp fonts/ klasörüne eklenmeli) ============ */
@font-face {
  font-family: 'Hesorder';
  src: url('../fonts/Hesorder.woff2') format('woff2'),
       url('../fonts/Hesorder.otf') format('opentype'),
       url('../fonts/Hesorder.ttf') format('truetype');
  font-display: swap;
}

/* ============ Tokens ============ */
:root {
  --bg: #050303;
  --bg-alt: #0a0505;
  --blood: #7a0910;
  --blood-bright: #c81a25;
  --blood-glow: #e0202c;
  --blood-dark: #3a0509;
  --text: #e9e3df;
  --muted: #8d8078;
  --line: #241414;
  --font-display: 'Cinzel', serif;
  --font-body: 'Jost', sans-serif;
}

* { box-sizing: border-box; }

/* ============ Boot / açılış ekranı ============ */
.boot-screen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: 'Jost', monospace;
  transition: opacity 0.4s ease 0.75s, visibility 0.4s ease 0.75s;
}

.boot-screen.boot-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Arka plan katmanları: matrix yağmuru + sis + vignette + damarlar */
.boot-matrix {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.4;
}

.boot-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 32%, rgba(0,0,0,0.94) 100%);
}

.boot-fog {
  position: absolute;
  left: -10%;
  width: 120%;
  height: 60%;
  bottom: -15%;
  z-index: 2;
  pointer-events: none;
  filter: blur(26px);
  background: radial-gradient(ellipse at 50% 100%, rgba(122,9,16,0.4) 0%, rgba(122,9,16,0.12) 45%, transparent 75%);
  animation: fogDrift 16s ease-in-out infinite;
}

.boot-veins {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 0.55;
  pointer-events: none;
}

.vein-path {
  fill: none;
  stroke: var(--blood);
  stroke-width: 1.3;
  filter: drop-shadow(0 0 6px rgba(224, 32, 44, 0.5));
  animation: veinPulse 5.5s ease-in-out infinite;
}

.vein-path:nth-child(2) { animation-delay: -1.4s; }
.vein-path:nth-child(3) { animation-delay: -2.8s; }
.vein-path:nth-child(4) { animation-delay: -3.9s; }

@keyframes veinPulse {
  0%, 100% { opacity: 0.22; }
  50%      { opacity: 0.7; }
}

/* İçerik çerçevesi — kare, yumuşak köşeli, görünür bir panel */
.boot-frame {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: min(560px, 88vw);
  padding: 36px 38px 30px;
  border: 1.5px solid rgba(200, 26, 37, 0.55);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(11, 4, 4, 0.7), rgba(5, 2, 2, 0.85));
  backdrop-filter: blur(9px);
  box-shadow:
    0 0 34px rgba(0, 0, 0, 0.65),
    0 0 46px rgba(200, 26, 37, 0.16),
    inset 0 0 34px rgba(0, 0, 0, 0.55);
  opacity: 0;
  filter: blur(8px);
  transform: scale(0.95);
  pointer-events: none;
  transition: opacity 0.7s ease, filter 0.7s ease, transform 0.7s ease;
}

.boot-screen.boot-armed .boot-frame {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
  pointer-events: auto;
}

/* ============ Erişim kapısı: "BAĞLAN" tuşu (ses + dizi bununla başlar) ============ */
.boot-gate {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 50%, rgba(10, 3, 3, 0.35), rgba(2, 1, 1, 0.78) 72%);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.boot-screen.boot-armed .boot-gate {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.boot-gate-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 26px 56px;
  background: rgba(10, 4, 4, 0.72);
  border: 1.5px solid var(--blood-bright);
  border-radius: 20px;
  cursor: pointer;
  font-family: 'Jost', monospace;
  animation: bootGatePulse 2.2s ease-in-out infinite;
  transition: transform 0.15s ease, box-shadow 0.25s ease;
}

.boot-gate-btn:hover {
  transform: scale(1.045);
  box-shadow: 0 0 40px rgba(224, 32, 44, 0.55), inset 0 0 24px rgba(224, 32, 44, 0.14);
}

.boot-gate-btn:active {
  transform: scale(0.96);
}

.boot-gate-label {
  font-family: 'Pirata One', 'New Rocker', var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  letter-spacing: 0.1em;
  color: var(--blood-bright);
  text-shadow: 0 0 10px rgba(224, 32, 44, 0.85), 0 0 26px rgba(224, 32, 44, 0.5);
}

.boot-gate-sub {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

@keyframes bootGatePulse {
  0%, 100% { box-shadow: 0 0 22px rgba(224, 32, 44, 0.3), inset 0 0 16px rgba(224, 32, 44, 0.06); }
  50%      { box-shadow: 0 0 42px rgba(224, 32, 44, 0.6), inset 0 0 24px rgba(224, 32, 44, 0.14); }
}

/* Ses aç/kapa düğmesi (autoplay engeline karşı) */
.boot-sound-toggle {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 6;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 4, 4, 0.55);
  border: 1px solid rgba(200, 26, 37, 0.4);
  border-radius: 50%;
  color: var(--blood-bright);
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
  animation: soundTogglePulse 2.6s ease-in-out infinite;
}

.boot-sound-toggle:hover {
  border-color: rgba(224, 32, 44, 0.8);
  box-shadow: 0 0 16px rgba(224, 32, 44, 0.4);
}

.boot-sound-toggle:active {
  transform: scale(0.92);
}

.boot-sound-icon {
  width: 18px;
  height: 18px;
}

.boot-sound-off { display: none; }
.boot-sound-toggle.sound-on .boot-sound-on { display: none; }
.boot-sound-toggle.sound-on .boot-sound-off { display: block; }

@keyframes soundTogglePulse {
  0%, 100% { box-shadow: 0 0 0 rgba(224, 32, 44, 0); }
  50%      { box-shadow: 0 0 12px rgba(224, 32, 44, 0.35); }
}

/* Emblem etrafında ilerleme halkası — büyük, bulanık arkaplan katmanı */
.boot-emblem-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(60vmin, 560px);
  height: min(60vmin, 560px);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: blur(3px);
  opacity: 0.5;
  pointer-events: none;
}

.boot-emblem-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.boot-emblem-ring-track {
  fill: none;
  stroke: rgba(122, 9, 16, 0.3);
  stroke-width: 0.9;
}

.boot-emblem-ring-fill {
  fill: none;
  stroke: var(--blood-bright);
  stroke-width: 0.9;
  stroke-linecap: round;
  stroke-dasharray: 119.4;
  stroke-dashoffset: 119.4;
  filter: drop-shadow(0 0 5px rgba(224, 32, 44, 0.85));
  transition: stroke-dashoffset 0.2s linear;
}

.boot-emblem {
  position: relative;
  width: 46%;
  height: 46%;
  color: var(--blood-bright);
  opacity: 0.85;
  filter: drop-shadow(0 0 22px rgba(224, 32, 44, 0.55));
  animation: zodiacPulse 3.4s ease-in-out infinite;
}

.boot-emblem svg {
  width: 100%;
  height: 100%;
}

/* Şizofrenik fısıltı yazıları — ekranın çeşitli yerlerinde, ufak, ara sıra beliren */
.boot-whispers {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.boot-whisper {
  position: absolute;
  max-width: 46vw;
  font-family: 'Pirata One', 'New Rocker', var(--font-display);
  color: var(--blood-bright);
  text-shadow: 0 0 6px rgba(224, 32, 44, 0.6), 0 0 2px rgba(0, 0, 0, 0.9);
  letter-spacing: 0.03em;
  line-height: 1.3;
  white-space: normal;
  opacity: 0;
  animation: bootWhisperFade 2.6s ease-in-out forwards;
}

@keyframes bootWhisperFade {
  0%   { opacity: 0; filter: blur(1.5px); }
  14%  { opacity: 0.8; filter: blur(0); }
  68%  { opacity: 0.6; }
  100% { opacity: 0; filter: blur(2px); }
}

.boot-lines {
  width: min(540px, 84vw);
  min-height: 130px;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--blood-bright);
  text-shadow: 0 0 8px rgba(224, 32, 44, 0.55);
  line-height: 2.05;
  white-space: pre-wrap;
}

.boot-lines .boot-line-done {
  color: var(--muted);
  text-shadow: none;
}

.boot-lines .boot-line-error {
  color: #ff3b3b;
  text-shadow: 0 0 10px rgba(255, 40, 40, 0.75);
}

.boot-lines .boot-line-error.boot-line-glitch {
  animation: bootGlitch 0.4s steps(2, end) 1;
}

.boot-lines .boot-line-error.boot-line-error-done {
  color: rgba(180, 60, 60, 0.55);
  text-shadow: none;
  text-decoration: line-through;
  text-decoration-color: rgba(224, 32, 44, 0.6);
  transition: color 0.5s ease;
}

.boot-lines .boot-line-success {
  color: #ffb3b3;
  text-shadow: 0 0 12px rgba(224, 32, 44, 0.9), 0 0 26px rgba(224, 32, 44, 0.5);
}

@keyframes bootGlitch {
  0%   { transform: translate(0, 0); opacity: 1; }
  20%  { transform: translate(-2px, 1px); opacity: 0.65; text-shadow: 2px 0 rgba(90,210,220,0.7), -2px 0 rgba(255,40,40,0.9); }
  40%  { transform: translate(2px, -1px); opacity: 1; }
  60%  { transform: translate(-1px, 0); opacity: 0.55; text-shadow: -2px 0 rgba(90,210,220,0.7), 2px 0 rgba(255,40,40,0.9); }
  80%  { transform: translate(1px, 1px); opacity: 1; }
  100% { transform: translate(0, 0); opacity: 1; text-shadow: none; }
}

.boot-lines .boot-cursor {
  display: inline-block;
  width: 7px;
  height: 13px;
  background: var(--blood-bright);
  margin-left: 2px;
  transform: rotate(45deg);
  animation: bootCursorBlink 0.9s steps(1) infinite;
  vertical-align: -1px;
}

@keyframes bootCursorBlink {
  0%, 49%  { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* Kürsör yerine: imleç konumunda genişleyip kaybolan sonar halkası */
.boot-lines .boot-sonar {
  position: relative;
  display: inline-block;
  width: 3px;
  height: 1em;
  margin-left: 3px;
  vertical-align: -3px;
}

.boot-lines .boot-sonar::before,
.boot-lines .boot-sonar::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border: 1px solid var(--blood-bright);
  border-radius: 50%;
  animation: bootSonarPulse 1s ease-out infinite;
}

.boot-lines .boot-sonar::after {
  animation-delay: 0.5s;
}

@keyframes bootSonarPulse {
  0%   { transform: scale(0.35); opacity: 0.95; }
  100% { transform: scale(3.4); opacity: 0; }
}

.boot-icon-drop {
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-left: 8px;
  vertical-align: -2px;
  filter: drop-shadow(0 0 6px rgba(224, 32, 44, 0.9));
}

.boot-bar-row {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.boot-bar-track {
  position: relative;
  flex: 1;
  height: 4px;
  background: rgba(122, 9, 16, 0.25);
  border-radius: 2px;
  overflow: hidden;
}

.boot-bar-fill {
  position: relative;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--blood-dark), var(--blood-bright));
  box-shadow: 0 0 10px rgba(224, 32, 44, 0.7);
  transition: width 0.25s linear;
  animation: barHeartbeat 1.8s ease-in-out infinite;
}

.boot-bar-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  width: 40%;
  animation: barSheen 1.7s linear infinite;
}

.boot-bar-fill::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -1px;
  width: 9px;
  height: 9px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: #ffb3b3;
  box-shadow: 0 0 8px rgba(255, 179, 179, 0.9), 0 0 18px rgba(224, 32, 44, 0.8);
  animation: barPulseNode 1.8s ease-in-out infinite;
}

@keyframes barHeartbeat {
  0%, 100% { box-shadow: 0 0 6px rgba(224, 32, 44, 0.5); }
  14%      { box-shadow: 0 0 20px rgba(224, 32, 44, 1); }
  28%      { box-shadow: 0 0 7px rgba(224, 32, 44, 0.55); }
  40%      { box-shadow: 0 0 16px rgba(224, 32, 44, 0.9); }
  60%      { box-shadow: 0 0 6px rgba(224, 32, 44, 0.5); }
}

@keyframes barPulseNode {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  14%      { transform: scale(1.9); opacity: 1; }
  28%      { transform: scale(1); opacity: 0.75; }
  40%      { transform: scale(1.5); opacity: 1; }
}

@keyframes barSheen {
  0%   { transform: translateX(-120%); }
  100% { transform: translateX(340%); }
}

.boot-percent {
  min-width: 34px;
  font-family: 'Courier New', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: var(--muted);
}

/* Elektrik kesintisi: tüm ekranın 1-2 kare kararması ("ERİŞİM REDDEDİLDİ" anı) */
.boot-blackout {
  position: fixed;
  inset: 0;
  z-index: 10002;
  background: #000;
  opacity: 0;
  pointer-events: none;
}

.boot-blackout.blackout-flash {
  opacity: 1;
}

/* Kapanış anı: ekran sarsıntısı */
.boot-screen.boot-shake {
  animation: bootScreenShake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) 1;
}

@keyframes bootScreenShake {
  0%   { transform: translate(0, 0); }
  12%  { transform: translate(-6px, 3px); }
  24%  { transform: translate(5px, -4px); }
  36%  { transform: translate(-4px, -3px); }
  48%  { transform: translate(6px, 2px); }
  60%  { transform: translate(-5px, 4px); }
  72%  { transform: translate(3px, -2px); }
  84%  { transform: translate(-2px, 1px); }
  100% { transform: translate(0, 0); }
}

/* Kapanış: perde yırtılması (arkaplan katmanı — içeriğin ALTINDA durur, z-index: 0) */
.boot-tear-top,
.boot-tear-bottom {
  position: absolute;
  left: 0;
  width: 100%;
  height: 51%;
  background: #020101;
  z-index: 0;
  pointer-events: none;
  /* JS tarafından clip-path ile zikzaklı/çentikli cam kırığı hattı verilir */
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.boot-tear-top {
  top: 0;
  transition: transform 0.75s cubic-bezier(0.7, 0, 0.15, 1), filter 0.75s ease;
}

.boot-tear-bottom {
  bottom: 0;
  transition: transform 0.75s cubic-bezier(0.7, 0, 0.15, 1), filter 0.75s ease;
}

.boot-screen.boot-tear .boot-tear-top {
  transform: translateY(-100%);
  filter: drop-shadow(0 8px 14px rgba(224, 32, 44, 0.9));
}

.boot-screen.boot-tear .boot-tear-bottom {
  transform: translateY(100%);
  filter: drop-shadow(0 -8px 14px rgba(224, 32, 44, 0.9));
}

.boot-screen.boot-tear .boot-frame,
.boot-screen.boot-tear .boot-matrix,
.boot-screen.boot-tear .boot-vignette,
.boot-screen.boot-tear .boot-fog,
.boot-screen.boot-tear .boot-veins,
.boot-screen.boot-tear .boot-bar-row,
.boot-screen.boot-tear .boot-sound-toggle,
.boot-screen.boot-tear .boot-emblem-wrap,
.boot-screen.boot-tear .boot-whispers {
  transition: opacity 0.3s ease;
  opacity: 0;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* ============ Arka plan parçacık sistemi (canvas) ============ */
#ember-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.55;
}

/* ============ Yıldırım / elektrik kesintisi flaşı ============ */
.screen-flash {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at 50% 40%, rgba(255,255,255,0.9), rgba(224,32,44,0.55) 45%, rgba(122,9,16,0.2) 75%);
  mix-blend-mode: screen;
}

.screen-flash.flash-active {
  animation: screenFlash 0.55s ease-out;
}

@keyframes screenFlash {
  0%   { opacity: 0; }
  8%   { opacity: 0.9; }
  16%  { opacity: 0.15; }
  24%  { opacity: 0.7; }
  40%  { opacity: 0; }
  100% { opacity: 0; }
}

/* ============ Ekran filtresi: çok hafif CRT tarama çizgileri ============ */
.crt-overlay {
  position: fixed;
  inset: 0;
  z-index: 9990;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.12) 0px,
    rgba(0, 0, 0, 0.12) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: overlay;
  opacity: 0.5;
  animation: crtFlicker 7.5s ease-in-out infinite;
}

@keyframes crtFlicker {
  0%, 100% { opacity: 0.44; }
  50%      { opacity: 0.54; }
  63%      { opacity: 0.38; }
  65%      { opacity: 0.54; }
}

/* ============ Sabit, çok hafif kenar vinyeti (kaydırmadan bağımsız) ============ */
.global-vignette {
  position: fixed;
  inset: 0;
  z-index: 9989;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, transparent 60%, rgba(0, 0, 0, 0.55) 100%);
}

/* ============ Ara sıra beliren dijital titreşim (hover) ============ */
@keyframes digitalJitter {
  0%   { transform: translate(0, 0); filter: none; }
  18%  { transform: translate(-1.5px, 1px); filter: drop-shadow(-2px 0 rgba(90, 210, 220, 0.55)) drop-shadow(2px 0 rgba(224, 32, 44, 0.55)); }
  36%  { transform: translate(1.5px, -1px); filter: none; }
  54%  { transform: translate(-1px, 0.5px); filter: drop-shadow(2px 0 rgba(90, 210, 220, 0.5)) drop-shadow(-2px 0 rgba(224, 32, 44, 0.5)); }
  72%  { transform: translate(1px, 0); filter: none; }
  100% { transform: translate(0, 0); filter: none; }
}

/* ============ Custom cursor: kara gotik haç, kırmızı glow ============ */
html, body, a, button {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 34 34'%3E%3Cdefs%3E%3Cfilter id='g' x='-60%25' y='-60%25' width='220%25' height='220%25'%3E%3CfeGaussianBlur stdDeviation='2.1'/%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23g)'%3E%3Crect x='14.5' y='2' width='5' height='28' fill='%23c81a25'/%3E%3Crect x='5' y='10' width='24' height='5' fill='%23c81a25'/%3E%3C/g%3E%3Crect x='15.3' y='3' width='3.4' height='24' fill='%23050303'/%3E%3Crect x='6.5' y='11.3' width='21' height='3.4' fill='%23050303'/%3E%3C/svg%3E") 17 16, crosshair;
}

/* ============ Scroll behaviour ============ */
.scroller {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  overflow-y: scroll;
  height: 100vh;
  width: 100%;
  scrollbar-color: var(--blood-bright) #050303;
  scrollbar-width: thin;
}

/* Webkit (Chrome/Edge/Safari) - kan damlası şeklinde scrollbar */
.scroller::-webkit-scrollbar {
  width: 16px;
}

.scroller::-webkit-scrollbar-track {
  background: #050303;
  border-left: 1px solid var(--line);
}

.scroller::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--blood-dark), var(--blood-bright) 55%, var(--blood-dark));
  border-radius: 40% 40% 50% 50% / 35% 35% 65% 65%;
  border: 3px solid #050303;
  box-shadow: 0 0 10px rgba(200, 26, 37, 0.55), inset 0 0 6px rgba(0,0,0,0.5);
}

.scroller::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, var(--blood), var(--blood-glow) 55%, var(--blood));
  box-shadow: 0 0 18px rgba(224, 32, 44, 0.8), inset 0 0 6px rgba(0,0,0,0.5);
}

.scroller::-webkit-scrollbar-button {
  display: none;
}

.page {
  scroll-snap-align: start;
  height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(58,5,9,0.35) 0%, transparent 55%),
    var(--bg);
  opacity: 0.25;
  filter: blur(10px) saturate(0.7);
  transition: opacity 0.9s cubic-bezier(0.22, 0.7, 0.3, 1), filter 0.9s cubic-bezier(0.22, 0.7, 0.3, 1);
  will-change: opacity, filter;
}

.page.in-view {
  opacity: 1;
  filter: blur(0) saturate(1);
}

/* ============ Top bar ============ */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 3, 3, 0.85);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.zodiac-icon {
  width: 20px;
  height: 20px;
  color: var(--blood-bright);
  filter: drop-shadow(0 0 8px rgba(224, 32, 44, 0.65));
  animation: zodiacPulse 3.2s ease-in-out infinite;
}

@keyframes zodiacPulse {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(224, 32, 44, 0.45)); opacity: 0.9; }
  50%      { filter: drop-shadow(0 0 16px rgba(224, 32, 44, 0.9)); opacity: 1; }
}

/* ============ Kan damlama efekti ============ */
.blood-drips {
  position: fixed;
  top: 46px;
  left: 0;
  right: 0;
  height: 90px;
  pointer-events: none;
  z-index: 40;
  overflow: hidden;
}

.drip {
  position: absolute;
  top: 0;
  width: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(to bottom, var(--blood-dark), var(--blood-bright));
  box-shadow: 0 0 6px rgba(200, 26, 37, 0.6);
  transform-origin: top;
  animation: dripGrow 4.5s ease-in infinite;
  opacity: 0.85;
}

.drip::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blood-bright);
  box-shadow: 0 0 6px rgba(200, 26, 37, 0.8);
}

@keyframes dripGrow {
  0%   { height: 0; opacity: 0; }
  15%  { opacity: 0.9; }
  70%  { opacity: 0.85; }
  100% { height: var(--drip-h, 60px); opacity: 0; }
}

/* ============ İmleç kan izi / kuyruk efekti ============ */
.cursor-trail {
  position: fixed;
  top: 0;
  left: 0;
  width: 7px;
  height: 9px;
  border-radius: 50% 50% 60% 60%;
  background: radial-gradient(circle at 50% 35%, var(--blood-glow), var(--blood) 70%, var(--blood-dark));
  box-shadow: 0 0 6px rgba(224, 32, 44, 0.85), 0 0 14px rgba(122, 9, 16, 0.55);
  pointer-events: none;
  z-index: 9999;
  will-change: transform, opacity;
  animation: trailFade 0.6s ease-out forwards;
}

@keyframes trailFade {
  0%   { opacity: 0.9; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(0.15) translateY(8px); }
}

/* ============ Tıklamada kan sıçraması ============ */
.blood-splat {
  position: fixed;
  top: 0;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50% 50% 60% 60%;
  background: radial-gradient(circle at 50% 35%, var(--blood-glow), var(--blood) 65%, var(--blood-dark));
  box-shadow: 0 0 8px rgba(224, 32, 44, 0.85);
  pointer-events: none;
  z-index: 9999;
  will-change: transform, opacity;
  animation: splatFly 0.65s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}

@keyframes splatFly {
  0%   { opacity: 1; transform: translate(-50%, -50%) scale(1) translate(0, 0); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(0.3) translate(var(--sx), var(--sy)); }
}

/* ============ KEMERBURGAZ harf harf "kanla yazılma" ============ */
.goth-neon span[data-ch] {
  display: inline-block;
  opacity: 0;
  filter: blur(2px);
  transform: translateY(-6px);
  animation: bloodWrite 0.55s ease-out forwards, neonFlicker 9s linear infinite 2.4s;
}

@keyframes bloodWrite {
  0%   { opacity: 0; filter: blur(3px); transform: translateY(-10px) scaleY(1.3); text-shadow: 0 0 0 transparent; }
  55%  { opacity: 1; filter: blur(0.5px); transform: translateY(2px) scaleY(0.95); }
  70%  { transform: translateY(0) scaleY(1.05); }
  100% { opacity: 1; filter: blur(0); transform: translateY(0) scaleY(1); }
}

/* ============ Grain / atmosphere ============ */
.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  z-index: 1;
}

.vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.88) 100%);
  z-index: 1;
}

/* ============ Kırmızı sis ============ */
.fog {
  position: absolute;
  left: -10%;
  width: 120%;
  height: 55%;
  bottom: -10%;
  pointer-events: none;
  filter: blur(18px);
  z-index: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(122,9,16,0.35) 0%, rgba(122,9,16,0.1) 45%, transparent 75%);
  animation: fogDrift 14s ease-in-out infinite;
}

.fog-2 {
  animation-duration: 19s;
  animation-delay: -6s;
  opacity: 0.6;
}

@keyframes fogDrift {
  0%   { transform: translateY(0) translateX(0); opacity: 0.5; }
  50%  { transform: translateY(-30px) translateX(20px); opacity: 0.85; }
  100% { transform: translateY(0) translateX(0); opacity: 0.5; }
}

/* ============ Pençe izleri ============ */
.claw {
  position: absolute;
  width: 160px;
  height: 160px;
  stroke: var(--blood);
  stroke-width: 3;
  stroke-linecap: round;
  fill: none;
  opacity: 0.35;
  z-index: 1;
}

.claw-tl {
  top: 40px;
  left: 20px;
}

.claw-br {
  bottom: 40px;
  right: 20px;
}

/* ============ Hero split (sol yazı / sağ harita) ============ */
.hero-split {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4vw;
  padding: 0 5vw;
}

.hero-left {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-right {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.hero .giant {
  z-index: 2;
}

/* ============ KEMERBURGAZ 3D flip (hover'da zodiac logosuna döner) ============ */
.kb-flip {
  position: relative;
  perspective: 1400px;
  cursor: pointer;
}

.kb-flip-inner {
  position: relative;
  transition: transform 0.85s cubic-bezier(0.4, 0.1, 0.2, 1);
  transform-style: preserve-3d;
}

.kb-flip:hover .kb-flip-inner,
.kb-flip:focus .kb-flip-inner {
  transform: rotateY(180deg);
}

.kb-face {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.kb-front {
  position: relative;
}

.kb-back {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotateY(180deg);
}

/* ============ "EST. 2019" rozeti — döngüye (flip) katılmaz, rüzgarla savrulur ============ */
.est-badge {
  position: absolute;
  right: 4%;
  bottom: 6%;
  z-index: 4;
  display: inline-flex;
  pointer-events: none;
  font-family: 'UnifrakturMaguntia', 'New Rocker', var(--font-display);
  font-weight: 400;
  font-size: clamp(1rem, 2vw, 1.7rem);
  letter-spacing: 0.03em;
  text-transform: none;
  color: #f7f5f2;
  transform: rotate(-3deg);
  text-shadow:
    0 0 5px rgba(255, 255, 255, 0.95),
    0 0 14px rgba(255, 255, 255, 0.75),
    0 0 30px rgba(255, 255, 255, 0.45),
    0 0 60px rgba(200, 220, 255, 0.25);
  animation: estGlowBreathe 4.2s ease-in-out infinite;
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease, filter 0.6s ease;
}

.est-badge::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: -8px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
  animation: estUnderlinePulse 4.2s ease-in-out infinite;
}

@keyframes estGlowBreathe {
  0%, 100% { filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.5)); }
  50%      { filter: drop-shadow(0 0 13px rgba(255, 255, 255, 0.95)); }
}

@keyframes estUnderlinePulse {
  0%, 100% { opacity: 0.2; transform: scaleX(0.35); }
  50%      { opacity: 0.85; transform: scaleX(1); }
}

.est-badge span[data-ch] {
  display: inline-block;
  opacity: 0;
  filter: blur(2px);
  transform: translateY(-4px);
  animation: bloodWrite 0.5s ease-out forwards, estFlicker 10s linear infinite;
}

@keyframes estFlicker {
  0%, 5%, 9%, 100% { opacity: 1; }
  5.6%  { opacity: 0.3; }
  6.2%  { opacity: 1; }
  6.6%  { opacity: 0.12; }
  7%    { opacity: 1; }
  58%, 61% { opacity: 1; }
  58.6% { opacity: 0.35; }
  59.2% { opacity: 1; }
}

/* Ana yazı döndüğünde rozet DÖNMEZ — rüzgarla savrulup aynı yoldan geri döner */
.kb-flip:hover .est-badge,
.kb-flip:focus .est-badge {
  transform: rotate(-3deg) translate(56px, -22px) rotate(22deg) scale(0.82);
  opacity: 0;
  filter: blur(3px);
  transition: transform 0.5s cubic-bezier(0.55, 0, 1, 0.45), opacity 0.38s ease, filter 0.38s ease;
}

.zodiac-3d-wrap {
  width: clamp(190px, 21vw, 290px);
  height: clamp(190px, 21vw, 290px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(40, 4, 6, 0.85), rgba(5, 3, 3, 0.98) 72%);
  box-shadow:
    inset 0 4px 10px rgba(0, 0, 0, 0.8),
    inset 0 -4px 12px rgba(224, 32, 44, 0.15),
    0 0 24px rgba(224, 32, 44, 0.3);
  perspective: 900px;
}

.zodiac-3d {
  width: 70%;
  height: 70%;
  filter: drop-shadow(0 0 10px rgba(224, 32, 44, 0.55));
  animation: zodiacSpin3d 5.5s ease-in-out infinite;
  transform-style: preserve-3d;
  will-change: transform;
  shape-rendering: geometricPrecision;
}

/* Sembol her zaman net okunur kalsın diye tam 90°/270° "kenardan görünüm"
   açılarına asla gitmiyor — sadece hafif, sürekli bir 3D sallanma. */
@keyframes zodiacSpin3d {
  0%   { transform: rotateY(-10deg) rotateX(4deg)  scale(1); }
  50%  { transform: rotateY(10deg)  rotateX(-4deg) scale(1.015); }
  100% { transform: rotateY(-10deg) rotateX(4deg)  scale(1); }
}

/* ============ Kanlı göz: oynayan göz bebeği ============ */
.eye-pupil {
  animation: eyeLook 6.5s ease-in-out infinite;
  will-change: transform;
}

@keyframes eyeLook {
  0%   { transform: translate(0, 0); }
  14%  { transform: translate(6px, -3px); }
  30%  { transform: translate(6px, -3px); }
  42%  { transform: translate(-7px, 2px); }
  58%  { transform: translate(-7px, 2px); }
  70%  { transform: translate(2px, 5px); }
  86%  { transform: translate(2px, 5px); }
  94%  { transform: translate(0, 0); }
  100% { transform: translate(0, 0); }
}

/* ============ Gotik neon tabela yazısı ============ */
.giant.goth-neon {
  font-family: 'Hesorder', 'New Rocker', 'Pirata One', var(--font-display);
  font-weight: 400;
  color: #050303;
  -webkit-text-stroke: 1.4px rgba(224, 32, 44, 0.6);
  text-shadow:
    0 0 4px rgba(224, 32, 44, 0.9),
    0 0 14px rgba(224, 32, 44, 0.85),
    0 0 28px rgba(200, 26, 37, 0.75),
    0 0 54px rgba(122, 9, 16, 0.65),
    0 0 90px rgba(122, 9, 16, 0.4);
  letter-spacing: -0.01em;
  white-space: nowrap;
  animation: neonFlicker 9s linear infinite;
}

@keyframes neonFlicker {
  0%, 3%, 6%, 100% { opacity: 1; }
  3.5%              { opacity: 0.35; }
  4%                { opacity: 1; }
  4.3%              { opacity: 0.2; }
  4.6%              { opacity: 1; }
  47%, 50%          { opacity: 1; }
  47.5%             { opacity: 0.4; }
  48%               { opacity: 1; }
  76%               { opacity: 1; }
  76.4%             { opacity: 0.25; }
  76.8%             { opacity: 1; }
}

/* ============ Glitch / sinyal paraziti (JS ile ara sıra tetiklenir) ============ */
.giant.goth-neon.glitch-active {
  animation: neonFlicker 9s linear infinite, glitchShift 0.4s steps(2, end) 2;
}

@keyframes glitchShift {
  0%   { transform: translate(0, 0); clip-path: inset(0 0 0 0);
         text-shadow: 0 0 4px rgba(224,32,44,0.9), 0 0 14px rgba(224,32,44,0.85), 0 0 28px rgba(200,26,37,0.75); }
  10%  { transform: translate(-4px, 1px); clip-path: inset(8% 0 62% 0);
         text-shadow: 3px 0 rgba(224,32,44,0.95), -3px 0 rgba(90,210,220,0.75); }
  25%  { transform: translate(3px, -1px); clip-path: inset(55% 0 10% 0);
         text-shadow: -3px 0 rgba(224,32,44,0.95), 3px 0 rgba(90,210,220,0.75); }
  40%  { transform: translate(-3px, 0); clip-path: inset(20% 0 45% 0);
         text-shadow: 2px 0 rgba(224,32,44,0.95), -2px 0 rgba(90,210,220,0.7); }
  55%  { transform: translate(2px, 1px); clip-path: inset(0 0 70% 0);
         text-shadow: -2px 0 rgba(224,32,44,0.9), 2px 0 rgba(90,210,220,0.65); }
  70%  { transform: translate(-2px, -1px); clip-path: inset(65% 0 5% 0);
         text-shadow: 2px 0 rgba(224,32,44,0.9), -2px 0 rgba(90,210,220,0.6); }
  85%  { transform: translate(1px, 0); clip-path: inset(0 0 0 0);
         text-shadow: 0 0 4px rgba(224,32,44,0.9); }
  100% { transform: translate(0, 0); clip-path: inset(0 0 0 0);
         text-shadow: 0 0 4px rgba(224,32,44,0.9), 0 0 14px rgba(224,32,44,0.85), 0 0 28px rgba(200,26,37,0.75); }
}

/* ============ 3D tilt sarmalayıcı (haritalar çapraz durur, hover'da düzleşir) ============ */
.map-tilt {
  perspective: 1200px;
}

.map-tilt .map-box,
.map-tilt .attack-map-box {
  transform: rotateY(-10deg) rotateX(4deg) scale(0.965);
  transition: transform 0.7s cubic-bezier(0.22, 0.85, 0.3, 1);
  transform-style: preserve-3d;
}

.map-tilt:hover .map-box,
.map-tilt:hover .attack-map-box {
  transform: rotateY(0deg) rotateX(0deg) scale(1);
}

/* ============ Harita kutusu ============ */
.map-box {
  width: min(36vw, 480px);
  height: min(40vh, 380px);
  min-width: 260px;
  min-height: 220px;
  border-radius: 32px;
  border: 2px solid var(--blood);
  box-shadow:
    0 0 24px rgba(200, 26, 37, 0.35),
    0 0 60px rgba(122, 9, 16, 0.25),
    inset 0 0 40px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  background: #060202;
  position: relative;
}

.map-box .leaflet-container {
  width: 100%;
  height: 100%;
  background: #060202;
  filter: grayscale(1) brightness(0.75) sepia(1) hue-rotate(320deg) saturate(5) contrast(1.15);
}

.map-box .leaflet-control-attribution {
  background: rgba(5, 3, 3, 0.75) !important;
  color: var(--muted) !important;
  font-size: 8px !important;
  filter: none;
}

.map-box .leaflet-control-attribution a {
  color: var(--blood-bright) !important;
}

.map-box .leaflet-control-zoom {
  filter: none;
  border: 1px solid var(--blood) !important;
}

.map-box .leaflet-control-zoom a {
  background: rgba(5,3,3,0.85) !important;
  color: var(--blood-bright) !important;
}

.map-pin {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blood-bright);
  box-shadow: 0 0 8px rgba(224,32,44,0.9), 0 0 20px rgba(200,26,37,0.7);
  animation: pinPulse 2s ease-in-out infinite;
}

@keyframes pinPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.6); opacity: 0.55; }
}

/* ============ Dekoratif "ağ / saldırı haritası" kutusu ============ */
.map-tilt-small {
  width: min(36vw, 480px);
}

.attack-map-box {
  width: 100%;
  height: min(15vh, 140px);
  min-height: 110px;
  border-radius: 20px;
  border: 1.5px solid rgba(122, 9, 16, 0.7);
  box-shadow:
    0 0 18px rgba(200, 26, 37, 0.25),
    inset 0 0 30px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 40%, rgba(58, 5, 9, 0.5), #050202 75%);
  position: relative;
}

.attack-map-silhouette {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.attack-map-silhouette path {
  fill: rgba(122, 9, 16, 0.4);
  stroke: rgba(200, 26, 37, 0.25);
  stroke-width: 0.6;
}

#attack-map-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 860px) {
  .hero-split {
    flex-direction: column;
    padding: 90px 6vw 30px;
    gap: 24px;
  }
  .hero-left, .hero-right {
    flex: none;
    width: 100%;
  }
  .map-box {
    width: 100%;
    max-width: 420px;
    height: 32vh;
  }
  .map-tilt-small {
    width: 100%;
    max-width: 420px;
  }
  .attack-map-box {
    height: 100px;
  }
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 34px;
  border: 1.5px solid var(--muted);
  border-radius: 12px;
  z-index: 3;
}

.scroll-hint span {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  background: var(--blood-bright);
  border-radius: 2px;
  animation: scrollDown 1.8s infinite ease-in-out;
}

@keyframes scrollDown {
  0%   { opacity: 1; transform: translateY(0); }
  70%  { opacity: 0; transform: translateY(10px); }
  100% { opacity: 0; transform: translateY(0); }
}

/* ============ Giant title ============ */
.giant {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 7.6vw, 6.8rem);
  letter-spacing: 0.03em;
  text-align: center;
  margin: 0;
  padding: 0 20px;
  color: var(--text);
  text-shadow: 0 0 40px rgba(0,0,0,0.9);
  line-height: 1.05;
}

/* Titreyen mum ışığı efekti - düzensiz aralıklarla */
.flicker {
  animation: flicker 9s linear infinite;
}

@keyframes flicker {
  0%, 3%, 6%, 100%   { opacity: 1; text-shadow: 0 0 40px rgba(0,0,0,0.9); }
  3.5%               { opacity: 0.55; text-shadow: 0 0 8px rgba(200,26,37,0.3); }
  4%                 { opacity: 1; }
  4.3%               { opacity: 0.4; }
  4.6%               { opacity: 1; }
  47%, 50%           { opacity: 1; }
  47.5%              { opacity: 0.5; }
  48%                { opacity: 1; }
  76%                { opacity: 1; }
  76.4%              { opacity: 0.35; }
  76.8%              { opacity: 1; }
}

/* ============ Divider (bölümler arası kan geçişi) ============ */
.divider {
  position: relative;
  height: 2px;
  width: 100%;
  z-index: 5;
  background: linear-gradient(90deg, transparent, var(--blood-dark), var(--blood-bright), var(--blood-dark), transparent);
  background-size: 200% 100%;
  animation: dividerFlow 6s linear infinite;
  box-shadow: 0 0 12px rgba(200,26,37,0.5);
}

@keyframes dividerFlow {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

/* ============ Glow transition page (page 2) ============ */
.glow-page {
  background: var(--bg);
}

.reveal-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.glow-orb {
  position: absolute;
  width: 60vw;
  height: 60vw;
  max-width: 700px;
  max-height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,26,37,0.35) 0%, rgba(122,9,16,0.12) 45%, transparent 72%);
  filter: blur(10px);
  z-index: 0;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 1.4s ease, transform 1.4s ease;
}

.glow-page.in-view .glow-orb {
  opacity: 1;
  animation: orbPulse 3.4s ease-in-out infinite;
}

@keyframes orbPulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50%      { transform: scale(1.12); opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1.1s ease 0.15s, transform 1.1s ease 0.15s;
}

.glow-page.in-view .reveal {
  opacity: 1;
  transform: translateY(0);
}

.glow-page.in-view .giant.reveal {
  text-shadow: 0 0 28px rgba(224, 32, 44, 0.55), 0 0 70px rgba(122,9,16,0.4);
}

.whisper {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--line);
  opacity: 0.4 !important;
  text-transform: lowercase;
  margin: 0;
}

.glow-page.in-view .whisper {
  color: var(--muted);
  opacity: 0.45 !important;
}

/* ============ Discord page (page 3) — bağlantı talebi paneli ============ */
.discord-page {
  background: var(--bg);
}

.connect-panel {
  position: relative;
  z-index: 2;
  width: min(440px, 88vw);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 34px 32px 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(6, 3, 3, 0.55);
  backdrop-filter: blur(4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.connect-panel.connect-live {
  border-color: rgba(224, 32, 44, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 40px rgba(200, 26, 37, 0.25);
}

.connect-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.connect-label {
  font-family: var(--font-body);
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  color: var(--blood-bright);
  text-transform: uppercase;
  opacity: 0.85;
  text-shadow: 0 0 10px rgba(224, 32, 44, 0.5);
}

.connect-target {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 0.08em;
  color: var(--text);
  text-shadow: 0 0 18px rgba(200, 26, 37, 0.35);
}

.connect-progress {
  font-family: 'Courier New', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  color: var(--blood-bright);
  text-shadow: 0 0 8px rgba(224, 32, 44, 0.55);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: clip;
}

.connect-progress span {
  color: var(--text);
  margin-left: 4px;
}

.connect-status {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}

.connect-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blood-bright);
  box-shadow: 0 0 8px 2px rgba(224, 32, 44, 0.75);
  animation: connectDotPulse 1.6s ease-in-out infinite;
  flex: 0 0 auto;
}

@keyframes connectDotPulse {
  0%, 100% { opacity: 0.5; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}

.connect-stats {
  display: flex;
  gap: 26px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.connect-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.connect-stat-value {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  text-shadow: 0 0 14px rgba(200, 26, 37, 0.4);
}

.connect-stat-label {
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

.connect-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  margin-top: 4px;
  background: transparent;
  border: 1px solid rgba(200, 26, 37, 0.5);
  border-radius: 5px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, transform 0.2s ease, opacity 0.3s ease;
}

.connect-btn-icon {
  width: 20px;
  height: 20px;
  fill: var(--muted);
  transition: fill 0.25s ease;
}

.connect-btn-bracket {
  color: var(--blood-bright);
  opacity: 0.8;
}

.connect-btn:hover:not(:disabled) {
  border-color: var(--blood-bright);
  background: rgba(200, 26, 37, 0.08);
  box-shadow: 0 0 30px rgba(200, 26, 37, 0.3);
  transform: translateY(-2px);
  animation: digitalJitter 0.3s steps(1, end) 1;
}

.connect-btn:hover:not(:disabled) .connect-btn-icon {
  fill: var(--blood-bright);
}

.connect-btn:disabled {
  cursor: default;
  opacity: 0.55;
}

.connect-terminal {
  font-family: 'Courier New', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  line-height: 1.9;
  color: var(--blood-bright);
  text-shadow: 0 0 8px rgba(224, 32, 44, 0.5);
  white-space: pre-wrap;
  min-height: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.connect-terminal.connect-terminal-active {
  max-height: 220px;
  margin-top: 2px;
}

.connect-terminal .connect-line {
  opacity: 0;
  transform: translateY(3px);
  animation: connectLineIn 0.35s ease forwards;
}

@keyframes connectLineIn {
  to { opacity: 1; transform: translateY(0); }
}

.connect-terminal .connect-line-success {
  color: #ffb3b3;
  text-shadow: 0 0 12px rgba(224, 32, 44, 0.9), 0 0 26px rgba(224, 32, 44, 0.5);
}

@media (max-width: 640px) {
  .connect-panel {
    padding: 26px 22px 24px;
  }
  .connect-target { font-size: 1.4rem; }
  .connect-progress { font-size: 0.62rem; }
  .connect-stats { gap: 18px; }
}

/* ============ Sürüklenebilir üye sayacı (sağ alt, sabit) ============ */
.member-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9997;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 14px;
  background: rgba(8, 4, 4, 0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(200, 26, 37, 0.35);
  border-radius: 999px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5), 0 0 14px rgba(200, 26, 37, 0.15);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text);
  text-transform: uppercase;
  cursor: grab;
  user-select: none;
  touch-action: none;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.member-widget:hover {
  border-color: rgba(224, 32, 44, 0.6);
  box-shadow: 0 0 26px rgba(0, 0, 0, 0.55), 0 0 22px rgba(200, 26, 37, 0.3);
}

.member-widget.dragging {
  cursor: grabbing;
  transition: none;
}

.member-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blood-bright);
  box-shadow: 0 0 8px rgba(224, 32, 44, 0.9), 0 0 16px rgba(200, 26, 37, 0.6);
  animation: zodiacPulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}

/* ============ Responsive ============ */
@media (max-width: 640px) {
  .claw {
    width: 100px;
    height: 100px;
  }
}

/* ============================================================
   ÜYELER SAYFASI (page-2) — tek sıra, ortalı kart karüseli
   ============================================================ */
.members-page {
  flex-direction: column;
}

.members-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.members-header {
  text-align: center;
  margin-bottom: 34px;
}

.members-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  color: var(--blood-bright);
  text-transform: uppercase;
  opacity: 0.85;
  text-shadow: 0 0 10px rgba(224, 32, 44, 0.5);
}

.members-title {
  position: relative;
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.7rem, 4.4vw, 2.85rem);
  letter-spacing: 0.055em;
  color: var(--text);
  text-shadow: 0 0 22px rgba(200, 26, 37, 0.35);
  white-space: nowrap;
}

.members-title.glitch-active {
  animation: glitchShift 0.4s steps(2, end) 2;
}

/* ---------- Karüsel iskeleti ---------- */
.members-carousel {
  --card-w: 232px;
  --card-h: 372px;
  --step: 208px;
  position: relative;
  width: 100%;
  max-width: 980px;
  height: calc(var(--card-h) + 26px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-veil {
  position: fixed;
  inset: 0;
  z-index: 200;
  border-radius: 0;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(ellipse at 50% 42%, transparent 16%, rgba(3, 1, 1, 0.82) 62%, rgba(2, 0, 0, 0.96) 100%);
  backdrop-filter: blur(7px) brightness(0.65);
  -webkit-backdrop-filter: blur(7px) brightness(0.65);
  transition: opacity 0.55s ease;
}

.carousel-veil.veil-active {
  opacity: 1;
}

.carousel-stage {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-arrow {
  flex: 0 0 auto;
  position: relative;
  z-index: 210;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(200, 26, 37, 0.4);
  background: rgba(8, 4, 4, 0.65);
  backdrop-filter: blur(6px);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.carousel-arrow svg {
  width: 20px;
  height: 20px;
}

.carousel-arrow:hover {
  color: var(--blood-bright);
  border-color: var(--blood-bright);
  box-shadow: 0 0 18px rgba(200, 26, 37, 0.35);
  transform: scale(1.06);
  animation: digitalJitter 0.3s steps(1, end) 1;
}

.carousel-prev { margin-right: 4px; }
.carousel-next { margin-left: 4px; }

.carousel-caption {
  margin-top: 22px;
  text-align: center;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
}

.carousel-caption .cap-name {
  display: block;
  font-size: 1.05rem;
  color: var(--text);
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(200, 26, 37, 0.4);
}

.carousel-caption .cap-count {
  display: block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--muted);
}

/* ---------- Kart iskeleti + flip (karüsel yuvası) ---------- */
.member-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--card-w);
  height: var(--card-h);
  margin-left: calc(var(--card-w) / -2);
  margin-top: calc(var(--card-h) / -2);
  perspective: 1200px;
  cursor: pointer;
  transition: transform 0.55s cubic-bezier(0.22, 0.7, 0.3, 1),
              opacity 0.5s ease,
              filter 0.5s ease;
}

.member-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.75s cubic-bezier(0.2, 0.7, 0.3, 1);
  transform-style: preserve-3d;
}

.member-card[data-flip="back"] .member-card-inner {
  transform: rotateY(180deg);
}

.member-card-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--line);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: var(--bg-alt);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.6);
  transition: box-shadow 0.5s ease, border-color 0.5s ease;
}

.member-card[data-selected="1"] .member-card-face {
  border-color: rgba(224, 32, 44, 0.55);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 26px 4px rgba(224, 32, 44, 0.55),
    0 0 54px 14px rgba(200, 26, 37, 0.3),
    0 0 90px 24px rgba(255, 255, 255, 0.08);
  animation: selectedGlowPulse 2.6s ease-in-out infinite;
}

@keyframes selectedGlowPulse {
  0%, 100% {
    box-shadow:
      0 18px 44px rgba(0, 0, 0, 0.7),
      0 0 0 1px rgba(255, 255, 255, 0.06),
      0 0 26px 4px rgba(224, 32, 44, 0.55),
      0 0 54px 14px rgba(200, 26, 37, 0.3),
      0 0 90px 24px rgba(255, 255, 255, 0.08);
  }
  50% {
    box-shadow:
      0 18px 44px rgba(0, 0, 0, 0.7),
      0 0 0 1px rgba(255, 255, 255, 0.1),
      0 0 34px 7px rgba(224, 32, 44, 0.7),
      0 0 66px 18px rgba(200, 26, 37, 0.4),
      0 0 110px 30px rgba(255, 255, 255, 0.12);
  }
}

.member-card-back {
  transform: rotateY(180deg);
}

/* ---------- Ön yüz: banner + nick + foto ---------- */
.member-banner {
  position: absolute;
  inset: -12px;
  background-size: cover;
  background-position: center;
  filter: blur(9px) brightness(0.5) saturate(1.05);
  transform: scale(1.12);
}

.member-banner.member-banner-plain {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(122, 9, 16, 0.4) 0%, transparent 60%),
    repeating-linear-gradient(115deg, #0c0707 0 3px, #100909 3px 6px);
}

.member-front-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(3, 1, 1, 0.85) 0%, rgba(3, 1, 1, 0.15) 32%, rgba(3, 1, 1, 0.22) 62%, rgba(3, 1, 1, 0.92) 100%);
}

.member-front-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 20px 14px 16px;
}

.member-nick {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.14rem;
  letter-spacing: 0.09em;
  color: var(--text);
  text-shadow: 0 0 14px rgba(200, 26, 37, 0.65), 0 2px 4px rgba(0,0,0,0.9);
  text-align: center;
  text-transform: uppercase;
}

.member-photo-ring {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 2px solid var(--blood-bright);
  box-shadow: 0 0 0 3px rgba(5,3,3,0.8), 0 0 18px rgba(224, 32, 44, 0.55);
  overflow: hidden;
  background: #0a0505;
}

.member-photo-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.08);
}

.member-photo-ring.member-photo-mystery {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--blood-bright);
  text-shadow: 0 0 12px rgba(224, 32, 44, 0.8);
}

.member-flip-hint {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  opacity: 0.75;
}

/* ---------- Arka yüz: dosya bilgileri ---------- */
.member-card-back {
  background:
    radial-gradient(ellipse at 50% -10%, rgba(122, 9, 16, 0.28) 0%, transparent 55%),
    var(--bg-alt);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.dossier-title {
  font-family: var(--font-display);
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  color: var(--blood-bright);
  text-align: center;
  margin-bottom: 4px;
  text-transform: uppercase;
  opacity: 0.9;
}

.dossier-row {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
}

.dossier-label {
  font-family: var(--font-body);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}

.dossier-value {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.02em;
}

.threat-bar {
  display: flex;
  gap: 2px;
  margin-top: 2px;
}

.threat-seg {
  width: 8px;
  height: 13px;
  background: var(--line);
  border: 1px solid rgba(200, 26, 37, 0.2);
}

.threat-seg.filled {
  background: linear-gradient(to top, var(--blood-dark), var(--blood-bright));
  box-shadow: 0 0 6px rgba(224, 32, 44, 0.65);
  border-color: rgba(224, 32, 44, 0.5);
}

/* ---------- Kilit / parmaklık katmanı ---------- */
.member-lock {
  position: absolute;
  inset: 0;
  z-index: 6;
  border-radius: 10px;
  overflow: hidden;
  background: #060303;
  opacity: 1;
  transition: opacity 0.45s ease 0.15s;
}

.member-card[data-flip="front"][data-unlocked="1"] .member-lock,
.member-card[data-flip="back"] .member-lock {
  opacity: 0;
  pointer-events: none;
}

.member-silhouette {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 62%;
  height: 78%;
  opacity: 0.9;
}

.member-silhouette::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 6%;
  width: 34%;
  padding-top: 34%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #171010;
}

.member-silhouette::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 92%;
  height: 62%;
  transform: translateX(-50%);
  border-radius: 50% 50% 12% 12% / 60% 60% 8% 8%;
  background: #171010;
}

.lock-bars {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  justify-content: space-evenly;
  padding: 0 6px;
}

.lock-bar {
  width: 6px;
  height: 100%;
  background: linear-gradient(to right, #2b2222, #4a3838 45%, #2b2222 55%, #171212);
  box-shadow: inset 0 0 4px rgba(0,0,0,0.8), 0 0 6px rgba(224, 32, 44, 0.12);
  transition: transform 0.55s cubic-bezier(0.3, 0.6, 0.3, 1), opacity 0.55s ease;
}

.member-lock.unlocking .lock-bar {
  opacity: 0;
}

.member-lock.unlocking .lock-bar:nth-child(odd) {
  transform: translateX(-140%) rotate(-8deg);
}

.member-lock.unlocking .lock-bar:nth-child(even) {
  transform: translateX(140%) rotate(8deg);
}

.lock-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at 50% 40%, rgba(20,10,10,0.2) 0%, rgba(0,0,0,0.85) 100%);
}

.lock-icon-wrap {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  color: var(--blood-bright);
  filter: drop-shadow(0 0 8px rgba(224, 32, 44, 0.7));
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.member-lock.unlocking .lock-icon-wrap {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.6) rotate(-18deg);
}

.lock-caption {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 12px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
  transition: opacity 0.35s ease;
}

.member-lock.unlocking .lock-caption {
  opacity: 0;
}

.member-card[data-active="1"]:hover .member-lock:not(.unlocking) .lock-icon-wrap {
  transform: translate(-50%, -50%) scale(1.08);
}

/* Karüselde sadece ortadaki (aktif) kart tıklanabilir/kilit açılabilir;
   yanlardaki kartlar önizleme amaçlı, ortalamak için tıklanabilir kalır. */
.member-card[data-active="0"] .member-lock,
.member-card[data-active="0"] .member-card-inner {
  pointer-events: none;
}

@media (max-width: 640px) {
  .members-carousel {
    --card-w: 178px;
    --card-h: 288px;
    --step: 150px;
    max-width: 100%;
  }
  .members-title {
    white-space: normal;
    letter-spacing: 0.02em;
    font-size: clamp(1.5rem, 7vw, 2.1rem);
  }
  .member-nick { font-size: 0.94rem; }
  .member-photo-ring { width: 74px; height: 74px; }
  .carousel-arrow { width: 38px; height: 38px; }
  .carousel-arrow svg { width: 16px; height: 16px; }
}

/* ============================================================
   FOOTER (dipnot alanı)
   ============================================================ */
.divider-flat {
  animation: none;
  background: linear-gradient(90deg, transparent, var(--line), var(--line), transparent);
  box-shadow: none;
  opacity: 0.7;
}

.site-footer {
  position: relative;
  z-index: 2;
  width: 100%;
  scroll-snap-align: end;
  padding: 46px 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: var(--bg);
  text-align: center;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-bottom: 6px;
}

.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.footer-social-link svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.footer-social-link:hover {
  color: var(--blood-bright);
  border-color: var(--blood-bright);
  box-shadow: 0 0 14px rgba(200, 26, 37, 0.35);
  transform: translateY(-2px);
  animation: digitalJitter 0.3s steps(1, end) 1;
}

.footer-copy {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.footer-credit {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  opacity: 0.75;
}

.footer-credit span {
  color: var(--blood-bright);
  font-weight: 500;
}

.footer-version {
  margin-top: 4px;
  padding: 4px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}

/* ============================================================
   GİZLİ SAYFA — "askim" yazılınca açılır
   ============================================================ */
.askim-overlay {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: #030101;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.askim-overlay.askim-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.askim-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  filter: grayscale(0.3) contrast(1.12) brightness(0.8);
}

.askim-clip {
  position: absolute;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.06);
}

.askim-overlay.askim-active .askim-clip {
  animation: askimClipFade 1.4s ease forwards;
}

@keyframes askimClipFade {
  to { opacity: var(--askim-op, 0.5); }
}

/* Aynı klipler farklı konum/ölçek/opaklıkla üst üste bindirilip
   bir "kolaj" hissi verir (kullanıcının istediği "birkaç/birçok kez kullan") */
.askim-clip-a1 { --askim-op: 0.72; top: -6%; left: -10%; width: 60%; height: 62%; }
.askim-clip-b1 { --askim-op: 0.56;  top: 30%;  right: -8%; left: auto; width: 58%; height: 60%; animation-delay: 0.15s; }
.askim-clip-a2 { --askim-op: 0.46; bottom: -8%; left: 18%; width: 54%; height: 56%; animation-delay: 0.3s; }
.askim-clip-b2 { --askim-op: 0.38;  top: -4%; right: 6%; left: auto; width: 42%; height: 44%; animation-delay: 0.45s; }
.askim-clip-a3 { --askim-op: 0.34; bottom: -10%; right: -6%; left: auto; width: 46%; height: 48%; animation-delay: 0.6s; }

.askim-red-wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(122, 9, 16, 0.12) 0%, rgba(40, 3, 6, 0.34) 55%, rgba(3, 1, 1, 0.62) 100%),
    linear-gradient(180deg, rgba(122, 9, 16, 0.24), rgba(3, 1, 1, 0.34));
  mix-blend-mode: multiply;
}

.askim-red-wash::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 45%, rgba(224, 32, 44, 0.28), transparent 62%);
  mix-blend-mode: screen;
}

.askim-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.8) 100%);
}

.askim-frame {
  position: absolute;
  inset: 26px;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(224, 32, 44, 0.5);
  border-radius: 8px;
  box-shadow:
    inset 0 0 50px rgba(224, 32, 44, 0.18),
    0 0 60px rgba(0, 0, 0, 0.7);
}

.askim-frame::before,
.askim-frame::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--blood-bright);
  opacity: 0.85;
}

.askim-frame::before {
  top: -1px;
  left: -1px;
  border-right: none;
  border-bottom: none;
}

.askim-frame::after {
  bottom: -1px;
  right: -1px;
  border-left: none;
  border-top: none;
}

.askim-whispers {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}

.askim-whisper {
  position: absolute;
  max-width: 40vw;
  font-family: 'Pirata One', 'New Rocker', var(--font-display);
  color: #ff5b6b;
  text-shadow: 0 0 8px rgba(224, 32, 44, 0.7), 0 0 3px rgba(0, 0, 0, 0.9);
  letter-spacing: 0.03em;
  line-height: 1.3;
  opacity: 0;
  animation: askimWhisperFade 2.8s ease-in-out forwards;
}

@keyframes askimWhisperFade {
  0%   { opacity: 0; transform: translateY(6px) scale(0.94); }
  12%  { opacity: 0.85; transform: translateY(0) scale(1); }
  80%  { opacity: 0.85; }
  100% { opacity: 0; transform: translateY(-6px) scale(1.02); }
}

.askim-close {
  position: absolute;
  top: 22px;
  right: 24px;
  z-index: 6;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(224, 32, 44, 0.5);
  background: rgba(8, 4, 4, 0.55);
  color: var(--blood-bright);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
}

.askim-close:hover {
  border-color: rgba(224, 32, 44, 0.85);
  box-shadow: 0 0 16px rgba(224, 32, 44, 0.4);
}

.askim-close:active {
  transform: scale(0.92);
}

.askim-center {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8vw;
}

.askim-title {
  position: relative;
  margin: 0;
  font-family: 'Hesorder', 'New Rocker', 'Pirata One', var(--font-display);
  font-weight: 400;
  text-transform: lowercase;
  font-size: clamp(2.6rem, 12vw, 8.5rem);
  text-align: center;
  letter-spacing: 0.02em;
  cursor: default;
  line-height: 1;
}

.askim-title-main {
  display: block;
  color: #050303;
  -webkit-text-stroke: 1.6px rgba(224, 32, 44, 0.75);
  text-shadow:
    0 0 6px rgba(224, 32, 44, 0.9),
    0 0 18px rgba(224, 32, 44, 0.8),
    0 0 34px rgba(200, 26, 37, 0.7),
    0 0 64px rgba(122, 9, 16, 0.55);
  animation: askimTitleGlow 3.6s ease-in-out infinite;
}

@keyframes askimTitleGlow {
  0%, 100% {
    text-shadow:
      0 0 5px rgba(224, 32, 44, 0.75),
      0 0 14px rgba(224, 32, 44, 0.65),
      0 0 28px rgba(200, 26, 37, 0.55),
      0 0 52px rgba(122, 9, 16, 0.4);
  }
  50% {
    text-shadow:
      0 0 8px rgba(224, 32, 44, 1),
      0 0 22px rgba(224, 32, 44, 0.95),
      0 0 40px rgba(200, 26, 37, 0.85),
      0 0 76px rgba(122, 9, 16, 0.65);
  }
}

.askim-title-hover {
  display: inline-block;
  color: #f7f5f2;
  -webkit-text-stroke: 1px rgba(224, 32, 44, 0.4);
  text-shadow:
    0 0 5px rgba(224, 32, 44, 0.9),
    0 0 16px rgba(224, 32, 44, 0.8),
    0 0 32px rgba(200, 26, 37, 0.7),
    0 0 64px rgba(122, 9, 16, 0.55);
  animation: askimTitleGlowWhiteRed 3.6s ease-in-out infinite;
  position: absolute;
  left: 50%;
  top: 50%;
  width: max-content;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.96);
  transition: opacity 0.4s ease, transform 0.4s ease;
  font-size: clamp(2.2rem, 8vw, 4.6rem);
  letter-spacing: 0.14em;
  text-transform: none;
  font-family: 'Pirata One', 'New Rocker', var(--font-display);
}

@keyframes askimTitleGlowWhiteRed {
  0%, 100% {
    text-shadow:
      0 0 4px rgba(224, 32, 44, 0.7),
      0 0 12px rgba(224, 32, 44, 0.55),
      0 0 26px rgba(200, 26, 37, 0.45),
      0 0 48px rgba(122, 9, 16, 0.35);
  }
  50% {
    text-shadow:
      0 0 7px rgba(224, 32, 44, 0.95),
      0 0 20px rgba(224, 32, 44, 0.85),
      0 0 40px rgba(200, 26, 37, 0.75),
      0 0 74px rgba(122, 9, 16, 0.6);
  }
}

.askim-title:hover .askim-title-main {
  opacity: 0;
}

.askim-title:hover .askim-title-hover {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.askim-title.askim-flip .askim-title-main {
  opacity: 0;
}

.askim-title.askim-flip .askim-title-hover {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.askim-title-main {
  opacity: 1;
  transition: opacity 0.4s ease;
}

@media (max-width: 640px) {
  .askim-frame { inset: 14px; }
  .askim-close { top: 14px; right: 14px; }
}

/* "do us part" rozeti — sadece "'till death" görünürken (hover/flip) çıkar,
   onun kendi metin kutusunun sağ-alt köşesine iliştirilmiş (EST. 2019 mantığı) */
.askim-est-badge {
  position: absolute;
  right: -3%;
  bottom: -38%;
  z-index: 5;
  display: inline-flex;
  pointer-events: none;
  font-family: 'Hesorder', 'UnifrakturMaguntia', 'New Rocker', var(--font-display);
  font-weight: 400;
  font-size: clamp(1rem, 2.2vw, 1.6rem);
  letter-spacing: 0.03em;
  color: #f7f5f2;
  transform: rotate(-3deg);
  text-shadow:
    0 0 5px rgba(255, 255, 255, 0.95),
    0 0 14px rgba(255, 255, 255, 0.75),
    0 0 30px rgba(255, 255, 255, 0.45),
    0 0 60px rgba(200, 220, 255, 0.25);
  animation: estGlowBreathe 4.2s ease-in-out infinite;
}

.askim-est-badge span[data-ch] {
  display: inline-block;
  opacity: 0;
  filter: blur(2px);
  transform: translateY(-4px);
  animation: bloodWrite 0.5s ease-out forwards, estFlicker 10s linear infinite;
}

@media (max-width: 640px) {
  .askim-est-badge { right: -2%; bottom: -42%; }
}
