@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;600&family=Cinzel:wght@600;700;800;900&family=Rye&display=swap');

:root {
  --bg-deep: #07080c;
  --bg-body: #0d0f16;
  --bg-surface: #121520;
  --bg-elevated: #171b28;
  --bg-card-dark: #090a0f;
  --border-subtle: rgba(255, 255, 255, 0.075);
  --border-hover: rgba(168, 85, 247, 0.5);
  --accent: #9333ea;
  --accent-bright: #a855f7;
  --accent-glow: rgba(168, 85, 247, 0.35);
  --accent-grad: linear-gradient(135deg, #9333ea 0%, #7e22ce 50%, #a855f7 100%);
  --verified-blue: #38bdf8;
  --server-green: #10b981;
  --pending-amber: #f59e0b;
  --danger-red: #f43f5e;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #8b9bb4;
  --text-dim: #5b6982;
}

body[data-theme="crimson"] {
  --accent: #e11d48;
  --accent-bright: #f43f5e;
  --accent-glow: rgba(244, 63, 94, 0.35);
  --accent-grad: linear-gradient(135deg, #be123c 0%, #e11d48 50%, #f43f5e 100%);
  --border-hover: rgba(244, 63, 94, 0.45);
}

body[data-theme="gold"] {
  --accent: #d97706;
  --accent-bright: #f59e0b;
  --accent-glow: rgba(245, 158, 11, 0.35);
  --accent-grad: linear-gradient(135deg, #b45309 0%, #d97706 50%, #f59e0b 100%);
  --border-hover: rgba(245, 158, 11, 0.45);
}

/* =========================================================
   RDR2 / VAHŞİ BATI (WILD WEST OUTLAW) SPECIAL THEME
   ========================================================= */
body[data-theme="rdr2"] {
  --bg-deep: #0a0504;
  --bg-body: #0e0807;
  --bg-surface: #150d0a;
  --bg-elevated: #1d120d;
  --bg-card-dark: #0d0706;
  --border-subtle: rgba(220, 38, 38, 0.22);
  --border-hover: rgba(239, 68, 68, 0.65);
  --accent: #dc2626;
  --accent-bright: #ef4444;
  --accent-glow: rgba(220, 38, 38, 0.5);
  --accent-grad: linear-gradient(135deg, #7f1d1d 0%, #b91c1c 50%, #dc2626 100%);
  --danger-red: #ef4444;
  --text-primary: #fff7ed;
  --text-secondary: #fed7aa;
  --text-muted: #b09786;
  --text-dim: #786252;

  background-color: #0b0605;
  background-image: 
    radial-gradient(circle at 50% -80px, rgba(185, 28, 28, 0.32) 0%, rgba(14, 8, 7, 0.96) 65%),
    radial-gradient(ellipse at 85% 20%, rgba(217, 119, 6, 0.14) 0%, transparent 50%),
    url('https://images.unsplash.com/photo-1509198397868-475647b2a1e5?auto=format&fit=crop&w=1920&q=80');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

body[data-theme="rdr2"] .top-nav {
  background: rgba(14, 8, 7, 0.94);
  border-bottom: 2px solid rgba(220, 38, 38, 0.38);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(239, 68, 68, 0.2);
}

body[data-theme="rdr2"] .logo-text,
body[data-theme="rdr2"] .section-header-title,
body[data-theme="rdr2"] h1,
body[data-theme="rdr2"] h2,
body[data-theme="rdr2"] h3 {
  font-family: 'Cinzel', 'Outfit', serif;
  letter-spacing: 0.5px;
}

body[data-theme="rdr2"] .logo-text {
  color: #fff;
  text-shadow: 0 0 18px rgba(220, 38, 38, 0.7), 0 2px 4px rgba(0, 0, 0, 0.9);
}

body[data-theme="rdr2"] .logo-badge {
  background: linear-gradient(135deg, #7f1d1d, #dc2626) !important;
  color: #fff !important;
  border-color: rgba(254, 202, 202, 0.3) !important;
  box-shadow: 0 0 14px rgba(220, 38, 38, 0.5) !important;
}

body[data-theme="rdr2"] .btn-primary-purple {
  background: linear-gradient(135deg, #991b1b 0%, #dc2626 50%, #b91c1c 100%) !important;
  border: 1px solid rgba(254, 202, 202, 0.3) !important;
  box-shadow: 0 4px 18px rgba(185, 28, 28, 0.45) !important;
  color: #fff !important;
}
body[data-theme="rdr2"] .btn-primary-purple:hover {
  filter: brightness(1.15) !important;
  box-shadow: 0 6px 24px rgba(220, 38, 38, 0.65) !important;
}

body[data-theme="rdr2"] .forum-category-header,
body[data-theme="rdr2"] .section-header {
  background: linear-gradient(90deg, rgba(127, 29, 29, 0.45) 0%, rgba(20, 13, 10, 0.9) 100%) !important;
  border-left: 4px solid #dc2626 !important;
  border-bottom: 1px solid rgba(220, 38, 38, 0.25) !important;
}

body[data-theme="rdr2"] .carbon-box,
body[data-theme="rdr2"] .welcome-hero-card {
  background: linear-gradient(135deg, rgba(26, 17, 13, 0.95), rgba(15, 9, 7, 0.98)) !important;
  border: 1px solid rgba(220, 38, 38, 0.35) !important;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(185, 28, 28, 0.12) !important;
}

body[data-theme="rdr2"] .callout-card.purple-theme {
  background: linear-gradient(135deg, rgba(127, 29, 29, 0.35), rgba(20, 13, 10, 0.9)) !important;
  border: 1px solid rgba(220, 38, 38, 0.4) !important;
}
body[data-theme="rdr2"] .callout-card.purple-theme .callout-icon {
  background: linear-gradient(135deg, #7f1d1d, #dc2626) !important;
  color: #fff !important;
  box-shadow: 0 0 16px rgba(220, 38, 38, 0.5) !important;
}

body[data-theme="rdr2"] .callout-card.pink-theme {
  background: linear-gradient(135deg, rgba(180, 83, 9, 0.25), rgba(20, 13, 10, 0.9)) !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
}
body[data-theme="rdr2"] .callout-card.pink-theme .callout-icon {
  background: linear-gradient(135deg, #b45309, #d97706) !important;
  color: #fff !important;
  box-shadow: 0 0 16px rgba(217, 119, 6, 0.4) !important;
}

body[data-theme="rdr2"] .thread-item {
  background: rgba(18, 11, 8, 0.8) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}
body[data-theme="rdr2"] .thread-item:hover {
  background: rgba(28, 17, 13, 0.9) !important;
  border-left: 3px solid #dc2626 !important;
}

body[data-theme="rdr2"] .thread-avatar-wrap {
  border-color: rgba(220, 38, 38, 0.4) !important;
}

body[data-theme="rdr2"] .modal-box {
  background: #140d0b !important;
  border: 2px solid rgba(220, 38, 38, 0.5) !important;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.95), 0 0 35px rgba(185, 28, 28, 0.3) !important;
}

body[data-theme="rdr2"] .util-btn {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(220, 38, 38, 0.2) !important;
  color: #fed7aa !important;
}
body[data-theme="rdr2"] .util-btn:hover {
  border-color: #dc2626 !important;
  color: #fff !important;
  background: rgba(220, 38, 38, 0.12) !important;
}

body[data-theme="rdr2"] .stat-card {
  background: rgba(18, 11, 8, 0.85) !important;
  border: 1px solid rgba(220, 38, 38, 0.25) !important;
}

body[data-theme="rdr2"] .admin-sidebar {
  background: #100a08 !important;
  border-right: 1px solid rgba(220, 38, 38, 0.25) !important;
}
body[data-theme="rdr2"] .admin-nav-item.active {
  background: linear-gradient(90deg, rgba(185, 28, 28, 0.25), transparent) !important;
  border-left-color: #dc2626 !important;
  color: #fff !important;
}

body[data-theme="rdr2"] .form-input,
body[data-theme="rdr2"] .form-textarea,
body[data-theme="rdr2"] .form-select {
  background: #0d0706 !important;
  border-color: rgba(220, 38, 38, 0.25) !important;
  color: #fff7ed !important;
}
body[data-theme="rdr2"] .form-input:focus,
body[data-theme="rdr2"] .form-textarea:focus,
body[data-theme="rdr2"] .form-select:focus {
  border-color: #dc2626 !important;
  box-shadow: 0 0 12px rgba(220, 38, 38, 0.35) !important;
}

body[data-theme="rdr2"] .custom-table th {
  background: #180f0b !important;
  border-bottom: 2px solid rgba(220, 38, 38, 0.35) !important;
  color: #fed7aa !important;
}
body[data-theme="rdr2"] .custom-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

body[data-theme="rdr2"] .profile-header-card {
  border-color: rgba(220, 38, 38, 0.3) !important;
  background: #140d0b !important;
}

/* =========================================================
   YILBAŞI & KAR TEMASI (NEW YEAR / WINTER WONDERLAND)
   ========================================================= */
body[data-theme="newyear"] {
  --bg-deep: #050a14;
  --bg-body: #070e1c;
  --bg-surface: #0c162c;
  --bg-elevated: #11203d;
  --bg-card-dark: #070c17;
  --border-subtle: rgba(56, 189, 248, 0.22);
  --border-hover: rgba(56, 189, 248, 0.65);
  --accent: #0284c7;
  --accent-bright: #38bdf8;
  --accent-glow: rgba(56, 189, 248, 0.45);
  --accent-grad: linear-gradient(135deg, #0369a1 0%, #0284c7 50%, #38bdf8 100%);
  --text-primary: #f0f9ff;
  --text-secondary: #bae6fd;
  --text-muted: #7dd3fc;
  --text-dim: #477299;

  background-color: #060b17;
  background-image: 
    radial-gradient(circle at 50% -60px, rgba(56, 189, 248, 0.25) 0%, rgba(7, 14, 28, 0.96) 65%),
    radial-gradient(ellipse at 80% 20%, rgba(244, 63, 94, 0.12) 0%, transparent 50%),
    url('https://images.unsplash.com/photo-1542601906990-b4d3fb778b09?auto=format&fit=crop&w=1920&q=80');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* Yılbaşı Kar Yağışı Efekti */
body[data-theme="newyear"]::before {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 99999;
  background-image: 
    radial-gradient(4px 4px at 25px 35px, #ffffff, rgba(255,255,255,0)),
    radial-gradient(3px 3px at 75px 85px, rgba(255,255,255,0.9), rgba(255,255,255,0)),
    radial-gradient(5px 5px at 130px 45px, rgba(224,242,254,0.85), rgba(255,255,255,0)),
    radial-gradient(3px 3px at 200px 130px, #ffffff, rgba(255,255,255,0)),
    radial-gradient(4px 4px at 270px 90px, rgba(255,255,255,0.9), rgba(255,255,255,0)),
    radial-gradient(6px 6px at 340px 170px, rgba(186,230,253,0.75), rgba(255,255,255,0));
  background-size: 380px 380px;
  animation: newYearSnowfall 12s linear infinite;
  opacity: 0.8;
}

@keyframes newYearSnowfall {
  0% { transform: translateY(-380px); }
  100% { transform: translateY(100vh); }
}

body[data-theme="newyear"] .top-nav {
  background: rgba(7, 14, 28, 0.94);
  border-bottom: 2px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(56, 189, 248, 0.2);
}

body[data-theme="newyear"] .logo-text {
  text-shadow: 0 0 16px rgba(56, 189, 248, 0.7), 0 2px 4px rgba(0, 0, 0, 0.9);
}

body[data-theme="newyear"] .logo-badge {
  background: linear-gradient(135deg, #0284c7, #38bdf8) !important;
  color: #fff !important;
  border-color: rgba(186, 230, 253, 0.4) !important;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.5) !important;
}

body[data-theme="newyear"] .btn-primary-purple {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 50%, #0284c7 100%) !important;
  border: 1px solid rgba(186, 230, 253, 0.35) !important;
  box-shadow: 0 4px 18px rgba(2, 132, 199, 0.45) !important;
  color: #fff !important;
}
body[data-theme="newyear"] .btn-primary-purple:hover {
  filter: brightness(1.15) !important;
  box-shadow: 0 6px 24px rgba(56, 189, 248, 0.65) !important;
}

body[data-theme="newyear"] .forum-category-header,
body[data-theme="newyear"] .section-header {
  background: linear-gradient(90deg, rgba(2, 132, 199, 0.35) 0%, rgba(12, 22, 44, 0.9) 100%) !important;
  border-left: 4px solid #38bdf8 !important;
  border-bottom: 1px solid rgba(56, 189, 248, 0.25) !important;
}

body[data-theme="newyear"] .carbon-box,
body[data-theme="newyear"] .welcome-hero-card {
  background: linear-gradient(135deg, rgba(17, 32, 61, 0.92), rgba(8, 15, 30, 0.96)) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(56, 189, 248, 0.1) !important;
}

body[data-theme="newyear"] .callout-card.purple-theme {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.3), rgba(12, 22, 44, 0.9)) !important;
  border: 1px solid rgba(56, 189, 248, 0.4) !important;
}
body[data-theme="newyear"] .callout-card.purple-theme .callout-icon {
  background: linear-gradient(135deg, #0284c7, #38bdf8) !important;
  color: #fff !important;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.5) !important;
}

body[data-theme="newyear"] .callout-card.pink-theme {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.25), rgba(12, 22, 44, 0.9)) !important;
  border: 1px solid rgba(244, 63, 94, 0.35) !important;
}
body[data-theme="newyear"] .callout-card.pink-theme .callout-icon {
  background: linear-gradient(135deg, #e11d48, #f43f5e) !important;
  color: #fff !important;
  box-shadow: 0 0 16px rgba(244, 63, 94, 0.5) !important;
}

body[data-theme="newyear"] .thread-item {
  background: rgba(11, 20, 39, 0.8) !important;
}
body[data-theme="newyear"] .thread-item:hover {
  background: rgba(17, 32, 61, 0.9) !important;
  border-left: 3px solid #38bdf8 !important;
}

body[data-theme="newyear"] .modal-box {
  background: #0c162c !important;
  border: 2px solid rgba(56, 189, 248, 0.5) !important;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.95), 0 0 35px rgba(56, 189, 248, 0.3) !important;
}

body[data-theme="newyear"] .util-btn {
  border-color: rgba(56, 189, 248, 0.22) !important;
  color: #bae6fd !important;
}
body[data-theme="newyear"] .util-btn:hover {
  border-color: #38bdf8 !important;
  color: #fff !important;
  background: rgba(56, 189, 248, 0.12) !important;
}

body[data-theme="newyear"] .admin-sidebar {
  background: #080f1d !important;
  border-right: 1px solid rgba(56, 189, 248, 0.25) !important;
}
body[data-theme="newyear"] .admin-nav-item.active {
  background: linear-gradient(90deg, rgba(2, 132, 199, 0.25), transparent) !important;
  border-left-color: #38bdf8 !important;
  color: #fff !important;
}

/* =========================================================
   HALLOWEEN / CADILAR BAYRAMI (SPOOKY PUMPKIN THEME)
   ========================================================= */
body[data-theme="halloween"] {
  --bg-deep: #070402;
  --bg-body: #0b0704;
  --bg-surface: #130c07;
  --bg-elevated: #1a100a;
  --bg-card-dark: #090503;
  --border-subtle: rgba(249, 115, 22, 0.24);
  --border-hover: rgba(249, 115, 22, 0.65);
  --accent: #ea580c;
  --accent-bright: #f97316;
  --accent-glow: rgba(249, 115, 22, 0.5);
  --accent-grad: linear-gradient(135deg, #c2410c 0%, #ea580c 50%, #f97316 100%);
  --text-primary: #fff7ed;
  --text-secondary: #fed7aa;
  --text-muted: #fdba74;
  --text-dim: #7c4824;

  background-color: #080503;
  background-image: 
    radial-gradient(circle at 50% -70px, rgba(234, 88, 12, 0.3) 0%, rgba(11, 7, 4, 0.96) 65%),
    radial-gradient(ellipse at 80% 20%, rgba(168, 85, 247, 0.14) 0%, transparent 50%),
    url('https://images.unsplash.com/photo-1508739773434-c26b3d09e071?auto=format&fit=crop&w=1920&q=80');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* Halloween Gece Parıltısı / Uçuşan Ateş Böcekleri */
body[data-theme="halloween"]::before {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 99999;
  background-image:
    radial-gradient(3px 3px at 40px 70px, rgba(249, 115, 22, 0.8), rgba(0,0,0,0)),
    radial-gradient(4px 4px at 160px 180px, rgba(234, 88, 12, 0.7), rgba(0,0,0,0)),
    radial-gradient(2px 2px at 290px 50px, rgba(251, 146, 60, 0.85), rgba(0,0,0,0)),
    radial-gradient(3px 3px at 380px 220px, rgba(168, 85, 247, 0.75), rgba(0,0,0,0));
  background-size: 360px 360px;
  animation: halloweenFloatingGlow 14s ease-in-out infinite alternate;
  opacity: 0.65;
}

@keyframes halloweenFloatingGlow {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.04); }
  100% { transform: translateY(-60px) scale(1); }
}

body[data-theme="halloween"] .top-nav {
  background: rgba(11, 7, 4, 0.94);
  border-bottom: 2px solid rgba(249, 115, 22, 0.38);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(249, 115, 22, 0.2);
}

body[data-theme="halloween"] .logo-text {
  text-shadow: 0 0 18px rgba(249, 115, 22, 0.7), 0 2px 4px rgba(0, 0, 0, 0.9);
}

body[data-theme="halloween"] .logo-badge {
  background: linear-gradient(135deg, #c2410c, #f97316) !important;
  color: #fff !important;
  border-color: rgba(254, 215, 170, 0.4) !important;
  box-shadow: 0 0 14px rgba(249, 115, 22, 0.5) !important;
}

body[data-theme="halloween"] .btn-primary-purple {
  background: linear-gradient(135deg, #c2410c 0%, #ea580c 50%, #f97316 100%) !important;
  border: 1px solid rgba(254, 215, 170, 0.3) !important;
  box-shadow: 0 4px 18px rgba(234, 88, 12, 0.45) !important;
  color: #fff !important;
}
body[data-theme="halloween"] .btn-primary-purple:hover {
  filter: brightness(1.15) !important;
  box-shadow: 0 6px 24px rgba(249, 115, 22, 0.65) !important;
}

body[data-theme="halloween"] .forum-category-header,
body[data-theme="halloween"] .section-header {
  background: linear-gradient(90deg, rgba(194, 65, 12, 0.45) 0%, rgba(19, 12, 7, 0.9) 100%) !important;
  border-left: 4px solid #f97316 !important;
  border-bottom: 1px solid rgba(249, 115, 22, 0.25) !important;
}

body[data-theme="halloween"] .carbon-box,
body[data-theme="halloween"] .welcome-hero-card {
  background: linear-gradient(135deg, rgba(26, 16, 10, 0.95), rgba(14, 9, 5, 0.98)) !important;
  border: 1px solid rgba(249, 115, 22, 0.35) !important;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(234, 88, 12, 0.12) !important;
}

body[data-theme="halloween"] .callout-card.purple-theme {
  background: linear-gradient(135deg, rgba(194, 65, 12, 0.35), rgba(19, 12, 7, 0.9)) !important;
  border: 1px solid rgba(249, 115, 22, 0.4) !important;
}
body[data-theme="halloween"] .callout-card.purple-theme .callout-icon {
  background: linear-gradient(135deg, #c2410c, #f97316) !important;
  color: #fff !important;
  box-shadow: 0 0 16px rgba(249, 115, 22, 0.5) !important;
}

body[data-theme="halloween"] .callout-card.pink-theme {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.3), rgba(19, 12, 7, 0.9)) !important;
  border: 1px solid rgba(168, 85, 247, 0.35) !important;
}
body[data-theme="halloween"] .callout-card.pink-theme .callout-icon {
  background: linear-gradient(135deg, #7e22ce, #9333ea) !important;
  color: #fff !important;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.45) !important;
}

body[data-theme="halloween"] .thread-item {
  background: rgba(16, 10, 6, 0.8) !important;
}
body[data-theme="halloween"] .thread-item:hover {
  background: rgba(26, 16, 10, 0.9) !important;
  border-left: 3px solid #f97316 !important;
}

body[data-theme="halloween"] .modal-box {
  background: #130c07 !important;
  border: 2px solid rgba(249, 115, 22, 0.5) !important;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.95), 0 0 35px rgba(234, 88, 12, 0.3) !important;
}

body[data-theme="halloween"] .util-btn {
  border-color: rgba(249, 115, 22, 0.22) !important;
  color: #fed7aa !important;
}
body[data-theme="halloween"] .util-btn:hover {
  border-color: #f97316 !important;
  color: #fff !important;
  background: rgba(249, 115, 22, 0.12) !important;
}

body[data-theme="halloween"] .admin-sidebar {
  background: #0d0805 !important;
  border-right: 1px solid rgba(249, 115, 22, 0.25) !important;
}
body[data-theme="halloween"] .admin-nav-item.active {
  background: linear-gradient(90deg, rgba(234, 88, 12, 0.25), transparent) !important;
  border-left-color: #f97316 !important;
  color: #fff !important;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

button, input, select, textarea {
  font-family: inherit;
}

button {
  background: transparent;
  color: inherit;
  border: none;
  cursor: pointer;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: #232838;
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-bright);
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  padding-bottom: 80px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

button, input, select, textarea {
  font-family: inherit;
}

/* GENEROUS SPACIOUS CONTAINER (No more cramped feeling!) */
.container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 30px;
}

/* ============================================================================
   1. TOP UTILITY BAR (Sticky, Glassmorphic & Spacious)
   ============================================================================ */
.top-utility-bar {
  background: rgba(7, 8, 12, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  height: 48px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.top-utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.top-status-left {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 500;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 12px #10b981;
  display: inline-block;
  margin-right: 8px;
}

.utility-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.util-btn {
  background: #141824;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  padding: 7px 15px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.util-btn:hover {
  background: #1e2436;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.util-btn.admin-trigger {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.32), rgba(244, 63, 94, 0.25));
  border-color: rgba(168, 85, 247, 0.6);
  color: #f3e8ff;
}

.util-btn.admin-trigger:hover {
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.45);
}

.badge-counter {
  background: var(--danger-red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 99px;
  line-height: 1.3;
}

/* ============================================================================
   2. HEADER & NAVIGATION BAR (Spacious & Crisp)
   ============================================================================ */
.main-header {
  background:
    radial-gradient(ellipse 75% 120% at 50% 0%, var(--accent-glow) 0%, rgba(9, 10, 15, 0) 70%),
    #07080c;
  padding: 24px 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 13px;
  cursor: pointer;
  user-select: none;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--accent-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 19px;
  box-shadow: 0 6px 20px var(--accent-glow);
}

.logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 29px;
  font-weight: 900;
  letter-spacing: 1.2px;
  color: #ffffff;
  display: flex;
  align-items: center;
  text-transform: uppercase;
}

.logo-text span.accent {
  background: linear-gradient(90deg, #c084fc, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-item {
  background: rgba(18, 22, 32, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #cbd5e1;
  padding: 10px 18px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-item:hover {
  background: #1c2234;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
}

.nav-item.active {
  background: #191e2e;
  color: #ffffff;
  border-color: var(--accent-bright);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

/* ============================================================================
   3. HERO ZONE & CARBON-DIAMOND WELCOME CARDS (Wide, Luxury, Spacious)
   ============================================================================ */
.hero-zone {
  position: relative;
  background:
    radial-gradient(ellipse 70% 95% at 50% 45%, rgba(147, 51, 234, 0.26) 0%, rgba(9, 10, 15, 0) 72%),
    #07080c;
  padding: 24px 0 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.carbon-box {
  position: relative;
  background-color: #08090e;
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, 0.035) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.035) 75%, rgba(255, 255, 255, 0.035)),
    linear-gradient(45deg, rgba(255, 255, 255, 0.035) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.035) 75%, rgba(255, 255, 255, 0.035));
  background-size: 22px 22px;
  background-position: 0 0, 11px 11px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 36px 44px;
  text-align: center;
  margin-bottom: 20px;
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.72),
    0 0 50px rgba(147, 51, 234, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.carbon-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.1), transparent 65%);
  pointer-events: none;
}

.carbon-box > * {
  position: relative;
  z-index: 1;
}

.carbon-box h1,
.carbon-box h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.carbon-box p {
  font-size: 14px;
  color: #cbd5e1;
  max-width: 860px;
  margin: 0 auto;
  line-height: 1.7;
}

.dual-cta-wrapper {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(90deg, #9333ea 0%, #a855f7 100%);
  border-radius: 9px;
  margin-top: 24px;
  position: relative;
  box-shadow: 0 8px 28px rgba(147, 51, 234, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.dual-cta-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 28px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: background 0.18s;
}

.dual-cta-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.dual-cta-sep {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #07080c;
  color: #e2e8f0;
  font-size: 11.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12);
}

/* ============================================================================
   4. SPONSORED 2-COLUMN BANNER GRID (Spacious, 16px Gaps)
   ============================================================================ */
.banners-section {
  padding: 26px 0 16px;
}

.banners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.banner-item {
  position: relative;
  min-height: 110px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 22px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  background-size: cover;
  background-position: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.38);
}

.banner-item:hover {
  transform: translateY(-2px);
  border-color: var(--accent-bright);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55), 0 0 24px rgba(168, 85, 247, 0.22);
}

.banner-item.span-2 {
  grid-column: span 2;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 8, 12, 0.94) 0%, rgba(7, 8, 12, 0.72) 60%, rgba(7, 8, 12, 0.94) 100%);
  z-index: 0;
}

.banner-item.light-mode .banner-overlay {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(241, 245, 249, 0.92) 100%);
}

.banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.banner-top-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.banner-brand-pill {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
}

.banner-item.light-mode .banner-brand-pill {
  color: #0f172a;
  background: rgba(15, 23, 42, 0.08);
  border-color: rgba(15, 23, 42, 0.14);
}

.banner-badge-pill {
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
}

.banner-content-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.banner-copy {
  flex: 1;
  min-width: 0;
}

.banner-copy h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.2px;
  line-height: 1.3;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.banner-item.light-mode .banner-copy h4 {
  color: #0f172a;
}

.banner-copy p {
  font-size: 12.5px;
  color: #94a3b8;
  margin: 4px 0 0;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.banner-item.light-mode .banner-copy p {
  color: #475569;
}

.banner-cta {
  background: #ffffff;
  color: #090a0f;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 99px;
  white-space: nowrap;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.banner-item:hover .banner-cta {
  background: var(--accent-bright);
  color: #ffffff;
}

/* ============================================================================
   5. SECTION HEADLINE & CALLOUT CARDS (Room to breathe)
   ============================================================================ */
.forum-Headline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 22px 0 16px;
  flex-wrap: wrap;
  gap: 14px;
}

.forum-headline-text {
  font-size: 13.5px;
  font-weight: 700;
  color: #cbd5e1;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.headline-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-primary-purple {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #9333ea 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.18s;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}

.btn-primary-purple:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.callout-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.callout-card {
  position: relative;
  background-color: #0b0d14;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 0);
  background-size: 16px 16px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 13px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
}

.callout-card:hover {
  border-color: rgba(168, 85, 247, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.callout-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  flex-shrink: 0;
}

.callout-card.purple-theme .callout-icon {
  background: rgba(147, 51, 234, 0.22);
  color: #c084fc;
  border: 2px solid rgba(168, 85, 247, 0.65);
  box-shadow: 0 0 20px rgba(147, 51, 234, 0.35);
}

.callout-card.pink-theme .callout-icon {
  background: rgba(236, 72, 153, 0.22);
  color: #f472b6;
  border: 2px solid rgba(236, 72, 153, 0.65);
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.35);
}

.callout-body h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 5px;
}

.callout-body p {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
}

.callout-card::after {
  content: "";
  position: absolute;
  right: -24px;
  top: -24px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.26);
  pointer-events: none;
}

.callout-card.pink-theme::after {
  background: rgba(236, 72, 153, 0.26);
}

/* ============================================================================
   6. MAVİ TİK & ROZETLER
   ============================================================================ */
.mavi-tik-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  color: #ffffff;
  font-size: 10.5px;
  margin-left: 6px;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.7);
  vertical-align: middle;
  flex-shrink: 0;
}

.role-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border: 1px solid transparent;
  white-space: nowrap;
}

.role-pill.glow {
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.25);
}

.pending-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 800;
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.6);
  color: #fbbf24;
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(245, 158, 11, 0); }
  50% { box-shadow: 0 0 14px rgba(245, 158, 11, 0.4); }
}

/* ============================================================================
   7. FORUM LAYOUT (Left Main + Right Sidebar: 28px Gap)
   ============================================================================ */
.forum-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}

.category-block {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  margin-bottom: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.category-header {
  background: linear-gradient(90deg, #181d2c 0%, #121622 100%);
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-title-wrap {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cat-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.category-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.category-header p {
  font-size: 12.5px;
  color: var(--text-muted);
}

.subforum-bar {
  padding: 12px 24px;
  background: #0e111a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.subforum-chip {
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
  background: #161a28;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.16s;
}

.subforum-chip:hover,
.subforum-chip.active {
  background: rgba(168, 85, 247, 0.2);
  border-color: var(--accent-bright);
  color: #ffffff;
}

.thread-row {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.16s;
  cursor: pointer;
}

.thread-row:last-child {
  border-bottom: none;
}

.thread-row:hover {
  background: rgba(255, 255, 255, 0.035);
}

.thread-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex: 1;
}

.thread-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.2s;
}

.thread-row:hover .thread-avatar {
  border-color: var(--accent-bright);
}

.thread-info {
  min-width: 0;
  flex: 1;
}

.thread-title-line {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.thread-prefix {
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 6px;
  color: #fff;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.thread-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #f8fafc;
  transition: color 0.15s;
}

.thread-row:hover .thread-title {
  color: #d8b4fe;
}

.thread-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text-dim);
}

.author-link {
  font-weight: 700;
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
}

.author-link:hover {
  color: var(--accent-bright);
}

.thread-stats {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
  text-align: right;
}

.stat-col {
  font-size: 11.5px;
  color: var(--text-dim);
}

.stat-col strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #e2e8f0;
}

/* ============================================================================
   8. SIDEBAR WIDGETS
   ============================================================================ */
.sidebar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 20px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.sidebar-title {
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ffffff;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.verified-server-mini {
  background: #0e111a;
  border: 1px solid rgba(16, 185, 129, 0.26);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.verified-server-mini:hover {
  border-color: #10b981;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.16);
}

/* ============================================================================
   9. USER PROFILE & SHOWCASE
   ============================================================================ */
.profile-header-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
}

.profile-cover {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.profile-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 21, 32, 0.1) 0%, rgba(18, 21, 32, 0.98) 100%);
}

.profile-main-bar {
  padding: 0 32px 28px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: -62px;
}

.profile-avatar-xl {
  width: 124px;
  height: 124px;
  border-radius: 24px;
  object-fit: cover;
  border: 4px solid var(--bg-surface);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.7);
}

.verified-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
  padding: 0 32px 30px;
}

.showcase-box {
  background: #0e111a;
  border-radius: 12px;
  padding: 20px 22px;
  border: 1px solid var(--border-subtle);
}

.showcase-box.server-verified {
  border-color: rgba(16, 185, 129, 0.45);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(14, 17, 26, 0.96) 100%);
}

.showcase-box.community-verified {
  border-color: rgba(168, 85, 247, 0.45);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.14) 0%, rgba(14, 17, 26, 0.96) 100%);
}

.showcase-box.pending-box {
  border-color: rgba(245, 158, 11, 0.5);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14) 0%, rgba(14, 17, 26, 0.96) 100%);
}

/* ============================================================================
   10. THREAD POST CARDS (Author 260px + Content)
   ============================================================================ */
.post-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  margin-bottom: 20px;
  overflow: hidden;
}

.post-author-pane {
  background: #0e111a;
  border-right: 1px solid var(--border-subtle);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.post-author-avatar {
  width: 90px;
  height: 90px;
  border-radius: 18px;
  object-fit: cover;
  border: 2px solid var(--accent-bright);
  cursor: pointer;
}

.post-content-pane {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ============================================================================
   11. ADMIN PANEL (Shell, Table & Forms)
   ============================================================================ */
.admin-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 26px;
  min-height: 660px;
}

.admin-sidebar {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 18px;
}

.admin-nav-btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  margin-bottom: 7px;
  transition: all 0.16s;
}

.admin-nav-btn:hover,
.admin-nav-btn.active {
  background: rgba(168, 85, 247, 0.18);
  color: #ffffff;
  border-color: rgba(168, 85, 247, 0.45);
}

.admin-main {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 28px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 26px;
}

.kpi-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 20px;
}

.kpi-card .kpi-val {
  font-family: 'Outfit', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  margin-top: 5px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 7px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: #0b0d14;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  padding: 11px 16px;
  color: #f8fafc;
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.16s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-bright);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.admin-table th, .admin-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-table th {
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================================================
   12. TOAST, COOKIE & FLOATING
   ============================================================================ */
.toast-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast-item {
  background: #171b29;
  border: 1px solid var(--accent-bright);
  color: #fff;
  padding: 14px 20px;
  border-radius: 11px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideIn 0.25s ease;
}

@keyframes slideIn {
  from { transform: translateY(18px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-bar {
  position: fixed;
  bottom: 20px;
  right: 24px;
  max-width: 480px;
  background: rgba(15, 17, 26, 0.95);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 14px 20px;
  font-size: 13px;
  color: #cbd5e1;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65);
}

@media (max-width: 640px) {
  .cookie-bar {
    left: 14px;
    right: 14px;
    bottom: 14px;
    max-width: none;
  }
}

.floating-gear {
  position: fixed;
  right: 20px;
  top: 48%;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent-grad);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 8px 24px var(--accent-glow);
  z-index: 95;
  transition: transform 0.2s;
}

.floating-gear:hover {
  transform: scale(1.1) rotate(30deg);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 5, 8, 0.84);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-box {
  background: #121622;
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 16px;
  max-width: 660px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.88);
}

@media (max-width: 1040px) {
  .banners-grid, .callout-grid, .forum-layout, .admin-shell {
    grid-template-columns: 1fr;
  }
  .banner-item.span-2 {
    grid-column: span 1;
  }
  .post-card {
    grid-template-columns: 1fr;
  }
}

/* AVATAR MANAGEMENT & UPLOAD STYLES */
.profile-avatar-wrapper {
  position: relative;
  display: inline-block;
  cursor: pointer;
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.profile-avatar-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.4);
}
.profile-avatar-wrapper:hover .avatar-edit-overlay {
  opacity: 1;
  transform: translateY(0);
}
.avatar-edit-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 8px 4px;
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.25s ease;
  border-top: 1px solid rgba(168, 85, 247, 0.4);
}

.avatar-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 14px;
  flex-wrap: wrap;
}
.avatar-tab-btn {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #94a3b8 !important;
  padding: 9px 18px !important;
  border-radius: 9px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: all 0.2s ease !important;
  box-shadow: none !important;
}
.avatar-tab-btn:hover {
  color: #fff !important;
  border-color: rgba(168, 85, 247, 0.45) !important;
  background: rgba(168, 85, 247, 0.12) !important;
}
.avatar-tab-btn.active {
  background: linear-gradient(135deg, #a855f7, #6d28d9) !important;
  color: #fff !important;
  border-color: #a855f7 !important;
  box-shadow: 0 4px 14px rgba(168, 85, 247, 0.35) !important;
}

.avatar-dropzone {
  border: 2px dashed rgba(168, 85, 247, 0.45) !important;
  background: rgba(168, 85, 247, 0.04) !important;
  border-radius: 14px !important;
  padding: 32px 20px !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  margin-bottom: 18px !important;
}
.avatar-dropzone:hover, .avatar-dropzone.dragover {
  border-color: #a855f7 !important;
  background: rgba(168, 85, 247, 0.1) !important;
  transform: translateY(-2px);
}

.avatar-preset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 12px;
  max-height: 240px;
  overflow-y: auto;
  padding: 8px 4px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 18px;
}
.avatar-preset-item {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  object-fit: cover;
  background: #0f172a;
}
.avatar-preset-item:hover {
  border-color: #38bdf8;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 16px rgba(56, 189, 248, 0.35);
}
.avatar-preset-item.selected {
  border-color: #a855f7;
  transform: scale(1.06);
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.6);
  outline: 2px solid #a855f7;
}
