/* ===== X HUB HOSTINGER SCAMMER LIST — Premium Dark Theme ===== */

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

:root {
  /* Premium palette — obsidian + gold + royal purple */
  --bg: #0a0a0f;
  --bg-2: #12121a;
  --bg-3: #1a1a26;
  --surface: rgba(22, 22, 32, 0.7);
  --surface-2: rgba(30, 30, 42, 0.6);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);

  --text: #f4f4f8;
  --text-light: #a1a1b5;
  --text-dim: #6b6b80;

  --gold: #d4af37;
  --gold-light: #f5d97a;
  --gold-dark: #a8841f;
  --purple: #8b5cf6;
  --purple-light: #a78bfa;
  --primary: #d4af37;
  --primary-dark: #b8961e;
  --secondary: #8b5cf6;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
  --glow-gold: 0 0 40px rgba(212, 175, 55, 0.25);
  --glow-purple: 0 0 40px rgba(139, 92, 246, 0.25);

  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

/* ===== Background Glow Effects ===== */
.bg-glow {
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.bg-glow::after {
  content: '';
  position: absolute;
  top: 400px;
  left: -300px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 60%);
  border-radius: 50%;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

body > *:not(.bg-glow):not(.bg-grid) {
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ===== Glass Effect ===== */
.glass {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* ===== Header ===== */
.site-header, .admin-header {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-mark {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  color: #1a1a26;
  letter-spacing: -0.5px;
  box-shadow: var(--glow-gold);
  font-family: 'Playfair Display', serif;
}

.logo-mark.sm { width: 32px; height: 32px; font-size: 13px; border-radius: 9px; }
.logo-mark.lg { width: 72px; height: 72px; font-size: 24px; border-radius: 18px; margin-bottom: 18px; }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text);
}

.logo-sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
}

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

.nav a {
  color: var(--text-light);
  text-decoration: none;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  font-weight: 500;
  font-size: 14px;
  border: 1px solid transparent;
}

.nav a:hover {
  color: var(--text);
  background: var(--surface-2);
  border-color: var(--border);
}

.nav .btn-login, .nav .btn-admin {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #1a1a26;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
}

.nav .btn-login:hover, .nav .btn-admin:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
  border-color: transparent;
}

.nav .btn-logout {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.nav .btn-logout:hover {
  background: var(--danger);
  color: white;
  border-color: var(--danger);
}

/* ===== Hero ===== */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.hero-badge {
  display: inline-block;
  padding: 7px 16px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 50px;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--gold-light);
  text-transform: uppercase;
  font-weight: 600;
}

.hero h1 {
  font-size: 64px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--text);
  font-family: 'Playfair Display', serif;
}

.hero-accent {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero p {
  font-size: 17px;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s;
  font-family: inherit;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #1a1a26;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
}

.btn-ghost {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
  background: var(--surface);
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-success { background: var(--success); color: white; }
.btn-success:hover { background: #059669; }
.btn-warning { background: var(--warning); color: #1a1a26; }
.btn-warning:hover { background: #d97706; }
.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover { background: #dc2626; }

.btn-block { width: 100%; padding: 14px; font-size: 15px; }
.btn-sm { padding: 7px 13px; font-size: 12px; }

/* ===== Main ===== */
main.container {
  flex: 1;
  padding: 40px 24px 60px;
}

.empty-state {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-light);
  border-radius: var(--radius-lg);
}

.empty-icon {
  font-size: 64px;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  opacity: 0.6;
}

.empty-icon.sm { font-size: 36px; margin-bottom: 12px; }

.empty-state h2 {
  font-size: 26px;
  margin-bottom: 10px;
  color: var(--text);
  font-weight: 700;
}

.content-section {
  margin-bottom: 60px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 16px;
  letter-spacing: -0.5px;
}

.section-title .bar {
  width: 4px;
  height: 28px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dark) 100%);
  border-radius: 2px;
}

.section-count {
  font-size: 12px;
  color: var(--text-light);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ===== Music Grid ===== */
.music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 22px;
}

.music-card {
  overflow: hidden;
  transition: all 0.3s;
}

.music-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg), var(--glow-gold);
}

.music-thumb {
  background: linear-gradient(135deg, #1a1a26 0%, #2a2a3a 100%);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.thumb-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, transparent 60%);
  border-radius: 50%;
}

.music-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.music-icon-big {
  font-size: 72px;
  color: var(--gold);
  z-index: 1;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.4));
}

.play-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.6) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
}

.music-card:hover .play-overlay {
  opacity: 1;
}

.play-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #1a1a26;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  padding-left: 4px;
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
  transform: scale(0.8);
  transition: transform 0.3s;
}

.music-card:hover .play-icon {
  transform: scale(1);
}

.track-num {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 11px;
  color: var(--gold);
  background: rgba(0,0,0,0.4);
  padding: 4px 9px;
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: 1px;
  border: 1px solid var(--border-strong);
  z-index: 2;
}

.music-info {
  padding: 20px;
}

.music-title {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 700;
  line-height: 1.4;
}

.music-desc {
  color: var(--text-light);
  font-size: 13px;
  margin-bottom: 14px;
  min-height: 20px;
  line-height: 1.5;
}

.audio-player {
  width: 100%;
  margin-bottom: 10px;
  border-radius: var(--radius-sm);
  filter: invert(0.92) hue-rotate(180deg);
}

.music-meta {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.3px;
}

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 26px;
}

.gallery-item {
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
}

.gallery-item:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.gallery-image-wrap {
  position: relative;
  overflow: hidden;
  height: 320px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.7) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 14px;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.view-icon {
  color: white;
  font-size: 24px;
  background: var(--gold);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #1a1a26;
  font-weight: 700;
}

.gallery-caption {
  padding: 14px 16px;
}

.gallery-caption h4 {
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--text);
  font-weight: 700;
}

.gallery-caption p {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.5;
}

/* ===== Modal ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(8px);
}

.modal.open { display: block; }

.modal-content {
  margin: auto;
  display: block;
  max-width: 85%;
  max-height: 75vh;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  box-shadow: 0 0 80px rgba(212, 175, 55, 0.2);
}

.modal-caption {
  text-align: center;
  color: var(--gold-light);
  padding: 18px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: var(--text);
  font-size: 44px;
  font-weight: 200;
  cursor: pointer;
  transition: 0.3s;
  line-height: 1;
}

.modal-close:hover { color: var(--gold); }

/* ===== Login Page ===== */
.login-page {
  background: var(--bg);
  align-items: center;
  justify-content: center;
  display: flex;
  min-height: 100vh;
}

.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.login-box {
  padding: 44px 38px;
  box-shadow: var(--shadow-lg), var(--glow-gold);
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
}

.login-header {
  text-align: center;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-header h1 {
  font-size: 24px;
  color: var(--text);
  margin-bottom: 6px;
  font-weight: 800;
  letter-spacing: 1px;
  font-family: 'Playfair Display', serif;
}

.login-sub {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 3px;
  font-weight: 600;
  text-transform: uppercase;
}

.alert {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 22px;
  font-size: 13px;
  font-weight: 500;
}

.alert-error {
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.login-form .form-group { margin-bottom: 18px; }

.login-footer {
  text-align: center;
  margin-top: 26px;
}

.login-footer a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.login-footer a:hover { color: var(--gold); }

/* ===== Admin ===== */
.admin-main { padding: 36px 24px; }

/* ===== Admin Layout: Sidebar + Content ===== */
.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
}

.admin-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  padding-right: 4px;
}

.admin-sidebar::-webkit-scrollbar { width: 6px; }
.admin-sidebar::-webkit-scrollbar-track { background: transparent; }
.admin-sidebar::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }

.admin-content {
  min-width: 0; /* prevent overflow */
}

/* ===== Sidebar Cards ===== */
.sidebar-card {
  padding: 16px;
}

.sidebar-title {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--text-light);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.sidebar-link:hover {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--border);
}

.sidebar-link.active {
  background: linear-gradient(135deg, rgba(212,175,55,0.15) 0%, rgba(212,175,55,0.05) 100%);
  color: var(--gold-light);
  border-color: rgba(212, 175, 55, 0.3);
}

.sidebar-icon {
  font-size: 15px;
  width: 18px;
  text-align: center;
}

/* ===== Discord Verified Card ===== */
.discord-verify-card {
  border: 1px solid rgba(88, 101, 242, 0.25);
  text-align: center;
  padding: 18px 16px;
}

.discord-verify-badge {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, #5865F2 0%, #4752c4 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(88, 101, 242, 0.4);
}

.verify-check {
  color: white;
  font-size: 28px;
  font-weight: 800;
}

.discord-verify-card h4 {
  font-size: 13px;
  color: #c7ceff;
  margin-bottom: 6px;
  font-weight: 700;
}

.discord-verify-card p {
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.5;
}

.discord-verify-card code {
  background: var(--bg-3);
  color: #c7ceff;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 10px;
}

/* ===== Legal Pages Layout ===== */
.legal-page {
  padding: 50px 24px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.legal-content {
  padding: 40px 44px;
  max-width: 900px;
}

.legal-header {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.legal-eyebrow {
  display: inline-block;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.legal-content h1 {
  font-size: 42px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 14px;
  font-family: 'Playfair Display', serif;
  letter-spacing: -1px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.legal-intro {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 700px;
}

.legal-section {
  margin-bottom: 32px;
}

.legal-section h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
  padding-left: 14px;
  border-left: 3px solid var(--gold);
  font-family: 'Playfair Display', serif;
}

.legal-section h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-light);
  margin: 16px 0 8px;
}

.legal-section p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-list {
  margin: 12px 0 16px 22px;
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.9;
}

.legal-list li {
  margin-bottom: 6px;
}

.legal-list strong {
  color: var(--text);
}

.legal-list code,
.legal-section code {
  background: var(--bg-3);
  color: var(--gold-light);
  padding: 2px 7px;
  border-radius: 4px;
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  font-size: 12px;
  border: 1px solid var(--border);
}

.legal-footer {
  margin-top: 40px;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(212,175,55,0.08) 0%, rgba(212,175,55,0.02) 100%);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-sm);
}

.legal-footer p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* ===== Footer Links ===== */
.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 12px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* ===== Responsive Sidebar ===== */
@media (max-width: 1024px) {
  .admin-layout,
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .admin-sidebar,
  .legal-sidebar {
    position: static;
    max-height: none;
    overflow-y: visible;
  }
  .legal-content {
    padding: 30px 24px;
  }
}

@media (max-width: 768px) {
  .hero { padding: 50px 0 40px; }
  .hero h1 { font-size: 38px; }
  .hero p { font-size: 15px; }
  .section-title { font-size: 22px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .header-inner { flex-direction: column; align-items: flex-start; }
  .nav { width: 100%; }
  .admin-grid { grid-template-columns: 1fr; }
  .welcome-banner { padding: 24px; flex-direction: column; align-items: flex-start; }
  .welcome-banner h1 { font-size: 22px; }
  .welcome-stats { width: 100%; }
  .stat { flex: 1; }
  .mini-player { width: 140px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .legal-content h1 { font-size: 30px; }
  .legal-section h2 { font-size: 18px; }
  .legal-page { padding: 30px 16px; }
  .legal-content { padding: 24px 18px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .login-box { padding: 32px 22px; }
  .hero h1 { font-size: 32px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .music-grid { grid-template-columns: 1fr; }
}

.welcome-banner {
  padding: 32px 36px;
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  flex-wrap: wrap;
}

.welcome-eyebrow {
  display: inline-block;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 2px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.welcome-banner h1 {
  font-size: 28px;
  margin-bottom: 8px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}

.welcome-banner p {
  color: var(--text-light);
  font-size: 14px;
  max-width: 540px;
}

.welcome-stats {
  display: flex;
  gap: 16px;
}

.stat {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 24px;
  text-align: center;
  min-width: 90px;
}

.stat-num {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 10px;
  color: var(--text-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 6px;
  font-weight: 600;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 24px;
  margin-bottom: 30px;
}

.admin-card {
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: border-color 0.2s;
}

.admin-card:hover { border-color: var(--border-strong); }

.card-header {
  background: var(--surface-2);
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-header h2 {
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.card-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #1a1a26;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
  font-size: 16px;
  font-family: 'Playfair Display', serif;
}

.card-tag {
  font-size: 10px;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 4px 10px;
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: 1px;
}

.card-body { padding: 26px; }

.list-card { margin-bottom: 24px; }

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

.form-group label {
  display: block;
  margin-bottom: 7px;
  font-weight: 600;
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0.3px;
}

.form-group .hint {
  font-size: 10px;
  color: var(--text-dim);
  font-weight: 500;
  letter-spacing: 1px;
  margin-left: 6px;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="file"],
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  transition: all 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--bg-3);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.form-group input[type="file"] {
  padding: 10px 14px;
  cursor: pointer;
  color: var(--text-light);
}

.form-group input[type="file"]::file-selector-button {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #1a1a26;
  border: none;
  padding: 7px 14px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  margin-right: 12px;
  letter-spacing: 0.5px;
}

.form-group textarea { resize: vertical; min-height: 70px; }

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  cursor: pointer;
  color: var(--text-light);
  font-size: 13px;
}

.checkbox-group input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--border-strong);
  border-radius: 5px;
  background: var(--bg-2);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: all 0.2s;
}

.checkbox-group input[type="checkbox"]:checked {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  border-color: var(--gold);
}

.checkbox-group input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #1a1a26;
  font-weight: 800;
  font-size: 13px;
}

/* ===== Tables ===== */
.table-wrap { overflow-x: auto; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.data-table th,
.data-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.data-table th {
  background: var(--surface-2);
  font-weight: 700;
  color: var(--gold);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.data-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.data-table tr:last-child td { border-bottom: none; }

.row-num {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-weight: 700;
  font-size: 15px;
}

.track-name {
  color: var(--text);
  font-size: 14px;
  display: block;
  margin-bottom: 8px;
}

.track-cell {
  display: flex;
  align-items: center;
  gap: 14px;
}

.track-thumb-admin {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border-strong);
}

.track-thumb-admin.placeholder {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #1a1a26;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.field-hint {
  display: block;
  margin-top: 6px;
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2px;
}

/* ===== Engagement Row (Like + Comment Toggle) ===== */
.engagement-row {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.like-btn, .comment-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 50px;
  color: var(--text-light);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.like-btn:hover, .comment-toggle:hover {
  background: var(--surface);
  color: var(--text);
  border-color: var(--gold);
}

.like-btn .heart {
  font-size: 15px;
  color: var(--text-light);
  transition: all 0.25s;
}

.like-btn.liked {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.like-btn.liked .heart {
  color: var(--danger);
  text-shadow: 0 0 12px rgba(239, 68, 68, 0.6);
}

.like-btn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.comment-toggle.active {
  background: rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.4);
  color: var(--gold-light);
}

/* ===== Share Button & Dropdown ===== */
.share-btn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: linear-gradient(135deg, rgba(212,175,55,0.15) 0%, rgba(212,175,55,0.05) 100%);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 50px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.share-btn:hover {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #1a1a26;
  border-color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.share-btn.active {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #1a1a26;
}

.engagement-row {
  position: relative;
}

.share-dropdown {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  right: 0;
  min-width: 220px;
  background: var(--bg-3);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 50;
}

.share-dropdown.open {
  display: flex;
}

.share-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
  text-align: left;
  width: 100%;
}

.share-link:hover {
  background: var(--surface-2);
  color: var(--gold-light);
}

.share-link.discord:hover { background: rgba(88, 101, 242, 0.2); color: #c7ceff; }
.share-link.whatsapp:hover { background: rgba(37, 211, 102, 0.2); color: #7df2a9; }
.share-link.facebook:hover { background: rgba(24, 119, 242, 0.2); color: #88b9ff; }
.share-link.twitter:hover { background: rgba(29, 161, 242, 0.2); color: #88d4ff; }
.share-link.telegram:hover { background: rgba(36, 161, 222, 0.2); color: #88d9ff; }

/* ===== Share Page Styling ===== */
.share-page {
  padding: 50px 24px;
  display: flex;
  justify-content: center;
}

.share-card {
  max-width: 720px;
  width: 100%;
  padding: 32px;
  box-shadow: var(--shadow-lg), var(--glow-gold);
}

.share-hero {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.share-thumb {
  width: 200px;
  height: 200px;
  border-radius: var(--radius);
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--border-strong);
  box-shadow: var(--shadow);
}

.share-thumb.placeholder {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: #1a1a26;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.share-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.share-eyebrow {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
}

.share-title {
  font-size: 32px;
  font-weight: 900;
  color: var(--text);
  line-height: 1.2;
  font-family: 'Playfair Display', serif;
  letter-spacing: -0.5px;
}

.share-desc {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
}

.share-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-dim);
}

.share-player-wrap {
  margin: 24px 0;
}

.share-player {
  width: 100%;
  filter: invert(0.92) hue-rotate(180deg);
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.share-url-box {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 18px;
}

.share-url-box label {
  display: block;
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
}

.share-url-box input {
  width: 100%;
  padding: 10px 12px;
  background: var(--bg-3);
  border: 1.5px solid var(--border-strong);
  border-radius: 6px;
  color: var(--gold-light);
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  font-size: 12px;
  cursor: pointer;
}

.share-url-box input:focus {
  outline: none;
  border-color: var(--gold);
}

.share-back {
  text-align: center;
}

.share-back a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.share-back a:hover {
  color: var(--gold);
}

.image-hero {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.share-image-wrap {
  width: 100%;
  max-width: 500px;
  margin-bottom: 18px;
}

.share-image-full {
  width: 100%;
  border-radius: var(--radius);
  border: 2px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
}

.image-hero .share-info {
  align-items: center;
}

@media (max-width: 600px) {
  .share-hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .share-thumb {
    width: 160px;
    height: 160px;
  }
  .share-title {
    font-size: 24px;
  }
  .share-card {
    padding: 22px 18px;
  }
}

/* ===== Comments Section ===== */
.comments-section {
  margin-top: 14px;
  padding: 14px;
  background: var(--bg-2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.comments-list {
  max-height: 240px;
  overflow-y: auto;
  margin-bottom: 12px;
  padding-right: 4px;
}

.comments-list::-webkit-scrollbar { width: 6px; }
.comments-list::-webkit-scrollbar-track { background: var(--bg-2); }
.comments-list::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }

.comment-item {
  padding: 10px 12px;
  background: var(--surface-2);
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-bottom: 8px;
}

.comment-item:last-child { margin-bottom: 0; }

.comment-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
  gap: 8px;
  flex-wrap: wrap;
}

.comment-head strong {
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
}

.comment-head small {
  color: var(--text-dim);
  font-size: 10px;
}

.comment-item p {
  color: var(--text);
  font-size: 13px;
  line-height: 1.5;
  word-wrap: break-word;
}

.no-comments {
  color: var(--text-dim);
  font-size: 12px;
  text-align: center;
  padding: 12px;
  font-style: italic;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.comment-form input[type="text"],
.comment-form textarea {
  width: 100%;
  padding: 9px 12px;
  background: var(--bg-3);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-size: 13px;
  font-family: inherit;
  transition: all 0.2s;
}

.comment-form input::placeholder,
.comment-form textarea::placeholder {
  color: var(--text-dim);
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--bg-2);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.15);
}

.comment-form textarea {
  resize: vertical;
  min-height: 50px;
}

.comment-form button {
  align-self: flex-start;
}

/* ===== Admin Engagement Stats ===== */
.engagement-stats {
  display: flex;
  gap: 6px;
  margin: 8px 0;
  flex-wrap: wrap;
}

.badge-likes {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 3px 9px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
}

.badge-comments {
  background: rgba(139, 92, 246, 0.15);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 3px 9px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
}

/* ===== Comments Moderation ===== */
.comments-moderation-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 600px;
  overflow-y: auto;
  padding-right: 4px;
}

.comments-moderation-list::-webkit-scrollbar { width: 6px; }
.comments-moderation-list::-webkit-scrollbar-track { background: var(--bg-2); }
.comments-moderation-list::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }

.comment-mod-item {
  padding: 14px 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold);
}

.comment-mod-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  gap: 12px;
  flex-wrap: wrap;
}

.comment-mod-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.comment-mod-meta strong {
  color: var(--gold-light);
  font-size: 13px;
}

.comment-on {
  font-size: 11px;
  color: var(--text-light);
}

.comment-on em {
  color: var(--text);
  font-style: italic;
}

.comment-mod-head small {
  color: var(--text-dim);
  font-size: 11px;
}

.comment-mod-text {
  color: var(--text);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 10px;
  word-wrap: break-word;
}

.comment-mod-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.comment-ip {
  font-size: 11px;
  color: var(--text-light);
}

.comment-ip code {
  background: var(--bg-3);
  color: var(--gold-light);
  padding: 2px 7px;
  border-radius: 4px;
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  font-size: 11px;
}

/* ===== Visitor Panel ===== */
.card-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.visitor-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.visitor-stat {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  text-align: center;
}

.visitor-stat .stat-num {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  word-break: break-all;
}

.visitor-stat .stat-label {
  display: block;
  font-size: 10px;
  color: var(--text-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 6px;
  font-weight: 600;
}

.visitor-table {
  font-size: 12px;
}

.visitor-table th {
  font-size: 10px;
  letter-spacing: 0.8px;
}

.ip-code {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-light);
  padding: 4px 10px;
  border-radius: 6px;
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.path-tag {
  background: var(--bg-3);
  color: var(--text-light);
  padding: 3px 8px;
  border-radius: 4px;
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  font-size: 11px;
}

.ua-cell {
  color: var(--text-dim);
  font-size: 11px;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.table-footer-note {
  text-align: center;
  color: var(--text-dim);
  font-size: 12px;
  margin-top: 12px;
  font-style: italic;
}

/* ===== Admin Share URL Cell ===== */
.share-url-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.share-url-code {
  background: var(--bg-3);
  color: var(--gold-light);
  padding: 4px 9px;
  border-radius: 5px;
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  font-size: 11px;
  border: 1px solid var(--border);
  word-break: break-all;
}

/* ===== Discord Panel ===== */
.discord-panel {
  border: 1px solid rgba(88, 101, 242, 0.25);
  box-shadow: 0 8px 32px rgba(88, 101, 242, 0.15);
}

.discord-header {
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.15) 0%, rgba(88, 101, 242, 0.05) 100%);
  border-bottom: 1px solid rgba(88, 101, 242, 0.2);
}

.discord-icon-bg {
  background: linear-gradient(135deg, #5865F2 0%, #4752c4 100%) !important;
  color: white !important;
}

.discord-tag {
  color: #c7ceff;
  background: rgba(88, 101, 242, 0.15);
  border-color: rgba(88, 101, 242, 0.4) !important;
}

.discord-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.discord-stat {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.discord-stat-label {
  font-size: 10px;
  color: var(--text-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
}

.discord-stat-value {
  font-size: 13px;
  color: var(--text);
  font-weight: 600;
}

.discord-stat-value code {
  background: var(--bg-3);
  color: #c7ceff;
  padding: 3px 7px;
  border-radius: 4px;
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  font-size: 11px;
}

.text-dim { color: var(--text-dim); }
.small { font-size: 12px; }

.discord-setup {
  margin: 16px 0;
}

.setup-step {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}

.setup-step.success {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.05);
}

.setup-step h4 {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 10px;
  font-weight: 700;
}

.setup-step p {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 10px;
  line-height: 1.5;
}

.setup-list {
  margin-left: 18px;
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.8;
}

.setup-list li {
  margin-bottom: 6px;
}

.setup-list code,
.discord-setup code,
.discord-test-form code,
.cmd-box code {
  background: var(--bg-3);
  color: #c7ceff;
  padding: 2px 7px;
  border-radius: 4px;
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  font-size: 12px;
  border: 1px solid var(--border);
}

.link-gold {
  color: var(--gold-light);
  text-decoration: none;
  border-bottom: 1px dotted var(--gold);
}

.link-gold:hover { color: var(--gold); }

.env-pre {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 14px;
  margin: 8px 0;
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  font-size: 12px;
  color: var(--gold-light);
  overflow-x: auto;
}

.cmd-box {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 14px;
  margin: 8px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cmd-box code {
  background: transparent;
  border: none;
  padding: 0;
  color: #c7ceff;
}

.discord-test-form {
  margin-top: 16px;
}

.discord-test-form button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ===== Last Announcement Status Box ===== */
.last-announcement-box {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  border: 1px solid var(--border);
}

.last-announcement-box.success {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.3);
}

.last-announcement-box.error {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.3);
}

.last-ann-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.last-ann-head strong {
  font-size: 13px;
  color: var(--text);
  font-weight: 700;
}

.last-ann-head small {
  font-size: 11px;
  color: var(--text-dim);
  margin-left: auto;
}

.last-ann-icon {
  font-size: 18px;
}

.last-ann-title {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 4px;
}

.last-ann-error {
  font-size: 12px;
  color: #fca5a5;
  line-height: 1.5;
  word-break: break-word;
}

/* Discord Options Box (in upload forms) */
.discord-options-box {
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.08) 0%, rgba(88, 101, 242, 0.02) 100%);
  border: 1px solid rgba(88, 101, 242, 0.2);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin: 14px 0;
}

.discord-options-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.discord-options-head .discord-icon {
  font-size: 18px;
}

.discord-options-head strong {
  font-size: 14px;
  color: #c7ceff;
  font-weight: 700;
}

.mini-player {
  width: 220px;
  height: 32px;
  filter: invert(0.92) hue-rotate(180deg);
}

.desc-cell, .date-cell {
  color: var(--text-light);
  font-size: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 11px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.badge-published {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-draft {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.action-buttons { white-space: nowrap; }

/* ===== Image Admin Grid ===== */
.image-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.image-admin-item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.2s;
}

.image-admin-item:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

.image-admin-thumb {
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.image-admin-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-admin-info {
  padding: 14px;
  flex: 1;
}

.image-admin-info h4 {
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--text);
  font-weight: 700;
}

.image-admin-info p {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 8px;
  line-height: 1.5;
}

.image-admin-info small {
  color: var(--text-dim);
  font-size: 11px;
}

.image-admin-item form { padding: 0 12px 12px; }

.empty {
  color: var(--text-light);
  text-align: center;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.empty p { font-size: 14px; max-width: 380px; }

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 28px 0;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 1px;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-dim);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero { padding: 50px 0 40px; }
  .hero h1 { font-size: 38px; }
  .hero p { font-size: 15px; }
  .section-title { font-size: 22px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .header-inner { flex-direction: column; align-items: flex-start; }
  .nav { width: 100%; }
  .admin-grid { grid-template-columns: 1fr; }
  .welcome-banner { padding: 24px; flex-direction: column; align-items: flex-start; }
  .welcome-banner h1 { font-size: 22px; }
  .welcome-stats { width: 100%; }
  .stat { flex: 1; }
  .mini-player { width: 140px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .login-box { padding: 32px 22px; }
  .hero h1 { font-size: 32px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .music-grid { grid-template-columns: 1fr; }
}
