/* ============================================================
   HALO LAUNCHER — premium dark + purple theme (perf-tuned v2)
   Performans ilkeleri:
   - filter: blur() YOK. Tüm parıltılar yumuşak radial-gradient.
   - backdrop-filter YOK (navbar düz yarı-saydam zemin kullanır).
   - Sürekli animasyonlar yalnızca transform/opacity (compositor).
   ============================================================ */
:root {
  --bg:            #060509;
  --bg-2:          #0a0810;
  --surface:       rgba(255, 255, 255, 0.025);
  --surface-2:     rgba(255, 255, 255, 0.05);
  --surface-3:     rgba(255, 255, 255, 0.08);
  --border:        rgba(255, 255, 255, 0.08);
  --border-2:      rgba(255, 255, 255, 0.14);
  --border-glow:   rgba(168, 85, 247, 0.45);

  --text:          #f4f1fb;
  --muted:         #9b95ab;
  --muted-2:       #6c6680;

  --accent:        #9333ea;
  --accent-2:      #a855f7;
  --accent-3:      #c084fc;
  --accent-deep:   #7c3aed;
  --accent-rgb:    147, 51, 234;

  --grad:          linear-gradient(120deg, #c084fc 0%, #a855f7 45%, #7c3aed 100%);
  --grad-text:     linear-gradient(180deg, #ffffff 0%, #d8c9f7 100%);

  --radius:        20px;
  --radius-lg:     28px;
  --maxw:          1180px;
  --ease:          cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* Android'in otomatik yazı büyütmesini kapat — telefonda yazılar
     şişmesin, marquee genişliği (dolayısıyla hızı) PC ile aynı kalsın */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  position: relative;
}

/* Static vignette (gradient only, no blur) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 600px at 50% -5%, rgba(var(--accent-rgb), 0.16), transparent 60%),
    radial-gradient(700px 500px at 100% 8%, rgba(124, 58, 237, 0.09), transparent 55%);
  pointer-events: none;
  z-index: -3;
}

h1, h2, h3 {
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.045em;
  line-height: 1.05;
  text-wrap: balance;
}

/* Selection + keyboard focus, themed */
::selection { background: rgba(168, 85, 247, 0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-3); outline-offset: 3px; border-radius: 4px; }

/* Thin themed scrollbar */
html { scrollbar-width: thin; scrollbar-color: #322b42 transparent; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #2a2438; border-radius: 8px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #3b3350; }

/* Skip link (visible only when focused via keyboard) */
.skip-link {
  position: fixed;
  top: -60px; left: 16px;
  z-index: 300;
  padding: 11px 18px;
  background: var(--accent-deep);
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 12px; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { position: relative; padding: clamp(80px, 12vw, 150px) 0; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  color: var(--accent-3);
  margin-bottom: 18px;
  font-style: normal;
}

/* ============================================================
   AMBIENT LAYERS — all static & cheap
   ============================================================ */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 35%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 35%, transparent 78%);
}

/* Glow orbs — radial-gradient (NO blur filter) */
.orb {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.orb-a { top: 2%;  left: -12%; width: 620px; height: 620px; background: radial-gradient(circle, rgba(var(--accent-rgb), 0.20) 0%, rgba(var(--accent-rgb), 0.07) 42%, transparent 68%); }
.orb-b { top: 26%; right: -14%; width: 560px; height: 560px; background: radial-gradient(circle, rgba(124, 58, 237, 0.16) 0%, transparent 66%); }
.orb-c { top: 12%; left: 50%;  width: 680px; height: 680px; transform: translateX(-50%); background: radial-gradient(circle, rgba(var(--accent-rgb), 0.10) 0%, transparent 65%); }
.orb-d { bottom: -16%; left: 6%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 66%); }

/* Scroll progress — transform:scaleX (compositor only) */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--grad);
  z-index: 200;
  box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.7);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
/* Düz yarı-saydam zemin — backdrop-filter yok (scroll'da bedava) */
.navbar.scrolled {
  background: rgba(8, 6, 14, 0.9);
  border-bottom: 1px solid var(--border);
}
.nav-container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo { position: relative; display: flex; align-items: center; gap: 11px; }
.brand-logo { width: 32px; height: 32px; object-fit: contain; }
.brand-logo.sm { width: 22px; height: 22px; }
.logo-text {
  font-size: 1.2rem; font-weight: 900; font-style: italic;
  text-transform: uppercase; letter-spacing: -0.03em;
}

.nav-links { display: flex; gap: 30px; }
.nav-links a {
  position: relative;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 6px 2px;
  transition: color 0.3s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
  border-radius: 2px;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--text); }

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

.cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  border: none;
  background: var(--grad);
  color: #fff;
  font-weight: 800; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(var(--accent-rgb), 0.4);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), filter 0.3s var(--ease);
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(var(--accent-rgb), 0.6); filter: brightness(1.08); }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 11px; cursor: pointer;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 130px 24px 60px;
  overflow: hidden;
}

/* Halo rings — only transform:rotate (no re-raster) */
.hero-halo {
  position: absolute;
  top: 42%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(760px, 92vw);
  height: min(760px, 92vw);
  z-index: 0;
  pointer-events: none;
}
.ring {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(var(--accent-rgb), 0.18);
}
.ring-1 { width: 38%; height: 38%; border-color: rgba(192, 132, 252, 0.32); animation: spin 30s linear infinite; }
.ring-2 { width: 66%; height: 66%; border-style: dashed; border-color: rgba(168, 85, 247, 0.22); animation: spin 48s linear infinite reverse; }
.ring-3 { width: 100%; height: 100%; border-color: rgba(124, 58, 237, 0.15); animation: spin 70s linear infinite; }
.ring::before {
  content: "";
  position: absolute;
  top: -3px; left: 50%;
  width: 6px; height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 12px 2px rgba(var(--accent-rgb), 0.8);
}
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* Halo core — soft radial-gradient + opacity pulse (no blur) */
.halo-core {
  position: absolute;
  top: 50%; left: 50%;
  width: 320px; height: 320px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.5) 0%, rgba(var(--accent-rgb), 0.12) 42%, transparent 70%);
  animation: pulse 6s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 0.9; } }

.hero-content { position: relative; z-index: 2; max-width: 880px; }

.badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--border-2);
  background: var(--surface-2);
  font-family: inherit;
  font-size: 0.82rem; font-weight: 600;
  color: var(--muted);
  margin-bottom: 30px;
}
.badge strong { color: var(--accent-3); font-weight: 800; }
.badge svg { opacity: 0.6; }
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px 1px #4ade80;
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

.hero h1 {
  font-size: clamp(2.8rem, 8.5vw, 6.2rem);
  margin-bottom: 26px;
  letter-spacing: -0.05em;
}
.dynamic-line {
  display: block;
  position: relative;
  overflow: hidden;
  /* Yatay pay: italik son harf overflow:hidden ile kırpılmasın */
  padding: 0.04em 0.25em;
}
.dynamic-word {
  display: inline-block;
  /* İtalik + negatif letter-spacing yüzünden son harfin mürekkebi kutunun
     dışına taşıyor; background-clip:text olduğu için taşan kısma gradyan
     boyanmıyordu (harf kesik görünüyordu). Bu pay gradyan kutusunu genişletir
     — padding şeffaf olduğu için görsel olarak hiçbir şey değişmez. */
  padding: 0 0.2em;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.dynamic-word.swap { opacity: 0; transform: translateY(40%); }

.hero-desc {
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 40px;
}

.hero-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 16px 30px;
  border-radius: 16px;
  font-weight: 800; font-style: normal;
  text-transform: uppercase; letter-spacing: 0.02em;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), filter 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn.big { padding: 20px 40px; font-size: 1rem; }
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px rgba(var(--accent-rgb), 0.4);
}
.btn-primary::after {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-200%) skewX(-20deg);
  transition: transform 0.7s var(--ease);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(var(--accent-rgb), 0.6); filter: brightness(1.07); }
.btn-primary:hover::after { transform: translateX(260%) skewX(-20deg); }
.btn-primary:active { transform: translateY(-1px) scale(0.99); }
.btn-primary.is-loading { pointer-events: none; opacity: 0.85; }
.btn-primary.is-loading .btn-label::after {
  content: ""; display: inline-block;
  width: 13px; height: 13px; margin-left: 9px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff; border-radius: 50%;
  vertical-align: -2px;
  animation: spinLoad 0.7s linear infinite;
}
@keyframes spinLoad { to { transform: rotate(360deg); } }

.btn-secondary {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--border-2);
}
.btn-secondary:hover { background: var(--surface-3); border-color: var(--border-glow); transform: translateY(-3px); }

.hero-meta {
  display: flex; align-items: center; justify-content: center;
  gap: 18px; flex-wrap: wrap;
  margin-top: 34px;
  color: var(--muted-2);
  font-size: 0.85rem; font-weight: 500;
}
.meta-item { display: inline-flex; align-items: center; gap: 8px; }
.meta-item svg { color: var(--accent-3); opacity: 0.85; }
.meta-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted-2); }

/* ============================================================
   APP PREVIEW WINDOW
   ============================================================ */
.hero-preview {
  position: relative;
  z-index: 2;
  width: min(780px, 94vw);
  margin: 64px auto 0;
}
/* Düz (2B) pencere: perspective/preserve-3d yok — compositor'da bedava süzülür */
.app-window {
  position: relative;
  border-radius: 16px;
  border: 1px solid var(--border-2);
  background: #0b0a0f;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  animation: floatWin 8s ease-in-out infinite;
}
@keyframes floatWin {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
/* Soft glow via radial-gradient (no blur) */
.preview-glow {
  position: absolute;
  inset: 4% 6% -18%;
  background: radial-gradient(ellipse at center, rgba(var(--accent-rgb), 0.28), transparent 66%);
  z-index: -1;
}

/* Title bar */
.app-titlebar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px;
  height: 40px; padding: 0 13px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
}
.tb-brand { display: flex; align-items: baseline; gap: 7px; flex-shrink: 0; }
.tb-name { font-size: 0.72rem; font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: 0.02em; color: var(--text); }
.tb-ver { font-size: 0.56rem; font-weight: 600; color: var(--muted-2); }
.tb-search {
  flex: 1;
  max-width: 300px;
  display: flex; align-items: center; gap: 7px;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-2);
  font-size: 0.6rem;
}
.tb-search svg { width: 10px; height: 10px; flex-shrink: 0; }
.tb-search span:first-of-type { white-space: nowrap; overflow: hidden; }
.tb-kbd {
  margin-left: auto;
  font-size: 0.52rem;
  padding: 1px 5px;
  border: 1px solid var(--border-2);
  border-radius: 4px;
  white-space: nowrap;
}
.tb-controls { display: flex; align-items: center; gap: 11px; color: var(--muted-2); flex-shrink: 0; }
.tb-controls svg { width: 11px; height: 11px; }

/* App body layout */
.app-body { display: flex; min-height: 340px; text-align: left; }

/* Left icon rail */
.app-rail {
  width: 48px; flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 12px 0;
  border-right: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.01);
}
.rail-icon {
  position: relative;
  width: 32px; height: 32px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted-2);
}
.rail-icon svg { width: 17px; height: 17px; }
.rail-icon.active, .rail-icon.boxed { background: var(--surface-3); color: #fff; box-shadow: inset 0 0 0 1px var(--border-2); }
.rail-icon.hasb::after {
  content: "B";
  position: absolute;
  top: 0; right: 0;
  width: 12px; height: 12px;
  border-radius: 4px;
  background: #fbbf24;
  color: #1a1206;
  font-size: 7px; font-weight: 900; font-style: normal;
  display: flex; align-items: center; justify-content: center;
}
.rail-spacer { flex: 1; }

/* Main library area */
.app-main { flex: 1; min-width: 0; padding: 16px 16px 18px; display: flex; flex-direction: column; }
.app-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.app-title { font-size: 1.15rem; font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -0.03em; line-height: 1; }
.app-sub { display: flex; align-items: center; gap: 5px; font-size: 0.6rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.09em; margin-top: 6px; }
.app-sub svg { width: 11px; height: 11px; }
.app-newfolder { font-size: 0.58rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); padding: 6px 10px; border: 1px solid var(--border-2); border-radius: 8px; white-space: nowrap; }

.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }

.inst-card {
  position: relative; border-radius: 11px; overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--border);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 9px;
}
.inst-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 32%, rgba(0, 0, 0, 0.8)); z-index: 1; }
.inst-card > * { position: relative; z-index: 2; }

.inst-card.create {
  border-style: dashed; border-color: var(--border-2);
  align-items: center; justify-content: center; gap: 7px;
  background: var(--surface); color: var(--muted);
}
.inst-card.create::after { display: none; }
.inst-card.create .plus { font-size: 1.5rem; font-weight: 300; line-height: 1; color: var(--accent-3); }
.inst-card.create span:last-child { font-size: 0.58rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }

/* Instance art — piksel dokular (SVG). Klasöre instance-1.png..4.png
   atılırsa üst katman olarak otomatik onlar görünür. */
.art-p1, .art-p2, .art-p3, .art-p4 {
  background-size: cover, cover;
  background-position: center;
  image-rendering: pixelated;
}
.art-p1 { background-image: url("instance-1.png"), url("art-enderman.svg"); }
.art-p2 { background-image: url("instance-2.png"), url("art-skeleton.svg"); }
.art-p3 { background-image: url("instance-3.png"), url("art-tnt.svg"); }
.art-p4 { background-image: url("instance-4.png"), url("art-ore.svg"); }

.inst-card .ver { position: absolute; top: 7px; right: 7px; z-index: 3; font-size: 0.55rem; font-weight: 700; color: #fff; background: rgba(0, 0, 0, 0.55); padding: 2px 6px; border-radius: 6px; }
.inst-card .loader { display: inline-block; width: max-content; font-size: 0.52rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; padding: 2px 6px; border-radius: 5px; margin-bottom: 5px; }
.loader.fabric { background: rgba(116, 192, 128, 0.22); color: #9ae6a4; }
.loader.neoforge { background: rgba(251, 146, 60, 0.24); color: #fdba74; }
.loader.vanilla { background: rgba(56, 189, 248, 0.18); color: #7dd3fc; }
.loader.forge { background: rgba(148, 163, 184, 0.2); color: #cbd5e1; }
.loader i { font-style: normal; opacity: 0.65; }
.loader.sm { font-size: 0.5rem; margin-bottom: 0; margin-top: 3px; }
.inst-name { font-size: 0.64rem; font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -0.01em; color: #fff; line-height: 1.05; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inst-meta { display: flex; align-items: center; gap: 4px; font-size: 0.54rem; font-weight: 700; color: rgba(255, 255, 255, 0.85); margin-top: 4px; text-transform: uppercase; white-space: nowrap; padding-right: 26px; }
.inst-meta svg { width: 10px; height: 10px; flex-shrink: 0; }
.inst-sub { font-size: 0.46rem; font-weight: 600; color: rgba(255, 255, 255, 0.55); margin-top: 2px; text-transform: uppercase; letter-spacing: 0.03em; white-space: nowrap; padding-right: 26px; }
.inst-play {
  position: absolute; right: 8px; bottom: 8px; z-index: 3;
  width: 27px; height: 27px; border-radius: 9px;
  background: #fff; color: #111;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}
.inst-play svg { width: 11px; height: 11px; margin-left: 1px; }

/* Library folder row + category label */
.lib-folder {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--surface);
  margin-bottom: 12px;
}
.lf-thumb { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, #8a6d3b, #d4b06a); flex-shrink: 0; }
.lf-name { font-size: 0.72rem; font-weight: 900; font-style: italic; text-transform: uppercase; }
.lf-count { font-size: 0.52rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.08em; }
.lf-chev { width: 13px; height: 13px; margin-left: auto; color: var(--muted-2); flex-shrink: 0; }

.lib-cat {
  font-size: 0.54rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--muted-2);
  margin: 0 0 9px 2px;
}

/* Pinned server rows */
.srv {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 9px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}
.srv-ico {
  width: 26px; height: 26px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.62rem; font-weight: 900; font-style: italic; color: #fff;
  flex-shrink: 0;
}
.si-a { background: linear-gradient(135deg, #b45309, #fbbf24); }
.si-b { background: linear-gradient(135deg, #374151, #6b7280); }
.si-c { background: linear-gradient(135deg, #1d4ed8, #38bdf8); }
.srv-on { display: flex; align-items: center; gap: 5px; font-size: 0.56rem; font-weight: 700; color: #4ade80; margin-top: 1px; }
.srv-on i { width: 5px; height: 5px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 6px #4ade80; }

/* Discover card */
.disc {
  display: flex; align-items: center; gap: 9px;
  padding: 9px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}
.disc-thumb { width: 34px; height: 34px; border-radius: 8px; background: linear-gradient(135deg, #166534, #86efac); flex-shrink: 0; }
.disc-desc { font-size: 0.52rem; color: var(--muted-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 108px; }
.disc-dl { font-size: 0.5rem; color: var(--muted-2); margin-top: 2px; text-transform: uppercase; letter-spacing: 0.04em; }
.fav-thumb.ft-2 { background: linear-gradient(135deg, #0e7490, #67e8f9); }

/* Right panel */
.app-side {
  width: 172px; flex-shrink: 0;
  border-left: 1px solid var(--border);
  padding: 14px 12px;
  display: flex; flex-direction: column; gap: 8px;
  background: rgba(255, 255, 255, 0.008);
}
.side-label {
  font-size: 0.5rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--muted-2);
  margin-top: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.side-label:first-child { margin-top: 0; }
.acct, .cont-card, .fav-card {
  display: flex; align-items: center; gap: 8px;
  padding: 8px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--surface);
}
.acct-av { width: 30px; height: 30px; border-radius: 7px; background: linear-gradient(135deg, #7c3aed, #a855f7); flex-shrink: 0; }
.acct-info { min-width: 0; }
.acct-name { font-size: 0.74rem; font-weight: 800; }
.acct-sub { font-size: 0.52rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.05em; }
.acct-chev { margin-left: auto; color: var(--muted-2); font-size: 0.85rem; line-height: 1; }
.cont-thumb { width: 30px; height: 30px; border-radius: 7px; background: linear-gradient(135deg, #3a7d4a, #1c4427); flex-shrink: 0; }
.cont-info { flex: 1; min-width: 0; }
.cont-name { font-size: 0.62rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cont-sub { font-size: 0.55rem; color: var(--muted-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cont-play {
  width: 25px; height: 25px; border-radius: 50%;
  background: #22c55e; color: #04210f; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.cont-play svg { width: 11px; height: 11px; margin-left: 1px; }
.fav-thumb { width: 32px; height: 32px; border-radius: 7px; background: linear-gradient(135deg, #7c3aed, #c084fc); flex-shrink: 0; }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.012);
}
/* Kenar solması: kayan içeriğe maske uygulamak yerine üstte duran
   statik gradyan katmanlar — aynı görünüm, kare başı maliyet sıfır */
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 14%;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
/* Dikişsiz döngü: şerit iki ÖZDEŞ gruptan oluşur; -50% kayma,
   grup içeriği + sondaki padding'e piksel piksel eşittir. */
.marquee-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
  font-weight: 900; font-style: italic; text-transform: uppercase;
  font-size: 1.15rem; letter-spacing: 0.02em;
  color: var(--text);
}
.marquee-group {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px; /* iki grup arasındaki birleşim boşluğu = gap */
  flex-shrink: 0;
}
.marquee-track .sep { color: var(--accent-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-header h2 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 16px; }
.section-header p { color: var(--muted); font-size: 1.08rem; }

/* ============================================================
   FEATURES
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 20px;
}
.feature-card {
  position: relative;
  padding: 32px 30px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
/* Static glow that fades in on hover (no JS, no mousemove) */
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at 50% 0%, rgba(var(--accent-rgb), 0.14), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.feature-card:hover { transform: translateY(-6px); border-color: var(--border-glow); background: var(--surface-2); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  position: relative;
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: #fff;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.3), rgba(124, 58, 237, 0.12));
  border: 1px solid var(--border-2);
  box-shadow: inset 0 0 18px rgba(var(--accent-rgb), 0.16);
}
.feature-icon svg { color: var(--accent-3); }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 12px; position: relative; }
.feature-card p { color: var(--muted); font-size: 0.94rem; position: relative; }

/* ============================================================
   WHY / COMPARISON
   ============================================================ */
.compare {
  max-width: 920px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}
.compare-head, .compare-row {
  display: grid;
  grid-template-columns: 1.2fr 1.3fr 1.3fr;
  align-items: center;
}
.compare-head {
  padding: 20px 26px;
  border-bottom: 1px solid var(--border-2);
  font-weight: 800; font-size: 0.92rem;
  background: rgba(255, 255, 255, 0.02);
}
.ch-halo {
  display: flex; align-items: center; gap: 9px;
  font-style: italic; text-transform: uppercase; letter-spacing: -0.01em;
  color: #fff;
}
.ch-others { color: var(--muted-2); font-weight: 700; }
.compare-row {
  padding: 18px 26px;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s var(--ease);
}
.compare-row:last-child { border-bottom: none; }
.compare-row:hover { background: rgba(var(--accent-rgb), 0.05); }
.cr-feature { font-weight: 700; color: var(--text); font-size: 0.95rem; }
.cr-halo { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 0.92rem; font-weight: 500; }
.cr-others { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.92rem; }

.cr-halo i, .cr-others i {
  flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 7px;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
}
i.yes { background: rgba(74, 222, 128, 0.14); }
i.yes::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #4ade80; border-bottom: 2px solid #4ade80; transform: rotate(-45deg) translate(0px, -1px); }
i.no { background: rgba(248, 113, 113, 0.12); }
i.no::before, i.no::after { content: ""; position: absolute; width: 11px; height: 2px; background: #f87171; border-radius: 2px; }
i.no::before { transform: rotate(45deg); }
i.no::after { transform: rotate(-45deg); }
i.meh { background: rgba(251, 191, 36, 0.14); }
i.meh::after { content: ""; width: 10px; height: 2px; background: #fbbf24; border-radius: 2px; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { max-width: 760px; margin: 0 auto; text-align: center; }
.about-content h2 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 22px; }
.about-content > p { color: var(--muted); font-size: 1.12rem; line-height: 1.85; margin-bottom: 46px; }

.team { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 50px; }
.team-member {
  display: flex; align-items: center; gap: 15px;
  padding: 18px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: left;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.team-member:hover { transform: translateY(-5px); border-color: var(--border-glow); background: var(--surface-2); }
.avatar {
  width: 54px; height: 54px; border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-style: italic; font-size: 1.3rem; color: #fff;
}
.avatar.mercy { background: linear-gradient(135deg, #7c3aed, #c084fc); box-shadow: 0 6px 16px rgba(124, 58, 237, 0.4); }
.avatar.helios { background: linear-gradient(135deg, #db2777, #fb923c); box-shadow: 0 6px 16px rgba(219, 39, 119, 0.35); }
.tm-info .name { font-weight: 800; font-size: 1.02rem; }
.tm-info .role { color: var(--muted); font-size: 0.84rem; }

.about-stats {
  display: flex; justify-content: center; gap: 18px; flex-wrap: wrap;
}
.as-item {
  flex: 1; min-width: 150px; max-width: 220px;
  padding: 24px 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.as-item b { display: block; font-size: 2rem; font-style: italic; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.as-item span { color: var(--muted); font-size: 0.84rem; }

/* ============================================================
   DONATE
   ============================================================ */
.donate-card {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(40px, 6vw, 64px) clamp(26px, 5vw, 56px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-2);
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.08), var(--surface));
  overflow: hidden;
}
/* Soft glow via radial-gradient (no blur) */
.donate-card::before {
  content: "";
  position: absolute; top: -45%; left: 50%;
  width: 520px; height: 520px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.18), transparent 62%);
  pointer-events: none;
}
.donate-icon {
  position: relative;
  width: 78px; height: 78px; margin: 0 auto 26px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  color: var(--accent-3);
  box-shadow: 0 0 26px rgba(var(--accent-rgb), 0.28);
  animation: heart 4s ease-in-out infinite;
}
@keyframes heart { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.1); } 24% { transform: scale(1); } 36% { transform: scale(1.06); } }

/* Beating heart on the Support button (like the launcher's heart) */
.btn .beat { transform-box: fill-box; transform-origin: center; animation: beat 1.3s ease-in-out infinite; }
.btn:hover .beat { animation-duration: 0.85s; }
@keyframes beat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.32); }
  30% { transform: scale(1); }
  45% { transform: scale(1.18); }
  62% { transform: scale(1); }
}

.donate-card h2 { position: relative; font-size: clamp(1.9rem, 5vw, 2.9rem); margin-bottom: 18px; }
.donate-card p { position: relative; color: var(--muted); font-size: 1.08rem; margin-bottom: 36px; max-width: 540px; margin-left: auto; margin-right: auto; }
.donate-actions { position: relative; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Halo+ perk chips */
.plus-perks {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: -10px 0 32px;
}
.perk-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--border-2);
  background: var(--surface-2);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}
.perk-chip svg { color: var(--accent-3); flex-shrink: 0; }

.donate-note {
  position: relative;
  margin-top: 18px !important;
  margin-bottom: 0 !important;
  font-size: 0.8rem !important;
  color: var(--muted-2) !important;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.faq-item:hover { border-color: var(--border-2); }
.faq-item[open] { border-color: var(--border-glow); background: var(--surface-2); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron { flex-shrink: 0; color: var(--accent-3); transition: transform 0.3s var(--ease); }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-a {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  animation: faqIn 0.35s var(--ease);
}
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta { overflow: hidden; }
.final-card {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(50px, 8vw, 90px) 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-2);
  background: radial-gradient(ellipse at 50% 0%, rgba(var(--accent-rgb), 0.18), var(--surface) 60%);
  overflow: hidden;
}
.ring.mini { position: absolute; top: 50%; left: 50%; width: 520px; height: 520px; opacity: 0.4; }
.final-card h2 { position: relative; font-size: clamp(2.1rem, 6vw, 3.6rem); margin-bottom: 18px; }
.final-card p { position: relative; color: var(--muted); font-size: 1.12rem; margin-bottom: 36px; }
.final-card .btn { position: relative; }
.final-sub { position: relative; margin-top: 20px; color: var(--muted-2); font-size: 0.86rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--border); padding: 50px 0 40px; background: var(--bg-2); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 1.1rem; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--muted); font-size: 0.9rem; font-weight: 500; transition: color 0.3s var(--ease); }
.footer-links a:hover { color: var(--text); }
.footer-note { color: var(--muted-2); font-size: 0.8rem; }

/* ============================================================
   VERSIONS MODAL — in-site release browser
   (katı scrim, blur yok; yalnızca transform/opacity animasyonu)
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; }
body.modal-open { overflow: hidden; }

.modal-scrim {
  position: absolute;
  inset: 0;
  background: rgba(4, 3, 8, 0.84);
  animation: scrimIn 0.3s var(--ease);
}
@keyframes scrimIn { from { opacity: 0; } to { opacity: 1; } }

.modal-panel {
  position: relative;
  width: min(540px, 100%);
  max-height: min(640px, 86vh);
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-2);
  background: linear-gradient(180deg, #100d1a, #0b0912);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9), 0 0 60px -20px rgba(var(--accent-rgb), 0.35);
  overflow: hidden;
  animation: panelIn 0.35s var(--ease);
}
@keyframes panelIn {
  from { opacity: 0; transform: translateY(22px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 26px 18px;
  border-bottom: 1px solid var(--border);
}
.modal-head .eyebrow { margin-bottom: 8px; }
.modal-head h3 { font-size: 1.6rem; }
.modal-close {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.modal-close:hover { color: #fff; border-color: var(--border-glow); background: var(--surface-2); }

.modal-body {
  flex: 1;
  min-height: 120px;
  overflow-y: auto;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vm-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.vm-row:hover { border-color: var(--border-glow); background: var(--surface-2); }
.vm-tag {
  display: flex; align-items: center; gap: 9px;
  font-weight: 800; font-size: 1.02rem;
  font-style: italic;
}
.vm-badge {
  font-style: normal;
  font-size: 0.62rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 3px 8px; border-radius: 6px;
  background: var(--grad); color: #fff;
}
.vm-badge.pre { background: rgba(251, 191, 36, 0.16); color: #fbbf24; }
.vm-meta { color: var(--muted-2); font-size: 0.8rem; margin-top: 3px; }

.vm-dl {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: 11px;
  border: none;
  background: var(--grad);
  color: #fff;
  font-weight: 800; font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 5px 16px rgba(var(--accent-rgb), 0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), filter 0.3s var(--ease);
}
.vm-dl:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(var(--accent-rgb), 0.55); filter: brightness(1.08); }
.vm-dl.is-loading { pointer-events: none; opacity: 0.8; }

.vm-loading, .vm-error {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 40px 20px;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}
.vm-error { flex-direction: column; gap: 8px; }
.vm-error a { color: var(--accent-3); font-weight: 700; }
.vm-spinner {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2.5px solid var(--border-2);
  border-top-color: var(--accent-2);
  animation: spinLoad 0.8s linear infinite;
  flex-shrink: 0;
}

.modal-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 26px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted-2);
  text-align: center;
}

.vm-retry {
  padding: 9px 20px;
  border-radius: 10px;
  border: 1px solid var(--border-2);
  background: var(--surface-2);
  color: var(--text);
  font-family: inherit;
  font-weight: 700; font-size: 0.82rem;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.vm-retry:hover { border-color: var(--border-glow); background: var(--surface-3); }

@media (max-width: 480px) {
  .modal { padding: 12px; }
  .modal-head { padding: 20px 20px 14px; }
  .modal-foot { padding: 14px 20px; }
  .vm-row { flex-direction: column; align-items: stretch; }
  .vm-dl { justify-content: center; }
}

/* ============================================================
   FLOATING DOWNLOAD BUTTON — CSS show/hide (no JS loop)
   ============================================================ */
.floating-btn {
  position: fixed; right: 26px; bottom: 26px;
  display: flex; align-items: center; gap: 10px;
  padding: 15px 24px;
  border-radius: 999px;
  border: none;
  background: var(--grad);
  color: #fff;
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em;
  font-size: 0.85rem;
  cursor: pointer;
  z-index: 90;
  box-shadow: 0 12px 30px rgba(var(--accent-rgb), 0.5);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.3s var(--ease), filter 0.3s var(--ease);
}
.floating-btn:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 16px 40px rgba(var(--accent-rgb), 0.65); }
.floating-btn.hidden-btn { opacity: 0; transform: translateY(24px) scale(0.9); pointer-events: none; }
.floating-btn.is-loading { pointer-events: none; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal-up {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal-up.visible { opacity: 1; transform: translateY(0); }
.stagger-group .reveal-up { transition-delay: var(--delay, 0s); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    gap: 4px;
    padding: 16px 24px 24px;
    background: rgba(8, 6, 14, 0.97);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 4px; font-size: 1rem; }
  .nav-links a::after { display: none; }
  .nav-right .cta-btn span { display: none; }
  .nav-right .cta-btn { padding: 10px; }
  .nav-toggle { display: flex; }

  .app-side { display: none; }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .app-body { min-height: 0; }

  .compare-head, .compare-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 18px; }
  .ch-feature, .cr-feature { font-weight: 800; color: var(--accent-3); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; }
  .ch-others { margin-top: 4px; }
  .compare-head .ch-feature { display: none; }
}

@media (max-width: 560px) {
  .hero { padding-top: 110px; }
  .tb-search { display: none; }
  .hero-meta { gap: 10px; }
  .meta-dot { display: none; }
  .btn { width: 100%; justify-content: center; }
  .hero-buttons { width: 100%; }
  .donate-actions .btn, .hero-buttons .btn { width: 100%; }
  .floating-btn span { display: none; }
  .floating-btn { padding: 16px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.15s !important;
    scroll-behavior: auto !important;
  }
  .reveal-up { opacity: 1; transform: none; }
  .marquee-track, .ring, .app-window, .halo-core, .donate-icon { animation: none !important; }
}
