/* ============================================= */
/*  KROW.RIP – Modern Design System (2026)       */
/* ============================================= */

/* ── 0. CSS Variables ────────────────────────── */
:root {
  --bg-primary:    #0a0a0f;
  --bg-secondary:  #111118;
  --bg-card:       rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover:  rgba(124, 58, 237, 0.4);
  --text-primary:   #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted:     #64748b;
  --accent-purple:  #7c3aed;
  --accent-violet:  #8b5cf6;
  --accent-pink:    #ec4899;
  --accent-blue:    #3b82f6;
  --accent-green:   #10b981;
  --accent-red:     #ef4444;
  --accent-orange:  #f59e0b;
  --gradient-primary: linear-gradient(135deg, #7c3aed, #3b82f6);
  --gradient-accent:  linear-gradient(135deg, #7c3aed, #ec4899);
  --gradient-subtle:  linear-gradient(135deg, rgba(124,58,237,0.15), rgba(59,130,246,0.15));
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;
  --shadow-sm:   0 1px 2px rgba(0,0,0,0.3);
  --shadow-md:   0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg:   0 8px 30px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 30px rgba(124,58,237,0.15);
  --font-body:    'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Orbitron', var(--font-body);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 72px;
  --max-w:    1200px;
}

/* ── 1. Reset & Base ─────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}
body.dark-theme { background: var(--bg-primary); color: var(--text-primary); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); letter-spacing: 0.5px; line-height: 1.2; }
a { color: var(--accent-violet); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-pink); }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
.hidden { display: none !important; }

/* ── 2. Background Effects ───────────────────── */
.parallax-layer { position: fixed; inset: 0; pointer-events: none; z-index: -1; }
.layer1 { background: radial-gradient(ellipse at 20% 50%, rgba(124,58,237,0.08) 0%, transparent 60%); }
.layer2 { background: radial-gradient(ellipse at 80% 30%, rgba(59,130,246,0.06) 0%, transparent 60%); }
.layer3 { background: radial-gradient(ellipse at 50% 80%, rgba(236,72,153,0.04) 0%, transparent 60%); }
.swirl-bg {
  position: fixed; inset: 0;
  background: radial-gradient(ellipse at 15% 15%, rgba(124,58,237,0.06) 0%, transparent 50%),
              radial-gradient(ellipse at 85% 85%, rgba(59,130,246,0.04) 0%, transparent 50%);
  pointer-events: none; z-index: -2;
}

/* ── 3. Header & Navigation ──────────────────── */
.main-header {
  position: fixed; top: 0; width: 100%; height: var(--header-h);
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 999;
}
.nav-wrapper {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: var(--font-heading); font-size: 1.6rem; font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  letter-spacing: 2px;
}
.nav-menu { list-style: none; display: flex; gap: 2rem; }
.nav-menu a {
  color: var(--text-secondary); font-weight: 500; font-size: 0.9rem;
  text-decoration: none; position: relative; padding: 4px 0; transition: color var(--transition);
}
.nav-menu a:hover, .nav-menu a.active { color: var(--text-primary); }
.nav-menu a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
  background: var(--gradient-primary); border-radius: 1px; transition: width var(--transition);
}
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.auth-controls { display: flex; align-items: center; gap: 0.75rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition); }

/* ── 4. Buttons ──────────────────────────────── */
.neon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 24px; border: 1px solid var(--border-subtle); border-radius: var(--radius-full);
  background: transparent; color: var(--text-primary); font-size: 0.875rem; font-weight: 600;
  letter-spacing: 0.3px; transition: all var(--transition); position: relative; overflow: hidden;
}
.neon-btn::before {
  content: ''; position: absolute; inset: 0; background: var(--gradient-primary);
  opacity: 0; transition: opacity var(--transition); z-index: -1;
}
.neon-btn:hover {
  border-color: transparent; color: #fff;
  box-shadow: 0 4px 20px rgba(124,58,237,0.3); transform: translateY(-1px);
}
.neon-btn:hover::before { opacity: 1; }
.neon-btn.alt { border-color: var(--accent-purple); background: var(--gradient-primary); color: #fff; }
.neon-btn.alt:hover { box-shadow: 0 4px 25px rgba(124,58,237,0.4); transform: translateY(-2px); }
.neon-btn.active { background: var(--gradient-primary); border-color: transparent; color: #fff; box-shadow: 0 4px 15px rgba(124,58,237,0.3); }
.select-btn {
  display: inline-flex; align-items: center; padding: 8px 18px;
  border: 1px solid var(--border-subtle); border-radius: var(--radius-full);
  background: transparent; color: var(--text-primary); font-weight: 600; transition: all var(--transition);
}
.select-btn:hover { border-color: var(--accent-purple); background: var(--gradient-subtle); color: #fff; }

/* ── 5. Loading Overlay ──────────────────────── */
.loading-overlay {
  position: fixed; inset: 0; background: rgba(10, 10, 15, 0.9); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center; z-index: 10000;
  visibility: hidden; opacity: 0; transition: all 0.4s ease;
}
.loading-overlay.active { visibility: visible; opacity: 1; }
.loading-container { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.loading-text {
  font-family: var(--font-heading); font-size: 3rem; font-weight: 800;
  background: var(--gradient-primary); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  animation: loadPulse 2s ease-in-out infinite;
}
@keyframes loadPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.7; transform: scale(0.98); } }
.spinner {
  width: 40px; height: 40px; border: 3px solid var(--border-subtle);
  border-top-color: var(--accent-purple); border-radius: 50%; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.dots { display: flex; gap: 8px; }
.dot { width: 8px; height: 8px; background: var(--accent-purple); border-radius: 50%; animation: dotBounce 1.4s ease-in-out infinite; }
.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotBounce { 0%, 80%, 100% { transform: scale(0.5); opacity: 0.4; } 40% { transform: scale(1); opacity: 1; } }

/* ── 6. Hero Section ─────────────────────────── */
.hero-section {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  justify-content: center; text-align: center;
  padding: calc(var(--header-h) + 60px) 24px 80px; overflow: hidden;
}
.hero-section::before {
  content: ''; position: absolute; top: 20%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124,58,237,0.12) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.hero-content { position: relative; max-width: 720px; z-index: 1; }
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, #c4b5fd 50%, #818cf8 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem); color: var(--text-secondary); margin-bottom: 36px;
  line-height: 1.7; max-width: 540px; margin-left: auto; margin-right: auto;
}
.hero-cta { font-size: 1rem; padding: 14px 36px; }

/* ── 7. Glass Panel ──────────────────────────── */
.glass-panel {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: 60px 24px; margin: 24px auto; max-width: var(--max-w);
}
.glass-panel h2 {
  text-align: center; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 40px;
  background: var(--gradient-primary); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── 8. Feature Cards ────────────────────────── */
.features-section { padding: 80px 24px; }
.features-section h2 {
  text-align: center; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 50px;
  background: var(--gradient-primary); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px; max-width: var(--max-w); margin: 0 auto;
}
.feature-card, .glow-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); padding: 32px 24px; text-align: center;
  transition: all var(--transition);
}
.feature-card:hover, .glow-card:hover {
  background: var(--bg-card-hover); border-color: var(--border-hover);
  transform: translateY(-4px); box-shadow: var(--shadow-glow);
}
.feature-card i {
  font-size: 2rem; margin-bottom: 16px;
  background: var(--gradient-primary); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--text-primary); }
.feature-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.5; }

/* ── 9. Stats Section ────────────────────────── */
.stats-section { padding: 60px 24px; text-align: center; }
.stats-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 40px;
  background: var(--gradient-primary); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.stats-section .feature-card h3 {
  font-size: 2rem; background: var(--gradient-accent);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stats-section .feature-card i { color: var(--accent-pink); -webkit-text-fill-color: initial; }

/* ── 10. Products Section ────────────────────── */
.products-section { padding: 60px 24px; }
.products-section h2 {
  text-align: center; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 40px;
  background: var(--gradient-primary); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.products-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; max-width: var(--max-w); margin: 0 auto; padding: 0;
}
.product-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); padding: 32px 24px; text-align: center;
  transition: all var(--transition);
}
.product-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.product-card h3 { font-size: 1.3rem; margin-bottom: 16px; }
.product-card ul { list-style: none; margin-bottom: 20px; text-align: left; }
.product-card ul li { padding: 6px 0; color: var(--text-secondary); font-size: 0.9rem; }
.product-card ul li i { color: var(--accent-green); margin-right: 8px; }
.product-card .price {
  font-size: 1.5rem; font-weight: 700;
  background: var(--gradient-accent); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── 11. Testimonials ────────────────────────── */
.testimonials { padding: 80px 24px; max-width: var(--max-w); margin: 0 auto; }
.testimonials h2 {
  text-align: center; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 40px;
  background: var(--gradient-primary); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.testimonial-carousel {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px;
}
.testimonial-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); padding: 28px 24px; transition: all var(--transition);
}
.testimonial-card:hover { border-color: var(--border-hover); transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.testimonial-card p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 12px; font-style: italic; }
.testimonial-card .rating { font-size: 1rem; margin-bottom: 8px; }
.testimonial-card .user { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; }
.testimonial-navigation { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
.testimonial-navigation button {
  width: 40px; height: 40px; border: 1px solid var(--border-subtle); border-radius: 50%;
  background: var(--bg-card); color: var(--text-primary); font-size: 1rem; transition: all var(--transition);
}
.testimonial-navigation button:hover { border-color: var(--accent-purple); background: var(--gradient-subtle); }
.testimonial-form {
  max-width: 500px; margin: 30px auto 0; padding: 30px;
  background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md);
}
.testimonial-form h3 { font-size: 1.2rem; margin-bottom: 16px; text-align: center; }
.testimonial-form textarea, .testimonial-form select {
  width: 100%; padding: 12px; margin-bottom: 12px; border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm); background: var(--bg-secondary); color: var(--text-primary);
  font-family: var(--font-body); font-size: 0.9rem; resize: vertical;
}
.testimonial-form textarea:focus, .testimonial-form select:focus { border-color: var(--accent-purple); outline: none; }
.testimonial-form button {
  width: 100%; padding: 12px; border: none; border-radius: var(--radius-sm);
  background: var(--gradient-primary); color: #fff; font-weight: 600; transition: all var(--transition);
}
.testimonial-form button:hover { box-shadow: 0 4px 15px rgba(124,58,237,0.4); transform: translateY(-1px); }
.error-message { color: var(--accent-red); font-size: 0.85rem; margin-top: 8px; text-align: center; }

/* ── 12. CTA Section ─────────────────────────── */
.cta-section { text-align: center; padding: 80px 24px; }
.cta-section h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 16px; }
.cta-section p { color: var(--text-secondary); margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ── 13. Footer ──────────────────────────────── */
.main-footer { border-top: 1px solid var(--border-subtle); padding: 40px 24px; text-align: center; margin-top: 60px; }
.social-links { display: flex; justify-content: center; gap: 16px; margin-bottom: 16px; }
.social-links a {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid var(--border-subtle); color: var(--text-secondary);
  font-size: 1rem; transition: all var(--transition);
}
.social-links a:hover { border-color: var(--accent-purple); color: var(--accent-purple); background: var(--gradient-subtle); transform: translateY(-2px); }
.main-footer p { font-size: 0.85rem; color: var(--text-muted); }

/* ── 14. Modals ──────────────────────────────── */
.modal {
  display: flex; align-items: center; justify-content: center;
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px); z-index: 9999;
}
.modal-content {
  background: var(--bg-secondary); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: 40px 32px; width: 100%;
  max-width: 400px; position: relative; box-shadow: var(--shadow-lg);
}
.modal-content h2 {
  font-size: 1.5rem; text-align: center; margin-bottom: 24px;
  background: var(--gradient-primary); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.modal-content label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--text-secondary); margin-bottom: 6px; margin-top: 12px;
}
.modal-content input[type="email"],
.modal-content input[type="password"],
.modal-content input[type="text"] {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm); background: rgba(255,255,255,0.03);
  color: var(--text-primary); font-size: 0.9rem; transition: border-color var(--transition);
}
.modal-content input:focus { border-color: var(--accent-purple); outline: none; box-shadow: 0 0 0 3px rgba(124,58,237,0.1); }
.modal-content .neon-btn, .modal-content button[type="submit"] { width: 100%; margin-top: 20px; padding: 12px; border-radius: var(--radius-sm); }
.modal-content form .neon-btn { border-radius: var(--radius-sm); background: var(--gradient-primary); border: none; color: #fff; }
.modal-content form .neon-btn:hover { box-shadow: 0 4px 15px rgba(124,58,237,0.4); }
.close-btn {
  position: absolute; top: 16px; right: 16px; cursor: pointer; font-size: 1.5rem;
  color: var(--text-muted); transition: color var(--transition); background: none; border: none;
}
.close-btn:hover { color: var(--text-primary); }
.error { color: var(--accent-red); font-size: 0.85rem; margin-top: 8px; }

/* ── 15. User Profile Dropdown ───────────────── */
.user-profile {
  position: relative; cursor: pointer; display: flex; align-items: center; gap: 10px;
  padding: 6px 14px; background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full); transition: all var(--transition);
}
.user-profile:hover { background: var(--bg-card-hover); border-color: var(--border-hover); }
.user-profile img { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--border-subtle); }
.user-profile span { color: var(--text-primary); font-weight: 500; font-size: 0.85rem; }
.profile-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--bg-secondary); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  min-width: 160px; padding: 8px 0; opacity: 0; visibility: hidden;
  transform: translateY(-8px); transition: all var(--transition); z-index: 9999;
}
.user-profile:hover .profile-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.profile-dropdown .dropdown-item {
  display: block; padding: 10px 20px; color: var(--text-secondary); font-size: 0.85rem;
  background: transparent; border: none; text-align: left; width: 100%;
  cursor: pointer; transition: all var(--transition);
}
.profile-dropdown .dropdown-item:hover { background: var(--bg-card-hover); color: var(--accent-violet); }
body.logged-in .auth-controls .neon-btn:not(.alt) { display: none; }

/* ── 16. Theme Toggle ────────────────────────── */
.theme-toggle {
  display: flex; align-items: center; gap: 8px; padding: 4px 10px;
  background: var(--bg-card); border-radius: var(--radius-sm); border: 1px solid var(--border-subtle); font-size: 0.8rem;
}
.theme-toggle label { font-size: 0.8rem; color: var(--text-secondary); font-weight: 500; display: flex; align-items: center; gap: 4px; white-space: nowrap; margin: 0; }
.theme-toggle i { font-size: 14px; color: var(--accent-orange); }
.theme-toggle select {
  appearance: none; background: var(--bg-secondary); color: var(--text-primary);
  border: 1px solid var(--border-subtle); padding: 4px 28px 4px 10px; font-size: 0.8rem;
  font-weight: 500; border-radius: 4px; cursor: pointer; min-width: 100px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2394a3b8' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414L10 12.414 6.707 9.121a1 1 0 00-1.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 8px center; background-size: 12px;
}

/* ── 17. Custom Theme Editor ─────────────────── */
.custom-theme-editor {
  position: fixed; top: calc(var(--header-h) + 8px); right: 15px; width: 240px; padding: 16px;
  background: var(--bg-secondary); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); z-index: 2000; color: var(--text-primary); box-shadow: var(--shadow-lg);
}
.custom-theme-editor h3 { font-size: 0.95rem; margin-bottom: 12px; }
.editor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.editor-grid label { font-size: 0.7rem; color: var(--text-muted); }
.editor-grid input[type="color"], .editor-grid select { margin-top: 2px; background: var(--bg-primary); border: 1px solid var(--border-subtle); border-radius: 4px; padding: 4px; font-size: 0.75rem; color: var(--text-primary); }
.editor-buttons { display: flex; gap: 6px; margin-top: 12px; }
.editor-buttons button { flex: 1; background: var(--gradient-primary); color: #fff; border: none; border-radius: 4px; padding: 6px; font-size: 0.75rem; }
.toggle-editor-btn { position: fixed; bottom: 15px; right: 15px; background: var(--gradient-primary); color: #fff; border: none; border-radius: var(--radius-full); padding: 8px 14px; font-size: 0.8rem; z-index: 2100; }

/* ── 18. Profile Page ────────────────────────── */
.profile-content { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; padding: 20px; }
.profile-card { text-align: center; max-width: 350px; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 32px; }
.profile-avatar { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; border: 3px solid var(--border-subtle); transition: all var(--transition); }
.profile-avatar:hover { border-color: var(--accent-purple); transform: scale(1.03); }
.profile-username { font-size: 1.3rem; margin-bottom: 4px; }
.profile-email, .profile-joined { font-size: 0.9rem; color: var(--text-muted); }

/* ── 19. Discord Section ─────────────────────── */
.discord-avatar { width: 68px; height: 68px; border-radius: 50%; margin-bottom: 1rem; border: 2px solid var(--accent-purple); }
.discord-buttons, .dashboard-buttons { display: flex; flex-direction: column; gap: 0.75rem; }

/* ── 20. 2FA ─────────────────────────────────── */
.twofa-status { text-align: center; margin-bottom: 1rem; }
.status-indicator.enabled { color: var(--accent-green); font-weight: 700; }
.status-indicator.disabled { color: var(--accent-red); font-weight: 700; }
.twofa-buttons { display: flex; flex-direction: column; gap: 0.75rem; }
.qr-code-container { text-align: center; margin-top: 1rem; }
.qr-code { width: 180px; height: 180px; margin: 0 auto 1rem; }
.otp-input { padding: 12px; width: 80%; border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); background: var(--bg-secondary); color: var(--text-primary); font-size: 1rem; }
.otp-input:focus { border-color: var(--accent-purple); outline: none; }

/* ── 21. Activity Log ────────────────────────── */
.activity-log { list-style: none; max-height: 280px; overflow-y: auto; }
.activity-log li { background: var(--bg-card); margin-bottom: 6px; padding: 10px 14px; border-radius: var(--radius-sm); transition: background var(--transition); }
.activity-log li:hover { background: var(--bg-card-hover); }

/* ── 22. Server List ─────────────────────────── */
.server-list { padding: 2rem; max-width: var(--max-w); margin: 2rem auto; text-align: center; }
.server-list h2 { font-size: 1.8rem; margin-bottom: 1rem; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.servers-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; }
.server-card { background: var(--bg-card); border: 1px solid var(--border-subtle); padding: 24px; border-radius: var(--radius-md); text-align: center; transition: all var(--transition); animation: fadeIn 0.4s ease; }
.server-card:hover { transform: translateY(-4px); border-color: var(--border-hover); box-shadow: var(--shadow-glow); }
.server-icon { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 12px; }
.server-card h3 { font-size: 1.1rem; margin: 8px 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.manage-btn { background: var(--gradient-primary); color: #fff; border: none; padding: 8px 20px; border-radius: var(--radius-sm); font-size: 0.9rem; margin-top: 12px; transition: all var(--transition); }
.manage-btn:hover { box-shadow: 0 4px 15px rgba(124,58,237,0.4); }
.manage-btn.disabled { background: var(--bg-card); color: var(--text-muted); cursor: not-allowed; }

/* ── 23. Server Management ───────────────────── */
.server-management { max-width: var(--max-w); margin: 2rem auto; padding: 2rem; }
.server-overview { display: flex; align-items: center; justify-content: space-between; background: var(--bg-card); padding: 20px; border-radius: var(--radius-md); border: 1px solid var(--border-subtle); margin-bottom: 2rem; }
.server-overview img { width: 64px; height: 64px; border-radius: 50%; }
.server-overview .btn { padding: 8px 16px; border-radius: var(--radius-sm); border: none; }
.server-overview .btn-primary { background: var(--accent-red); color: #fff; }
.server-statistics { background: var(--bg-card); padding: 20px; border-radius: var(--radius-md); border: 1px solid var(--border-subtle); margin-bottom: 2rem; }
.server-statistics .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
.stat-item { background: var(--bg-card-hover); padding: 16px; text-align: center; border-radius: var(--radius-sm); }
.stat-item i { font-size: 1.8rem; margin-bottom: 8px; color: var(--accent-violet); }
.stat-item span { display: block; font-size: 1.1rem; font-weight: 700; }

/* ── 24–25. Bot Settings & Activity Table ────── */
.bot-settings .form-group { margin-bottom: 1rem; }
.bot-settings input { width: 100%; padding: 10px; border-radius: var(--radius-sm); border: 1px solid var(--border-subtle); background: var(--bg-secondary); color: var(--text-primary); }
.bot-settings .btn-save { background: var(--gradient-primary); color: #fff; padding: 10px 20px; border-radius: var(--radius-sm); border: none; }
.recent-activity table { width: 100%; border-collapse: collapse; background: var(--bg-card); border-radius: var(--radius-md); overflow: hidden; }
.recent-activity table th, .recent-activity table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border-subtle); }
.recent-activity table thead { background: var(--gradient-primary); color: #fff; }

/* ── 26. Role Chips ──────────────────────────── */
.role-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); background: var(--bg-card); min-height: 40px; }
.role-chip { display: inline-block; padding: 4px 12px; border-radius: var(--radius-full); background: var(--gradient-primary); color: #fff; font-size: 0.8rem; font-weight: 600; }
#dashboardButtons { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1rem; }

/* ── 27. Cards & Buttons ─────────────────────── */
.card-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; padding: 2rem; }
.card { background: var(--bg-card); border: 1px solid var(--border-subtle); padding: 24px; border-radius: var(--radius-md); text-align: center; transition: all var(--transition); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.card h2 { font-size: 1.3rem; margin-bottom: 12px; color: var(--accent-violet); }
.card p { font-size: 0.9rem; color: var(--text-secondary); }
.btn { display: inline-block; margin-top: 1rem; padding: 8px 20px; font-size: 0.9rem; border: none; border-radius: var(--radius-sm); color: #fff; background: var(--gradient-primary); transition: all var(--transition); }
.btn:hover { box-shadow: 0 4px 15px rgba(124,58,237,0.3); }
.btn-edit { background: var(--accent-orange); }

/* ── 28. Forms ───────────────────────────────── */
.form-section { margin-bottom: 40px; }
.form-row { display: flex; gap: 16px; margin-bottom: 16px; }
.form-group { flex: 1; display: flex; flex-direction: column; }
label { margin-bottom: 6px; font-weight: 600; font-size: 0.85rem; color: var(--text-secondary); }
input, select { padding: 10px 12px; border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); background: var(--bg-secondary); color: var(--text-primary); font-size: 0.9rem; }
input:focus, select:focus { border-color: var(--accent-purple); outline: none; }

/* ── 29. Purchase Modal ──────────────────────── */
.purchase-modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(8px); z-index: 9999; }

/* ── 30. WOW Banner ──────────────────────────── */
.wow-banner { width: 100%; height: 48px; background: var(--bg-secondary); display: flex; align-items: center; overflow: hidden; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.banner-text { display: flex; gap: 50px; animation: scrollText 20s linear infinite; font-family: var(--font-heading); font-size: 0.9rem; font-weight: 700; text-transform: uppercase; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
@keyframes scrollText { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }

/* ── 31. Category Buttons ────────────────────── */
.category-section { text-align: center; margin-top: 100px; padding: 30px 0; }
.category-section h2 { font-size: 1.8rem; margin-bottom: 24px; }
.category-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.category-button { padding: 12px 28px; border-radius: var(--radius-full); font-size: 0.9rem; font-weight: 600; color: #fff; background: var(--gradient-primary); border: none; transition: all var(--transition); }
.category-button:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(124,58,237,0.4); }
.category-button.active { background: var(--gradient-accent); }

/* ── 32. Sidebar ─────────────────────────────── */
.main-container { display: flex; min-height: calc(100vh - var(--header-h)); }
.sidebar { width: 250px; background: var(--bg-secondary); border-right: 1px solid var(--border-subtle); padding: 20px; position: fixed; top: var(--header-h); bottom: 0; }
.content { flex: 1; margin-left: 250px; padding: 24px; }

/* ── 33. Spotify Preview ─────────────────────── */
.preview-section { text-align: center; margin: 20px auto; }
.preview-container { width: 100%; max-width: 900px; aspect-ratio: 16/9; margin: 0 auto; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); overflow: hidden; background: var(--bg-secondary); }
#spotify-preview-image { width: 100%; height: 100%; object-fit: contain; display: block; }
.live-preview { display: flex; align-items: center; justify-content: center; width: 100%; height: 360px; background: var(--bg-secondary); border-radius: var(--radius-md); position: relative; overflow: hidden; padding: 20px; }
.container { width: 90%; max-width: var(--max-w); margin: 0 auto; }
.main { padding: 20px 0; margin-top: var(--header-h); }

/* ── 34. Ticket Cards / Agent Dashboard ──────── */
.ticket-cardagentdashboard { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 20px; width: 240px; transition: all var(--transition); }
.ticket-cardagentdashboard:hover { transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.footeragentdashboard { text-align: center; padding: 16px; background: var(--bg-secondary); color: var(--text-secondary); position: fixed; bottom: 0; width: 100%; }

/* ── 34b. Server Management Layout ──────────── */
.sidebaragentdashboard { position: fixed; top: 80px; left: 0; width: 240px; height: calc(100vh - 80px); background: var(--bg-secondary); border-right: 1px solid var(--border-subtle); padding: 20px 0; overflow-y: auto; z-index: 50; transition: transform 0.3s ease; }
.navagentdashboard { padding: 0; }
.nav-menuagentdashboard { list-style: none; padding: 0; margin: 0; }
.nav-menuagentdashboard li { margin: 2px 0; }
.nav-linkagentdashboard { display: flex; align-items: center; gap: 10px; padding: 12px 20px; color: var(--text-secondary); text-decoration: none; font-size: 0.95rem; transition: all 0.2s; border-left: 3px solid transparent; }
.nav-linkagentdashboard:hover { color: var(--text-primary); background: rgba(139, 92, 246, 0.08); border-left-color: var(--accent-violet); }
.nav-linkagentdashboard.active { color: var(--accent-primary); background: rgba(139, 92, 246, 0.12); border-left-color: var(--accent-primary); font-weight: 600; }
.nav-linkagentdashboard i { width: 20px; text-align: center; font-size: 1rem; }
.maincontentagentdashboard { margin-left: 240px; padding: 100px 30px 60px; min-height: 100vh; }
.contentagentdashboard { display: none; animation: fadeIn 0.4s ease; }
.contentagentdashboard.active { display: block; }
.section-titleagentdashboard { font-family: 'Orbitron', sans-serif; font-size: 1.5rem; margin-bottom: 20px; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
#commands-filter { padding: 8px 20px; }
#commands-filter label { display: block; color: var(--text-muted); font-size: 0.8rem; margin-top: 8px; }
#commands-filter select, #commands-filter input { width: 100%; padding: 6px 10px; margin-top: 4px; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); color: var(--text-primary); font-size: 0.85rem; }
.command-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 16px; }
.server-header { display: flex; align-items: center; gap: 16px; }
.server-info h1 { font-family: 'Orbitron', sans-serif; font-size: 1.4rem; }
.recent-activity table { width: 100%; border-collapse: collapse; }
.recent-activity th, .recent-activity td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border-subtle); }
.recent-activity th { color: var(--accent-primary); font-weight: 600; }
.recent-activity td { color: var(--text-secondary); }
.role-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.role-chip { background: rgba(139, 92, 246, 0.15); color: var(--accent-primary); padding: 4px 12px; border-radius: 20px; font-size: 0.85rem; }
@media (max-width: 768px) {
  .sidebaragentdashboard { transform: translateX(-100%); width: 220px; }
  .sidebaragentdashboard.open { transform: translateX(0); }
  .maincontentagentdashboard { margin-left: 0; padding: 100px 16px 60px; }
}

/* ── 35. Misc ────────────────────────────────── */
.buy-now { transition: all var(--transition); }
.buy-now:hover { transform: scale(1.05); box-shadow: 0 4px 15px rgba(124,58,237,0.3); }
#krowIcon { position: absolute; width: 60px; height: 60px; filter: drop-shadow(0 0 8px rgba(124,58,237,0.5)); }
.highlighted { background: rgba(124,58,237,0.1); border-radius: 4px; }
#krowAnimation { position: absolute; width: 120px; top: 10%; left: -200px; opacity: 0; }
.message.system { background: var(--bg-card); color: var(--text-muted); text-align: center; font-style: italic; padding: 8px; border-radius: var(--radius-sm); margin: 5px 0; }
.server-modules-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-top: 20px; }
.module-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 20px; text-align: center; cursor: pointer; transition: all var(--transition); }
.module-card:hover { transform: translateY(-3px); border-color: var(--border-hover); box-shadow: var(--shadow-glow); }
.module-icon { font-size: 2rem; margin-bottom: 10px; color: var(--accent-violet); }

/* ── 36. Animations ──────────────────────────── */
@keyframes fadeIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* ── 37. Theme Variants ──────────────────────── */
.dark-theme   { background-color: #0a0a0f !important; color: #f1f5f9 !important; }
.light-theme  { background-color: #f8fafc !important; color: #1e293b !important; }
.neon-theme   { background-color: #000005 !important; color: #0ff !important; }
.midnight-theme { background-color: #0a192f !important; color: #e2e8f0 !important; }
.cyberpunk-theme { background-color: #0d0d0d !important; color: #ff00ff !important; }
.retro-theme  { background-color: #2d1b69 !important; color: #ffd93d !important; }
.matrix-theme { background-color: #000 !important; color: #00ff41 !important; }
.pastel-theme { background-color: #faf5ff !important; color: #374151 !important; }
.deepblue-theme { background-color: #001f3f !important; color: #e2e8f0 !important; }
.sunset-theme { background: linear-gradient(135deg, #1a0533, #4a1942) !important; color: #fbbf24 !important; }
.forest-theme { background-color: #0b1f0e !important; color: #a7f3d0 !important; }
.grayscale-theme { background-color: #1a1a1a !important; color: #d4d4d4 !important; }
.custom-theme { background-color: var(--ct-body-bg, #0a0a0f) !important; color: var(--ct-text, #f1f5f9) !important; }
.custom-theme .main-header { background-color: var(--ct-header-bg, rgba(10,10,15,0.8)) !important; }
.custom-theme .neon-btn { background-color: var(--ct-btn-bg, transparent) !important; color: var(--ct-btn-text, #fff) !important; }
.custom-theme .neon-btn.alt { background-color: var(--ct-btn-alt-bg, #7c3aed) !important; color: var(--ct-btn-alt-text, #fff) !important; }
.custom-theme .main-footer { background-color: var(--ct-footer-bg, transparent) !important; color: var(--ct-footer-text, #94a3b8) !important; }

/* ── 38. Light Mode Overrides ────────────────── */
html.light-mode {
  --bg-primary: #f8fafc; --bg-secondary: #f1f5f9;
  --bg-card: rgba(0,0,0,0.02); --bg-card-hover: rgba(0,0,0,0.04);
  --border-subtle: rgba(0,0,0,0.08); --border-hover: rgba(124,58,237,0.3);
  --text-primary: #1e293b; --text-secondary: #475569; --text-muted: #94a3b8;
}

/* ── 39. Responsive ──────────────────────────── */
@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .nav-menu.mobile-open { display: flex; flex-direction: column; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: var(--bg-secondary); padding: 32px 24px; gap: 1.5rem; z-index: 998; }
  .hero-section { padding-top: calc(var(--header-h) + 40px); min-height: 85vh; }
  .features-grid, .products-grid, .testimonial-carousel { grid-template-columns: 1fr; }
  .glass-panel { margin: 16px; padding: 40px 16px; }
  .theme-toggle { display: none; }
  .sidebar { display: none; }
  .content { margin-left: 0; padding: 16px; }
  .form-row { flex-direction: column; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem; }
  .glass-panel { padding: 30px 12px; }
}

/* ── 40. Scrollbar ───────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: rgba(124,58,237,0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(124,58,237,0.5); }
::selection { background: rgba(124,58,237,0.3); color: #fff; }

/* ── 41. Commands Page ───────────────────────── */
.commands-search {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.commands-search input {
  width: 100%;
  max-width: 500px;
  padding: 14px 24px;
  border: 1px solid var(--border-color);
  border-radius: 30px;
  background: rgba(255,255,255,0.04);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--ff-body);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.commands-search input:focus {
  border-color: var(--accent-purple);
  box-shadow: 0 0 16px rgba(124,58,237,0.25);
}
.commands-search input::placeholder { color: var(--text-muted); }

#categories-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 20px 0;
}
#categories-buttons .neon-btn {
  font-size: 0.85rem;
  padding: 6px 16px;
}
#categories-buttons .neon-btn.active {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 0 18px rgba(124,58,237,0.4);
  border-color: transparent;
}
.command-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  margin-bottom: 14px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.command-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(124,58,237,0.12);
}
.command-card h3 {
  color: var(--accent-pink);
  margin-bottom: 8px;
  font-size: 1.1rem;
}
.command-card p {
  margin: 4px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.command-card .cmd-usage {
  font-family: 'Courier New', monospace;
  background: rgba(0,0,0,0.3);
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  color: var(--accent-purple);
}
.command-count {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: -10px;
  margin-bottom: 20px;
}

/* ── 42. Status Page ─────────────────────────── */
.status-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 48px 20px;
  margin-top: var(--header-h);
  text-align: center;
}
.status-indicator {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #888;
  box-shadow: 0 0 14px rgba(0,204,0,0.5);
  animation: pulse-status 2s infinite;
  flex-shrink: 0;
}
@keyframes pulse-status {
  0%, 100% { box-shadow: 0 0 8px rgba(0,204,0,0.3); }
  50% { box-shadow: 0 0 24px rgba(0,204,0,0.8); }
}
.status-indicator.offline {
  background-color: #ff4444;
  box-shadow: 0 0 14px rgba(255,68,68,0.5);
  animation: pulse-offline 2s infinite;
}
@keyframes pulse-offline {
  0%, 100% { box-shadow: 0 0 8px rgba(255,0,0,0.3); }
  50% { box-shadow: 0 0 24px rgba(255,0,0,0.8); }
}
.status-info h1 { margin: 0; font-size: 2rem; }

.metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.metric-card {
  flex: 1 1 200px;
  max-width: 230px;
  text-align: center;
  padding: 28px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: transform 0.3s, box-shadow 0.3s;
}
.metric-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(124,58,237,0.12);
}
.metric-card h3 {
  color: var(--accent-purple);
  margin-bottom: 12px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.metric-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
}

.incident-overview, .recent-incidents {
  max-width: 800px;
  margin: 30px auto;
  padding: 24px;
}
.incident-overview h2, .recent-incidents h2 {
  text-align: center;
  margin-bottom: 20px;
  color: var(--accent-purple);
}
.incident-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.incident-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
}
.incident-item .incident-time {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.incident-item .incident-type {
  font-weight: 600;
  margin-bottom: 5px;
}
.incident-type.critical { color: #ff4444; }
.incident-type.warning  { color: #ffaa00; }
.incident-type.info     { color: #00ccff; }
#incident-chart { max-height: 300px; }

/* ── 43. Footer Extras ───────────────────────── */
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto 24px;
}
.footer-brand { max-width: 300px; }
.footer-brand .logo span {
  font-family: var(--ff-heading);
  font-size: 1.6rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-brand p {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.footer-links {
  display: flex;
  gap: 48px;
}
.footer-links h4 {
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.footer-links a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 6px;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent-purple); }
.footer-copy {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}
.modal-footer-text {
  text-align: center;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.modal-footer-text a {
  color: var(--accent-purple);
  text-decoration: none;
  font-weight: 600;
}
.modal-footer-text a:hover { text-decoration: underline; }

/* ── 44. Hamburger ───────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0; bottom: 0;
    background: var(--bg-secondary);
    padding: 32px 24px;
    gap: 1.5rem;
    z-index: 998;
  }
  .nav-menu.open { display: flex; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { gap: 24px; }
  .status-banner { flex-direction: column; gap: 12px; }
  .metrics { gap: 12px; }
  .metric-card { max-width: 100%; }
}

/* ── 45. Profile Page ────────────────────────── */
.main-containerprofilepage {
  display: flex;
  gap: 32px;
  max-width: var(--max-w);
  margin: calc(var(--header-h) + 40px) auto 60px;
  padding: 0 24px;
  min-height: calc(100vh - var(--header-h) - 200px);
}
.sidebarprofilepage {
  width: 260px;
  flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  height: fit-content;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.sidebar-titleprofilepage {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--accent-violet);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.sidebar-menuprofilepage {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sidebar-btnprofilepage {
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.sidebar-btnprofilepage:hover { background: var(--bg-card-hover); color: var(--text-primary); }
.sidebar-btnprofilepage.active {
  background: var(--gradient-subtle);
  color: var(--accent-violet);
  border-left: 3px solid var(--accent-violet);
}
.contentprofilepage {
  flex: 1;
  min-width: 0;
}
.content-sectionprofilepage {
  display: none;
}
.content-sectionprofilepage.active {
  display: block;
  animation: fadeSlide 0.3s ease;
}
@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.section-titleprofilepage {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 24px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.glow-cardprofilepage {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.glow-cardprofilepage:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}
.profile-avatarprofilepage {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid var(--accent-violet);
  margin: 0 auto 16px;
  object-fit: cover;
}
.profile-usernameprofilepage {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  text-align: center;
  margin-bottom: 8px;
}
.profile-emailprofilepage, .profile-joinedprofilepage {
  color: var(--text-secondary);
  text-align: center;
  font-size: 0.9rem;
  margin-bottom: 4px;
}
.profile-cardprofilepage { text-align: center; }
.discord-sectionprofilepage { display: flex; flex-direction: column; gap: 16px; }
.discord-detailsprofilepage { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.discord-detailsprofilepage p { color: var(--text-secondary); margin: 4px 0; }
.discord-avatarprofilepage { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--accent-blue); }
.discord-buttonsprofilepage,
.dashboard-buttonsprofilepage {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.neon-btnprofilepage {
  padding: 10px 24px;
  border: none;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--gradient-primary);
  color: #fff;
  cursor: pointer;
  transition: all var(--transition);
}
.neon-btnprofilepage:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.neon-btnprofilepage.altprofilepage {
  background: transparent;
  border: 1px solid var(--accent-violet);
  color: var(--accent-violet);
}
.neon-btnprofilepage.altprofilepage:hover { background: rgba(124,58,237,0.1); }

.twofa-sectionprofilepage { display: flex; flex-direction: column; gap: 16px; }
.twofa-statusprofilepage { font-size: 1rem; color: var(--text-secondary); }
.status-indicatorprofilepage { font-weight: 600; padding: 4px 12px; border-radius: var(--radius-full); font-size: 0.85rem; }
.status-indicatorprofilepage.enabledprofilepage { background: rgba(16,185,129,0.15); color: var(--accent-green); }
.status-indicatorprofilepage.disabledprofilepage { background: rgba(239,68,68,0.15); color: var(--accent-red); }
.twofa-buttonsprofilepage { display: flex; gap: 12px; }
.qr-codeprofilepage { max-width: 200px; border-radius: var(--radius-md); }
.otp-inputprofilepage {
  padding: 10px 16px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 1rem;
  width: 200px;
  margin-top: 12px;
}
.otp-inputprofilepage:focus { border-color: var(--accent-violet); outline: none; }

.activity-logprofilepage {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.activity-logprofilepage li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}
.activity-iconprofilepage { color: var(--accent-violet); font-size: 1rem; }
.activity-textprofilepage { flex: 1; color: var(--text-primary); font-size: 0.9rem; }
.activity-timestampprofilepage { color: var(--text-muted); font-size: 0.8rem; white-space: nowrap; }

@media (max-width: 768px) {
  .main-containerprofilepage { flex-direction: column; }
  .sidebarprofilepage {
    width: 100%;
    position: static;
    flex-direction: row;
    overflow-x: auto;
  }
  .sidebar-menuprofilepage { flex-direction: row; }
  .sidebar-btnprofilepage { white-space: nowrap; }
}

/* ── 46. Personal Dashboard ──────────────────── */
.personal-dashboard {
  max-width: var(--max-w);
  margin: calc(var(--header-h) + 40px) auto 60px;
  padding: 0 24px;
}
.personal-dashboard h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}
.personal-dashboard > p {
  color: var(--text-secondary);
  margin-bottom: 32px;
}
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.card-container .card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.card-container .card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}
.card-container .card h2 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--accent-violet);
  margin-bottom: 12px;
}
.card-container .card p {
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-size: 0.9rem;
}
.card-container .card p span {
  color: var(--text-primary);
  font-weight: 600;
}
.btn-edit {
  padding: 8px 20px;
  border: none;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  margin-top: 8px;
}
.btn-edit:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }

/* ── 47. Server Dashboard ────────────────────── */
.server-list {
  max-width: var(--max-w);
  margin: calc(var(--header-h) + 40px) auto 60px;
  padding: 0 24px;
}
.server-list h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 32px;
}
.servers-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.server-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.server-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}
.server-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 16px;
  border: 2px solid var(--accent-violet);
  object-fit: cover;
}
.server-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.manage-btn {
  padding: 8px 24px;
  border: none;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
}
.manage-btn:hover:not(.disabled) { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.manage-btn.disabled {
  background: var(--bg-card-hover);
  color: var(--text-muted);
  cursor: not-allowed;
}

/* ── 48. Legal Pages (Privacy / Terms) ───────── */
.legal-page {
  max-width: 860px;
  margin: calc(var(--header-h) + 40px) auto 60px;
  padding: 0 24px;
}
.legal-page .legal-header {
  margin-bottom: 40px;
}
.legal-page .legal-header h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}
.legal-page .legal-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.legal-page .breadcrumb-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  font-size: 0.85rem;
}
.legal-page .breadcrumb-nav a { color: var(--accent-violet); }
.legal-page .breadcrumb-nav span { color: var(--text-muted); }
.legal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.legal-content h2 {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 12px; }
.legal-content ul, .legal-content ol { padding-left: 24px; margin-bottom: 12px; }
.legal-content li { color: var(--text-secondary); line-height: 1.8; margin-bottom: 6px; }
.legal-content a { color: var(--accent-violet); }
.legal-content a:hover { color: var(--accent-pink); }
.legal-content strong { color: var(--text-primary); }
