@font-face { font-family: Barlow; src: url(/crg/Barlow-SemiBold.ttf); font-weight: 400 600; }
@font-face { font-family: Barlow; src: url(/crg/Barlow-Bold.ttf); font-weight: 700 900; }
:root {
  --bg: #07070c; --panel: #0e0e17; --panel2: #12121d; --line: rgba(255,255,255,.08); --line2: rgba(255,255,255,.14);
  --text: #ecebf5; --muted: #9a98b0; --violet: #8b5cf6; --cyan: #22d3ee; --ok: #22c55e; --warn: #f59e0b; --err: #ef4444;
  --grad: linear-gradient(135deg, #8b5cf6, #22d3ee); --r: 16px;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); font: 500 15px/1.5 Barlow, system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--cyan); text-decoration: none; }
img.e { width: 20px; height: 20px; vertical-align: -4px; }
img.e.lg { width: 28px; height: 28px; vertical-align: -7px; }
.bg-glow { position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(600px 400px at 10% -5%, rgba(139,92,246,.22), transparent 70%), radial-gradient(700px 500px at 100% 0%, rgba(34,211,238,.14), transparent 70%), radial-gradient(800px 600px at 50% 120%, rgba(139,92,246,.10), transparent 70%); }
.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; padding: 14px 28px; background: rgba(7,7,12,.75); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font: 700 20px Barlow, sans-serif; }
.brand img { width: 34px; height: 34px; filter: drop-shadow(0 0 10px rgba(139,92,246,.6)); }
.brand b { color: var(--cyan); }
.chip { font-style: normal; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 3px 9px; border-radius: 99px; border: 1px solid rgba(139,92,246,.5); color: #c4b5fd; background: rgba(139,92,246,.12); }
.user { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.user img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--violet); }
.user .name { color: var(--text); font-weight: 600; }
.app { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: 28px; }
.loading { display: flex; gap: 10px; align-items: center; justify-content: center; padding: 120px 0; color: var(--muted); }
.loading img { width: 28px; }

/* düğmeler */
.btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line2); background: var(--panel2); color: var(--text); padding: 10px 18px; border-radius: 12px; font: 600 15px Barlow, sans-serif; cursor: pointer; transition: .15s; }
.btn:hover { border-color: rgba(139,92,246,.6); box-shadow: 0 0 0 3px rgba(139,92,246,.12); }
.btn.primary { border: 0; background: var(--grad); color: #fff; box-shadow: 0 8px 30px rgba(139,92,246,.35); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.discord { background: #5865f2; border: 0; color: #fff; font-size: 17px; padding: 14px 26px; box-shadow: 0 10px 40px rgba(88,101,242,.4); }
.btn.danger { border-color: rgba(239,68,68,.5); color: #fca5a5; background: rgba(239,68,68,.08); }
.btn.ghost { background: transparent; }
.btn.sm { padding: 6px 12px; font-size: 13px; border-radius: 10px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; filter: none; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }

/* kartlar */
.card { background: linear-gradient(180deg, rgba(255,255,255,.02), transparent), var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.card + .card { margin-top: 16px; }
.card h3 { margin: 0 0 6px; font-size: 18px; display: flex; gap: 8px; align-items: center; }
.card .sub { color: var(--muted); margin: 0 0 14px; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
h1 { font: 800 30px/1.15 Barlow, sans-serif; margin: 0 0 6px; }
h1 .g, .g { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: 16px; margin: 0 0 22px; }
.muted { color: var(--muted); } .small { font-size: 13px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: rgba(255,255,255,.06); color: var(--muted); border: 1px solid var(--line); }
.badge.ok { color: #86efac; background: rgba(34,197,94,.1); border-color: rgba(34,197,94,.35); }
.badge.warn { color: #fcd34d; background: rgba(245,158,11,.1); border-color: rgba(245,158,11,.35); }
.badge.err { color: #fca5a5; background: rgba(239,68,68,.1); border-color: rgba(239,68,68,.35); }
.badge.vip { color: #fff; background: var(--grad); border: 0; }
.note { border: 1px solid var(--line); border-left: 3px solid var(--cyan); background: rgba(34,211,238,.05); padding: 12px 14px; border-radius: 12px; color: #cbd5e1; margin: 12px 0; }
.note.warn { border-left-color: var(--warn); background: rgba(245,158,11,.06); }
.note.err { border-left-color: var(--err); background: rgba(239,68,68,.06); }

/* giriş */
.hero { text-align: center; padding: 60px 0 30px; }
.hero .logo { width: 120px; height: 120px; filter: drop-shadow(0 0 30px rgba(139,92,246,.6)); }
.hero h1 { font-size: 46px; margin: 18px 0 10px; }
.hero .lead { max-width: 640px; margin: 0 auto 30px; font-size: 18px; }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 46px auto 0; max-width: 980px; text-align: left; }
.step3 { position: relative; padding-top: 30px; }
.step3 .n { position: absolute; top: -16px; left: 22px; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-weight: 800; box-shadow: 0 0 20px rgba(139,92,246,.5); }
.feats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }

/* sunucular */
.guilds { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.guild { display: flex; flex-direction: column; gap: 14px; }
.guild .head { display: flex; gap: 14px; align-items: center; }
.gicon { width: 54px; height: 54px; border-radius: 16px; background: var(--grad); display: grid; place-items: center; font-weight: 800; font-size: 18px; overflow: hidden; flex: none; }
.gicon img { width: 100%; height: 100%; }
.guild .nm { font-weight: 700; font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.guild.off { opacity: .85; border-style: dashed; }

/* sunucu düzeni */
.layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; align-items: start; }
.side { position: sticky; top: 86px; padding: 14px; }
.side .gh { display: flex; gap: 10px; align-items: center; padding: 6px 6px 14px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.side .gh .gicon { width: 40px; height: 40px; border-radius: 12px; font-size: 14px; }
.side .gh b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 160px; }
.nav a { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 10px; color: #cfcde0; font-weight: 600; }
.nav a:hover { background: rgba(255,255,255,.04); }
.nav a.on { background: linear-gradient(90deg, rgba(139,92,246,.25), rgba(34,211,238,.08)); color: #fff; box-shadow: inset 2px 0 0 var(--violet); }
.nav a .lock { margin-left: auto; font-size: 12px; }
.nav hr { border: 0; border-top: 1px solid var(--line); margin: 8px 0; }

/* durum */
.stat { display: flex; gap: 14px; align-items: center; }
.stat .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(139,92,246,.12); border: 1px solid rgba(139,92,246,.3); }
.stat .ic img { width: 26px; height: 26px; }
.stat .v { font-size: 22px; font-weight: 800; }
.bar { height: 8px; background: rgba(255,255,255,.06); border-radius: 99px; overflow: hidden; margin-top: 10px; }
.bar i { display: block; height: 100%; background: var(--grad); border-radius: 99px; transition: width .4s; }
.chlist { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chl { font-size: 13px; padding: 4px 10px; border-radius: 8px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.chl.no { color: #fca5a5; border-color: rgba(239,68,68,.35); }

/* sihirbaz */
.stepper { display: flex; gap: 8px; margin-bottom: 18px; }
.stepper div { flex: 1; display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); color: var(--muted); font-weight: 600; }
.stepper div b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); color: #fff; flex: none; }
.stepper div.on { border-color: rgba(139,92,246,.6); color: #fff; box-shadow: 0 0 0 3px rgba(139,92,246,.12); }
.stepper div.on b, .stepper div.done b { background: var(--grad); }
.pick { max-height: 330px; overflow: auto; border: 1px solid var(--line); border-radius: 12px; padding: 6px; background: var(--panel2); }
.pick label { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.pick label:hover { background: rgba(255,255,255,.04); }
.pick label.dis { opacity: .45; cursor: not-allowed; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: #99aab5; flex: none; }
input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--violet); }
.search { width: 100%; margin-bottom: 10px; }
.sys { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.syscard { cursor: pointer; transition: .15s; position: relative; }
.syscard.on { border-color: rgba(139,92,246,.65); box-shadow: 0 0 0 3px rgba(139,92,246,.12), 0 10px 40px rgba(139,92,246,.15); }
.syscard .tg { position: absolute; top: 18px; right: 18px; }
.syscard .extra { margin-top: 12px; }
.result li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.result { list-style: none; margin: 0; padding: 0; }
.progress { height: 10px; background: rgba(255,255,255,.06); border-radius: 99px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 30%; background: var(--grad); animation: slide 1.2s infinite ease-in-out; border-radius: 99px; }
@keyframes slide { 0% { margin-left: -30%; } 100% { margin-left: 100%; } }

/* form */
input[type=text], input[type=url], input[type=password], input[type=number], select, textarea { background: var(--panel2); color: var(--text); border: 1px solid var(--line2); border-radius: 10px; padding: 9px 12px; font: 500 15px Barlow, sans-serif; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(139,92,246,.18); }
input[type=number] { width: 84px; }
select { min-width: 220px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field > span { font-weight: 600; }
.field small { color: var(--muted); }
.switch { position: relative; width: 46px; height: 26px; flex: none; display: inline-block; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch i { position: absolute; inset: 0; border-radius: 99px; background: rgba(255,255,255,.12); transition: .2s; cursor: pointer; }
.switch i::after { content: ""; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; border-radius: 50%; background: #fff; transition: .2s; }
.switch input:checked + i { background: var(--grad); box-shadow: 0 0 14px rgba(139,92,246,.5); }
.switch input:checked + i::after { left: 23px; }
.switch input:disabled + i { opacity: .5; cursor: not-allowed; }
table.t { width: 100%; border-collapse: collapse; }
table.t th { text-align: left; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; padding: 8px; border-bottom: 1px solid var(--line); }
table.t td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.t td small { display: block; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chipx { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 10px; border-radius: 99px; background: rgba(139,92,246,.12); border: 1px solid rgba(139,92,246,.35); font-size: 13px; }
.chipx button { border: 0; background: rgba(255,255,255,.1); color: #fff; width: 18px; height: 18px; border-radius: 50%; cursor: pointer; line-height: 1; font-size: 12px; }
.chipx.off { background: transparent; border-style: dashed; color: var(--muted); text-decoration: line-through; }
.savebar { position: sticky; bottom: 16px; margin-top: 18px; display: flex; justify-content: flex-end; gap: 10px; padding: 12px; border-radius: 14px; background: rgba(14,14,23,.9); border: 1px solid var(--line); backdrop-filter: blur(8px); }

/* arka plan */
.preview { width: 100%; border-radius: 14px; border: 1px solid var(--line); display: block; background: #0d0d14; }
.locked { position: relative; overflow: hidden; }
.locked .preview { filter: blur(3px) saturate(.6); opacity: .55; }
.locked .over { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; }
.drop { border: 2px dashed rgba(139,92,246,.45); border-radius: 14px; padding: 26px; text-align: center; color: var(--muted); cursor: pointer; background: rgba(139,92,246,.04); }
.drop:hover { background: rgba(139,92,246,.09); }

/* abonelik */
.sub-card { display: flex; gap: 18px; align-items: center; }
.sub-card .pill { padding: 6px 14px; border-radius: 99px; background: var(--grad); font-weight: 800; }

.toasts { position: fixed; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 10px; z-index: 20; }
.toast { background: var(--panel2); border: 1px solid var(--line2); border-left: 3px solid var(--ok); border-radius: 12px; padding: 12px 16px; min-width: 260px; max-width: 420px; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.toast.err { border-left-color: var(--err); } .toast.warn { border-left-color: var(--warn); }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: grid; place-items: center; z-index: 30; }
.modal[hidden] { display: none; }
.modal .card { width: min(480px, 92vw); }
@media (max-width: 900px) { .layout { grid-template-columns: 1fr; } .side { position: static; } .g3, .g4, .steps3 { grid-template-columns: 1fr; } .g2 { grid-template-columns: 1fr; } .stepper { flex-direction: column; } }
.ptr { cursor: pointer; } .flex1 { flex: 1; } .msg { margin-right: auto; align-self: center; } .minw0 { min-width: 0; } .w300 { width: 300px; }
.mt8 { margin-top: 8px; } .mt10 { margin-top: 10px; } .mt12 { margin-top: 12px; } .mt14 { margin-top: 14px; } .mt16 { margin-top: 16px; } .mt30 { margin: 30px 0 12px; } .m8 { margin: 8px 0; }
.gicon.av { width: 34px; height: 34px; border-radius: 50%; font-size: 12px; }
[hidden] { display: none !important; }
.grid > .card, .guilds > .card, .steps3 > .card, .sys > .card { margin-top: 0; }
.grid + .card, .card + .grid, .grid + .grid, .note + .grid, .sys + .card { margin-top: 16px; }
label.drop { display: block; }
@media (max-width: 600px) { .user .btn.ghost, .user .name, .brand .chip { display: none; } .app { padding: 16px; } }
/* Aşama 2: karşılama düzenleyici, ticket, yedekleme */
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.seg label:has(input:checked) { border-color: rgba(139,92,246,.8); background: rgba(139,92,246,.14); }
.wbtns { display: grid; gap: 8px; margin-top: 10px; }
.wbtn { display: grid; grid-template-columns: 1.2fr 2fr 1fr auto auto auto; gap: 6px; align-items: center; }
.wbtn input { min-width: 0; }
.btn.sm { padding: 6px 10px; font-size: 12px; }
.mt12 { margin-top: 12px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th, .tbl td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.tbl th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.tbl .tr { text-align: right; white-space: nowrap; }
.tbl .tr .btn + .btn { margin-left: 6px; }
.card.note { border-color: rgba(34,211,238,.35); }
.lock-body { padding: 4px 0; }
textarea { width: 100%; resize: vertical; font: inherit; }
@media (max-width: 760px) { .wbtn { grid-template-columns: 1fr 1fr; } }
/* Kendi botun */
.bav { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--line); }
.m0 { margin: 0; }
.steps-ol { margin: 0 0 12px; padding-left: 20px; color: #cbd5e1; line-height: 1.7; }
.steps-ol a { color: var(--cyan); }
input[type=file] { width: 100%; color: #cbd5e1; font: inherit; font-size: 13px; }
input[type=file]::file-selector-button { background: rgba(255,255,255,.06); color: #e2e8f0; border: 1px solid var(--line); border-radius: 10px; padding: 7px 12px; margin-right: 10px; cursor: pointer; font: inherit; }
.wbtn.t1 { grid-template-columns: 1fr auto auto auto; }
@media (max-width: 760px) { .wbtn.t1 { grid-template-columns: 1fr auto auto auto; } }
.field > .btn { align-self: flex-start; }

/* CrenAI Mülakat */
.cr-box { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: rgba(255,255,255,.02); }
.cr-box ul { margin: 8px 0 0; padding-left: 18px; }
.qlist { display: flex; flex-direction: column; gap: 10px; }
.qopt { flex-direction: row; align-items: center; gap: 8px; }
.qopt > span { width: 18px; font-weight: 800; }
.qopt > input { flex: 1; }
.progress.quota { margin: 8px 0; }
.progress.quota i { animation: none; width: 0; }
.progress.quota i.w0 { width: 0%; }
.progress.quota i.w5 { width: 5%; }
.progress.quota i.w10 { width: 10%; }
.progress.quota i.w15 { width: 15%; }
.progress.quota i.w20 { width: 20%; }
.progress.quota i.w25 { width: 25%; }
.progress.quota i.w30 { width: 30%; }
.progress.quota i.w35 { width: 35%; }
.progress.quota i.w40 { width: 40%; }
.progress.quota i.w45 { width: 45%; }
.progress.quota i.w50 { width: 50%; }
.progress.quota i.w55 { width: 55%; }
.progress.quota i.w60 { width: 60%; }
.progress.quota i.w65 { width: 65%; }
.progress.quota i.w70 { width: 70%; }
.progress.quota i.w75 { width: 75%; }
.progress.quota i.w80 { width: 80%; }
.progress.quota i.w85 { width: 85%; }
.progress.quota i.w90 { width: 90%; }
.progress.quota i.w95 { width: 95%; }
.progress.quota i.w100 { width: 100%; }
pre.tr { white-space: pre-wrap; max-height: 50vh; overflow: auto; background: rgba(0,0,0,.25); border-radius: 10px; padding: 10px; font-size: 13px; text-align: left; }
