:root {
  --bg: #0b0410;
  --bg-alt: #150824;
  --card: #1a0b2e;
  --line: #3d1a63;
  --text: #ffffff;
  --muted: #e8d5ff;
  --accent: #9d00ff;
  --accent-2: #ff00ff;
  --glow-1: rgba(157, 0, 255, .8);
  --glow-2: rgba(255, 0, 255, .6);
  --ok: #34d399;
  --bad: #ff5c7a;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

/* Üst menü */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 5vw;
  background: rgba(11,4,16, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; letter-spacing: .04em; }
.brand b { font-weight: 800; }
.brand span { color: var(--accent-2); margin-left: 2px; }
.brand-logo { height: 34px; width: 34px; object-fit: contain; border-radius: 8px; }
.hero-logo { display: block; margin: 0 auto 20px; width: 128px; height: 128px; object-fit: contain; border-radius: 28px; box-shadow: 0 10px 50px rgba(157,0,255, .45); }
.nav nav { display: flex; gap: 22px; }
.nav nav a { color: var(--muted); font-size: .95rem; transition: color .2s; }
.nav nav a:hover { color: var(--text); }

/* Butonlar */
.btn {
  display: inline-block; cursor: pointer; border: 0;
  padding: 13px 26px; border-radius: 999px;
  font: inherit; font-weight: 600; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 28px rgba(157,0,255, .35);
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(157,0,255, .5); }
.btn-small { padding: 8px 18px; font-size: .9rem; box-shadow: none; }
.btn-ghost { background: transparent; border: 1px solid var(--line); box-shadow: none; }
.btn-ghost:hover { border-color: var(--accent); box-shadow: none; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  text-align: center;
  padding: 110px 5vw 90px;
}
.hero-glow {
  position: absolute; inset: -20% 10% auto 10%; height: 420px; z-index: 0;
  background: radial-gradient(closest-side, rgba(157,0,255, .35), transparent);
  filter: blur(40px);
}
.hero > *:not(.hero-glow) { position: relative; z-index: 1; }
.eyebrow { color: var(--accent-2); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; font-size: .8rem; }
.hero h1 { font-size: clamp(2.6rem, 8vw, 5.2rem); line-height: 1.05; margin: 14px 0 18px; font-weight: 800; }
.hero h1 em { font-style: normal; background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { max-width: 640px; margin: 0 auto 30px; color: var(--muted); font-size: 1.1rem; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hint { margin-top: 14px; color: var(--muted); font-size: .85rem; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--accent-2); cursor: pointer; text-decoration: underline; }
.linklike:hover { color: var(--text); }
#copy-msg { display: block; margin-top: 6px; color: var(--ok); }

/* Durum kutusu */
.status {
  display: inline-flex; align-items: center; gap: 14px; text-align: left;
  margin-top: 40px; padding: 14px 22px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
}
.status small { display: block; color: var(--muted); }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--muted); flex: none; }
.dot.online { background: var(--ok); box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: pulse 2s infinite; }
.dot.offline { background: var(--bad); }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }

/* Bölümler */
.section { padding: 80px 5vw; max-width: 1100px; margin: 0 auto; }
.section.alt { max-width: none; background: rgba(21,8,36, .72); }
.section.alt > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.section h2 { font-size: 2rem; margin-bottom: 12px; }
.section-lead { color: var(--muted); margin-bottom: 28px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 26px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--accent); transform: translateY(-3px); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; }

.rules { margin-left: 22px; display: grid; gap: 14px; }
.rules li::marker { color: var(--accent-2); font-weight: 700; }
.rules li { color: var(--muted); }
.rules strong { color: var(--text); }

.steps { display: grid; gap: 16px; margin-top: 26px; }
.step { display: flex; gap: 18px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; }
.step span { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; font-weight: 800; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.step h3 { margin-bottom: 2px; }
.step p { color: var(--muted); font-size: .95rem; }

/* Başvuru Merkezi sayfası */
.nav nav a.active { color: var(--text); }

.page-hero { text-align: center; padding: 90px 5vw 20px; max-width: 820px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.1; margin: 12px 0 16px; font-weight: 800; }
.page-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.forms-section { padding-top: 40px; }
.forms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }

.form-card {
  --c: var(--accent);
  display: flex; flex-direction: column; gap: 10px;
  padding: 24px 22px 22px;
  background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--c);
  border-radius: var(--radius);
  transition: transform .2s, border-color .2s;
}
.form-card:hover { transform: translateY(-3px); border-color: var(--c); }
.form-card .tag { align-self: flex-start; color: var(--c); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.form-card h3 { font-size: 1.15rem; line-height: 1.3; }
.form-card p { flex: 1; color: var(--muted); font-size: .93rem; }
.form-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

.notes { margin: 20px auto 0; padding-left: 22px; max-width: 760px; display: grid; gap: 12px; color: var(--muted); }
.notes li::marker { color: var(--accent-2); }

/* Form penceresi */
.modal {
  position: fixed; inset: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center; padding: 3vh 3vw;
  background: rgba(8,2,12, .78); backdrop-filter: blur(4px);
}
.modal[hidden] { display: none; }
.modal-box {
  width: min(820px, 100%); height: 100%; max-height: 94vh;
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.modal-head h3 { font-size: 1rem; }
.modal-actions { display: flex; align-items: center; gap: 16px; font-size: .85rem; white-space: nowrap; }
.modal-close { background: none; border: 1px solid var(--line); color: var(--text); width: 34px; height: 34px; border-radius: 50%; font-size: 1rem; cursor: pointer; }
.modal-close:hover { border-color: var(--accent); }
.modal iframe { flex: 1; width: 100%; border: 0; background: #fff; }

@media (max-width: 720px) {
  .modal { padding: 0; }
  .modal-box { max-height: 100vh; border-radius: 0; border: 0; }
  .page-hero { padding-top: 70px; }
}

/* Kural Kitapçığı sayfası */
.more { margin-top: 24px; }

.toc { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 0 44px; }
.toc a { padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .9rem; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--text); border-color: var(--accent); }

.block { margin-bottom: 64px; scroll-margin-top: 90px; }
.block > h2 { font-size: 1.7rem; margin-bottom: 8px; }
.block-lead { color: var(--muted); margin-bottom: 24px; }

.rule-list { list-style: none; counter-reset: r; display: grid; gap: 12px; }
.rule-list li {
  counter-increment: r; position: relative;
  padding: 16px 18px 16px 62px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--muted);
}
.rule-list li::before {
  content: counter(r); position: absolute; left: 16px; top: 14px;
  width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 50%; font-weight: 800; font-size: .85rem; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.rule-list strong { color: var(--text); }

.def-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.def { padding: 18px; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); }
.def h3 { font-size: 1rem; margin-bottom: 6px; color: var(--accent-2); }
.def p { color: var(--muted); font-size: .92rem; }

.ic-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.ic-col { padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.ic-col h3 { margin-bottom: 12px; }
.ic-col ul { margin-left: 18px; display: grid; gap: 9px; color: var(--muted); font-size: .93rem; }
.ic-col li::marker { color: var(--accent-2); }

.toolbar { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.search { width: 100%; padding: 13px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: inherit; }
.search:focus { outline: none; border-color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { cursor: pointer; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); font: inherit; font-size: .85rem; }
.chip:hover { color: var(--text); border-color: var(--accent); }
.chip.on { color: #fff; border-color: var(--accent); background: rgba(157,0,255, .25); }

.tier { --c: var(--accent); margin-bottom: 36px; }
.tier-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-bottom: 10px; margin-bottom: 14px; border-bottom: 2px solid var(--c); }
.tier-head h3 { font-size: 1.2rem; color: var(--c); }
.tier-head .count { color: var(--muted); font-size: .82rem; }
.tier-note { width: 100%; color: var(--muted); font-size: .85rem; }

.rule-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.rule { padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--c); border-radius: 10px; }
.rule b { display: block; font-size: .95rem; margin-bottom: 4px; }
.rule p { color: var(--muted); font-size: .86rem; }
.rule .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.rule .tag { padding: 2px 9px; border-radius: 999px; font-size: .7rem; font-weight: 700; letter-spacing: .06em; color: var(--c); border: 1px solid var(--c); }

.legend { color: var(--muted); font-size: .85rem; margin-top: 8px; }
.no-results { text-align: center; color: var(--muted); padding: 30px 0; }
.no-results[hidden] { display: none; }

/* Sunucu Kuralları (kural kitapçığı) sayfası */
.kb { max-width: 1180px; margin: 0 auto; padding: 40px 5vw 80px; }

.kb-hero {
  padding: 30px 32px; margin-bottom: 22px;
  border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(135deg, rgba(157,0,255, .2), rgba(21,8,36, .7));
}
.kb-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.1; }
.kb-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.kb-hero p { color: var(--muted); max-width: 780px; margin: 12px 0 18px; }
.kb-stats { display: flex; gap: 12px; flex-wrap: wrap; }
.kb-stats span {
  padding: 8px 18px; border-radius: 999px; font-size: .9rem; color: var(--muted);
  border: 1px solid var(--line); background: rgba(255, 255, 255, .03);
}
.kb-stats b { color: var(--text); font-size: 1.05rem; margin-right: 4px; }

.kb-search input {
  width: 100%; padding: 16px 22px; border-radius: 16px;
  border: 1px solid var(--line); background: rgba(21,8,36, .75);
  color: var(--text); font: inherit; font-size: 1rem;
}
.kb-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(157,0,255, .2); }

.kb-tabs {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px;
  padding: 14px; margin: 18px 0 34px;
  border: 1px solid var(--line); border-radius: 18px; background: rgba(21,8,36, .6);
}
.kb-tab {
  display: flex; align-items: center; gap: 8px; padding: 9px 12px; cursor: pointer;
  border: 1px solid transparent; border-radius: 12px; background: transparent;
  color: var(--muted); font: inherit; font-size: .88rem; text-align: left;
  transition: background .15s, color .15s, border-color .15s;
}
.kb-tab:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.kb-tab.on { color: #fff; border-color: var(--accent); background: rgba(157,0,255, .2); }
.kb-tab .n {
  margin-left: auto; padding: 1px 9px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); color: var(--text); font-size: .75rem; font-weight: 700;
}

.kb-cat { --c: var(--accent); margin-bottom: 42px; scroll-margin-top: 90px; }
.kb-cat-head {
  display: flex; align-items: center; gap: 14px; padding: 16px 20px; margin-bottom: 16px;
  border: 1px solid var(--line); border-left: 4px solid var(--c); border-radius: 16px;
  background: linear-gradient(90deg, rgba(157,0,255, .16), rgba(21,8,36, .65));
}
.kb-ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .07); font-size: 1.3rem; }
.kb-cat-head h2 { font-size: 1.2rem; }
.kb-cat-head .cnt { margin-left: auto; padding: 5px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: .8rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.kb-cat-note { color: var(--muted); font-size: .88rem; margin: -4px 0 14px 6px; }

.kb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.kb-card {
  padding: 16px 18px; scroll-margin-top: 100px;
  border: 1px solid var(--line); border-left: 3px solid var(--c); border-radius: 14px; background: var(--card);
  transition: border-color .2s, transform .2s, box-shadow .3s;
}
.kb-card:hover { transform: translateY(-2px); border-color: var(--c); }
.kb-card.flash { box-shadow: 0 0 0 2px var(--accent-2), 0 0 30px rgba(255,0,255, .45); }
.kb-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.kb-num {
  flex: none; padding: 3px 9px; border-radius: 8px;
  border: 1px solid rgba(157,0,255, .5); background: rgba(157,0,255, .14);
  color: #e8d5ff; font-size: .75rem; font-weight: 800;
}
.kb-num:hover { background: rgba(157,0,255, .3); }
.kb-card h3 { font-size: .98rem; line-height: 1.3; }
.kb-card p { color: var(--muted); font-size: .9rem; }
.kb-card .hl { color: #ff7bff; font-weight: 700; }
.kb-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.kb-tag { padding: 2px 9px; border-radius: 999px; border: 1px solid var(--c); color: var(--c); font-size: .7rem; font-weight: 700; letter-spacing: .06em; }

.kb-empty { text-align: center; color: var(--muted); padding: 40px 0; }
.kb-empty[hidden] { display: none; }
.kb-note { color: var(--muted); font-size: .85rem; margin-top: 10px; }

@media (max-width: 720px) {
  .kb { padding-top: 24px; }
  .kb-hero { padding: 22px 20px; }
  .kb-tabs { grid-template-columns: repeat(2, 1fr); }
}

/* Şehir hayatı: geniş, görsel ve metin alternatifli satırlar */
#sehir > * { max-width: 1240px; }
.city-grid { display: grid; gap: 22px; margin-top: 32px; }

.city-card {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 300px; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  transition: border-color .25s, box-shadow .25s;
}
.city-card:hover { border-color: var(--accent); box-shadow: 0 14px 50px rgba(157,0,255, .18); }

/* Tek sayfada sıra: tek numaralılarda metin solda, görsel sağda; çift numaralılarda tersi */
.city-body { order: 1; display: flex; flex-direction: column; justify-content: center; padding: 40px 48px; }
.city-img { order: 2; position: relative; overflow: hidden; min-height: 260px; background: linear-gradient(135deg, rgba(157,0,255, .35), rgba(21,8,36, .9)); }
.city-card:nth-child(even) .city-body { order: 2; }
.city-card:nth-child(even) .city-img { order: 1; }

.city-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.city-card:hover .city-img img { transform: scale(1.05); }

/* Görselin metne bakan kenarı karta doğru yumuşakça kararır */
.city-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--card) 0%, rgba(21,8,36, 0) 45%); pointer-events: none; }
.city-card:nth-child(even) .city-img::after { background: linear-gradient(270deg, var(--card) 0%, rgba(21,8,36, 0) 45%); }

.city-icon {
  width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: 18px;
  border-radius: 14px; font-size: 1.6rem;
  border: 1px solid rgba(157,0,255, .45); background: rgba(157,0,255, .16);
}
.city-body h3 { font-size: 1.7rem; margin-bottom: 10px; }
.city-body p { color: var(--muted); font-size: 1.02rem; line-height: 1.75; max-width: 520px; }

@media (max-width: 800px) {
  .city-card { grid-template-columns: 1fr; min-height: 0; }
  .city-card .city-img,
  .city-card:nth-child(even) .city-img { order: 1; min-height: 210px; }
  .city-card .city-body,
  .city-card:nth-child(even) .city-body { order: 2; padding: 26px 24px 30px; }
  .city-img::after,
  .city-card:nth-child(even) .city-img::after { background: linear-gradient(0deg, var(--card) 0%, rgba(21,8,36, 0) 50%); }
  .city-body h3 { font-size: 1.4rem; }
}

/* Mağaza kutusu */
.store-box {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: 24px; padding: 26px 28px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(157,0,255, .18), rgba(21,8,36, .8));
}
.store-box h3 { margin-bottom: 6px; font-size: 1.2rem; }
.store-box p { color: var(--muted); max-width: 560px; }

/* Galeri */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-top: 24px; }
.shot { position: relative; overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.shot:hover img { transform: scale(1.05); }
.shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 14px 10px; font-size: .85rem; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); }
.lightbox { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 4vh 4vw; background: rgba(8,2,12, .92); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 80vh; border-radius: 10px; }
.lightbox p { color: var(--muted); }
#lb-close { position: absolute; top: 18px; right: 22px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: rgba(21,8,36, .9); color: var(--text); font-size: 1.1rem; cursor: pointer; }

/* Arka plan animasyon katmanı */
#fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main, .footer { position: relative; z-index: 1; }

/* Alt bilgi */
.footer { text-align: center; padding: 36px 5vw 44px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.muted { opacity: .6; margin-top: 4px; font-size: .8rem; }

/* Hero üç sütunlu yerleşim: oyuncular | ana içerik | yönetim */
.hero { padding-left: 3vw; padding-right: 3vw; }
.hero-layout {
  display: grid;
  grid-template-columns: minmax(250px, 320px) minmax(0, 1fr) minmax(250px, 320px);
  gap: 28px; align-items: center;
  max-width: 1600px; margin: 0 auto;
}

.panel {
  text-align: left;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
}
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.panel h2 { font-size: 1.05rem; margin: 0; }
.badge { padding: 2px 12px; border-radius: 999px; background: rgba(157,0,255, .18); color: var(--accent-2); font-size: .8rem; font-weight: 700; white-space: nowrap; }

.table-wrap { max-height: 340px; overflow: auto; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table-wrap th {
  position: sticky; top: 0; background: var(--card);
  text-align: left; padding: 6px 8px;
  color: var(--muted); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
}
.table-wrap td { padding: 8px; border-top: 1px solid var(--line); word-break: break-word; }
.table-wrap td.id { color: var(--muted); width: 44px; }
.table-wrap td.ping { width: 56px; text-align: right; font-variant-numeric: tabular-nums; }
.ping-good { color: var(--ok); }
.ping-mid { color: #fbbf24; }
.ping-bad { color: var(--bad); }
.empty { color: var(--muted); padding: 22px 8px; text-align: center; font-size: .9rem; }

/* Proje ekibi paneli */
.panel-team { padding: 24px 18px; }
.panel-team .panel-head { justify-content: center; margin-bottom: 20px; }
.panel-team h2 {
  font-size: .95rem; font-weight: 300; text-transform: uppercase;
  letter-spacing: .45em; margin-right: -.45em; color: var(--muted);
}

.staff { list-style: none; display: grid; gap: 14px; }
.staff li {
  display: flex; align-items: center; gap: 16px; padding: 10px;
  border: 1px solid rgba(157,0,255, .28); border-radius: 3px;
  background: rgba(255, 255, 255, .02);
  transition: border-color .2s, background .2s;
}
.staff li:hover { border-color: var(--accent-2); background: rgba(157,0,255, .08); }

.avatar-frame { flex: none; padding: 3px; border: 1px solid rgba(157,0,255, .35); border-radius: 3px; }
.avatar, .avatar-initial { display: block; width: 62px; height: 62px; border-radius: 2px; object-fit: cover; }
.avatar-initial {
  display: grid; place-items: center; font-weight: 800; font-size: 1.4rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.staff-name { display: block; font-weight: 700; font-size: 1.1rem; line-height: 1.2; }
.staff-role { display: block; color: var(--muted); font-size: .8rem; margin-top: 3px; }

/* Mobil */
@media (max-width: 1100px) {
  .hero-layout { grid-template-columns: 1fr; max-width: 640px; }
  .hero-center { order: -1; }
}
@media (max-width: 720px) {
  .nav nav { display: none; }
  .hero { padding: 80px 5vw 70px; }
  .section { padding: 60px 5vw; }
}


/* ===== NEON MOR / MAGENTA TEMA ===== */
body {
  background:
    radial-gradient(900px 600px at 8% 0%, rgba(157,0,255,.30), transparent 60%),
    radial-gradient(800px 600px at 95% 15%, rgba(255,0,255,.18), transparent 60%),
    radial-gradient(900px 700px at 50% 100%, rgba(157,0,255,.22), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
@keyframes flow { 0% { background-position: 0% 50%; } 100% { background-position: 300% 50%; } }
.hero h1 em, .page-hero h1 em, .kb-hero h1 em, .brand span {
  background: linear-gradient(90deg, #9d00ff, #ff00ff, #e8d5ff, #ff00ff, #9d00ff) !important;
  background-size: 300% 100% !important;
  -webkit-background-clip: text !important; background-clip: text !important;
  color: transparent !important;
  animation: flow 6s linear infinite;
}
.hero h1 em { filter: drop-shadow(0 0 18px var(--glow-2)); }
.hero h1, .page-hero h1, .kb-hero h1 { text-shadow: 0 0 28px rgba(157,0,255,.55); }

.nav { background: rgba(11,4,16,.85); border-bottom: 2px solid transparent; border-image: linear-gradient(90deg, #9d00ff, #ff00ff, #9d00ff) 1; box-shadow: 0 4px 30px rgba(157,0,255,.35); }
.brand { font-size: 1.35rem; letter-spacing: .01em; }
.brand b { color: #fff; text-shadow: 0 0 16px var(--glow-1); }
.brand span { margin-left: 4px; }
.brand-logo { box-shadow: 0 0 16px var(--glow-1); }
.nav nav { gap: 6px; flex-wrap: wrap; }
.nav nav a { color: #e8d5ff; padding: 7px 13px; border-radius: 999px; font-weight: 600; transition: background .2s, transform .15s, box-shadow .2s, text-shadow .2s; }
.nav nav a:hover { color: #fff; background: linear-gradient(135deg, #9d00ff, #ff00ff); transform: translateY(-2px); box-shadow: 0 0 20px var(--glow-2); }
.nav nav a.active { color: #fff; background: rgba(157,0,255,.35); box-shadow: inset 0 0 0 1px #9d00ff; }
.nav nav a.wiki { background: rgba(255,0,255,.12); border: 1px solid rgba(255,0,255,.6); color: #ffd6ff; }
.nav nav a.wiki:hover { background: linear-gradient(135deg, #9d00ff, #ff00ff); color: #fff; }

.btn { background: linear-gradient(135deg, #9d00ff, #ff00ff); box-shadow: 0 0 24px var(--glow-1); animation: none; }
.btn:hover { box-shadow: 0 0 36px var(--glow-2), 0 0 12px var(--glow-1); transform: translateY(-3px) scale(1.03); }
.btn-ghost { background: rgba(157,0,255,.10); border: 1.5px solid #9d00ff; color: #fff; box-shadow: 0 0 14px rgba(157,0,255,.35); }
.btn-ghost:hover { background: rgba(157,0,255,.30); border-color: #ff00ff; box-shadow: 0 0 26px var(--glow-2); }
.eyebrow { color: #ff7bff; text-shadow: 0 0 12px var(--glow-2); }
.linklike { color: #ff7bff; }

.section h2 { color: #fff; text-shadow: 0 0 20px rgba(157,0,255,.6); }
.card, .panel, .store-box, .kb-card, .city-card, .shot { border-color: rgba(157,0,255,.35); }
.card, .city-card { border-top: 2px solid #ff00ff; }
.card:hover, .city-card:hover { border-color: #ff00ff; box-shadow: 0 0 34px rgba(157,0,255,.55); transform: translateY(-4px); }
.panel, .panel-team { box-shadow: 0 0 26px rgba(157,0,255,.25); }
.card h3, .city-body h3 { color: #ff7bff; }
.city-icon { filter: drop-shadow(0 0 10px var(--glow-1)); }
.step span { background: linear-gradient(135deg, #9d00ff, #ff00ff) !important; box-shadow: 0 0 16px var(--glow-2); }
.badge { background: rgba(255,0,255,.16); color: #ffb3ff; }
.section.alt { background: rgba(21,8,36,.7); }
.footer a:hover { color: #ff7bff; }
::selection { background: #ff00ff; color: #fff; }

/* ===== GÖRSELLİ BÖLÜMLER ===== */
.hero { background: linear-gradient(180deg, rgba(11,4,16,.55), rgba(11,4,16,.92)), url(images/hero-bg.webp) center/cover no-repeat; }
.status-banner { display: block; width: min(440px, 90%); height: auto; margin: 22px auto 0; border-radius: 16px; box-shadow: 0 0 30px var(--glow-1); border: 1px solid rgba(255,0,255,.4); }
.strip { display: block; max-width: 1240px; margin: 0 auto; padding: 0 5vw; position: relative; z-index: 1; }
.strip img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid rgba(157,0,255,.5); box-shadow: 0 0 28px rgba(157,0,255,.35); transition: transform .2s, box-shadow .2s; }
.strip:hover img { transform: translateY(-3px); box-shadow: 0 0 40px var(--glow-2); }
.shop-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 22px 0; }
.shop-card img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid rgba(157,0,255,.45); transition: transform .2s, box-shadow .2s; }
.shop-card:hover img { transform: translateY(-4px) scale(1.01); box-shadow: 0 0 36px var(--glow-2); }
.join-wrap { display: grid; grid-template-columns: 1fr minmax(240px, 340px); gap: 32px; align-items: center; }
.join-story { width: 100%; height: auto; border-radius: 18px; border: 1px solid rgba(157,0,255,.5); box-shadow: 0 0 34px rgba(157,0,255,.4); }
.story-row { display: flex; gap: 20px; flex-wrap: wrap; margin: 18px 0 24px; }
.contact-img { flex: 0 1 240px; }
.contact-img img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid rgba(157,0,255,.45); transition: transform .2s, box-shadow .2s; }
.contact-img:hover img { transform: translateY(-4px); box-shadow: 0 0 30px var(--glow-2); }
.page-hero.has-bg { background: linear-gradient(180deg, rgba(11,4,16,.7), rgba(11,4,16,.9)), var(--bg-img) center/cover no-repeat; border-radius: 0 0 24px 24px; }
@media (max-width: 800px) {
  .shop-grid { grid-template-columns: 1fr; }
  .join-wrap { grid-template-columns: 1fr; }
  .join-story { max-width: 340px; margin: 0 auto; }
}

/* ===== KARAKTER WİKİ ===== */
.wk { max-width: 1240px; margin: 0 auto; padding: 0 5vw 60px; position: relative; z-index: 1; }
.wk .page-hero { padding-bottom: 10px; }
.wk .kb-stats { display: flex; justify-content: center; gap: 18px; margin-top: 18px; }
.wk-demo { max-width: 760px; margin: 18px auto 0; padding: 10px 16px; text-align: center; font-size: .9rem; color: #ffd6ff; background: rgba(255,0,255,.1); border: 1px dashed rgba(255,0,255,.55); border-radius: 12px; }
.wk-demo code { background: rgba(0,0,0,.35); padding: 1px 7px; border-radius: 6px; }
.wk-search { margin-top: 26px; }
.wk .kb-tabs { justify-content: center; }
.kb-tab .n { display: inline-block; margin-left: 4px; padding: 0 8px; border-radius: 999px; background: rgba(255,255,255,.12); font-size: .75rem; font-weight: 700; }

.wk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; margin-top: 26px; }
.wk-card { --c: #9d00ff; display: flex; flex-direction: column; text-align: left; padding: 0; overflow: hidden; cursor: pointer; font: inherit; color: inherit;
  background: var(--card); border: 1px solid rgba(157,0,255,.35); border-radius: 18px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.wk-card:hover, .wk-card:focus-visible { transform: translateY(-6px); border-color: var(--c); box-shadow: 0 0 34px color-mix(in srgb, var(--c) 55%, transparent); outline: none; }
.wk-pic { --c: #9d00ff; position: relative; aspect-ratio: 4 / 5; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--c) 55%, #0b0410), #0b0410 80%); }
.wk-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.wk-card:hover .wk-pic img { transform: scale(1.06); }
.wk-pic::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(0deg, var(--card), transparent); pointer-events: none; }
.wk-initials { font-size: 3.6rem; font-weight: 800; color: rgba(255,255,255,.9); text-shadow: 0 0 24px var(--c); letter-spacing: .04em; }
.wk-pic .wk-badge { position: absolute; top: 12px; left: 12px; z-index: 2; }
.wk-pic .wk-status { position: absolute; top: 12px; right: 12px; z-index: 2; }
.wk-badge { padding: 4px 11px; border-radius: 999px; font-size: .75rem; font-weight: 700; color: #fff; background: rgba(11,4,16,.72); border: 1px solid var(--c, #9d00ff); backdrop-filter: blur(4px); }
.wk-status { padding: 4px 11px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: rgba(11,4,16,.72); border: 1px solid transparent; }
.wk-status.ok { color: #6ee7b7; border-color: rgba(52,211,153,.6); }
.wk-status.bad { color: #ff8da1; border-color: rgba(255,92,122,.6); }
.wk-status.mid { color: #fcd34d; border-color: rgba(252,211,77,.6); }
.wk-status:empty { display: none; }
.wk-body { padding: 4px 18px 20px; }
.wk-body h3 { font-size: 1.15rem; color: #fff; text-shadow: 0 0 14px color-mix(in srgb, var(--c) 70%, transparent); }
.wk-role { color: color-mix(in srgb, var(--c) 40%, #fff); font-size: .85rem; font-weight: 600; margin: 2px 0 8px; }
.wk-sum { color: var(--muted); font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.wk-modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(8,2,12,.86); backdrop-filter: blur(6px); }
.wk-modal[hidden] { display: none; }
.wk-sheet { --c: #9d00ff; position: relative; display: grid; grid-template-columns: minmax(220px, 340px) 1fr; width: min(900px, 100%); max-height: 90vh; overflow: auto;
  background: var(--card); border: 1px solid var(--c); border-radius: 22px; box-shadow: 0 0 60px color-mix(in srgb, var(--c) 45%, transparent); }
.wk-modal { --c: #9d00ff; }
.wk-sheet { --c: inherit; }
.wk-x { position: absolute; top: 12px; right: 12px; z-index: 5; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; font-size: 1rem; color: #fff; background: rgba(11,4,16,.8); border: 1px solid var(--line); }
.wk-x:hover { border-color: #ff00ff; box-shadow: 0 0 16px rgba(255,0,255,.6); }
.wk-m-img .wk-pic-big { height: 100%; min-height: 320px; aspect-ratio: auto; }
.wk-m-img .wk-pic::after { background: linear-gradient(90deg, transparent 55%, var(--card)); height: auto; inset: 0; }
.wk-m-body { padding: 28px 30px 30px; }
.wk-m-top { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.wk-m-body .wk-badge, .wk-m-body .wk-status { position: static; border: 1px solid rgba(255,0,255,.5); }
.wk-m-body h2 { font-size: 1.8rem; text-shadow: 0 0 20px rgba(157,0,255,.7); }
.wk-m-role { color: #ff7bff; font-weight: 600; margin-bottom: 14px; }
.wk-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-bottom: 18px; }
.wk-info > div { padding: 10px 12px; border-radius: 12px; background: rgba(157,0,255,.12); border: 1px solid rgba(157,0,255,.35); }
.wk-info dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: #e8d5ff; opacity: .8; }
.wk-info dd { font-weight: 700; }
.wk-story p { color: var(--muted); margin-bottom: 12px; }
.wk-m-body h3 { margin: 18px 0 8px; font-size: 1rem; color: #ff7bff; }
.wk-rel { list-style: none; display: grid; gap: 6px; }
.wk-rel em { color: var(--muted); font-style: normal; }
.wk-rel-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: #fff; text-decoration: underline; text-decoration-color: #ff00ff; cursor: pointer; }
.wk-rel-link:hover { color: #ff7bff; }
.wk-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.wk-tags span { padding: 3px 11px; border-radius: 999px; font-size: .8rem; background: rgba(255,0,255,.12); color: #ffd6ff; }
.wk-link { margin-top: 4px; }
@media (max-width: 760px) {
  .wk-sheet { grid-template-columns: 1fr; }
  .wk-m-img .wk-pic-big { min-height: 0; aspect-ratio: 16 / 11; }
  .wk-m-img .wk-pic::after { background: linear-gradient(0deg, var(--card), transparent 60%); }
  .wk-m-body { padding: 20px; }
}
