/* Boost pembesi sayfanın kendisi; geri kalan her şey sakin */
:root {
  --pink: #ff73fa;      /* Discord'un boost rengi */
  --pink-deep: #e04fd9;
  --ink: #1e1f3b;       /* yazı ve panel */
  --ink-2: #2b2d52;
  --paper: #f4f4fb;
  --line: #d9d9ea;
  --muted: #5d5f80;
  --soft: #b9badb;
  --fast: #17713e;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font: 17px/1.55 Rubik, system-ui, sans-serif; overflow-x: hidden; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.pre [data-intro] { opacity: 0; }

.btn { display: inline-block; padding: 14px 26px; border-radius: 10px; border: 2px solid var(--ink); background: var(--ink); color: #fff; font: 700 17px Rubik, sans-serif; text-decoration: none; cursor: pointer; box-shadow: 0 4px 0 var(--ink-2); transition: transform .08s, box-shadow .08s, background .15s; }
.btn:hover { background: var(--ink-2); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink-2); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- hero ---------- */
.hero { background: var(--pink); }
.top { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 22px; text-decoration: none; letter-spacing: -.02em; }
.logo svg { width: 28px; height: 28px; transition: transform .4s; }
.logo:hover svg { transform: rotate(-20deg) scale(1.1); }
.top nav { display: flex; gap: 22px; font-weight: 500; }
.top nav a { text-decoration: none; background: linear-gradient(var(--ink), var(--ink)) 0 100% / 0 2px no-repeat; transition: background-size .25s; }
.top nav a:hover { background-size: 100% 2px; }
@media (max-width: 600px) { .top nav a:not(.go) { display: none; } }

.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; padding: 48px 0 96px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 24px 0 64px; } }
.hero h1 { font-size: clamp(48px, 7.4vw, 92px); font-weight: 900; line-height: .98; letter-spacing: -.04em; }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.hero h1 .w > span { display: inline-block; }
.hero p { font-size: 20px; max-width: 32ch; margin: 24px 0 32px; }

/* boost paneli: Discord'un sunucu takviyesi ekranından esinlendi */
.meter { background: var(--ink); color: #fff; border-radius: 18px; padding: 28px; box-shadow: 10px 10px 0 var(--pink-deep); }
.meter-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.meter-head b { font-size: 15px; font-weight: 500; color: var(--soft); }
.switch { position: relative; display: inline-grid; grid-template-columns: repeat(3, 1fr); background: var(--ink-2); border-radius: 10px; padding: 4px; }
.switch .knob { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); background: var(--pink); border-radius: 7px; }
.switch button { position: relative; border: 0; background: none; color: var(--soft); font: 700 16px Rubik, sans-serif; padding: 8px 16px; border-radius: 7px; cursor: pointer; transition: color .2s; }
.switch button[aria-pressed="true"] { color: var(--ink); }
.count-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.count { font-size: clamp(72px, 10vw, 112px); font-weight: 900; line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.count small { font-size: 22px; font-weight: 500; letter-spacing: 0; color: var(--soft); margin-left: 6px; }
.eta { text-align: right; font-size: 14px; color: var(--soft); padding-bottom: 10px; overflow: hidden; }
.eta b { display: block; font-size: 20px; color: #fff; }
.eta b.fast { color: #7ff0b0; }

.bar { position: relative; height: 12px; background: var(--ink-2); border-radius: 6px; margin: 24px 0 34px; }
.bar i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 6px; overflow: hidden; background: var(--pink); }
.bar i::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, #fff8, transparent); transform: translateX(-100%); animation: shine 2.6s ease-in-out infinite 1.5s; }
@keyframes shine { 60%, 100% { transform: translateX(100%); } }
.tick { position: absolute; top: 18px; transform: translateX(-50%); font-size: 13px; color: #8a8cb3; white-space: nowrap; transition: color .3s; }
.tick::before { content: ''; position: absolute; left: 50%; top: -22px; width: 2px; height: 16px; background: var(--paper); opacity: .25; }
.tick.on { color: #fff; }

.gems { display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; }
.gems svg { width: 100%; aspect-ratio: 1; color: var(--ink-2); transition: color .2s; }
.gems svg.on { color: var(--pink); }
.gems svg.on.spare { color: #fff; }
.meter-note { margin-top: 20px; font-size: 15px; color: var(--soft); min-height: 3.2em; }

/* ---------- ortak bölüm ---------- */
section { padding: 96px 0; }
@media (max-width: 600px) { section { padding: 64px 0; } }
h2 { font-size: clamp(36px, 5vw, 56px); font-weight: 900; letter-spacing: -.03em; line-height: 1; margin-bottom: 16px; }
.lead { color: var(--muted); max-width: 46ch; }

/* ---------- paketler ---------- */
.packs { width: 100%; border-collapse: collapse; margin-top: 40px; border-top: 3px solid var(--ink); }
.packs th { text-align: left; font-size: 14px; font-weight: 500; color: var(--muted); padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
.packs td { padding: 22px 16px 22px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.packs tbody tr { transition: background .2s; }
.packs tbody tr:hover { background: #fff; }
.packs td:first-child { font-size: 44px; font-weight: 900; letter-spacing: -.04em; line-height: 1; padding-left: 12px; }
.packs td:last-child { text-align: right; padding-right: 12px; }
.packs .fast { color: var(--fast); font-weight: 700; }
.packs .btn { padding: 10px 18px; font-size: 15px; }
@media (max-width: 700px) {
  .packs thead { display: none; }
  .packs, .packs tbody, .packs tr, .packs td { display: block; }
  .packs tr { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
  .packs td { border: 0; padding: 2px 0; }
  .packs td:first-child { grid-row: span 3; padding-left: 0; }
  .packs td:not(:first-child):not(:last-child)::before { content: attr(data-l) ': '; color: var(--muted); }
  .packs td:last-child { grid-column: 1 / -1; text-align: left; padding-top: 14px; }
}

/* ---------- şartlar ---------- */
#sartlar { padding-top: 0; }
.must { display: grid; grid-template-columns: 1fr 1fr; margin: 48px 0 56px; border-top: 3px solid var(--ink); }
@media (max-width: 700px) { .must { grid-template-columns: 1fr; } }
.must div { padding: 28px 0; border-bottom: 1px solid var(--line); }
.must div:first-child { padding-right: 32px; }
@media (min-width: 701px) { .must div + div { padding-left: 32px; border-left: 1px solid var(--line); } }
.must strong { display: block; font-size: clamp(64px, 9vw, 104px); font-weight: 900; line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.must h3 { font-size: 22px; margin: 10px 0 6px; }
.must p { color: var(--muted); max-width: 38ch; }

.also h3 { font-size: 20px; margin-bottom: 4px; }
.also ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 48px; }
@media (max-width: 700px) { .also ul { grid-template-columns: 1fr; } }
.also li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.also li b { display: block; font-weight: 700; }
.also li span { color: var(--muted); font-size: 16px; }

/* ---------- başvuru ---------- */
.apply { background: var(--ink); color: #fff; }
.apply .lead { color: var(--soft); }
.apply-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; }
@media (max-width: 900px) { .apply-grid { grid-template-columns: 1fr; gap: 40px; } }
.steps { position: relative; list-style: none; padding: 0; margin-top: 40px; counter-reset: s; }
.rail { position: absolute; left: 21px; top: 38px; bottom: 38px; width: 2px; background: var(--ink-2); }
.rail i { position: absolute; inset: 0; background: var(--pink); transform-origin: top; }
.steps li { counter-increment: s; position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 16px 0; }
.steps li::before { content: counter(s); width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--pink); background: var(--ink); color: var(--pink); display: grid; place-items: center; font-weight: 700; transition: background .3s, color .3s; }
.steps li.on::before { background: var(--pink); color: var(--ink); }
.steps b { display: block; }
.steps span { color: var(--soft); font-size: 16px; }

#form { position: relative; background: var(--paper); color: var(--ink); border-radius: 18px; padding: clamp(22px, 4vw, 36px); box-shadow: 10px 10px 0 var(--pink); }
.field { margin-bottom: 22px; }
.field > label, .field > .label { display: block; font-weight: 700; margin-bottom: 8px; }
.hint { color: var(--muted); font-size: 14px; margin-top: 6px; }
input[type=text], input[type=number] { width: 100%; padding: 13px 14px; border-radius: 10px; border: 2px solid var(--line); background: #fff; color: var(--ink); font: inherit; transition: border-color .15s; }
input[type=text]:focus, input[type=number]:focus { border-color: var(--ink); outline: none; }
.picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.picks label { position: relative; text-align: center; padding: 11px 4px; border: 2px solid var(--line); border-radius: 10px; background: #fff; font-weight: 700; cursor: pointer; transition: background .15s, border-color .15s; }
.picks input { position: absolute; opacity: 0; }
.picks label:has(input:checked) { border-color: var(--ink); background: var(--pink); }
.picks label:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
.field > label.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; margin: 0; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--ink); flex: none; }
#form .btn { width: 100%; background: var(--pink); color: var(--ink); box-shadow: 0 4px 0 var(--ink); }
#form .btn:hover { background: var(--pink-deep); }
#form .btn:active { box-shadow: 0 1px 0 var(--ink); }
#sonuc { margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-weight: 500; display: none; }
#sonuc.ok { display: block; background: #23a55a1f; color: var(--fast); }
#sonuc.err { display: block; background: #d83c3e1a; color: #a52a2c; }
.burst { position: fixed; width: 22px; height: 22px; color: var(--pink); pointer-events: none; z-index: 50; }

/* ---------- sss ---------- */
.faq { max-width: 760px; margin-top: 40px; border-top: 3px solid var(--ink); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 26px; line-height: 1; transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding-bottom: 20px; max-width: 60ch; }

footer { padding: 32px 0 48px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 24px; }

@media (prefers-reduced-motion: reduce) { *, *::after { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- yüzen yan menü ---------- */
.side { position: fixed; z-index: 40; left: 20px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 4px; padding: 6px; background: var(--ink); border-radius: 16px; box-shadow: 6px 6px 0 var(--pink-deep); animation: side-in .6s cubic-bezier(.34, 1.56, .64, 1) .8s backwards; }
@keyframes side-in { from { transform: translate(-140%, -50%); } }
.side .ind { position: absolute; top: 0; left: 0; width: 48px; height: 48px; border-radius: 11px; background: var(--pink); transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), opacity .2s; }
.side a { position: relative; text-decoration: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 11px; color: var(--soft); transition: color .2s; }
.side a:hover { color: #fff; }
.side a[aria-current] { color: var(--ink); }
.side svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.side a:hover svg { transform: scale(1.12); }
.side a span { position: absolute; left: calc(100% + 14px); top: 50%; padding: 6px 10px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; white-space: nowrap; pointer-events: none; opacity: 0; transform: translate(-6px, -50%); transition: opacity .15s, transform .15s; }
.side a:hover span, .side a:focus-visible span { opacity: 1; transform: translate(0, -50%); }
.side a:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }

/* içerikle çakışacak genişlikte alta yapışık bara dönüşür */
@media (max-width: 1279px) {
  body { padding-bottom: 92px; }
  .side { left: 50%; top: auto; bottom: 14px; transform: translateX(-50%); flex-direction: row; animation-name: side-up; }
  @keyframes side-up { from { transform: translate(-50%, 150%); } }
  .side a { width: 64px; height: 56px; align-content: center; gap: 2px; }
  .side .ind { width: 64px; height: 56px; }
  .side a span { position: static; opacity: 1; transform: none; background: none; padding: 0; color: inherit; font-size: 11px; }
  .side a:hover span { transform: none; }
}
@media (max-width: 430px) { .side a, .side .ind { width: 54px; } .side a span { font-size: 10px; } }

/* ---------- sunucular sayfası ---------- */
.page-hero { padding-bottom: 72px; }
.page-hero h1 { font-size: clamp(44px, 6.6vw, 80px); font-weight: 900; line-height: .98; letter-spacing: -.04em; max-width: 12ch; margin-top: 40px; }
.page-hero p { font-size: 20px; max-width: 40ch; margin: 20px 0 28px; }
.totals { display: flex; gap: 40px; flex-wrap: wrap; }
.totals div { font-size: 16px; }
.totals b { display: block; font-size: 48px; font-weight: 900; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.filters button { border: 2px solid var(--line); background: #fff; color: var(--ink); font: 700 15px Rubik, sans-serif; padding: 9px 16px; border-radius: 10px; cursor: pointer; transition: background .15s, border-color .15s; }
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.servers { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; list-style: none; padding: 0; }
.server { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 18px; background: #fff; border: 2px solid var(--line); border-radius: 14px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.server:hover { border-color: var(--ink); transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--pink); }
.server img, .server .ph { width: 56px; height: 56px; border-radius: 16px; object-fit: cover; }
.server .ph { display: grid; place-items: center; background: var(--ink); color: var(--pink); font-weight: 900; font-size: 22px; }
.server h3 { font-size: 18px; line-height: 1.2; overflow-wrap: anywhere; }
.server small { color: var(--muted); font-size: 14px; }
.server .x { font-size: 28px; font-weight: 900; letter-spacing: -.04em; text-align: right; line-height: 1; }
.server .btn { grid-column: 1 / -1; text-align: center; padding: 10px; font-size: 15px; }

.empty { padding: 56px 0; border-top: 3px solid var(--ink); }
.empty h3 { font-size: 28px; margin-bottom: 8px; }
.empty p { color: var(--muted); margin-bottom: 24px; max-width: 44ch; }

/* ---------- admin ---------- */
.sprite { position: absolute; width: 0; height: 0; }
[hidden] { display: none !important; }
.btn-quiet { background: #fff; color: var(--ink); box-shadow: none; }
.btn-quiet:hover { background: var(--line); }
.btn-ok { background: var(--fast); border-color: var(--fast); box-shadow: none; }
.btn-ok:hover { background: #0f5a30; }
.btn-del { background: none; color: #a52a2c; border-color: transparent; box-shadow: none; }
.btn-del:hover { background: #d83c3e1a; }
button.link { background: none; border: 0; color: var(--soft); font: 500 15px Rubik, sans-serif; text-decoration: underline; cursor: pointer; margin-top: 14px; }

.login { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: var(--pink); }
.login-box { width: 100%; max-width: 420px; background: var(--ink); color: #fff; border-radius: 18px; padding: 36px; box-shadow: 10px 10px 0 var(--pink-deep); animation: pop .5s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes pop { from { opacity: 0; transform: translateY(30px) rotate(-2deg); } }
.login-box .logo { color: #fff; margin-bottom: 32px; }
.login-box h1 { font-size: 36px; font-weight: 900; letter-spacing: -.03em; line-height: 1; margin-bottom: 10px; }
.login-box > p { color: var(--soft); margin-bottom: 24px; }
.login-box .btn { width: 100%; background: var(--pink); color: var(--ink); border-color: var(--pink); box-shadow: 0 4px 0 var(--pink-deep); }
.login-box form label { display: block; font-weight: 700; margin-bottom: 8px; }
.login-box input { width: 100%; padding: 14px; border-radius: 10px; border: 2px solid var(--ink-2); background: var(--ink-2); color: #fff; font: 700 28px Rubik, sans-serif; letter-spacing: .3em; text-align: center; margin-bottom: 14px; }
.login-box input:focus { outline: none; border-color: var(--pink); }
.shake { animation: shake .35s; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.msg { margin-top: 16px; font-size: 15px; min-height: 1.5em; }
.msg.ok { color: #7ff0b0; }
.msg.err { color: #ff9a9c; }

.admin-top { background: var(--ink); color: #fff; }
.admin-top .wrap { display: flex; align-items: center; gap: 16px; height: 68px; }
.admin-title { color: var(--soft); flex: 1; }
.admin-top .btn { padding: 8px 14px; font-size: 15px; }
.admin-main { padding-top: 40px; padding-bottom: 80px; }
.admin-stats { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 3px solid var(--ink); margin-bottom: 32px; }
.admin-stats div { padding: 20px 0; color: var(--muted); border-bottom: 1px solid var(--line); }
.admin-stats b { display: block; font-size: 44px; font-weight: 900; color: var(--ink); letter-spacing: -.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .admin-stats { grid-template-columns: 1fr 1fr; } }
.admin-tools { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.admin-tools .filters { margin: 0; }
.search input { padding: 10px 14px; border-radius: 10px; border: 2px solid var(--line); font: inherit; width: 260px; max-width: 100%; }
.search input:focus { outline: none; border-color: var(--ink); }

.apps { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px; }
.apps th { text-align: left; font-weight: 500; color: var(--muted); padding: 10px 12px 10px 0; border-bottom: 2px solid var(--ink); }
.apps td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.apps tbody tr { animation: rowin .3s ease-out backwards; }
.apps tbody tr:nth-child(2) { animation-delay: .03s; } .apps tbody tr:nth-child(3) { animation-delay: .06s; } .apps tbody tr:nth-child(n+4) { animation-delay: .09s; }
@keyframes rowin { from { opacity: 0; transform: translateY(8px); } }
.apps .srv { display: flex; gap: 12px; align-items: center; min-width: 200px; }
.apps .srv img, .apps .srv .ph { width: 40px; height: 40px; border-radius: 12px; flex: none; }
.apps .srv .ph { display: grid; place-items: center; background: var(--ink); color: var(--pink); font-weight: 900; }
.apps .srv b { display: block; overflow-wrap: anywhere; }
.apps .srv a { color: var(--muted); font-size: 13px; }
.apps .pk { font-weight: 900; font-size: 20px; }
.st { font-weight: 700; font-size: 14px; }
.st-beklemede { color: #9a6700; }
.st-onaylandi { color: var(--fast); }
.st-reddedildi { color: #a52a2c; }
.acts { white-space: nowrap; text-align: right; }
.acts .btn { padding: 7px 12px; font-size: 14px; margin-left: 4px; }
@media (max-width: 900px) {
  .apps thead { display: none; }
  .apps, .apps tbody, .apps tr, .apps td { display: block; }
  .apps tr { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .apps td { border: 0; padding: 3px 0; }
  .apps td[data-l]::before { content: attr(data-l) ': '; color: var(--muted); }
  .apps .acts { text-align: left; white-space: normal; padding-top: 10px; }
  .apps .acts .btn { margin: 0 4px 6px 0; }
}
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, calc(100% + 40px)); visibility: hidden; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 500; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), visibility .35s; z-index: 60; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast.err { background: #a52a2c; }

/* ---------- hesap: giriş / kayıt ---------- */
.auth-box .tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink-2); border-radius: 10px; padding: 4px; margin-bottom: 22px; position: relative; }
.auth-box .tabs button { position: relative; z-index: 1; border: 0; background: none; color: var(--soft); font: 700 15px Rubik, sans-serif; padding: 9px; border-radius: 7px; cursor: pointer; transition: color .2s; }
.auth-box .tabs button[aria-selected="true"] { color: var(--ink); }
.auth-box .tabs .knob { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: var(--pink); border-radius: 7px; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.auth-box .tabs[data-tab="kayit"] .knob { transform: translateX(100%); }
.login-box .btn-discord { display: flex; align-items: center; justify-content: center; gap: 10px; background: #5865f2; border-color: #5865f2; color: #fff; box-shadow: 0 4px 0 #3c45a5; }
.login-box .btn-discord:hover { background: #4752c4; }
.btn-discord svg { width: 22px; height: 22px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--soft); font-size: 14px; margin: 20px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--ink-2); }
.auth-box form label { display: block; font-weight: 700; margin: 0 0 6px; font-size: 15px; }
.login-box.auth-box form input { font: 500 16px Rubik, sans-serif; letter-spacing: 0; text-align: left; padding: 12px 14px; margin-bottom: 14px; }
.auth-box .hint { color: var(--soft); margin: -8px 0 14px; }
.auth-box .hint b { color: var(--pink); font-weight: 500; }
.auth-box form .btn { margin-top: 4px; }
.auth-box form { animation: fadein .3s ease-out; }
@keyframes fadein { from { opacity: 0; transform: translateY(8px); } }

/* menüdeki hesap bağlantısı */
.me { display: inline-flex; align-items: center; gap: 8px; }
.me img, .me .ph { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.me .ph { display: grid; place-items: center; background: var(--ink); color: var(--pink); font-size: 13px; font-weight: 900; }

/* ---------- profil ---------- */
.prof { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; padding: 32px 0 8px; }
.avatar { width: 128px; height: 128px; border-radius: 50%; border: 5px solid var(--ink); object-fit: cover; background: var(--ink); flex: none; box-shadow: 8px 8px 0 var(--pink-deep); }
div.avatar { display: grid; place-items: center; color: var(--pink); font-size: 56px; font-weight: 900; }
.page-hero .prof h1 { font-size: clamp(40px, 6vw, 72px); margin: 0; max-width: none; overflow-wrap: anywhere; }
.prof .handle { font-size: 20px; font-weight: 500; margin-top: 6px; }
.prof .meta { margin-top: 10px; font-size: 16px; }
.prof-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.prof-actions .btn { padding: 10px 18px; font-size: 15px; }
.page-hero .nouser h1 { overflow-wrap: anywhere; max-width: none; }
.lookup { display: flex; gap: 8px; max-width: 420px; margin-top: 28px; }
.lookup input { flex: 1; min-width: 0; padding: 12px 14px; border-radius: 10px; border: 2px solid var(--ink); background: #fff; font: inherit; }
.lookup .btn { padding: 10px 18px; }
.prof-sec { margin-bottom: 56px; }
.prof-sec h2 { font-size: 32px; margin-bottom: 20px; }
.prof-sec .lead { margin-bottom: 20px; }
.myapps { list-style: none; padding: 0; border-top: 3px solid var(--ink); }
.myapps li { display: grid; grid-template-columns: 44px 1fr auto auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.myapps img, .myapps .ph { width: 44px; height: 44px; border-radius: 12px; }
.myapps .ph { display: grid; place-items: center; background: var(--ink); color: var(--pink); font-weight: 900; }
.myapps small { display: block; color: var(--muted); font-size: 14px; }
.myapps .pk { font-weight: 900; font-size: 20px; }
.skeleton { height: 128px; border-radius: 16px; background: linear-gradient(90deg, #ffffff40, #ffffff90, #ffffff40) 0 0 / 200% 100%; animation: sk 1.2s linear infinite; margin: 32px 0 8px; max-width: 520px; }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- sunucu detayı ---------- */
.server { cursor: pointer; }
dialog.detail { margin: auto; border: 0; padding: 0; /* * { margin: 0 } ortalamayı bozuyordu */ border-radius: 20px; width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); background: var(--paper); color: var(--ink); box-shadow: 12px 12px 0 var(--pink); overflow: auto; }
dialog.detail::backdrop { background: #1e1f3bcc; }
dialog.detail[open] { animation: dlg .45s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes dlg { from { opacity: 0; transform: translateY(40px) scale(.96); } }
.d-banner { height: 180px; background: var(--pink) center / cover; position: relative; }
.d-banner .x-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.d-body { padding: 0 28px 28px; }
.d-icon { width: 88px; height: 88px; border-radius: 26px; border: 5px solid var(--paper); margin-top: -44px; position: relative; background: var(--ink); object-fit: cover; display: grid; place-items: center; color: var(--pink); font-size: 36px; font-weight: 900; }
.d-body h2 { font-size: 32px; margin: 12px 0 6px; overflow-wrap: anywhere; }
.d-desc { color: var(--muted); margin-bottom: 20px; }
.d-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 3px solid var(--ink); margin-bottom: 20px; }
.d-stats div { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.d-stats b { display: block; color: var(--ink); font-size: clamp(20px, 5.5vw, 28px); font-weight: 900; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.d-stats .on b::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #23a55a; margin-right: 6px; }
.d-list { list-style: none; padding: 0; margin-bottom: 24px; }
.d-list li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.d-list li span:first-child { color: var(--muted); }
.d-list li span:last-child { font-weight: 500; text-align: right; }
.d-body .btn { display: block; width: 100%; text-align: center; }

/* ---------- başvuru işleniyor ---------- */
.processing { position: absolute; inset: 0; z-index: 5; border-radius: 18px; background: var(--ink); color: #fff; display: grid; place-content: center; justify-items: center; text-align: center; padding: 32px; animation: fadein .3s; }
.processing .spin { width: 84px; height: 84px; color: var(--pink); animation: gemspin 1.6s cubic-bezier(.6, 0, .4, 1) infinite; }
@keyframes gemspin { 0% { transform: rotate(0) scale(1); } 50% { transform: rotate(180deg) scale(.8); } 100% { transform: rotate(360deg) scale(1); } }
.processing h3 { font-size: 30px; font-weight: 900; margin: 24px 0 6px; letter-spacing: -.02em; }
.processing p { color: var(--soft); min-height: 1.6em; }
.gate { position: absolute; inset: 0; z-index: 4; border-radius: 18px; background: #f4f4fbf2; display: grid; place-content: center; text-align: center; padding: 32px; }
.gate h3 { font-size: 26px; margin-bottom: 8px; }
.gate p { color: var(--muted); margin-bottom: 20px; }
.gate .row2 { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
#form .gate .btn { width: auto; }

/* ---------- admin: sekmeler, sunucu ekle, ayarlar ---------- */
.admin-main section { padding: 0; }
.admin-tabs { margin-bottom: 32px; }
.admin-sec h2 { font-size: 36px; margin-bottom: 8px; }
.admin-sec .lead { margin-bottom: 28px; }
.admin-form { max-width: 640px; }
.admin-form fieldset { border: 0; border-top: 3px solid var(--ink); padding: 18px 0 8px; margin: 0 0 20px; }
.admin-form legend { font-size: 20px; font-weight: 900; padding: 0 0 12px; float: left; width: 100%; }
.admin-form fieldset > :not(legend) { clear: both; }
.admin-form .check { display: flex; gap: 10px; align-items: center; font-weight: 500; margin-bottom: 18px; cursor: pointer; }
.admin-form .check input { width: 20px; height: 20px; accent-color: var(--ink); }
.admin-form select, .admin-form textarea { width: 100%; padding: 13px 14px; border-radius: 10px; border: 2px solid var(--line); background: #fff; color: var(--ink); font: inherit; }
.admin-form textarea { resize: vertical; }
.admin-form select:focus, .admin-form textarea:focus { border-color: var(--ink); outline: none; }
.pk-row { display: grid; grid-template-columns: 64px 110px 1fr; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.pk-row b { font-size: 24px; font-weight: 900; }
.pk-row .check { margin: 0; }
.pk-row input[type=text] { padding: 10px 12px; }
@media (max-width: 480px) { .pk-row { grid-template-columns: 56px 1fr; } .pk-row input[type=text] { grid-column: 1 / -1; } }

/* ana sayfa: başvurular kapalıyken */
.gate.closed h3 { color: var(--ink); }

/* ---------- kayan sunucu şeridi (ana sayfa) ---------- */
section.ticker { padding: 22px 0; background: var(--ink); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; gap: 14px; width: max-content; animation: kay var(--sure, 40s) linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
@keyframes kay { to { transform: translateX(calc(-50% - 7px)); } }
.tk { display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 14px; background: var(--ink-2); color: #fff; text-decoration: none; white-space: nowrap; transition: background .2s, transform .2s; }
.tk:hover { background: #3a3d6e; transform: translateY(-2px); }
.tk img, .tk .ph { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; flex: none; }
.tk .ph { display: grid; place-items: center; background: var(--pink); color: var(--ink); font-weight: 900; font-size: 18px; }
.tk b { display: block; font-size: 16px; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.tk small { color: var(--soft); font-size: 13px; }
@media (prefers-reduced-motion: reduce) { section.ticker { overflow-x: auto; } }

.login-box { position: relative; }
.login-box .processing h3 { margin-bottom: 0; }

/* ---------- duyuru bandı ---------- */
.duyuru { display: flex; align-items: center; justify-content: center; gap: 12px; background: var(--ink); color: #fff; padding: 10px 52px; position: relative; text-align: center; font-weight: 500; font-size: 15px; animation: duyuru-in .5s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes duyuru-in { from { transform: translateY(-100%); } }
.duyuru p::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); margin-right: 10px; vertical-align: middle; animation: nabiz 1.6s ease-in-out infinite; }
@keyframes nabiz { 50% { transform: scale(1.6); opacity: .5; } }
.duyuru button { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--ink-2); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.duyuru button:hover { background: var(--pink); color: var(--ink); }

/* ---------- admin: süre, not, red sebebi ---------- */
.apps .meta2 { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; max-width: 260px; overflow-wrap: anywhere; }
.apps .meta2.warn { color: #a52a2c; font-weight: 700; }
.st-bitti { color: #a52a2c; }
.myapps .sebep { display: block; color: #a52a2c; font-size: 14px; margin-top: 2px; }

/* ---------- profil: banner, biyografi, düzenleme ---------- */
.page-hero.has-banner { background: var(--pink) center / cover; position: relative; }
.page-hero.has-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #1e1f3b33, #ff73fae6 70%); }
.page-hero.has-banner .wrap { position: relative; }
.prof .bio { margin-top: 10px; max-width: 52ch; font-size: 17px; white-space: pre-line; overflow-wrap: anywhere; }
dialog.edit { margin: auto; border: 0; padding: 28px; border-radius: 20px; width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto; background: var(--paper); color: var(--ink); box-shadow: 12px 12px 0 var(--pink); }
dialog.edit::backdrop { background: #1e1f3bcc; }
dialog.edit[open] { animation: dlg .45s cubic-bezier(.34, 1.56, .64, 1); }
dialog.edit h2 { font-size: 30px; margin-bottom: 20px; }
dialog.edit .field > label { display: block; font-weight: 700; margin-bottom: 6px; }
dialog.edit textarea { width: 100%; padding: 13px 14px; border-radius: 10px; border: 2px solid var(--line); font: inherit; resize: vertical; }
dialog.edit textarea:focus { outline: none; border-color: var(--ink); }
.pick-img { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; }
.pick-img .btn { padding: 8px 14px; font-size: 14px; }
.pick-img .on-izleme { width: 64px; height: 64px; border-radius: 50%; background: var(--ink) center / cover; flex: none; }
.pick-img .on-izleme.genis { width: 140px; height: 56px; border-radius: 10px; background-color: var(--pink); }
.pick-img input[type=file] { font: inherit; font-size: 14px; max-width: 100%; }
.edit-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; }
.edit-actions .btn { padding: 10px 18px; }

/* admin: bağlantılar */
#gizliListe .field { border-top: 3px solid var(--ink); padding-top: 16px; margin-bottom: 24px; }
#gizliListe .hint { margin: 0 0 10px; overflow-wrap: anywhere; }
.gizli-row { display: flex; gap: 8px; flex-wrap: wrap; }
.gizli-row input { flex: 1 1 240px; min-width: 0; padding: 12px 14px; border-radius: 10px; border: 2px solid var(--line); background: #fff; font: inherit; }
.gizli-row input:focus { outline: none; border-color: var(--ink); }
.gizli-row .btn { padding: 10px 16px; }

/* ---------- bakım ekranı ---------- */
.bakim { min-height: 100vh; display: grid; place-content: center; justify-items: center; text-align: center; padding: 24px; background: var(--pink); color: var(--ink); }
.bakim .spin { width: 88px; height: 88px; color: var(--ink); animation: gemspin 2.4s cubic-bezier(.6, 0, .4, 1) infinite; }
.bakim h1 { font-size: clamp(44px, 8vw, 88px); font-weight: 900; letter-spacing: -.04em; margin: 24px 0 10px; }
.bakim p { font-size: 20px; max-width: 40ch; }
.admin-form .bakim-check { background: #d83c3e14; border: 2px solid #d83c3e55; border-radius: 10px; padding: 12px 14px; font-weight: 700; }
