/* ============================================================
   BrahaMC — ana stil dosyası
   Tema: derin mor / magenta / lila. Tüm renkler :root içinde.
   ============================================================ */
:root {
  --bg: #07040f;
  --bg-2: #0d0720;
  --surface: rgba(255, 255, 255, .045);
  --surface-2: rgba(255, 255, 255, .07);
  --line: rgba(167, 139, 250, .16);
  --line-2: rgba(167, 139, 250, .32);
  --text: #f3effe;
  --muted: #a99cc9;
  --dim: #7a6c9b;
  --p-300: #c4b5fd;
  --p-400: #a78bfa;
  --p-500: #8b5cf6;
  --p-600: #7c3aed;
  --p-700: #6d28d9;
  --p-900: #2e1065;
  --magenta: #d946ef;
  --pink: #f0abfc;
  --indigo: #6366f1;
  --ok: #4ade80;
  --err: #fb7185;
  --radius: 18px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --font-display: "Outfit", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--p-600); color: #fff; }
:focus-visible { outline: 2px solid var(--p-400); outline-offset: 3px; border-radius: 6px; }

/* ---------- scrollbar ---------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--p-700), var(--magenta)); border-radius: 10px; border: 2px solid var(--bg); }

/* ---------- arka plan katmanları ---------- */
.bg-fx { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-fx::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1200px 700px at 78% -10%, rgba(124, 58, 237, .30), transparent 60%),
    radial-gradient(900px 600px at -10% 20%, rgba(217, 70, 239, .16), transparent 60%),
    radial-gradient(900px 700px at 50% 120%, rgba(99, 102, 241, .20), transparent 60%),
    var(--bg);
}
.bg-fx::after { /* ince ızgara */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(167, 139, 250, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 139, 250, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 72%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; will-change: transform; }
.blob.b1 { width: 520px; height: 520px; left: 62%; top: -8%; background: #7c3aed; animation: drift1 22s ease-in-out infinite; }
.blob.b2 { width: 420px; height: 420px; left: -6%; top: 38%; background: #c026d3; opacity: .30; animation: drift2 26s ease-in-out infinite; }
.blob.b3 { width: 460px; height: 460px; left: 40%; top: 78%; background: #4f46e5; opacity: .32; animation: drift3 30s ease-in-out infinite; }
@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-90px, 70px) scale(1.15); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(110px, -60px) scale(1.1); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-70px, -90px) scale(1.2); } }
#fx-canvas { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 420px; height: 420px; margin: -210px 0 0 -210px;
  background: radial-gradient(circle, rgba(167, 139, 250, .16), transparent 65%);
  pointer-events: none; z-index: 0; opacity: 0; transition: opacity .4s; will-change: transform;
}
body.has-cursor .cursor-glow { opacity: 1; }

/* ---------- yerleşim ---------- */
.container { width: min(1180px, 100% - 48px); margin-inline: auto; position: relative; z-index: 1; }
section { position: relative; padding: 110px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--p-300); padding: 7px 14px; border-radius: 99px;
  background: rgba(139, 92, 246, .12); border: 1px solid var(--line-2);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--magenta); box-shadow: 0 0 12px var(--magenta); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.7); } }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-head h2 { font-family: var(--font-display); font-size: clamp(32px, 5vw, 52px); line-height: 1.1; margin: 20px 0 16px; letter-spacing: -.02em; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }
.grad-text {
  background: linear-gradient(100deg, #c4b5fd 0%, #e879f9 50%, #c4b5fd 100%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: textflow 6s linear infinite;
}
@keyframes textflow { to { background-position: -200% 0; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- butonlar ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 14px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; letter-spacing: .01em; overflow: hidden; isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, border-color .3s;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--p-600), var(--magenta) 50%, var(--p-600) 100%);
  background-size: 200% 100%;
  box-shadow: 0 10px 34px -8px rgba(168, 85, 247, .65), inset 0 1px 0 rgba(255, 255, 255, .25);
  animation: btnflow 6s linear infinite;
}
@keyframes btnflow { to { background-position: -200% 0; } }
.btn-primary::after { /* parlama */
  content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-20deg); transition: left .7s var(--ease);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 44px -8px rgba(168, 85, 247, .85), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-primary:hover::after { left: 130%; }
.btn-ghost { background: var(--surface); border-color: var(--line-2); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--p-400); transform: translateY(-3px); }
.btn-lg { padding: 17px 34px; font-size: 16px; border-radius: 16px; }
.btn[disabled] { opacity: .65; pointer-events: none; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- gezinme ---------- */
.nav { position: fixed; top: 0; inset-inline: 0; z-index: 50; transition: background .35s, backdrop-filter .35s, border-color .35s, padding .35s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(9, 5, 20, .72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.nav .brand { width: 168px; flex: none; filter: drop-shadow(0 4px 18px rgba(168, 85, 247, .45)); transition: transform .3s var(--ease); }
.nav .brand:hover { transform: scale(1.04); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a:not(.btn) { padding: 9px 16px; border-radius: 10px; color: var(--muted); font-weight: 500; font-size: 15px; transition: color .25s, background .25s; position: relative; }
.nav-links a:not(.btn):hover, .nav-links a.active { color: #fff; background: var(--surface); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .btn { padding: 10px 20px; font-size: 14px; border-radius: 12px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-2); align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.burger span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 76px 0 auto 0; padding: 18px 24px 28px; background: rgba(9, 5, 20, .94); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); display: grid; gap: 6px; transform: translateY(-14px); opacity: 0; pointer-events: none; transition: .35s var(--ease); z-index: 49; }
.mobile-menu.open { transform: none; opacity: 1; pointer-events: auto; }
.mobile-menu a { padding: 14px 16px; border-radius: 12px; background: var(--surface); font-weight: 500; }
.mobile-menu .btn { margin-top: 6px; }

/* ---------- hero ---------- */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 130px 0 90px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero-logo { width: min(640px, 100%); margin: 26px 0 10px; filter: drop-shadow(0 12px 50px rgba(168, 85, 247, .6)); }
.hero h1 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -.02em; line-height: 1.15; }
.hero .lead { margin: 18px 0 34px; color: var(--muted); font-size: 19px; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.ip-card {
  margin-top: 34px; display: inline-flex; align-items: center; gap: 16px; padding: 12px 14px 12px 22px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px; backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px -30px rgba(139, 92, 246, .7);
}
.ip-card small { display: block; color: var(--dim); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.ip-card code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 20px; font-weight: 600; color: #fff; letter-spacing: .02em; }
.copy-btn { padding: 11px 18px; border-radius: 11px; background: rgba(139, 92, 246, .22); border: 1px solid var(--line-2); font-weight: 600; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; transition: .25s; }
.copy-btn:hover { background: var(--p-600); border-color: var(--p-400); }
.copy-btn.done { background: rgba(74, 222, 128, .18); border-color: rgba(74, 222, 128, .5); color: var(--ok); }
.status-pill { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; padding: 7px 14px; border-radius: 99px; font-size: 14px; font-weight: 500; background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--muted); }
.status-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--dim); }
.status-pill.online .dot { background: var(--ok); box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: ping 1.8s infinite; }
.status-pill.online { color: #d9fbe5; border-color: rgba(74, 222, 128, .3); }
.status-pill.offline .dot { background: var(--err); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,.55); } 80%,100% { box-shadow: 0 0 0 11px rgba(74,222,128,0); } }

/* 3D küp sahnesi */
.scene { position: relative; height: 520px; display: grid; place-items: center; perspective: 1100px; }
.scene::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(168, 85, 247, .55), transparent 65%); filter: blur(30px); animation: pulse 5s ease-in-out infinite; }
.ring { position: absolute; border: 1px solid var(--line-2); border-radius: 50%; animation: spin 40s linear infinite; }
.ring.r1 { width: 400px; height: 400px; border-style: dashed; }
.ring.r2 { width: 500px; height: 500px; animation-direction: reverse; animation-duration: 60s; opacity: .55; }
.cube-wrap { transform-style: preserve-3d; animation: float 7s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(-14px); } 50% { transform: translateY(14px); } }
.cube { --s: 190px; width: var(--s); height: var(--s); position: relative; transform-style: preserve-3d; animation: rot 22s linear infinite; }
@keyframes rot { from { transform: rotateX(-24deg) rotateY(0); } to { transform: rotateX(-24deg) rotateY(360deg); } }
.cube .f {
  position: absolute; inset: 0; border: 1px solid rgba(233, 213, 255, .35);
  background:
    linear-gradient(135deg, rgba(255,255,255,.18), transparent 45%),
    repeating-linear-gradient(0deg, rgba(0,0,0,.14) 0 12px, transparent 12px 24px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.14) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, #a855f7, #6d28d9 55%, #4c1d95);
  box-shadow: inset 0 0 40px rgba(217, 70, 239, .45);
}
.cube .f.top { background:
    repeating-linear-gradient(0deg, rgba(0,0,0,.12) 0 12px, transparent 12px 24px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.12) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, #f0abfc, #c084fc 60%, #a855f7); }
.cube .f.bot { background: #2e1065; }
.cube .f.fr { transform: translateZ(95px); }
.cube .f.bk { transform: rotateY(180deg) translateZ(95px); }
.cube .f.rt { transform: rotateY(90deg) translateZ(95px); }
.cube .f.lf { transform: rotateY(-90deg) translateZ(95px); }
.cube .f.top { transform: rotateX(90deg) translateZ(95px); }
.cube .f.bot { transform: rotateX(-90deg) translateZ(95px); }
.mini { position: absolute; width: 46px; height: 46px; border-radius: 9px; transform-style: preserve-3d;
  background: linear-gradient(140deg, #e879f9, #7c3aed); border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 14px 40px -6px rgba(168, 85, 247, .8), inset 0 0 14px rgba(255,255,255,.25); animation: bob 6s ease-in-out infinite; }
.mini.m1 { left: 6%; top: 18%; animation-delay: -1s; }
.mini.m2 { right: 4%; top: 12%; width: 34px; height: 34px; animation-delay: -3s; }
.mini.m3 { right: 12%; bottom: 14%; width: 56px; height: 56px; animation-delay: -2s; background: linear-gradient(140deg, #818cf8, #6d28d9); }
.mini.m4 { left: 12%; bottom: 20%; width: 28px; height: 28px; animation-delay: -4s; }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-26px) rotate(40deg); } }
.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); width: 26px; height: 44px; border: 2px solid var(--line-2); border-radius: 14px; }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--p-300); animation: scrolldot 1.8s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- kayan şerit ---------- */
.marquee { padding: 22px 0; border-block: 1px solid var(--line); background: rgba(139, 92, 246, .05); overflow: hidden; position: relative; z-index: 1; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marq 38s linear infinite; }
.marquee span { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: .12em; color: var(--p-300); white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; opacity: .9; }
.marquee span::after { content: "◆"; font-size: 12px; color: var(--magenta); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- istatistik ---------- */
.stats { padding: 70px 0 20px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { padding: 30px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-align: center; backdrop-filter: blur(8px); transition: transform .4s var(--ease), border-color .4s; }
.stat:hover { transform: translateY(-6px); border-color: var(--line-2); }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(38px, 5vw, 56px); line-height: 1; letter-spacing: -.03em; }
.stat span { color: var(--muted); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; display: block; margin-top: 10px; }

/* ---------- özellik kartları ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; padding: 34px 30px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
  border: 1px solid var(--line); transform-style: preserve-3d; transition: border-color .35s, box-shadow .35s;
}
.card::before { /* imleç parlaması */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(168, 85, 247, .22), transparent 55%);
}
.card:hover { border-color: var(--line-2); box-shadow: 0 30px 70px -34px rgba(139, 92, 246, .8); }
.card:hover::before { opacity: 1; }
.card .ico { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 28px; margin-bottom: 22px; background: linear-gradient(140deg, rgba(139,92,246,.35), rgba(217,70,239,.2)); border: 1px solid var(--line-2); box-shadow: inset 0 0 20px rgba(167,139,250,.2); }
.card h3 { margin: 0 0 10px; font-family: var(--font-display); font-size: 22px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- rankler ---------- */
.ranks-wrap { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.rank {
  --c1: #7c3aed; --c2: #c4b5fd;
  position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.rank::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, color-mix(in srgb, var(--c1) 22%, transparent), transparent 60%); opacity: .8; }
.rank:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--c2) 55%, transparent); box-shadow: 0 22px 50px -28px var(--c1); }
.badge {
  position: relative; z-index: 1; flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 7px;
  font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #fff;
  background: linear-gradient(180deg, var(--c1), color-mix(in srgb, var(--c1) 55%, #000));
  border: 2px solid var(--c2); box-shadow: 0 0 0 2px rgba(0,0,0,.35), 0 6px 22px -6px var(--c1);
  image-rendering: pixelated; min-width: 118px; justify-content: center; overflow: hidden;
}
.rank .meta { position: relative; z-index: 1; font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.rank .meta b { display: block; color: #fff; font-size: 15px; font-weight: 600; }
.rank.kurucu { --c1: #6b21a8; --c2: #fde047; grid-column: span 2; background: linear-gradient(120deg, rgba(107, 33, 168, .5), rgba(217, 70, 239, .18)); border-color: rgba(253, 224, 71, .45); }
.rank.kurucu .badge { background: linear-gradient(90deg, #4c1d95, #a21caf, #4c1d95); background-size: 200% 100%; animation: textflow 3s linear infinite; font-size: 15px; padding: 10px 18px; }
.rank.kurucu .badge::after, .badge.shine::after { content: ""; position: absolute; top: -20%; left: -60%; width: 40%; height: 140%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.75), transparent); transform: skewX(-22deg); animation: sheen 2.8s var(--ease) infinite; }
@keyframes sheen { 0% { left: -60%; } 55%,100% { left: 150%; } }
.rank.kurucu .sparkle { position: absolute; width: 6px; height: 6px; background: #fde047; box-shadow: 0 0 10px #fde047; animation: twinkle 2.4s infinite; z-index: 1; }
.rank.kurucu .sparkle:nth-of-type(1) { right: 12%; top: 22%; }
.rank.kurucu .sparkle:nth-of-type(2) { right: 26%; bottom: 20%; animation-delay: -.8s; }
.rank.kurucu .sparkle:nth-of-type(3) { right: 6%; bottom: 30%; animation-delay: -1.5s; width: 4px; height: 4px; }
@keyframes twinkle { 0%,100% { opacity: 0; transform: scale(.3) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(45deg); } }

/* ---------- nasıl katılırım ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; left: 12%; right: 12%; top: 54px; height: 2px; background: linear-gradient(90deg, transparent, var(--p-500), var(--magenta), var(--p-500), transparent); opacity: .5; }
.step { position: relative; text-align: center; padding: 0 12px; }
.step .num { width: 108px; height: 108px; margin: 0 auto 24px; border-radius: 30px; display: grid; place-items: center; font-family: var(--font-display); font-size: 42px; font-weight: 700; background: linear-gradient(140deg, rgba(139,92,246,.4), rgba(217,70,239,.22)); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -22px var(--p-500), inset 0 0 30px rgba(167,139,250,.2); transition: transform .4s var(--ease); position: relative; z-index: 1; backdrop-filter: blur(6px); }
.step:hover .num { transform: translateY(-8px) rotate(-4deg) scale(1.05); }
.step h3 { font-family: var(--font-display); font-size: 22px; margin: 0 0 8px; }
.step p { margin: 0; color: var(--muted); }
.step code { background: rgba(139,92,246,.18); padding: 2px 9px; border-radius: 7px; color: var(--pink); font-size: 14px; }

/* ---------- CTA ---------- */
.cta-box { position: relative; text-align: center; padding: 74px 30px; border-radius: 32px; overflow: hidden; border: 1px solid var(--line-2); background: linear-gradient(135deg, rgba(124,58,237,.35), rgba(217,70,239,.16) 60%, rgba(99,102,241,.22)); }
.cta-box::before { content: ""; position: absolute; inset: -50%; background: conic-gradient(from 0deg, transparent, rgba(217,70,239,.35), transparent 30%); animation: spin 14s linear infinite; }
.cta-box::after { content: ""; position: absolute; inset: 1px; border-radius: 31px; background: rgba(9, 5, 20, .78); backdrop-filter: blur(4px); }
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { font-family: var(--font-display); font-size: clamp(30px, 4.6vw, 50px); margin: 0 0 14px; letter-spacing: -.02em; }
.cta-box p { color: var(--muted); font-size: 18px; margin: 0 auto 32px; max-width: 560px; }

/* ---------- footer ---------- */
footer { padding: 70px 0 36px; border-top: 1px solid var(--line); position: relative; z-index: 1; background: linear-gradient(180deg, transparent, rgba(9, 5, 20, .7)); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid .brand { width: 190px; margin-bottom: 18px; }
.foot-grid p { color: var(--muted); font-size: 15px; max-width: 320px; margin: 0; }
.foot-grid h4 { font-family: var(--font-display); margin: 0 0 16px; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--p-300); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid li a { color: var(--muted); font-size: 15px; transition: color .25s, padding .25s; }
.foot-grid li a:hover { color: #fff; padding-left: 5px; }
.foot-bottom { margin-top: 54px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--dim); font-size: 14px; }

/* ============================================================
   Kayıt / giriş sayfaları
   ============================================================ */
.auth-page { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; position: relative; z-index: 1; }
.auth-side { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 42px 56px; overflow: hidden; border-right: 1px solid var(--line); background: linear-gradient(160deg, rgba(76, 29, 149, .55), rgba(13, 7, 32, .6) 55%, rgba(192, 38, 211, .22)); }
.auth-side .brand { width: 190px; }
.auth-side .scene { height: 360px; }
.auth-side .cube { --s: 140px; }
.auth-side .cube .f.fr { transform: translateZ(70px); } .auth-side .cube .f.bk { transform: rotateY(180deg) translateZ(70px); }
.auth-side .cube .f.rt { transform: rotateY(90deg) translateZ(70px); } .auth-side .cube .f.lf { transform: rotateY(-90deg) translateZ(70px); }
.auth-side .cube .f.top { transform: rotateX(90deg) translateZ(70px); } .auth-side .cube .f.bot { transform: rotateX(-90deg) translateZ(70px); }
.auth-side .ring.r1 { width: 300px; height: 300px; } .auth-side .ring.r2 { width: 380px; height: 380px; }
.auth-side h2 { font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px); line-height: 1.15; margin: 0 0 12px; letter-spacing: -.02em; }
.auth-side p { color: var(--muted); margin: 0; max-width: 420px; }
.auth-main { display: grid; place-items: center; padding: 40px 24px; }
.auth-card { width: min(450px, 100%); padding: 40px 36px; border-radius: 26px; background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025)); border: 1px solid var(--line-2); backdrop-filter: blur(20px); box-shadow: 0 40px 100px -40px rgba(139, 92, 246, .75); position: relative; overflow: hidden; }
.auth-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--p-600), var(--magenta), var(--p-400), var(--magenta), var(--p-600)); background-size: 200% 100%; animation: textflow 4s linear infinite; }
.auth-card h1 { font-family: var(--font-display); font-size: 32px; margin: 0 0 6px; letter-spacing: -.02em; }
.auth-card .sub { color: var(--muted); margin: 0 0 28px; font-size: 15px; }
.mobile-brand { display: none; }
.field { margin-bottom: 18px; }
.field label { display: flex; justify-content: space-between; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; color: var(--p-300); letter-spacing: .02em; }
.field label a { color: var(--pink); font-weight: 500; }
.field label a:hover { text-decoration: underline; }
.input-wrap { position: relative; }
.input-wrap input {
  width: 100%; padding: 15px 16px; padding-right: 48px; border-radius: 13px; font: inherit; font-size: 15.5px; color: #fff;
  background: rgba(7, 4, 15, .6); border: 1px solid var(--line-2); transition: border-color .25s, box-shadow .25s, background .25s;
}
.input-wrap input::placeholder { color: var(--dim); }
.input-wrap input:focus { outline: none; border-color: var(--p-400); background: rgba(7,4,15,.85); box-shadow: 0 0 0 4px rgba(139, 92, 246, .22); }
.input-wrap input.bad { border-color: var(--err); box-shadow: 0 0 0 4px rgba(251, 113, 133, .15); }
.input-wrap input.good { border-color: rgba(74, 222, 128, .6); }
.input-wrap .eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 9px; background: transparent; border: 0; color: var(--muted); display: grid; place-items: center; }
.input-wrap .eye:hover { color: #fff; background: var(--surface-2); }
.hint { font-size: 13px; margin-top: 7px; min-height: 18px; color: var(--dim); display: flex; align-items: center; gap: 6px; }
.hint.ok { color: var(--ok); } .hint.err { color: var(--err); }
.meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
.meter i { height: 4px; border-radius: 4px; background: rgba(255,255,255,.1); transition: background .3s; }
.meter[data-s="1"] i:nth-child(-n+1) { background: #fb7185; }
.meter[data-s="2"] i:nth-child(-n+2) { background: #fb923c; }
.meter[data-s="3"] i:nth-child(-n+3) { background: #facc15; }
.meter[data-s="4"] i { background: #4ade80; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 6px 0 20px; cursor: pointer; }
.check input { appearance: none; flex: none; width: 20px; height: 20px; margin: 1px 0 0; border-radius: 6px; border: 1.5px solid var(--line-2); background: rgba(7,4,15,.6); display: grid; place-items: center; transition: .2s; cursor: pointer; }
.check input:checked { background: linear-gradient(140deg, var(--p-600), var(--magenta)); border-color: transparent; }
.check input:checked::after { content: "✓"; color: #fff; font-size: 13px; font-weight: 700; }
.check a { color: var(--pink); text-decoration: underline; text-underline-offset: 3px; }
.alert { display: none; padding: 13px 16px; border-radius: 13px; font-size: 14.5px; margin-bottom: 20px; line-height: 1.5; }
.alert.show { display: block; animation: pop .4s var(--ease); }
.alert.err { background: rgba(251, 113, 133, .12); border: 1px solid rgba(251, 113, 133, .4); color: #fecdd3; }
.alert.ok { background: rgba(74, 222, 128, .1); border: 1px solid rgba(74, 222, 128, .4); color: #bbf7d0; }
.alert.info { background: rgba(139, 92, 246, .14); border: 1px solid var(--line-2); color: var(--p-300); }
@keyframes pop { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
.auth-card .btn { width: 100%; }
.cf-box { display: flex; justify-content: center; margin: 4px 0 20px; min-height: 0; }
.switch { text-align: center; margin: 24px 0 0; color: var(--muted); font-size: 15px; }
.switch a { color: var(--pink); font-weight: 600; } .switch a:hover { text-decoration: underline; }
.back-home { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; margin-bottom: 22px; transition: color .25s, transform .25s; }
.back-home:hover { color: #fff; transform: translateX(-4px); }
.cfg-warn { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 80; max-width: min(620px, calc(100% - 32px)); padding: 14px 20px; border-radius: 14px; background: rgba(120, 53, 15, .9); border: 1px solid #f59e0b; color: #fde68a; font-size: 14px; backdrop-filter: blur(10px); }

/* ---------- profil ---------- */
.profile-page { padding: 130px 0 90px; min-height: 100vh; }
.profile-grid { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: start; }
.panel { padding: 30px; border-radius: 22px; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid var(--line); backdrop-filter: blur(12px); }
.panel h3 { margin: 0 0 18px; font-family: var(--font-display); font-size: 20px; }
.avatar-card { text-align: center; }
.avatar { width: 140px; height: 140px; margin: 0 auto 18px; border-radius: 28px; overflow: hidden; border: 2px solid var(--line-2); box-shadow: 0 20px 50px -20px var(--p-500); background: #1a0f33; image-rendering: pixelated; }
.avatar img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.avatar-card h2 { margin: 0 0 12px; font-family: var(--font-display); font-size: 26px; word-break: break-all; }
.kv { display: grid; gap: 14px; }
.kv div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 15px; }
.kv div:last-child { border: 0; padding: 0; }
.kv span { color: var(--muted); } .kv b { font-weight: 600; word-break: break-all; text-align: right; }
.loader-full { position: fixed; inset: 0; display: grid; place-items: center; background: var(--bg); z-index: 90; transition: opacity .5s; }
.loader-full.hide { opacity: 0; pointer-events: none; }
.loader-full .spinner { width: 42px; height: 42px; border-width: 4px; border-color: rgba(167,139,250,.25); border-top-color: var(--magenta); }

/* ---------- yasal sayfalar ---------- */
.legal { padding: 140px 0 90px; max-width: 820px; }
.legal h1 { font-family: var(--font-display); font-size: clamp(34px, 5vw, 52px); margin: 0 0 8px; }
.legal h2 { font-family: var(--font-display); margin: 38px 0 10px; font-size: 22px; color: var(--p-300); }
.legal p, .legal li { color: var(--muted); }

/* ---------- duyarlı ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; } .hero-cta { justify-content: center; } .hero-logo { margin-inline: auto; }
  .scene { height: 400px; order: -1; } .cube { --s: 150px; }
  .cube .f.fr { transform: translateZ(75px); } .cube .f.bk { transform: rotateY(180deg) translateZ(75px); }
  .cube .f.rt { transform: rotateY(90deg) translateZ(75px); } .cube .f.lf { transform: rotateY(-90deg) translateZ(75px); }
  .cube .f.top { transform: rotateX(90deg) translateZ(75px); } .cube .f.bot { transform: rotateX(-90deg) translateZ(75px); }
  .ring.r1 { width: 300px; height: 300px; } .ring.r2 { width: 380px; height: 380px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .auth-page { grid-template-columns: 1fr; } .auth-side { display: none; } .mobile-brand { display: block; width: 170px; margin: 0 auto 24px; }
}
@media (max-width: 760px) {
  section { padding: 80px 0; }
  .nav-links, .nav-actions { display: none; } .burger { display: flex; }
  .cards, .steps { grid-template-columns: 1fr; } .steps::before { display: none; }
  .rank.kurucu { grid-column: auto; }
  .scene { height: 320px; }
  .ip-card { flex-wrap: wrap; justify-content: center; } .ip-card code { font-size: 17px; }
  .foot-grid { grid-template-columns: 1fr; }
  .auth-card { padding: 32px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  #fx-canvas, .cursor-glow { display: none; }
}

[hidden] { display: none !important; }
