/* Flame V1 — tasarim sistemi. Tum sayfalar bunu paylasir (landing / dashboard / admin / purchase). */

:root {
  --bg: #090a0e;
  --bg-2: #0b0c11;
  --surface: #111219;
  --surface-2: #15161e;
  --field: #0f1016;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f2f3f7;
  --muted: #9aa0ac;
  --muted-2: #6b7180;

  --flame: #ff6a2b;
  --flame-2: #ffab2e;
  --ember: #ff3b2e;
  --flame-soft: rgba(255, 106, 43, 0.14);

  --ok: #54e0a0;
  --danger: #ff6b6b;
  --discord: #5865f2;

  --radius: 16px;
  --radius-lg: 22px;
  --container: 1140px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --shadow-flame: 0 20px 60px -20px rgba(255, 106, 43, 0.35);
  /* loader tarzi kart zemini: koyu + sag altta mor isik */
  --sheet-bg: rgba(14, 15, 26, 0.5); /* cam: arkadaki sahne bulanik + bukulmus gorunur (glass.js) */

  /* --serif adi tarihsel; artik GUCLU SANS baslik fontu (Grim tarzi) */
  --serif: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; min-height: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Katmanli arka plan: ember parlamalari + ince izgara dokusu */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--bg);
}

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

/* utilities (CSP: hicbir yerde satir-ici style yok) */
.pt0 { padding-top: 0 !important; }
.m0 { margin: 0 !important; }
.span-all { grid-column: 1 / -1; }
.clickgui.single { grid-template-columns: 1fr; }
.cfg-sub { font-size: 12.5px; color: var(--muted); }
.hide { display: none !important; }
.mt16 { margin-top: 16px; }
.ml-auto { margin-left: auto; }
.sm { font-size: 12px; color: var(--muted-2); }
.mobile-only { display: none; }

/* legal / prose */
.legal { max-width: 760px; }
.legal h2 { font-size: 18px; margin: 30px 0 8px; }
.legal p, .legal li { color: var(--muted); margin: 0 0 10px; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--flame-2); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.accent { color: var(--flame); }
.center { text-align: center; }
[hidden] { display: none !important; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(9, 10, 14, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 22px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: 0.2px; white-space: nowrap; }
.brand .logo { width: 26px; height: 26px; color: var(--flame); filter: drop-shadow(0 2px 8px rgba(255, 106, 43, 0.5)); }
.nav-links { display: flex; gap: 6px; margin-left: 8px; }
.nav-links a { padding: 8px 12px; border-radius: 10px; color: var(--muted); font-weight: 500; font-size: 14.5px; transition: color .15s, background .15s; }
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.nav-spacer { flex: 1; }
.nav-auth { display: flex; align-items: center; gap: 10px; }

.user-chip { display: flex; align-items: center; gap: 9px; padding: 5px 7px 5px 5px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); cursor: pointer; position: relative; }
.user-chip img { width: 28px; height: 28px; border-radius: 50%; }
.user-chip .caret { color: var(--muted); }
.menu { position: absolute; top: calc(100% + 10px); right: 0; min-width: 194px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 6px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-10px) scale(0.97); transform-origin: top right; transition: opacity .18s ease, transform .22s cubic-bezier(.2, .9, .2, 1), visibility .18s; }
.menu.open { opacity: 1; visibility: visible; transform: none; }
.menu a { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: 10px; color: var(--muted); font-size: 14px; }
.menu a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.menu .sep { height: 1px; background: var(--line); margin: 5px 4px; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 40px; height: 38px; color: var(--text); cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 11px 18px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text);
  font-family: var(--sans); font-weight: 600; font-size: 14.5px; cursor: pointer;
  transition: transform .08s ease, filter .15s, background .15s, border-color .15s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { background: var(--surface-2); border-color: var(--line-2); transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn.primary:hover { box-shadow: 0 16px 40px -14px rgba(255, 106, 43, 0.6); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.primary { border: 0; color: #1c0e04; background: var(--flame); box-shadow: var(--shadow-flame); }
.btn.primary:hover { filter: brightness(1.06); }
.btn.white { border: 0; color: #15161e; background: #f4f5f8; }
.btn.white:hover { filter: brightness(1.04); background: #fff; }
.btn.discord { border: 0; color: #fff; background: var(--discord); }
.btn.discord:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.05); }
.btn.danger { border-color: rgba(255, 107, 107, 0.35); color: #ffb3b3; background: transparent; }
.btn.danger:hover { background: rgba(255, 107, 107, 0.12); }
.btn.lg { padding: 14px 26px; font-size: 16px; border-radius: 14px; }
.btn.block { width: 100%; }

/* ---------- Pills / chips / badges ---------- */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); font-size: 13px; font-weight: 500; color: var(--muted); }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--flame); box-shadow: 0 0 10px var(--flame); }
.pill.live .dot { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.chip { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: #1b1d26; border: 1px solid var(--line); color: #c9ccd3; }
.chip.ok { color: var(--ok); background: rgba(84, 224, 160, 0.15); border-color: transparent; }
.chip.off { color: var(--muted); }
.chip.bad { color: var(--danger); background: rgba(255, 107, 107, 0.14); border-color: transparent; }
.chip.accent { color: var(--flame-2); background: var(--flame-soft); border-color: transparent; }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 5px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .3px; color: #1c0e04; background: var(--flame); box-shadow: var(--shadow-flame); white-space: nowrap; }

/* ---------- Section scaffolding ---------- */
section { position: relative; }
.section { padding: 86px 0; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; color: var(--flame); }
.h2 { font-family: var(--serif); font-weight: 800; font-size: clamp(28px, 4vw, 44px); line-height: 1.1; letter-spacing: -1px; margin: 14px 0 0; }
.sub { color: var(--muted); max-width: 540px; margin: 14px auto 0; font-size: 16px; }
.section-head { text-align: center; margin-bottom: 52px; }

/* ---------- Hero ---------- */
.hero { padding: 92px 0 60px; text-align: center; }
.hero h1 { font-family: var(--serif); font-weight: 800; font-size: clamp(40px, 6.6vw, 80px); line-height: 1.04; letter-spacing: -2px; margin: 24px 0 0; }
.hero h1 .em { position: relative; background: var(--flame); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .em::after { content: ""; position: absolute; left: 2%; right: 2%; bottom: 2px; height: 5px; border-radius: 4px; background: var(--flame); opacity: .6; }
.hero .lead { color: var(--muted); font-size: clamp(16px, 2.2vw, 19px); max-width: 580px; margin: 22px auto 0; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero-meta { display: flex; gap: 10px 26px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 30px; color: var(--muted); font-size: 13.5px; }
.hero-tags { display: flex; gap: 10px 20px; justify-content: center; flex-wrap: wrap; margin-top: 18px; color: var(--muted-2); font-size: 13px; }
.hero-tags span { display: inline-flex; align-items: center; gap: 7px; }
.stars { color: var(--flame-2); letter-spacing: 2px; }

/* avatar stack + counts */
.proof { display: inline-flex; align-items: center; gap: 10px; }
.avatars { display: flex; }
.avatars span { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -8px; background: #22242f; }
.avatars span:first-child { margin-left: 0; }

/* ---------- Window mockup ---------- */
.mock { max-width: 860px; margin: 56px auto 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.mock .bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.015); }
.mock .bar i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.mock .bar i:nth-child(1) { background: #ff5f57; }
.mock .bar i:nth-child(2) { background: #febc2e; }
.mock .bar i:nth-child(3) { background: #28c840; }
.mock .bar .t { margin-left: 10px; color: var(--muted-2); font-size: 12.5px; }
.mock .body { padding: 20px; }
.clickgui { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.cg-cat { border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); overflow: hidden; }
.cg-cat h4 { margin: 0; padding: 11px 13px; font-size: 13px; font-weight: 700; border-bottom: 1px solid var(--line); background: var(--flame-soft); color: var(--flame-2); display: flex; align-items: center; gap: 8px; }
.cg-cat ul { list-style: none; margin: 0; padding: 8px; display: grid; gap: 5px; }
.cg-cat li { display: flex; align-items: center; justify-content: space-between; padding: 7px 9px; border-radius: 9px; font-size: 13px; color: var(--muted); background: rgba(255, 255, 255, 0.02); }
.cg-cat li .sw { width: 26px; height: 15px; border-radius: 999px; background: #2a2d38; position: relative; flex: none; }
.cg-cat li.on { color: var(--text); }
.cg-cat li.on .sw { background: var(--flame); }
.cg-cat li .sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 11px; height: 11px; border-radius: 50%; background: #fff; transition: transform .15s; }
.cg-cat li.on .sw::after { transform: translateX(11px); }

/* ---------- Feature grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--sheet-bg); transition: transform .18s, border-color .18s; }
.feature:hover { transform: translateY(-3px); border-color: var(--line-2); }
.feature .ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--flame); border: 0; box-shadow: 0 10px 24px -12px rgba(255, 106, 43, 0.8); margin-bottom: 15px; }
.feature h3 { margin: 0 0 6px; font-size: 16.5px; font-weight: 650; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- Split showcase ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split .copy h2 { font-family: var(--serif); font-weight: 800; font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -1px; margin: 12px 0 0; }
.split .copy p { color: var(--muted); margin: 14px 0 0; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; align-items: center; gap: 11px; font-size: 14.5px; }
.ticks li .tk { width: 20px; height: 20px; border-radius: 50%; background: var(--flame-soft); color: var(--flame-2); display: grid; place-items: center; flex: none; }

/* config cloud cards */
.cloud-cards { display: grid; gap: 12px; }
.cfg { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.cfg .meta { display: flex; align-items: center; gap: 12px; }
.cfg .ava { width: 34px; height: 34px; border-radius: 10px; background: var(--flame); display: grid; place-items: center; font-weight: 700; color: #1c0e04; }
.cfg .code { font: 600 13px ui-monospace, Consolas, monospace; color: var(--flame-2); }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.price { position: relative; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); display: flex; flex-direction: column; }
.price.popular { border: 1px solid transparent; background: var(--surface); border-color: var(--flame); box-shadow: var(--shadow-flame); }
.price .pname { font-size: 15px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--muted); }
.price.popular .pname { color: var(--flame-2); }
.price .pt { color: var(--muted); font-size: 13.5px; margin: 8px 0 16px; min-height: 20px; }
.price .amount { font-family: var(--serif); font-weight: 600; font-size: 46px; line-height: 1; letter-spacing: -1px; }
.price .amount small { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.price ul { list-style: none; padding: 20px 0; margin: 16px 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.price li { display: flex; align-items: center; gap: 11px; font-size: 14px; color: var(--muted); }
.price li .tk { width: 19px; height: 19px; border-radius: 50%; background: rgba(255, 255, 255, 0.05); color: var(--flame-2); display: grid; place-items: center; flex: none; }
.price .btn { margin-top: auto; }

/* ---------- Testimonials ---------- */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tcard { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.tcard .who { display: flex; align-items: center; gap: 11px; margin-bottom: 13px; }
.tcard .who .a { width: 38px; height: 38px; border-radius: 50%; background: #1d1f29; border: 1px solid var(--line); }
.tcard .who b { font-size: 14.5px; }
.tcard .who span { display: block; color: var(--muted-2); font-size: 12.5px; }
.tcard p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0; padding: 6px 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--sheet-bg); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 4px; font-weight: 600; font-size: 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--muted); transition: transform .2s; flex: none; }
.faq details[open] summary .ic { transform: rotate(45deg); color: var(--flame); }
.faq .ans { padding: 0 4px 20px; color: var(--muted); font-size: 14.5px; max-width: 660px; }
.faq details[open] .ans { animation: faqIn .3s cubic-bezier(.2, .9, .2, 1); }
.faq summary:hover { color: var(--flame-2); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- CTA band ---------- */
.ctaband { text-align: center; padding: 76px 0; }
.ctaband h2 { font-family: var(--serif); font-weight: 800; font-size: clamp(28px, 4vw, 44px); letter-spacing: -1px; margin: 0; }
.ctaband p { color: var(--muted); margin: 12px 0 26px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; margin-top: 20px; }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.footer h5 { margin: 0 0 14px; font-size: 13px; letter-spacing: .4px; color: var(--muted); text-transform: uppercase; }
.footer a { display: block; color: var(--muted); padding: 5px 0; font-size: 14px; }
.footer a:hover { color: var(--text); }
.footer .about p { color: var(--muted); font-size: 13.5px; max-width: 280px; margin: 14px 0 16px; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted-2); font-size: 13px; }
.footer-bottom .disc { max-width: 560px; }

/* ---------- App shell (dashboard / admin / purchase) ---------- */
.app-wrap { max-width: 960px; margin: 0 auto; padding: 40px 20px 80px; }
.page-head { margin-bottom: 26px; }
.page-head h1 { font-family: var(--serif); font-weight: 800; font-size: clamp(26px, 4vw, 36px); letter-spacing: -1px; margin: 0; }
.page-head p { color: var(--muted); margin: 8px 0 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h2 { margin: 0 0 16px; font-size: 16px; font-weight: 650; display: flex; align-items: center; gap: 9px; }
.card .hint { color: var(--muted); font-size: 13.5px; margin: 0 0 14px; }

.meta { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; }
.meta div { min-width: 0; }
.meta dt { color: var(--muted-2); font-size: 12px; margin-bottom: 3px; }
.meta dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

.keybox { display: flex; gap: 8px; align-items: center; margin-top: 14px; }
.keybox code { flex: 1; min-width: 0; padding: 11px 13px; border-radius: 11px; background: var(--field); border: 1px solid var(--line); font: 700 15px/1 ui-monospace, Consolas, monospace; letter-spacing: 2px; color: var(--flame-2); overflow-wrap: anywhere; }

label { display: block; font-size: 13px; color: var(--muted); margin: 0 0 7px; font-weight: 500; }
input, select { width: 100%; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--field); color: var(--text); outline: none; font: 15px var(--sans); transition: border-color .15s; }
input:focus, select:focus { border-color: rgba(255, 106, 43, 0.55); }
.field { margin-bottom: 15px; }
textarea { width: 100%; min-height: 120px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--field); color: var(--text); outline: none; font: 14.5px/1.5 var(--sans); resize: vertical; transition: border-color .15s; }
textarea:focus { border-color: rgba(255, 106, 43, 0.55); }

/* admin: changelog listesi */
.cl-list { display: grid; gap: 10px; margin-top: 18px; }
.cl-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--field); }
.cl-item h3 { margin: 0; font-size: 15px; }
.cl-item time { color: var(--muted-2); font-size: 12.5px; }
.cl-item ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); font-size: 13.5px; display: grid; gap: 3px; }
.cl-item h4 { margin: 10px 0 0; font-size: 11.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--flame-2); }
.row { display: flex; gap: 10px; }
.row input { flex: 1; }
.form-msg { font-size: 13.5px; margin: 6px 0 0; min-height: 18px; }
.form-msg.err { color: var(--danger); }
.form-msg.ok { color: var(--ok); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.stat { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.stat .n { font-family: var(--serif); font-size: 30px; font-weight: 600; letter-spacing: -0.5px; }
.stat .l { color: var(--muted); font-size: 13px; margin-top: 2px; }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 560px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--muted-2); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; background: rgba(255, 255, 255, 0.015); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
td.mono { font-family: ui-monospace, Consolas, monospace; }
.tbtns { display: flex; gap: 6px; }
.tbtns .btn { padding: 6px 10px; font-size: 12.5px; border-radius: 9px; }

/* steps (purchase) */
.steps { display: flex; gap: 10px; margin-bottom: 26px; flex-wrap: wrap; }
.step-dot { display: flex; align-items: center; gap: 9px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--muted); }
.step-dot b { width: 20px; height: 20px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-size: 11px; color: var(--muted); }
.step-dot.active { border-color: transparent; color: #1c0e04; background: var(--flame); }
.step-dot.active b { background: rgba(0, 0, 0, 0.2); color: #1c0e04; }
.step-dot.done { color: var(--ok); border-color: rgba(84, 224, 160, 0.3); }

.plan-mini { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--field); margin-bottom: 16px; }
.plan-mini .amt { font-family: var(--serif); font-size: 24px; font-weight: 700; }

/* secilebilir plan kartlari (purchase) */
.plan-cards { display: grid; gap: 10px; margin-bottom: 18px; }
.plan-card { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--field); cursor: pointer; transition: border-color .15s, background .15s, transform .1s, box-shadow .2s; }
.plan-card:hover { border-color: var(--line-2); background: var(--surface-2); transform: translateY(-1px); }
.plan-card.selected { border-color: transparent; background: var(--surface); border-color: var(--flame); box-shadow: var(--shadow-flame); }
.plan-card .left { display: flex; align-items: center; gap: 13px; min-width: 0; }
.plan-card .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; display: grid; place-items: center; transition: border-color .15s; }
.plan-card.selected .radio { border-color: var(--flame); }
.plan-card .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--flame); transform: scale(0); transition: transform .15s; }
.plan-card.selected .radio::after { transform: scale(1); }
.plan-card .pn { font-weight: 650; }
.plan-card .pd { color: var(--muted); font-size: 12.5px; margin-top: 1px; }
.plan-card .pp { font-family: var(--serif); font-weight: 700; font-size: 20px; white-space: nowrap; }
.plan-card .pp small { font-family: var(--sans); font-size: 11.5px; color: var(--muted); font-weight: 500; display: block; text-align: right; }
.plan-card .tag { position: absolute; top: -9px; right: 14px; font-size: 10.5px; font-weight: 700; letter-spacing: .3px; padding: 2px 9px; border-radius: 999px; color: #1c0e04; background: var(--flame); }

.notice { display: flex; gap: 12px; padding: 14px 16px; border-radius: 13px; border: 1px solid var(--line); background: var(--surface-2); font-size: 14px; color: var(--muted); align-items: flex-start; }
.notice .i { color: var(--flame-2); flex: none; margin-top: 1px; }
.notice.ok { border-color: rgba(84, 224, 160, 0.25); }
.notice.ok .i { color: var(--ok); }
.notice.renew { align-items: center; margin-bottom: 22px; border-color: rgba(255, 171, 46, 0.3); background: rgba(255, 171, 46, 0.06); }

/* ---------- Dashboard: loader-style sheets ---------- */
.dash { max-width: 1040px; }
.lgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lsheet {
  position: relative;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--sheet-bg);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  padding: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 30px 70px -36px rgba(0, 0, 0, 0.85);
}
.lhead { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.lhead h2 { margin: 0; font-family: var(--serif); font-size: 17px; font-weight: 800; }
.lbadge { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff; background: var(--flame); box-shadow: 0 10px 24px -12px rgba(255, 106, 43, 0.8); }
.lbadge svg { width: 20px; height: 20px; }
.lbadge.discord { background: var(--discord); box-shadow: 0 10px 24px -12px rgba(88, 101, 242, 0.8); }

.lrows { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 11px 16px; font-size: 14px; }
.lrows dt { color: var(--muted-2); }
.lrows dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; }

.hero-card { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.lavatar { width: 60px; height: 60px; border-radius: 18px; flex: none; overflow: hidden; display: grid; place-items: center; font-family: var(--serif); font-weight: 800; font-size: 24px; color: #fff; background: var(--flame); }
.lavatar img { width: 100%; height: 100%; object-fit: cover; }
.hero-info h1 { margin: 0; font-family: var(--serif); font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -0.5px; }
.hero-info p { margin: 5px 0 0; color: var(--muted); display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }

.who { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.who img, .who .ph { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.who .ph { background: var(--flame); display: grid; place-items: center; color: #fff; font-weight: 700; }
.who b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; }
.lsheet .hint { color: var(--muted); font-size: 13.5px; margin: 0 0 12px; }
.lsheet .btn.block + .hint, .lsheet .hint + .btn { margin-top: 0; }

@media (max-width: 760px) { .lgrid { grid-template-columns: 1fr; } }

/* ---------- Admin: tabs + loader sheets ---------- */
.tabs { display: flex; gap: 4px; margin-bottom: 22px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.tab-btn { padding: 10px 16px; border: 0; background: none; color: var(--muted); font: 650 14.5px var(--sans); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .15s, border-color .15s; }
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--text); border-bottom-color: var(--flame); }
.tabpane { display: none; }
.tabpane.active { display: block; animation: fadein .3s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } }
.tabpane > .lsheet + .lsheet { margin-top: 16px; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stats-grid .stat {
  background: var(--sheet-bg); border: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-radius: 18px; padding: 20px 22px;
}
.stats-grid .n { font-family: var(--serif); font-size: 32px; font-weight: 800; letter-spacing: -0.5px; }
.stats-grid .l { color: var(--muted); font-size: 13px; margin-top: 2px; }
.admin-rows { grid-template-columns: 150px 1fr; }
.admin-rows dd { text-align: left; font-weight: 500; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: 1fr 1fr; } }

/* applications (admin) */
.app-list { display: grid; gap: 10px; }
.app-item { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.03); }
.app-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.app-note { margin: 10px 0 0; color: var(--muted); font-size: 13.5px; white-space: pre-wrap; overflow-wrap: anywhere; }
.app-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.app-actions .btn { padding: 7px 14px; font-size: 13px; }

/* loading / centered states */
.loading { text-align: center; color: var(--muted); padding: 80px 0; }
.spinner { width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--flame); margin: 0 auto 16px; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* reveal-on-scroll (progressive enhancement; görünür varsayilan) */
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Landing (sade, sola hizali) ---------- */
.hero2 { padding: 76px 0 36px; }
.hero2 .grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 52px; align-items: center; }
.hero2 .kicker { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; font-size: 13px; color: var(--muted-2); }
.hero2 .kicker b { color: var(--flame-2); font-weight: 600; }
.hero2 h1 { font-family: var(--serif); font-weight: 800; font-size: clamp(34px, 4.8vw, 56px); line-height: 1.07; letter-spacing: -1.4px; margin: 16px 0 0; max-width: 12.5em; }
.hero2 .lead { color: var(--muted); font-size: 16.5px; max-width: 34em; margin: 18px 0 0; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.facts { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 6px 0; color: var(--muted-2); font-size: 13px; }
.facts li:not(:last-child)::after { content: "\00b7"; margin: 0 12px; color: var(--muted-2); }

/* ClickGUI onizlemesi (gercek kategori/modul isimleri) */
.gui { display: grid; grid-template-columns: 104px 1fr 1fr; min-height: 318px; border: 1px solid var(--line); border-radius: 20px; background: #0d0e14; box-shadow: var(--shadow); overflow: hidden; font-size: 12.5px; }
.gui .rail { display: grid; align-content: start; gap: 3px; padding: 12px 8px; border-right: 1px solid var(--line); background: rgba(255, 255, 255, 0.012); }
.gui .rail span { padding: 7px 10px; border-radius: 8px; color: var(--muted-2); }
.gui .rail span.on { color: var(--text); background: rgba(255, 255, 255, 0.05); box-shadow: inset 2px 0 0 var(--flame); }
.gui .mods { display: grid; align-content: start; gap: 5px; padding: 12px; border-right: 1px solid var(--line); }
.gui .mod { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; border-radius: 9px; background: rgba(255, 255, 255, 0.025); color: var(--muted); }
.gui .mod.on { color: var(--text); }
.gui .mod.sel { box-shadow: inset 0 0 0 1px rgba(255, 106, 43, 0.35); }
.gui .k { position: relative; width: 22px; height: 12px; border-radius: 999px; background: #2a2c37; flex: none; }
.gui .k::after { content: ""; position: absolute; top: 2px; left: 2px; width: 8px; height: 8px; border-radius: 50%; background: #c9ccd6; }
.gui .mod.on .k { background: var(--flame); }
.gui .mod.on .k::after { left: 12px; background: #fff; }
.gui .panel { display: grid; align-content: start; gap: 13px; padding: 14px; }
.gui .panel h5 { margin: 0 0 2px; font-size: 13px; font-weight: 650; }
.gui .set { display: grid; gap: 6px; }
.gui .line { display: flex; justify-content: space-between; color: var(--muted); }
.gui .line b { color: var(--text); font-weight: 600; }
.gui .track { height: 4px; border-radius: 999px; background: #23252f; overflow: hidden; }
.gui .track i { display: block; height: 100%; border-radius: inherit; background: var(--flame); }
.w25 { width: 25%; } .w30 { width: 30%; } .w40 { width: 40%; } .w70 { width: 70%; }

/* Bolum basliklari: sola hizali, sade */
.head { max-width: 640px; margin-bottom: 30px; }
.head h2 { font-family: var(--serif); font-weight: 800; font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -0.8px; line-height: 1.12; margin: 0; }
.head p { color: var(--muted); margin: 10px 0 0; }

/* Ozellikler: editoryal satirlar */
.rows { border-top: 1px solid var(--line); }
.rows .item { display: grid; grid-template-columns: 220px 1fr; gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.rows h3 { margin: 0; font-size: 16.5px; font-weight: 650; }
.rows p { margin: 0; color: var(--muted); max-width: 46em; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tags span { padding: 4px 9px; border: 1px solid var(--line); border-radius: 7px; background: rgba(255, 255, 255, 0.02); color: var(--muted); font-size: 12.5px; }

/* Changelog */
.log-list { display: grid; gap: 14px; max-width: 820px; }
.log { max-width: 820px; padding: 26px 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--sheet-bg); }
.log-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.log-top h3 { margin: 0; font-family: var(--serif); font-size: 21px; }
.log-top time { color: var(--muted-2); font-size: 13px; }
.log h4 { margin: 22px 0 10px; font-size: 12px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--flame-2); }
.log ul { display: grid; gap: 7px; margin: 0; padding-left: 18px; color: var(--muted); }
.log li b { color: var(--text); font-weight: 600; }

/* Alt cagri kutusu */
.ctaband2 { padding: 30px 0 76px; }
.ctaband2 .box { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 30px 32px; border: 1px solid var(--line); border-radius: 20px; background: var(--sheet-bg); }
.ctaband2 h2 { margin: 0; font-family: var(--serif); font-size: 24px; letter-spacing: -0.5px; }
.ctaband2 p { margin: 8px 0 0; color: var(--muted); }
.ctaband2 .actions { margin-top: 0; }
a.inline { color: var(--flame-2); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .features, .pricing, .tgrid { grid-template-columns: 1fr; }
  .hero2 .grid { grid-template-columns: 1fr; gap: 36px; }
  .rows .item { grid-template-columns: 1fr; gap: 10px; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav .btn.primary { display: none; } /* CTA tasinir -> acilir menu + hero */
  .user-chip span { max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .nav.open .nav-links { display: flex; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 10px 16px 16px; gap: 2px; z-index: 60; }
  .nav.open .nav-links a { padding: 12px; }
  .nav.open .nav-links .mobile-only { display: block; color: var(--flame-2); font-weight: 600; }
  .section { padding: 64px 0; }
  .grid-2, .meta { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; }
  .hero2 { padding-top: 48px; }
  .gui { grid-template-columns: 88px 1fr; }
  .gui .panel { display: none; }
  .ctaband2 .box { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* admin: islem kaydi + sistem durumu */
.audit-list { display: flex; flex-direction: column; gap: 6px; max-height: 420px; overflow-y: auto; }
.audit-row { display: grid; grid-template-columns: 120px minmax(150px, 1fr) 90px 2fr; gap: 10px; align-items: baseline;
  padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); }
.audit-row b { font-weight: 600; }
.health-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.health-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-radius: 10px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); }
@media (max-width: 720px) { .audit-row { grid-template-columns: 1fr; gap: 2px; } }

/* admin: tiklanabilir kullanici satirlari, build tablosu */
tr.clickable { cursor: pointer; }
tr.clickable:hover td { background: rgba(255, 255, 255, 0.04); }
.cap-hint { caption-side: bottom; text-align: left; padding-top: 8px; }
#builds-body input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--flame, #ff6a2b); }

/* ======================================================================
   Gece sahnesi + liquid glass (loader ile ayni gorunum). Gradient yok:
   yuzeyler duz yari saydam cam; bukulme glass.js ile (Chromium).
   ====================================================================== */
#scene { position: fixed; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; z-index: -2; }
.scene-tint { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: rgba(4, 5, 14, 0.32); }
body.scenic { background: #070a1c; }
body.scenic .bg-fx { display: none; }

/* cam yuzey: ortak kurallar. Kenar isigi sol-ustten (client ile ayni iki tarafli ince yansima). */
.glassy, [data-glass] {
  background: var(--sheet-bg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.16),
    inset -1px -1px 0 rgba(255, 255, 255, 0.05),
    0 24px 60px -30px rgba(0, 0, 0, 0.8);
}
/* bukulme varsa (Chromium) cam daha seffaf olabilir: arkadaki sahne net gorunur */
.lg-on [data-glass] { background: rgba(12, 13, 24, 0.34); }
.lsheet { border-color: rgba(255, 255, 255, 0.12); box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.16), inset -1px -1px 0 rgba(255, 255, 255, 0.05), 0 24px 60px -30px rgba(0, 0, 0, 0.8); }

.btn.glassy { color: var(--text); border-color: rgba(255, 255, 255, 0.16); }
.btn.glassy:hover { background: rgba(255, 255, 255, 0.10); }
.btn.primary { box-shadow: none; }
.btn.primary:hover { box-shadow: none; filter: brightness(1.08); }

/* yuzen cam nav */
body.scenic .nav { top: 12px; background: transparent; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; margin-top: 12px; }
body.scenic .nav-inner { height: 58px; padding: 0 10px 0 18px; border-radius: 18px; max-width: calc(var(--container) - 40px); }
body.scenic .nav-links a:hover { background: rgba(255, 255, 255, 0.07); }
.brand .logo { filter: none; }

/* hero: yalniz yazi, sahnenin ustunde */
.hero3 { padding: 120px 0 40px; text-align: center; }
.hero3 .kicker { display: inline-flex; gap: 14px; margin: 0; font-size: 13px; color: rgba(236, 238, 255, 0.7); }
.hero3 .kicker span + span::before { content: "\00b7"; margin-right: 14px; }
.hero3 h1 { font-family: var(--serif); font-weight: 800; font-size: clamp(48px, 8vw, 92px); line-height: 1; letter-spacing: -2.5px; margin: 14px 0 0; text-shadow: 0 6px 40px rgba(0, 0, 0, 0.45); }
.hero3 .lead { color: rgba(236, 238, 255, 0.82); font-size: clamp(16px, 2vw, 18.5px); max-width: 560px; margin: 18px auto 0; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5); }
.hero3 .actions { justify-content: center; margin-top: 30px; }

/* ozellik kartlari */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile { padding: 22px; border-radius: 22px; }
.tile .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--flame); background: rgba(255, 106, 43, 0.14); margin-bottom: 14px; }
.tile .ico svg { width: 20px; height: 20px; }
.tile h3 { margin: 0 0 6px; font-size: 16px; font-weight: 650; }
.tile p { margin: 0; color: rgba(226, 230, 250, 0.72); font-size: 14px; }

.title { font-family: var(--serif); font-weight: 800; font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.6px; margin: 0 0 18px; }
.faq { max-width: none; }
.faq .ans { color: rgba(226, 230, 250, 0.72); }

.footer.slim { border-top: 0; padding: 30px 0 34px; margin-top: 30px; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer.slim .footer-links a { display: inline; padding: 0; color: rgba(226, 230, 250, 0.66); }
.footer.slim .footer-links a:hover { color: var(--text); }
.footer-note { display: flex; justify-content: space-between; gap: 10px 18px; flex-wrap: wrap; margin-top: 18px; color: rgba(226, 230, 250, 0.45); font-size: 12.5px; }

@media (max-width: 920px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) {
  .tiles { grid-template-columns: 1fr; }
  .hero3 { padding-top: 72px; }
  body.scenic .nav { top: 8px; margin-top: 8px; }
  body.scenic .nav-inner { margin: 0 12px; width: auto; }
  body.scenic .nav.open .nav-links { top: 64px; left: 12px; right: 12px; border-radius: 16px; background: rgba(12, 13, 24, 0.92); border: 1px solid rgba(255, 255, 255, 0.12); }
}

/* ---------- Dashboard v2 ---------- */
.dash2 { max-width: 1080px; padding-top: 28px; }
.dgrid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; align-items: start; }
.dcol { display: grid; gap: 16px; min-width: 0; }
.profile-bar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.profile-bar .lavatar { border-radius: 50%; width: 56px; height: 56px; }
.profile-bar .who-txt { flex: 1; min-width: 200px; }
.profile-bar h1 { margin: 0; font-family: var(--serif); font-size: clamp(21px, 2.6vw, 27px); font-weight: 800; letter-spacing: -0.4px; }
.profile-bar .meta-line { margin: 4px 0 0; color: rgba(226, 230, 250, 0.7); font-size: 13.5px; display: flex; gap: 6px 14px; flex-wrap: wrap; align-items: center; }
.profile-bar .uid { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.05); color: var(--text); font: 600 12.5px ui-monospace, Consolas, monospace; cursor: pointer; }
.profile-bar .uid:hover { background: rgba(255, 255, 255, 0.1); }
.sheet-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 14px; }
.sheet-title h2 { margin: 0; font-family: var(--serif); font-size: 17px; font-weight: 800; }
.sheet-title .aside { color: rgba(226, 230, 250, 0.6); font-size: 13px; }
.sheet-title .aside.on { color: var(--ok); }
.dl-main { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.dl-main .lbadge { width: 48px; height: 48px; border-radius: 14px; box-shadow: none; }
.dl-main .txt { flex: 1; min-width: 160px; }
.dl-main b { display: block; font-size: 15.5px; }
.dl-main span { color: rgba(226, 230, 250, 0.65); font-size: 13px; }
.dl-foot { margin: 14px 0 0; color: rgba(226, 230, 250, 0.6); font-size: 13px; }
.dl-foot a { color: var(--flame-2); }

/* arkadaslar */
.add-friend { display: flex; gap: 8px; }
.add-friend input { height: 40px; background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); }
.add-friend .btn { padding: 0 16px; height: 40px; }
.fr-msg { min-height: 18px; margin: 8px 2px 0; font-size: 13px; color: rgba(226, 230, 250, 0.7); }
.fr-msg.ok { color: var(--ok); }
.fr-msg.err { color: #ffc46b; }
.fr-label { margin: 12px 2px 6px; font-size: 11.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(226, 230, 250, 0.5); }
.fr-list { display: grid; gap: 2px; }
.fr-row { display: flex; align-items: center; gap: 11px; padding: 8px; border-radius: 12px; transition: background .15s; animation: frIn .32s cubic-bezier(.2, .9, .2, 1); }
.fr-row:hover { background: rgba(255, 255, 255, 0.05); }
.fr-row.out { animation: frOut .24s ease forwards; }
@keyframes frIn { from { opacity: 0; transform: translateY(-6px); } }
@keyframes frOut { to { opacity: 0; transform: translateX(10px); } }
.fr-ava { position: relative; width: 32px; height: 32px; flex: none; }
.fr-ava img { width: 32px; height: 32px; border-radius: 8px; image-rendering: pixelated; background: rgba(255, 255, 255, 0.06); }
.fr-ava i { position: absolute; right: -3px; bottom: -3px; width: 11px; height: 11px; border-radius: 50%; background: var(--ok); border: 2px solid #12131f; }
.fr-txt { flex: 1; min-width: 0; }
.fr-txt b { display: block; font-size: 14.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fr-txt span { display: block; font-size: 12.5px; color: rgba(226, 230, 250, 0.55); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fr-txt span.on { color: var(--ok); }
.fr-acts { display: flex; gap: 6px; flex: none; }
.fr-acts .btn { padding: 6px 12px; font-size: 12.5px; border-radius: 999px; }
.fr-x { width: 30px; height: 30px; padding: 0; border-radius: 50%; border: 0; background: transparent; color: rgba(226, 230, 250, 0.5); display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity .15s, background .15s, color .15s; }
.fr-row:hover .fr-x, .fr-x:focus-visible, .fr-x.confirm { opacity: 1; }
.fr-x:hover { background: rgba(255, 255, 255, 0.08); color: var(--text); }
.fr-x.confirm { width: auto; padding: 0 12px; border-radius: 999px; background: rgba(255, 107, 107, 0.16); color: #ffb3b3; font: 600 12.5px var(--sans); }
.fr-x svg { width: 14px; height: 14px; }
.fr-empty { padding: 12px 4px 2px; color: rgba(226, 230, 250, 0.55); font-size: 13.5px; }

.whatsnew h3 { margin: 0 0 2px; font-size: 15px; }
.whatsnew time { color: rgba(226, 230, 250, 0.5); font-size: 12.5px; }
.whatsnew ul { margin: 10px 0 0; padding-left: 18px; color: rgba(226, 230, 250, 0.72); font-size: 13.5px; display: grid; gap: 4px; }
.whatsnew h4 { margin: 12px 0 0; font-size: 11.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--flame-2); }
.whatsnew .more { display: inline-block; margin-top: 12px; color: var(--flame-2); font-size: 13px; }

.links { display: grid; gap: 2px; margin: -6px -8px; }
.links a, .links button { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; color: var(--text); font: 500 14px var(--sans); background: none; border: 0; text-align: left; cursor: pointer; width: 100%; }
.links a:hover, .links button:hover { background: rgba(255, 255, 255, 0.06); }
.links .li { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.07); color: rgba(226, 230, 250, 0.85); flex: none; }
.links .li svg { width: 16px; height: 16px; }
.links .li.discord { background: var(--discord); color: #fff; }
.links .tx { flex: 1; min-width: 0; }
.links small { display: block; color: rgba(226, 230, 250, 0.55); font-size: 12.5px; }
.links .chev { color: rgba(226, 230, 250, 0.4); }

@media (max-width: 860px) { .dgrid { grid-template-columns: 1fr; } }
.fr-ava .ph { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.08); color: rgba(236, 238, 255, 0.85); font-weight: 700; font-size: 14px; }
.fr-ava .ph.on { background: rgba(255, 106, 43, 0.2); color: var(--flame-2); }
.links .li-img { width: 32px; height: 32px; border-radius: 10px; }
.links .li:has(.li-img) { background: none; }
.notice.err { border-color: rgba(255, 107, 107, 0.35); }
.notice.glassy { margin-bottom: 16px; }

/* Sahneli sayfalarda ic yuzeyler de cam: butonlar, alanlar, rozetler, listeler ve menu duz koyu kalmasin. */
body.scenic {
  --surface: rgba(255, 255, 255, 0.06);
  --surface-2: rgba(255, 255, 255, 0.10);
  --field: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.10);
  --line-2: rgba(255, 255, 255, 0.18);
}
body.scenic .chip { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.10); }
body.scenic .chip.ok, body.scenic .chip.bad, body.scenic .chip.accent { border-color: transparent; }
body.scenic .chip.ok { background: rgba(84, 224, 160, 0.15); }
body.scenic .chip.bad { background: rgba(255, 107, 107, 0.14); }
body.scenic .chip.accent { background: var(--flame-soft); }
body.scenic .menu { background: rgba(16, 17, 30, 0.9); border-color: rgba(255, 255, 255, 0.12); backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%); box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.14), 0 24px 60px -24px rgba(0, 0, 0, 0.8); }
body.scenic .user-chip, body.scenic .notice { backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%); }
body.scenic .notice { background: rgba(14, 15, 26, 0.5); border-color: rgba(255, 255, 255, 0.12); }
body.scenic .notice.renew { background: rgba(255, 171, 46, 0.10); }
body.scenic input:focus, body.scenic select:focus, body.scenic textarea:focus { background: rgba(255, 255, 255, 0.08); }
body.scenic option { background: #15161f; color: var(--text); }
body.scenic .app-item, body.scenic .cl-item { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.09); }
body.scenic th { background: rgba(255, 255, 255, 0.03); }
body.scenic .table-wrap { background: rgba(255, 255, 255, 0.02); }

/* ---------- Giris sayfasi ---------- */
.auth-wrap { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 16px; gap: 18px; }
.auth-brand { font-size: 19px; }
.auth-card { width: 100%; max-width: 400px; padding: 28px; border-radius: 22px; }
.auth-card h1 { margin: 0 0 18px; font-family: var(--serif); font-size: 24px; font-weight: 800; letter-spacing: -0.4px; }
.auth-card .field { margin-bottom: 13px; }
.auth-card input { height: 42px; }
.or { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: rgba(226, 230, 250, 0.45); font-size: 12.5px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, 0.12); }
.link-btn { display: block; margin: 14px auto 0; padding: 4px; border: 0; background: none; color: rgba(226, 230, 250, 0.7); font: 500 13.5px var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--text); }
.field-note { display: block; margin-top: 5px; color: rgba(226, 230, 250, 0.5); font-size: 12px; }
.auth-foot { margin: 0; color: rgba(226, 230, 250, 0.6); font-size: 13.5px; }
.auth-foot a { color: var(--flame-2); }
#pw-form .field { margin-bottom: 12px; }
#pw-form input { height: 40px; }
.link-btn.subtle { margin-top: 4px; font-size: 12.5px; color: rgba(226, 230, 250, 0.5); }
#no-account { margin-bottom: 16px; }
