/* ==================================================================
   NEVADA ROLEPLAY REDM - Ana stil dosyası
   Tema: Siyah / Beyaz / Smooth Orange · Western · RDR2 inspired
================================================================== */

@font-face {
  font-family: 'RDR Lino';
  src: url('/font/rdrlino.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #ff8c1a;
  --primary-soft: #ffb066;
  --primary-glow: rgba(255, 140, 26, 0.35);
  --primary-deep: #c46815;
  --dark: #0a0807;
  --dark-2: #14100c;
  --dark-3: #1f1814;
  --dark-soft: #2a201a;
  --light: #f5ede0;
  --light-soft: #d6c8b3;
  --muted: #8a7d6c;
  --border: rgba(245, 237, 224, 0.08);
  --border-strong: rgba(255, 140, 26, 0.3);
  --shadow-deep: 0 20px 60px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 40px var(--primary-glow);
  --gradient-primary: linear-gradient(135deg, #ff8c1a 0%, #ffb066 100%);
  --gradient-dark: linear-gradient(180deg, rgba(10,8,7,0) 0%, rgba(10,8,7,0.95) 100%);
  --font-display: 'RDR Lino', 'Cinzel', Georgia, serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', Tahoma, sans-serif;
}

/* ---------- Setup Wizard ---------- */
.setup-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 30px;
  align-items: center;
  justify-content: center;
}
.setup-card {
  width: 100%;
  max-width: 760px;
  background: linear-gradient(180deg, rgba(31,24,20,0.92), rgba(10,8,7,0.96));
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 60px var(--primary-glow);
  overflow: hidden;
}
.setup-header {
  padding: 26px 36px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 18px;
}
.setup-header img {
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 0 12px var(--primary-glow));
}
.setup-header h1 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--light);
  margin-bottom: 4px;
}
.setup-header .sub {
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--primary);
  text-transform: uppercase;
}
.setup-progress {
  display: flex;
  padding: 0 36px;
  margin-top: 18px;
  margin-bottom: 8px;
  gap: 6px;
}
.setup-progress .step {
  flex: 1;
  height: 5px;
  background: var(--dark-3);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
.setup-progress .step.done { background: var(--primary); box-shadow: 0 0 8px var(--primary-glow); }
.setup-progress .step.active {
  background: linear-gradient(90deg, var(--primary) 50%, var(--dark-3) 50%);
}
.setup-step-info {
  padding: 8px 36px 14px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.setup-body {
  padding: 8px 36px 24px;
}
.setup-body h2 {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  color: var(--light);
}
.setup-body .desc {
  color: var(--light-soft);
  margin-bottom: 22px;
  font-size: 14.5px;
  line-height: 1.7;
}
.setup-body .field { margin-bottom: 18px; }
.setup-body label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--light-soft);
  margin-bottom: 8px;
}
.setup-body .info-btn {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255,140,26,0.15);
  border: 1px solid var(--border-strong);
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: all .2s ease;
}
.setup-body .info-btn:hover {
  background: var(--primary);
  color: var(--dark);
  transform: scale(1.15);
}
.info-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 99998;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.info-popover {
  position: fixed;
  background: var(--dark-2);
  border: 2px solid var(--primary);
  border-radius: 12px;
  padding: 0;
  width: 380px;
  max-width: calc(100vw - 20px);
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--light);
  z-index: 99999;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8), 0 0 30px var(--primary-glow);
  overflow: hidden;
  animation: popIn .2s cubic-bezier(.2,.8,.4,1);
}
@keyframes popIn {
  from { opacity: 0; transform: translateY(-8px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.info-popover .ttl {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(255,140,26,0.08);
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.info-popover .ipop-close {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--light);
  font-size: 16px;
  display: grid;
  place-items: center;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: all .15s ease;
  line-height: 1;
}
.info-popover .ipop-close:hover { background: var(--primary); color: var(--dark); }
.info-popover .ipop-content {
  padding: 14px 18px 16px;
  word-wrap: break-word;
}
.info-popover a {
  color: var(--primary);
  text-decoration: underline;
  word-break: break-all;
}
.info-popover code {
  background: rgba(255,140,26,0.1);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--primary-soft);
}
.info-popover b { color: var(--light); }
.info-popover br + br { display: none; } /* çift br'leri sadeleştir */
.setup-body input[type=text],
.setup-body input[type=password],
.setup-body input[type=number],
.setup-body input[type=url],
.setup-body textarea,
.setup-body select {
  width: 100%;
  padding: 13px 16px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--light);
  font-size: 14.5px;
  font-family: inherit;
}
.setup-body input:focus, .setup-body textarea:focus, .setup-body select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,140,26,0.15);
}
.setup-body .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.setup-body .hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
  font-style: italic;
}
.setup-footer {
  padding: 22px 36px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: rgba(10,8,7,0.6);
}
.setup-footer .btn { padding: 12px 26px; font-size: 14px; }
.setup-welcome {
  text-align: center;
  padding: 30px 0;
}
.setup-welcome .big-icon {
  font-size: 64px;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 20px var(--primary-glow));
}
.setup-checklist {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  text-align: left;
}
.setup-checklist .item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,140,26,0.05);
  border-left: 3px solid var(--primary);
  border-radius: 6px;
  font-size: 13.5px;
  color: var(--light-soft);
}
.setup-checklist .item .num {
  width: 26px;
  height: 26px;
  background: var(--primary);
  color: var(--dark);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 12px;
  flex-shrink: 0;
}
.setup-success {
  text-align: center;
  padding: 30px 0;
}
.setup-success .big {
  font-size: 80px;
  margin-bottom: 14px;
  animation: successPop .6s ease-out;
}
@keyframes successPop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}

/* Skip için kullanılan link */
.setup-skip {
  background: none;
  color: var(--muted);
  font-size: 12px;
  text-decoration: underline;
  padding: 6px 10px;
}
.setup-skip:hover { color: var(--primary); }

/* ---------- Page transition (PJAX swap) ---------- */
.pjax-leaving {
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity .25s ease, transform .25s ease;
}
.pjax-entering {
  opacity: 0;
  transform: translateY(14px);
}
.pjax-entered {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .55s cubic-bezier(.2,.65,.3,1), transform .55s cubic-bezier(.2,.65,.3,1);
}

/* ---------- Scroll reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s cubic-bezier(.2,.65,.3,1), transform .8s cubic-bezier(.2,.65,.3,1);
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
/* Yan giriş varyantları */
.reveal-left { transform: translateX(-40px); }
.reveal-left.in-view { transform: translateX(0); }
.reveal-right { transform: translateX(40px); }
.reveal-right.in-view { transform: translateX(0); }
.reveal-zoom { transform: scale(.92); }
.reveal-zoom.in-view { transform: scale(1); }

/* Hareket azalt (kullanıcı tercihi) */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-zoom,
  .pjax-leaving, .pjax-entering, .pjax-entered {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--light);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
  /* Kopyalama / seçme engeli — kullanıcılar içeriği çalamasın */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none; /* iOS Safari long-press menüsü */
}
/* Form alanlarında seçime izin (yoksa input/textarea kullanılamaz) */
input, textarea, select, [contenteditable="true"] {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}
/* Görselleri sürükleyip kaydetmesinler */
img { -webkit-user-drag: none; user-drag: none; pointer-events: auto; }

a { color: inherit; text-decoration: none; transition: color .25s ease; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }
input, textarea, select { font-family: inherit; }

/* ---------- 3D animated background ---------- */
.bg-3d {
  position: fixed;
  inset: 0;
  z-index: -3;
  background: radial-gradient(ellipse at top, #1f1814 0%, #0a0807 60%);
  overflow: hidden;
}
.bg-3d::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,140,26,0.15), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,140,26,0.08), transparent 50%);
  animation: bgPulse 14s ease-in-out infinite alternate;
}
@keyframes bgPulse {
  0%   { transform: scale(1) translate(0,0); opacity: 0.7; }
  100% { transform: scale(1.15) translate(-2%, 2%); opacity: 1; }
}

/* Custom (admin yüklediği) arkaplan görseli için katman */
.bg-image-layer {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.35;
  filter: blur(2px) sepia(0.2) brightness(0.7);
}
.bg-image-layer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,8,7,0.6) 0%, rgba(10,8,7,0.92) 100%);
}

/* Floating particles (toz, kül) */
.particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 4px; height: 4px;
  background: var(--primary-soft);
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 8px var(--primary);
  animation: floatUp 20s linear infinite;
}
@keyframes floatUp {
  0%   { transform: translateY(110vh) translateX(0) scale(0); opacity: 0; }
  10%  { opacity: 0.8; }
  90%  { opacity: 0.4; }
  100% { transform: translateY(-10vh) translateX(80px) scale(1); opacity: 0; }
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 36px;
  background: linear-gradient(180deg, rgba(10,8,7,0.85) 0%, rgba(10,8,7,0.0) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background .3s ease, padding .3s ease;
}
.navbar.scrolled {
  background: rgba(10,8,7,0.95);
  padding: 10px 36px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-brand img {
  width: 48px; height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px var(--primary-glow));
}
.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav-brand-text .name {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--light);
  text-shadow: 0 0 18px var(--primary-glow);
}
.nav-brand-text .sub {
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--primary);
  text-transform: uppercase;
  margin-top: 2px;
}
.player-count {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 22px;
  padding: 6px 14px;
  background: rgba(0,0,0,0.45);
  border: 1px solid var(--border-strong);
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  white-space: nowrap;
}
.player-count .dot {
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 10px #4ade80;
  animation: pulse 1.6s ease-in-out infinite;
}
.player-count.offline .dot { background: #ef4444; box-shadow: 0 0 10px #ef4444; }
@keyframes pulse {
  50% { opacity: 0.4; transform: scale(0.85); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--light-soft);
  border-radius: 6px;
  position: relative;
  transition: all .25s ease;
}
.nav-links a:hover { color: var(--primary); background: rgba(255,140,26,0.06); }
.nav-links a.active { color: var(--primary); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 60%;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transform: translateX(-50%);
  box-shadow: 0 0 8px var(--primary);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.social-btns {
  display: flex;
  gap: 8px;
}
.social-btn {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  transition: all .25s ease;
  color: var(--light-soft);
}
.social-btn:hover {
  background: var(--primary);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 0 20px var(--primary-glow);
}

/* ---------- Language picker ---------- */
.lang-picker {
  position: relative;
}
.lang-current {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  color: var(--light);
  transition: all .2s ease;
}
.lang-current:hover { border-color: var(--primary); color: var(--primary); }
.lang-current .lang-code { letter-spacing: 1px; }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: var(--dark-2);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  box-shadow: var(--shadow-deep);
  overflow: hidden;
  display: none;
  z-index: 200;
}
.lang-menu.open { display: block; }
.lang-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  border-bottom: 1px solid var(--border);
  color: var(--light-soft);
  transition: background .2s ease;
}
.lang-menu button:last-child { border-bottom: none; }
.lang-menu button:hover { background: rgba(255,140,26,0.1); color: var(--primary); }
.lang-menu button.active { background: var(--primary); color: var(--dark); font-weight: 700; }

/* Banlanmış ekranı */
.ban-screen {
  position: fixed;
  inset: 0;
  background: rgba(10,8,7,0.97);
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 30px;
  text-align: center;
}
.ban-screen .box {
  max-width: 540px;
  background: linear-gradient(180deg, rgba(31,24,20,0.9), rgba(10,8,7,0.95));
  border: 2px solid #ef4444;
  border-radius: 14px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(239,68,68,0.3);
}
.ban-screen .box h1 {
  font-family: var(--font-display);
  color: #ef4444;
  font-size: 38px;
  letter-spacing: 3px;
  margin-bottom: 14px;
}
.ban-screen .box p {
  color: var(--light-soft);
  font-size: 15px;
  margin-bottom: 18px;
  line-height: 1.7;
}
.ban-screen .box .reason {
  background: rgba(239,68,68,0.1);
  border-left: 3px solid #ef4444;
  padding: 14px 18px;
  border-radius: 6px;
  margin: 18px 0;
  text-align: left;
  color: var(--light);
}
.ban-screen .box .reason b {
  color: #ef4444;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.btn-login {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  background: var(--gradient-primary);
  color: var(--dark);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 6px;
  border: 1px solid var(--primary-soft);
  transition: all .25s ease;
  box-shadow: 0 4px 15px var(--primary-glow);
}
.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--primary-glow);
}
.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 30px;
  cursor: pointer;
  transition: all .25s ease;
  position: relative;
}
.user-chip:hover { border-color: var(--primary); }
.user-chip img {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  object-fit: cover;
}
.user-chip .uname {
  font-weight: 600;
  font-size: 13px;
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-chip .role-badge {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 10px;
  background: var(--primary);
  color: var(--dark);
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.user-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 230px;
  background: var(--dark-2);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  box-shadow: var(--shadow-deep);
  overflow: hidden;
  display: none;
  z-index: 200;
}
.user-menu.open { display: block; }
.user-menu a, .user-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  transition: background .2s ease;
}
.user-menu a:last-child, .user-menu button:last-child { border-bottom: none; }
.user-menu a:hover, .user-menu button:hover { background: rgba(255,140,26,0.1); color: var(--primary); }

/* Mobile burger */
.nav-burger {
  display: none;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-burger span {
  width: 22px; height: 2px;
  background: var(--light);
  position: relative;
}
.nav-burger span::before, .nav-burger span::after {
  content: '';
  position: absolute;
  left: 0; width: 22px; height: 2px;
  background: var(--light);
}
.nav-burger span::before { top: -6px; }
.nav-burger span::after  { top: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: all .25s ease;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--gradient-primary);
  color: var(--dark);
  border-color: var(--primary-soft);
  box-shadow: 0 6px 20px var(--primary-glow);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px var(--primary-glow);
}
.btn-outline {
  background: transparent;
  color: var(--light);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--dark);
  box-shadow: 0 8px 28px var(--primary-glow);
}
.btn-ghost {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--light);
  padding: 10px 18px;
  font-size: 13px;
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-danger {
  background: #b91c1c;
  color: white;
  padding: 10px 18px;
  font-size: 13px;
  border-radius: 6px;
}
.btn-danger:hover { background: #ef4444; }
.btn-sm { padding: 8px 14px; font-size: 12px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 60px 60px;
  perspective: 1200px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  align-items: center;
}
.hero-content { z-index: 2; }
.hero-slogan {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(255,140,26,0.08);
  border: 1px solid var(--border-strong);
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: slideInLeft .8s ease;
}
.hero-slogan::before {
  content: '★';
  color: var(--primary);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6.5vw, 92px);
  line-height: 0.98;
  letter-spacing: 2px;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #fff 0%, var(--light-soft) 50%, var(--primary) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 60px rgba(255,140,26,0.2);
  animation: slideInLeft 1s ease;
}
.hero p.lead {
  font-size: 17px;
  color: var(--light-soft);
  margin-bottom: 38px;
  max-width: 540px;
  animation: slideInLeft 1.2s ease;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: slideInLeft 1.4s ease;
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

.hero-character {
  position: relative;
  height: 700px;
  transform-style: preserve-3d;
  animation: characterFloat 6s ease-in-out infinite;
}
.hero-character img {
  position: absolute;
  inset: 0;
  margin: auto;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.7)) drop-shadow(0 0 80px rgba(255,140,26,0.2));
  transition: transform .3s ease;
}
.hero-character::before {
  content: '';
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 360px;
  height: 50px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.7), transparent 70%);
  filter: blur(8px);
}
.hero-character::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,140,26,0.15) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  z-index: -1;
  animation: glowPulse 5s ease-in-out infinite alternate;
}
@keyframes characterFloat {
  0%, 100% { transform: translateY(0) rotateY(-3deg); }
  50%      { transform: translateY(-22px) rotateY(3deg); }
}
@keyframes glowPulse {
  0%   { opacity: 0.5; transform: translate(-50%, -50%) scale(0.95); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

/* Hero alt göstergesi */
.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--muted);
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: bounce 2.5s ease-in-out infinite;
}
.scroll-hint::after {
  content: '';
  width: 1px;
  height: 30px;
  background: linear-gradient(180deg, var(--primary), transparent);
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 8px); }
}

/* ---------- Sections ---------- */
.section {
  padding: 100px 60px;
  position: relative;
  max-width: 1500px;
  margin: 0 auto;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: 3px;
  text-align: center;
  margin-bottom: 18px;
  color: var(--light);
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}
.section-subtitle {
  text-align: center;
  color: var(--light-soft);
  max-width: 700px;
  margin: 0 auto 60px;
  font-size: 16px;
}
.section-decor {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 14px;
  width: fit-content;
  color: var(--primary);
}
.section-decor::before, .section-decor::after {
  content: '';
  width: 60px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

/* Stats grid */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  text-align: center;
  padding: 36px 24px;
  background: linear-gradient(180deg, rgba(255,140,26,0.04), rgba(0,0,0,0.4));
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all .3s ease;
}
.stat-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 30px var(--primary-glow);
}
.stat-card .value {
  font-family: var(--font-display);
  font-size: 52px;
  color: var(--primary);
  text-shadow: 0 0 24px var(--primary-glow);
  line-height: 1;
}
.stat-card .label {
  margin-top: 12px;
  font-size: 13px;
  color: var(--light-soft);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  padding: 32px;
  background: linear-gradient(180deg, rgba(31,24,20,0.6), rgba(10,8,7,0.6));
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card .icon {
  font-size: 38px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  color: var(--light);
}
.feature-card p { color: var(--light-soft); font-size: 14px; }

/* About */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 52px);
  margin-bottom: 22px;
  letter-spacing: 2px;
}
.about-text p { color: var(--light-soft); font-size: 16px; line-height: 1.8; }
.about-image {
  position: relative;
  height: 540px;
  perspective: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-image img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.7));
  animation: characterFloat 7s ease-in-out infinite;
}
.about-image::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255,140,26,0.15) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  z-index: -1;
  animation: glowPulse 6s ease-in-out infinite alternate;
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  padding: 80px 60px 30px;
  background: linear-gradient(180deg, rgba(10,8,7,0.4) 0%, var(--dark) 100%);
  border-top: 1px solid var(--border-strong);
  margin-top: 100px;
}
.footer::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  max-width: 1500px;
  margin: 0 auto;
}
.footer-col h4 {
  font-family: var(--font-display);
  letter-spacing: 2px;
  margin-bottom: 18px;
  color: var(--primary);
  font-size: 16px;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a {
  color: var(--light-soft);
  font-size: 14px;
  transition: color .2s ease;
}
.footer-col a:hover { color: var(--primary); }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.footer-brand img { width: 60px; height: 60px; }
.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 2px;
}
.footer-about { color: var(--light-soft); font-size: 14px; max-width: 360px; }
.footer-bottom {
  text-align: center;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 1px;
}

/* ---------- Page (non-home) layout ---------- */
.page {
  padding-top: 130px;
  padding-bottom: 60px;
  min-height: 100vh;
}
.page-header {
  text-align: center;
  padding: 0 60px 40px;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 72px);
  letter-spacing: 3px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.7);
}
.page-header p {
  color: var(--light-soft);
  margin-top: 14px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Teams page ---------- */
.team-banner {
  position: relative;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto 0;
  padding: 0 40px;
}
.team-banner img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,0.7));
}
/* Banner ile cartlar arasında bir ok (pointer) */
.banner-arrow {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 24px solid transparent;
  border-right: 24px solid transparent;
  border-top: 30px solid var(--primary);
  filter: drop-shadow(0 4px 12px var(--primary-glow));
  animation: arrowBounce 2.4s ease-in-out infinite;
}
@keyframes arrowBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-10px); }
}

.teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 26px;
  padding: 60px 40px;
  max-width: 1500px;
  margin: 0 auto;
}
.team-card {
  background: linear-gradient(180deg, rgba(31,24,20,0.7), rgba(10,8,7,0.85));
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: all .3s ease;
  position: relative;
}
.team-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 30px var(--primary-glow);
}
.team-card .team-banner-img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  background: var(--dark-3);
}
.team-card .team-body {
  padding: 18px 22px 22px;
  position: relative;
}
.team-card .team-logo {
  position: absolute;
  top: -42px;
  left: 22px;
  width: 76px; height: 76px;
  border-radius: 50%;
  border: 3px solid var(--primary);
  background: var(--dark);
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
}
.team-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 1.5px;
  margin: 38px 0 8px;
  color: var(--light);
}
.team-card .desc { color: var(--light-soft); font-size: 14px; line-height: 1.6; min-height: 62px; }
.team-card .meta {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.team-card .badge {
  font-size: 11px;
  padding: 4px 10px;
  background: rgba(255,140,26,0.15);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  color: var(--primary);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
}
.team-card .badge.closed { background: rgba(239,68,68,0.15); color: #ef4444; border-color: rgba(239,68,68,0.3); }

/* ---------- Rules page ---------- */
.rules-intro {
  max-width: 900px;
  margin: 0 auto 50px;
  text-align: center;
  padding: 0 60px;
  color: var(--light-soft);
  font-size: 16px;
}
.rules-categories {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.rule-category {
  background: linear-gradient(180deg, rgba(31,24,20,0.7), rgba(10,8,7,0.85));
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.rule-cat-header {
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  background: rgba(255,140,26,0.05);
  border-bottom: 1px solid var(--border);
  transition: background .2s ease;
}
.rule-cat-header:hover { background: rgba(255,140,26,0.1); }
.rule-cat-header .ico {
  font-size: 26px;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  background: var(--dark-3);
  border-radius: 10px;
  border: 1px solid var(--border-strong);
}
.rule-cat-header h3 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 2px;
  flex: 1;
}
.rule-cat-header .arrow {
  font-size: 16px;
  color: var(--primary);
  transition: transform .3s ease;
}
.rule-category.open .rule-cat-header .arrow { transform: rotate(180deg); }
.rule-cat-body {
  padding: 0 28px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
}
.rule-category.open .rule-cat-body {
  padding: 18px 28px 24px;
  max-height: 5000px;
}
.rule-item {
  padding: 14px 0;
  border-bottom: 1px dashed var(--border);
}
.rule-item:last-child { border-bottom: none; }
.rule-item h4 {
  color: var(--primary);
  margin-bottom: 6px;
  font-size: 16px;
  letter-spacing: 0.5px;
}
.rule-item p { color: var(--light-soft); font-size: 14px; line-height: 1.7; }

/* ---------- Rules — Docs Layout (3 sütun) ---------- */
.rules-page .page-header { padding-bottom: 26px; }
.docs-layout {
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  gap: 60px;
  align-items: start;
}
.docs-sidebar, .docs-toc {
  background: linear-gradient(180deg, rgba(31,24,20,0.7), rgba(10,8,7,0.85));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  position: sticky;
  top: 110px;
  max-height: calc(100vh - 130px);
  overflow-y: auto;
}
.docs-sidebar-title {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
}
.docs-sidebar ul, .docs-toc ul { list-style: none; }
.docs-sidebar li, .docs-toc li { margin-bottom: 4px; }

/* SOL — Kategori navbar */
.docs-sidebar button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 7px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--light-soft);
  transition: all .25s ease;
  border-left: 3px solid transparent;
}
.docs-sidebar button:hover {
  background: rgba(255,140,26,0.06);
  color: var(--primary);
}
.docs-sidebar button.active {
  background: rgba(255,140,26,0.12);
  color: var(--primary);
  border-left-color: var(--primary);
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}
.docs-sidebar button .cat-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.docs-sidebar button .cnt {
  margin-left: auto;
  font-size: 11px;
  padding: 2px 8px;
  background: rgba(0,0,0,0.4);
  border-radius: 12px;
  color: var(--light-soft);
  border: 1px solid var(--border);
  font-weight: 700;
}
.docs-sidebar button.active .cnt {
  background: var(--primary);
  color: var(--dark);
  border-color: var(--primary);
}

/* ORTA — Aktif kategori içeriği */
.docs-main {
  background: linear-gradient(180deg, rgba(31,24,20,0.5), rgba(10,8,7,0.7));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 40px;
  min-height: 600px;
}
.docs-cat-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 32px;
  padding-bottom: 22px;
  border-bottom: 2px solid var(--border-strong);
}
.docs-cat-icon {
  font-size: 38px;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  background: rgba(255,140,26,0.1);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  flex-shrink: 0;
}
.docs-cat-header h2 {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 2px;
  color: var(--light);
  margin-bottom: 4px;
}
.docs-cat-meta {
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.docs-rule {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 110px;
  transition: background .4s ease;
  border-radius: 8px;
}
.docs-rule:last-child { border-bottom: none; }
.docs-rule.flash {
  background: rgba(255,140,26,0.08);
  padding-left: 16px;
  padding-right: 16px;
  margin-left: -16px;
  margin-right: -16px;
}
.docs-rule-num {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--primary);
  flex-shrink: 0;
  width: 42px;
  line-height: 1;
  text-shadow: 0 0 12px var(--primary-glow);
}
.docs-rule-body { flex: 1; }
.docs-rule h3 {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 1px;
  color: var(--light);
  margin-bottom: 6px;
}
.docs-rule p {
  color: var(--light-soft);
  font-size: 13px;
  line-height: 1.7;
}

/* SAĞ — TOC */
.docs-toc a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--light-soft);
  transition: all .2s ease;
  border-left: 2px solid transparent;
  line-height: 1.4;
}
.docs-toc a:hover {
  background: rgba(255,140,26,0.05);
  color: var(--primary);
}
.docs-toc a.active {
  border-left-color: var(--primary);
  background: rgba(255,140,26,0.08);
  color: var(--primary);
  font-weight: 600;
}
.docs-toc .toc-num {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 12px;
  flex-shrink: 0;
  min-width: 22px;
}
.docs-toc .toc-title { flex: 1; }

/* Mobile: 2 sütun, sonra tek sütun */
@media (max-width: 1200px) {
  .docs-layout { grid-template-columns: 220px 1fr; }
  .docs-toc { display: none; }
}
@media (max-width: 800px) {
  .docs-layout { grid-template-columns: 1fr; padding: 0 16px; }
  .docs-sidebar {
    position: relative;
    top: 0;
    max-height: none;
    overflow: visible;
  }
  .docs-sidebar ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .docs-sidebar li { margin-bottom: 0; }
  .docs-sidebar button { width: auto; padding: 8px 12px; font-size: 13px; }
  .docs-sidebar button .cnt { display: none; }
  .docs-main { padding: 22px 18px; }
  .docs-cat-header h2 { font-size: 26px; }
  .docs-cat-icon { width: 56px; height: 56px; font-size: 30px; }
}

/* ---------- News ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 26px;
  padding: 0 40px;
  max-width: 1500px;
  margin: 0 auto;
}
.news-card {
  background: linear-gradient(180deg, rgba(31,24,20,0.7), rgba(10,8,7,0.85));
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: all .3s ease;
  position: relative;
}
.news-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 18px 40px rgba(0,0,0,0.5);
}
.news-card .news-img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  background: var(--dark-3);
}
.news-card .news-body { padding: 22px; }
.news-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 1px;
  margin-bottom: 10px;
  color: var(--light);
}
.news-card .news-summary { color: var(--light-soft); font-size: 14px; line-height: 1.6; }
.news-card .news-meta {
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ====================================================
   SUGGESTIONS / İstek-Öneri-Bug Sistemi
==================================================== */
.sg-toolbar {
  max-width: 1300px;
  margin: 0 auto 26px;
  padding: 0 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}
.sg-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}
.sg-filter {
  padding: 10px 16px;
  border-radius: 30px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  color: var(--light-soft);
  transition: all .25s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.sg-filter:hover { color: var(--primary); border-color: var(--border-strong); }
.sg-filter.active {
  background: var(--primary);
  color: var(--dark);
  border-color: var(--primary);
  box-shadow: 0 4px 14px var(--primary-glow);
}
.sg-filter .cnt {
  font-size: 11px;
  padding: 2px 7px;
  background: rgba(0,0,0,0.3);
  border-radius: 10px;
  font-weight: 800;
}
.sg-filter.active .cnt { background: rgba(0,0,0,0.25); }
.sg-sort {
  padding: 10px 14px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--light);
  font-size: 13px;
  font-weight: 600;
}

.sg-grid {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sg-card {
  background: linear-gradient(180deg, rgba(31,24,20,0.7), rgba(10,8,7,0.85));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 26px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  transition: all .25s ease;
  cursor: pointer;
}
.sg-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.sg-like-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 60px;
  padding: 8px 6px;
  background: rgba(255,140,26,0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all .2s ease;
}
.sg-like-col:hover {
  background: rgba(255,140,26,0.12);
  border-color: var(--primary);
}
.sg-like-col.liked {
  background: rgba(255,140,26,0.18);
  border-color: var(--primary);
  color: var(--primary);
}
.sg-like-col .arrow {
  font-size: 18px;
  line-height: 1;
  transition: transform .2s ease;
}
.sg-like-col:hover .arrow,
.sg-like-col.liked .arrow { transform: translateY(-2px); }
.sg-like-col .num {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--primary);
  line-height: 1;
}
.sg-like-col .lbl {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--muted);
  text-transform: uppercase;
}
.sg-body { flex: 1; min-width: 0; }
.sg-row1 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.sg-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 1px;
  color: var(--light);
  margin-bottom: 8px;
  line-height: 1.3;
}
.sg-card .desc {
  color: var(--light-soft);
  font-size: 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sg-meta {
  margin-top: 14px;
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
}
.sg-meta img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border);
}
.sg-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.sg-meta-item .ico { font-size: 14px; }

/* Kategori rozeti */
.sg-cat {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.sg-cat-request    { background: rgba(59,130,246,0.15); color: #60a5fa; border: 1px solid rgba(59,130,246,0.4); }
.sg-cat-suggestion { background: rgba(168,85,247,0.15); color: #c084fc; border: 1px solid rgba(168,85,247,0.4); }
.sg-cat-bug        { background: rgba(239,68,68,0.15); color: #f87171; border: 1px solid rgba(239,68,68,0.4); }

/* Status rozeti — animasyonlu */
.sg-status {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  overflow: hidden;
}
.sg-status .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.sg-status-pending {
  background: rgba(156,163,175,0.15);
  color: #9ca3af;
  border: 1px solid rgba(156,163,175,0.4);
}
.sg-status-pending .dot { background: #9ca3af; }
.sg-status-reviewing {
  background: rgba(59,130,246,0.18);
  color: #60a5fa;
  border: 1px solid rgba(59,130,246,0.5);
}
.sg-status-reviewing .dot { background: #60a5fa; animation: blink 1.2s ease-in-out infinite; }
.sg-status-in_progress {
  background: rgba(255,140,26,0.18);
  color: var(--primary);
  border: 1px solid var(--border-strong);
}
.sg-status-in_progress .dot {
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  animation: pulse 1s ease-in-out infinite;
}
/* Kayan stripe efekti — in_progress için "çalışıyor" hissi */
.sg-status-in_progress::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,140,26,0.18) 50%,
    transparent 100%);
  animation: stripeFlow 2.2s linear infinite;
}
.sg-status-in_progress > * { position: relative; z-index: 1; }
.sg-status-resolved {
  background: rgba(34,197,94,0.18);
  color: #4ade80;
  border: 1px solid rgba(34,197,94,0.5);
  animation: resolvedGlow 3s ease-in-out infinite;
}
.sg-status-resolved .dot { background: #4ade80; box-shadow: 0 0 8px #4ade80; }
.sg-status-rejected {
  background: rgba(239,68,68,0.15);
  color: #f87171;
  border: 1px solid rgba(239,68,68,0.4);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  opacity: 0.85;
}
.sg-status-rejected .dot { background: #f87171; }

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
@keyframes stripeFlow {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
@keyframes resolvedGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(74,222,128,0); }
  50% { box-shadow: 0 0 16px rgba(74,222,128,0.4); }
}

/* Modal — istek detay */
.sg-detail-header {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.sg-detail-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.sg-detail-author img {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid var(--primary);
}
.sg-detail-author .name {
  font-weight: 700;
  font-size: 15px;
  color: var(--light);
}
.sg-detail-author .date {
  font-size: 12px;
  color: var(--muted);
}
.sg-detail-text {
  color: var(--light-soft);
  font-size: 15px;
  line-height: 1.8;
  white-space: pre-wrap;
  margin-bottom: 22px;
}
.sg-admin-note {
  background: rgba(255,140,26,0.08);
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 22px;
}
.sg-admin-note .lbl {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}
.sg-admin-note .txt { color: var(--light); font-size: 14px; line-height: 1.6; }

/* Medya galerisi */
.sg-media {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}
.sg-media-item {
  position: relative;
  height: 140px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--dark-3);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease;
}
.sg-media-item:hover { transform: scale(1.02); border-color: var(--primary); }
.sg-media-item img,
.sg-media-item video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.sg-media-item.video::after {
  content: '▶';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 32px;
  color: white;
  background: rgba(0,0,0,0.4);
  pointer-events: none;
}

/* Lightbox (büyük görüntüleme) */
.sg-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 40px;
}
.sg-lightbox img,
.sg-lightbox video {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: 8px;
}
.sg-lightbox .close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 24px;
  display: grid;
  place-items: center;
}

/* Yorumlar */
.sg-comments {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.sg-comments h4 {
  font-family: var(--font-display);
  letter-spacing: 1.5px;
  color: var(--primary);
  font-size: 16px;
  margin-bottom: 14px;
}
.sg-comment {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--border);
}
.sg-comment:last-child { border-bottom: none; }
.sg-comment img {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.sg-comment-body { flex: 1; min-width: 0; }
.sg-comment-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  margin-bottom: 4px;
}
.sg-comment-meta .name { font-weight: 700; color: var(--light); }
.sg-comment-meta .role-tag {
  font-size: 9px;
  padding: 2px 6px;
  background: var(--primary);
  color: var(--dark);
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.sg-comment-meta .role-tag.newser { background: #60a5fa; }
.sg-comment-meta .date { color: var(--muted); margin-left: auto; }
.sg-comment-meta .delete-btn {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(239,68,68,0.15);
  color: #f87171;
  border: 1px solid rgba(239,68,68,0.3);
  cursor: pointer;
  transition: all .2s ease;
}
.sg-comment-meta .delete-btn:hover { background: #ef4444; color: white; }
.sg-comment-text {
  color: var(--light-soft);
  font-size: 14px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.sg-comment-form {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  align-items: flex-start;
}
.sg-comment-form img {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.sg-comment-form textarea {
  flex: 1;
  min-height: 70px;
  padding: 10px 14px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--light);
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
}
.sg-comment-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

/* Yeni istek formu — medya yükleme alanı */
.sg-media-uploader {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
  margin-top: 8px;
}
.sg-media-thumb {
  position: relative;
  height: 90px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--dark-3);
  border: 1px solid var(--border);
}
.sg-media-thumb img,
.sg-media-thumb video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.sg-media-thumb .remove {
  position: absolute;
  top: 4px; right: 4px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(0,0,0,0.7);
  color: white;
  font-size: 14px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.sg-media-add {
  height: 90px;
  display: grid;
  place-items: center;
  background: rgba(255,140,26,0.05);
  border: 2px dashed var(--border-strong);
  border-radius: 8px;
  color: var(--primary);
  cursor: pointer;
  transition: all .2s ease;
  font-size: 24px;
}
.sg-media-add:hover {
  background: rgba(255,140,26,0.1);
  border-style: solid;
}

/* Status değiştirici (admin) */
.sg-status-changer {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.sg-status-changer button {
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--light-soft);
  transition: all .2s ease;
}
.sg-status-changer button:hover { border-color: var(--primary); color: var(--primary); }
.sg-status-changer button.active {
  background: var(--primary);
  color: var(--dark);
  border-color: var(--primary);
}

@media (max-width: 700px) {
  .sg-toolbar, .sg-grid { padding: 0 16px; }
  .sg-card { flex-direction: column; }
  .sg-like-col { flex-direction: row; min-width: 0; padding: 6px 12px; }
}

/* ---------- Forms ---------- */
.forms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 26px;
  padding: 0 40px;
  max-width: 1300px;
  margin: 0 auto;
}
.form-card {
  background: linear-gradient(180deg, rgba(31,24,20,0.7), rgba(10,8,7,0.85));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  cursor: pointer;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gradient-primary);
  opacity: 0.6;
}
.form-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 30px var(--primary-glow);
}
.form-card .icon {
  font-size: 44px;
  margin-bottom: 14px;
}
.form-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.form-card .desc { color: var(--light-soft); font-size: 14px; }

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  backdrop-filter: blur(8px);
}
.modal-backdrop.open { display: flex; animation: fadeIn .25s ease; }
.modal {
  background: var(--dark-2);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  width: 100%;
  max-width: 720px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--shadow-deep);
  animation: zoomIn .3s ease;
}
.modal.large { max-width: 980px; }
.modal-header {
  padding: 22px 28px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: var(--dark-2);
  z-index: 1;
}
.modal-header h2 {
  font-family: var(--font-display);
  letter-spacing: 1.5px;
  color: var(--light);
}
.modal-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  font-size: 20px;
  transition: all .2s ease;
}
.modal-close:hover { background: var(--primary); color: var(--dark); }
.modal-body { padding: 28px; }
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes zoomIn { from { transform: scale(.92); opacity: 0 } to { transform: scale(1); opacity: 1 } }

/* ---------- Form fields ---------- */
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--light-soft);
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 600;
}
.field label .req { color: var(--primary); margin-left: 4px; }
.field input[type=text], .field input[type=email], .field input[type=number], .field input[type=url],
.field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--light);
  font-size: 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 110px; resize: vertical; font-family: inherit; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,140,26,0.15);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* ---------- Toast ---------- */
.toast-wrap {
  position: fixed;
  top: 90px;
  right: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: var(--dark-2);
  border-left: 3px solid var(--primary);
  padding: 14px 22px;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  min-width: 260px;
  max-width: 360px;
  animation: slideInRight .3s ease;
}
.toast.success { border-left-color: #4ade80; }
.toast.error   { border-left-color: #ef4444; }
@keyframes slideInRight {
  from { transform: translateX(120%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

/* ---------- Music widget ---------- */
.music-widget {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  background: rgba(10,8,7,0.92);
  border: 1px solid var(--border-strong);
  border-radius: 60px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-deep), 0 0 24px rgba(255,140,26,0.18);
  transition: all .35s cubic-bezier(.4,0,.2,1);
  max-width: 380px;
}
.music-widget .music-logo {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
  cursor: pointer;
  flex-shrink: 0;
  transition: transform .4s ease;
}
.music-widget.playing .music-logo {
  animation: spin 12s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.music-widget .music-info {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
  flex: 1;
}
.music-widget .music-label {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 2px;
}
.music-widget .music-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}
.music-widget button {
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: var(--dark);
  font-size: 14px;
  flex-shrink: 0;
  transition: transform .2s ease, background .2s ease;
}
.music-widget button:hover { transform: scale(1.08); background: var(--primary-soft); }
.music-widget #musicCollapse {
  background: rgba(255,255,255,0.08);
  color: var(--light);
  width: 26px; height: 26px;
  font-size: 16px;
  font-weight: 800;
}
.music-widget .music-vol-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 30px;
  flex-shrink: 0;
}
.music-widget .music-vol-icon {
  font-size: 14px;
  user-select: none;
  line-height: 1;
}
.music-widget input[type=range] {
  width: 90px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  cursor: pointer;
  outline: none;
}
.music-widget input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: 2px solid var(--dark);
  box-shadow: 0 2px 6px rgba(0,0,0,0.5), 0 0 8px var(--primary-glow);
  transition: transform .15s ease;
}
.music-widget input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.25); }
.music-widget input[type=range]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: 2px solid var(--dark);
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}
/* Muted veya tıklama bekleyen durumlar — kullanıcı sesi açsın diye dikkat çek */
.music-widget.muted,
.music-widget.awaiting-click {
  border-color: var(--primary);
  box-shadow: var(--shadow-deep), 0 0 36px var(--primary-glow);
  animation: mutedPulse 1.4s ease-in-out infinite;
}
.music-widget.muted .music-label::before,
.music-widget.awaiting-click .music-label::before {
  content: attr(data-click-msg);
  color: var(--primary);
}
.music-widget.muted .music-label,
.music-widget.awaiting-click .music-label {
  color: var(--primary);
}
.music-widget.awaiting-click #musicToggle {
  animation: btnPulse 1.2s ease-in-out infinite;
}
@keyframes mutedPulse {
  0%, 100% { box-shadow: var(--shadow-deep), 0 0 22px var(--primary-glow); transform: translateY(0); }
  50%      { box-shadow: var(--shadow-deep), 0 0 50px var(--primary-glow); transform: translateY(-2px); }
}
@keyframes btnPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.18); box-shadow: 0 0 18px var(--primary); }
}

/* Collapsed durum — sadece logo görünür */
.music-widget.collapsed {
  padding: 6px;
  gap: 0;
  max-width: 56px;
}
.music-widget.collapsed .music-info,
.music-widget.collapsed #musicToggle,
.music-widget.collapsed .music-vol-wrap,
.music-widget.collapsed #musicCollapse { display: none; }
.music-widget.collapsed .music-logo {
  width: 44px; height: 44px;
}

/* ---------- Admin panel ---------- */
.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 30px;
  padding: 0 40px;
  max-width: 1500px;
  margin: 0 auto;
}
.admin-sidebar {
  background: linear-gradient(180deg, rgba(31,24,20,0.7), rgba(10,8,7,0.85));
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  position: sticky;
  top: 110px;
  height: fit-content;
}
.admin-sidebar h4 {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--primary);
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.admin-sidebar ul { list-style: none; }
.admin-sidebar li button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  color: var(--light-soft);
  transition: all .2s ease;
}
.admin-sidebar li button:hover { background: rgba(255,140,26,0.08); color: var(--primary); }
.admin-sidebar li button.active { background: var(--primary); color: var(--dark); }
.admin-sidebar li.owner-only button::after {
  content: '⭐';
  margin-left: auto;
}
.admin-content {
  background: linear-gradient(180deg, rgba(31,24,20,0.7), rgba(10,8,7,0.85));
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
  min-height: 600px;
}
.admin-section h2 {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 2px;
  margin-bottom: 18px;
  color: var(--primary);
}
.admin-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.admin-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.admin-row .grow { flex: 1; }
.admin-row .row-title { font-weight: 700; font-size: 15px; color: var(--light); }
.admin-row .row-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.admin-row .actions { display: flex; gap: 8px; }
.permission-warning {
  padding: 16px;
  background: rgba(239,68,68,0.1);
  border-left: 3px solid #ef4444;
  border-radius: 8px;
  color: #fca5a5;
  font-size: 14px;
  margin-bottom: 20px;
}
.permission-info {
  padding: 16px;
  background: rgba(255,140,26,0.08);
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  color: var(--light-soft);
  font-size: 14px;
  margin-bottom: 20px;
}

/* ---------- Profile page ---------- */
.profile-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px;
  background: linear-gradient(180deg, rgba(31,24,20,0.7), rgba(10,8,7,0.85));
  border: 1px solid var(--border);
  border-radius: 14px;
  text-align: center;
}
.profile-avatar-wrap {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 24px;
}
.profile-avatar-wrap img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary);
  box-shadow: 0 0 40px var(--primary-glow);
}
.profile-avatar-wrap .upload-overlay {
  position: absolute;
  bottom: 4px; right: 4px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--dark);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  font-size: 18px;
}
.profile-card h2 {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.profile-meta {
  color: var(--light-soft);
  font-size: 14px;
  display: grid;
  gap: 6px;
  margin: 18px auto;
  text-align: left;
  max-width: 420px;
}
.profile-meta div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--border); }
.profile-meta b { color: var(--primary); font-weight: 600; }

/* ---------- Staff (yetkili ekip) ---------- */
.staff-cat {
  margin-bottom: 50px;
}
.staff-cat h2 {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 14px;
}
.staff-cat h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
  max-width: 1300px;
  margin: 0 auto;
}
.staff-member {
  text-align: center;
  padding: 22px;
  background: linear-gradient(180deg, rgba(255,140,26,0.04), rgba(0,0,0,0.4));
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all .3s ease;
}
.staff-member:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 14px 40px rgba(0,0,0,0.5);
}
.staff-member img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 14px;
  object-fit: cover;
  border: 3px solid var(--primary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.staff-member .sname {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.staff-member .srole {
  font-size: 12px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-links, .player-count { display: none; }
  .nav-burger { display: flex; }
  .nav-links.mobile-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--dark-2);
    padding: 16px;
    border-bottom: 1px solid var(--border);
  }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .hero-character { height: 480px; }
  .hero { padding: 130px 30px 40px; }
  .section { padding: 70px 30px; }
  .features { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; }
}
@media (max-width: 600px) {
  .navbar { padding: 12px 18px; }
  .features, .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero h1 { font-size: 42px; }
  .nav-brand-text .name { font-size: 16px; }
  .music-widget input[type=range] { width: 60px; }
}
