@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=DM+Mono:wght@400;500&display=swap');



:root {
  --dark: #000000;
  --dark-lighter: #0a0a0a;
  --dark-card: #111111;
  --dark-elevated: #1a1a1a;
  --dark-elevated-2: #242424;
  --dark-elevated-3: #2e2e2e;
  --gray-900: #3d3d3d;
  --gray-700: #6b6b6b;
  --gray-400: #a0a0a0;
  --gray-200: #d0d0d0;

  --primary: #ffffff;
  --primary-glow: rgba(255, 255, 255, 0.16);
  --secondary: var(--gray-400);
  --accent: var(--gray-200);

  --bg-dark: var(--dark);
  --bg-sidebar: rgba(8, 8, 8, 0.94);
  --bg-card: rgba(17, 17, 17, 0.88);
  --bg-input: var(--dark-elevated);

  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: #6b6b6b;

  --border: rgba(255, 255, 255, 0.15);
  --border-bright: rgba(255, 255, 255, 0.5);

  --danger: #ff3b3b;
  --error: var(--danger);
  --warning: var(--text-muted);
  --success: var(--primary);

  --text-on-primary: #08080a;

  --shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 30px rgba(255, 255, 255, 0.15);

  --gradient: linear-gradient(135deg, #ffffff 0%, #d0d0d0 100%);
  --gradient-surface: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
  --gradient-bg: linear-gradient(135deg, #000000 0%, #0a0a0a 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  --gradient-purple: var(--gradient-subtle);

  --glass: rgba(255, 255, 255, 0.03);
  --glass-strong: rgba(255, 255, 255, 0.06);

  --transition-speed: 0.2s;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  --font-mono: 'DM Mono', ui-monospace, monospace;

  --grid-line: rgba(255, 255, 255, 0.05);
  --grid-size: 48px;

  --brand-youtube: #FF0000;
  --brand-discord: #5865F2;

  --wallpaper-dark: url('https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/6920d14d-8e6a-45d8-92c6-be93f76bfb84/djnggst-94fa13b8-80ef-4603-82e9-041b107a4b12.gif?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7InBhdGgiOiJcL2ZcLzY5MjBkMTRkLThlNmEtNDVkOC05MmM2LWJlOTNmNzZiZmI4NFwvZGpuZ2dzdC05NGZhMTNiOC04MGVmLTQ2MDMtODJlOS0wNDFiMTA3YTRiMTIuZ2lmIn1dXSwiYXVkIjpbInVybjpzZXJ2aWNlOmZpbGUuZG93bmxvYWQiXX0.9LQv8CV8yoNDWhp5kuEM352Lw2iP4OI6rzNfXlDMHQA');
  --wallpaper-light: url('https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/a731ff50-b460-43b8-9360-34c7cb25335e/dgdvupb-55026c55-3162-4394-ba79-dd46ba0bfba7.gif?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7InBhdGgiOiJcL2ZcL2E3MzFmZjUwLWI0NjAtNDNiOC05MzYwLTM0YzdjYjI1MzM1ZVwvZGdkdnVwYi01NTAyNmM1NS0zMTYyLTQzOTQtYmE3OS1kZDQ2YmEwYmZiYTcuZ2lmIn1dXSwiYXVkIjpbInVybjpzZXJ2aWNlOmZpbGUuZG93bmxvYWQiXX0.J4cDWUqqk9vgOFYgRshkM_QSK4NfuT3YKipDP0Af6qE');
}

body.light-theme {
  --dark: #f5f5f4;
  --dark-lighter: #ffffff;
  --dark-card: #ffffff;
  --dark-elevated: #ececec;

  --primary: #000000;
  --primary-glow: rgba(0, 0, 0, 0.1);
  --secondary: var(--gray-700);
  --accent: var(--gray-900);

  --bg-dark: var(--dark);
  --bg-sidebar: rgba(255, 255, 255, 0.96);
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-input: #ececec;

  --text-primary: #111111;
  --text-secondary: #4a4a4a;
  --text-muted: #8a8a8a;

  --border: rgba(0, 0, 0, 0.12);
  --border-bright: rgba(0, 0, 0, 0.4);

  --text-on-primary: #ffffff;

  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 30px rgba(0, 0, 0, 0.1);

  --gradient: linear-gradient(135deg, #000000 0%, #3d3d3d 100%);
  --gradient-surface: linear-gradient(135deg, #ffffff 0%, #ececec 100%);
  --gradient-bg: linear-gradient(135deg, #f5f5f4 0%, #ffffff 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.015));

  --glass: rgba(0, 0, 0, 0.025);
  --glass-strong: rgba(0, 0, 0, 0.05);

  --grid-line: rgba(0, 0, 0, 0.06);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--gradient-bg);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--transition-speed) ease;
  font-size: 15px;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--gradient-bg);
  background-image: var(--wallpaper-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: 0;
  opacity: 0.6;
  transition: opacity var(--transition-speed) ease;
}

body.light-theme::before {
  background: var(--gradient-bg);
  background-image: var(--wallpaper-light);
  opacity: 0.5;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: -2;
  pointer-events: none;
  transition: background var(--transition-speed) ease;
}

body.light-theme::after { background: rgba(255, 255, 255, 0.75); }

@supports not (background-image: url()) {
  body::before {
    background: var(--gradient-bg) !important;
  }
  body.light-theme::before {
    background: var(--gradient-bg) !important;
  }
}

@media screen and (max-width: 480px) {
  body::before { background-attachment: scroll; }
}

.main-layout {
  display: flex;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.sidebar {
  width: 370px;
  min-width: 370px;
  height: 100vh;
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow-y: auto;
  animation: slideInLeft 0.7s ease-out forwards;
  box-shadow: 2px 0 30px rgba(0, 0, 0, 0.5);
}

.sidebar::before {
  content: '';
  display: block;
  height: 2px;
  width: 100%;
  background: var(--gradient);
  flex-shrink: 0;
}

.sidebar-header {
  padding: 1.75rem 1.75rem 1.5rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  background: var(--glass);
}

.title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-bottom: 0.45rem;
}

.subtitle {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--glass-strong);
}

.sidebar-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  overflow-y: auto;
}

.config-section {
  border-bottom: 1px solid var(--border);
  transition: background-color 0.18s ease;
}

.config-section:last-child { border-bottom: none; }

.config-section.open { background: var(--glass); }

.config-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.75rem;
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  transition: background-color 0.18s ease, padding-left 0.18s ease;
  gap: 0.75rem;
}

.config-toggle:hover {
  background: var(--glass-strong);
  padding-left: 2.1rem;
}

.config-section.open .config-toggle {
  padding-left: 2.1rem;
}

.config-title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.config-section.open .config-title { color: var(--primary); }

.toggle-icon {
  font-size: 0.9rem;
  font-weight: 400;
  transition: transform 0.28s ease, color 0.18s ease, border-color 0.18s ease;
  color: var(--text-muted);
  width: 18px;
  height: 18px;
  min-width: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--glass-strong);
  -webkit-text-fill-color: unset;
}

.config-section.open .toggle-icon {
  transform: rotate(45deg);
  color: var(--primary);
  border-color: var(--border-bright);
}

.config-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease, padding 0.28s ease;
  padding: 0 1.75rem;
}

.config-section.open .config-body {
  max-height: 1000px;
  padding: 0.25rem 1.75rem 1.5rem;
}

.sidebar-footer {
  padding: 1.25rem 1.75rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
  background: var(--glass);
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  font-size: 0.85rem;
  position: relative;
}

.footer-link.social-link {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-link.social-link svg { width: 18px; height: 18px; }

.footer-link.social-link:hover {
  color: var(--primary);
  border-color: var(--border-bright);
  background: var(--glass-strong);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--primary-glow);
}

.footer-link.social-link[href*="youtube.com"]:hover {
  color: var(--brand-youtube);
  border-color: var(--brand-youtube);
  box-shadow: 0 4px 14px rgba(255, 0, 0, 0.3);
}

.footer-link.social-link[href*="discord.gg"]:hover {
  color: var(--brand-discord);
  border-color: var(--brand-discord);
  box-shadow: 0 4px 14px rgba(88, 101, 242, 0.3);
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gradient);
  transition: width 0.2s ease;
}

.footer-link:not(.social-link):hover { color: var(--primary); }
.footer-link:not(.social-link):hover::after { width: 100%; }

.main-content {
  flex-grow: 1;
  padding: 2.5rem 3rem;
  transition: background-color var(--transition-speed) ease;
}

.footer {
  text-align: center;
  padding: 1.75rem 0 0;
  margin-top: 1rem;
  border-top: 1px solid var(--border);
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 1s both;
}

.creator-credit {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.creator-credit a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  transition: opacity 0.2s ease;
}

.creator-credit a:hover { opacity: 0.65; text-decoration: underline; }

.zen-mode {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: opacity 0.3s ease;
  animation: fadeInScale 0.8s ease-out forwards;
}

.zen-mode.hidden { display: none; }

.zen-mode::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--wallpaper-dark);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.88;
  z-index: -1;
}

body.light-theme .zen-mode::before {
  background-image: var(--wallpaper-light);
  opacity: 0.78;
}

.zen-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.zen-subtitle {
  font-family: var(--font-mono);
  font-size: clamp(0.85rem, 2.5vw, 1.1rem);
  color: var(--text-secondary);
  font-weight: 500;
  padding: 0.9rem 2.5rem;
  background: var(--glass-strong);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-bright);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.zen-subtitle:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
  transform: scale(1.02);
  color: var(--primary);
}

.zen-theme-toggle {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  background: var(--glass-strong);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-primary);
}

.zen-theme-toggle:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.main-layout { display: none; }
.zen-mode.hidden ~ .main-layout { display: flex; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-bright); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

@media (max-width: 1200px) {
  .sidebar { width: 330px; min-width: 330px; }
  .main-content { padding: 2rem; }
}

@media (max-width: 992px) {
  .main-layout { flex-direction: column; }
  .sidebar {
    width: 100%;
    min-width: unset;
    height: auto;
    position: relative;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .main-content { padding: 1.5rem; }
}

@media (max-width: 768px) {
  .sidebar-header { padding: 1.25rem; }
  .config-toggle { padding: 0.9rem 1.25rem; }
  .config-body { padding: 0 1.25rem; }
  .config-section.open .config-body { padding: 0 1.25rem 1.25rem; }
}
