@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {

  --bg-primary: #0b0e14;
  --bg-secondary: #111722;
  --bg-tertiary: #161f30;
  --bg-card: rgba(22, 31, 48, 0.7);
  --bg-card-hover: rgba(30, 42, 65, 0.85);
  --bg-glass: rgba(17, 23, 34, 0.75);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(88, 101, 242, 0.35);
  --border-glow: rgba(88, 101, 242, 0.6);

  --discord-blurple: #5865f2;
  --discord-blurple-hover: #4752c4;
  --discord-green: #57f287;
  --discord-yellow: #fee75c;
  --discord-red: #ed4245;
  --discord-fuchsia: #eb459e;
  --discord-cyan: #00b0ff;
  --discord-purple: #b19cd9;
  --discord-dark-embed: #2b2d31;

  --text-primary: #f2f3f5;
  --text-secondary: #949ba4;
  --text-muted: #6e7681;
  --text-link: #00a8fc;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --glow-blurple: 0 0 25px rgba(88, 101, 242, 0.25);
  --glow-red: 0 0 20px rgba(237, 66, 69, 0.25);
  --glow-green: 0 0 20px rgba(87, 242, 135, 0.25);

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;

  --sidebar-width: 290px;
  --header-height: 72px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  color-scheme: dark;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(88, 101, 242, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 65%, rgba(235, 69, 158, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(0, 176, 255, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
}

::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--discord-blurple);
}

::selection {
  background: rgba(88, 101, 242, 0.4);
  color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  transition: var(--transition-normal);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-icon-wrapper {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--discord-blurple), #7289da);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(88, 101, 242, 0.4);
  overflow: hidden;
  flex-shrink: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.brand-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-text h1 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #fff, #c8d0e7);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-center {
  flex: 1;
  max-width: 480px;
  margin: 0 1.5rem;
  display: flex;
  justify-content: center;
}

.header-search {
  position: relative;
  width: 100%;
}

.search-input {
  width: 100%;
  padding: 0.65rem 2.6rem 0.65rem 2.6rem;
  background: rgba(22, 31, 48, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 0.88rem;
  font-family: inherit;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.25);
}

.search-input::placeholder {
  color: #8b949e;
  font-size: 0.84rem;
}

.search-input:focus {
  border-color: var(--discord-blurple);
  box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.25), 0 4px 16px rgba(0, 0, 0, 0.35);
  background: #141b27;
  color: #fff;
}

.search-icon {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
  transition: color var(--transition-fast);
}

.search-input:focus ~ .search-icon {
  color: var(--discord-blurple);
}

.search-shortcut {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  font-size: 0.68rem;
  font-family: var(--font-mono);
  padding: 0.15rem 0.45rem;
  color: var(--text-muted);
  pointer-events: none;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.prefix-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  background: rgba(88, 101, 242, 0.12);
  border: 1px solid rgba(88, 101, 242, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: #c4ccff;
}

.prefix-badge code {
  font-family: var(--font-mono);
  background: var(--discord-blurple);
  color: #fff;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.8rem;
}

.btn-header-discord {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--discord-blurple), #4752c4);
  color: #fff;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
  box-shadow: 0 4px 14px rgba(88, 101, 242, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-header-discord:hover {
  background: linear-gradient(135deg, #6975f7, #5865f2);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.55);
  color: #fff;
}

.btn-hero-discord {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #5865f2, #4752c4);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.4);
  transition: var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-hero-discord:hover {
  background: linear-gradient(135deg, #6975f7, #5865f2);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(88, 101, 242, 0.6);
  color: #fff;
}

.btn-footer-discord {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(88, 101, 242, 0.15);
  border: 1px solid rgba(88, 101, 242, 0.35);
  color: #c9cdfb;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.btn-footer-discord:hover {
  background: var(--discord-blurple);
  color: #fff;
  border-color: var(--discord-blurple);
  transform: translateY(-1px);
}

.server-card-box {
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.12), rgba(22, 31, 48, 0.85));
  border: 1px solid rgba(88, 101, 242, 0.3);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  margin-top: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.server-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.server-card-header h4 {
  font-size: 0.9rem;
  color: #fff;
  font-weight: 700;
}

.server-badge-live {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--discord-green);
  background: rgba(87, 242, 135, 0.15);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(87, 242, 135, 0.3);
}

.server-card-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 0.85rem;
}

.btn-sidebar-join {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.55rem;
  background: var(--discord-blurple);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  transition: var(--transition-fast);
}

.btn-sidebar-join:hover {
  background: var(--discord-blurple-hover);
  color: #fff;
  box-shadow: 0 4px 12px rgba(88, 101, 242, 0.35);
}

.mobile-nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  background: var(--bg-tertiary);
}

.app-container {
  display: flex;
  margin-top: var(--header-height);
  min-height: calc(100vh - var(--header-height));
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.sidebar {
  width: var(--sidebar-width);
  position: sticky;
  top: var(--header-height);
  height: calc(100vh - var(--header-height));
  overflow-y: auto;
  padding: 1.5rem 1rem 3rem 1.5rem;
  border-right: 1px solid var(--border-subtle);
  background: rgba(11, 14, 20, 0.5);
  backdrop-filter: blur(10px);
  flex-shrink: 0;
}

.nav-group {
  margin-bottom: 1.75rem;
}

.nav-group-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 0.4rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.nav-item-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.nav-item-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(3px);
}

.nav-item-link.active {
  color: #fff;
  background: linear-gradient(90deg, rgba(88, 101, 242, 0.2), rgba(88, 101, 242, 0.08));
  border-left: 3px solid var(--discord-blurple);
  font-weight: 700;
}

.nav-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-emoji {
  font-size: 1.1rem;
  line-height: 1;
}

.nav-counter {
  font-size: 0.72rem;
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.nav-item-link.active .nav-counter {
  background: var(--discord-blurple);
  color: #fff;
}

.main-content {
  flex: 1;
  min-width: 0;
  padding: 2.5rem 3.5rem 5rem 3.5rem;
}

.hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.15) 0%, rgba(235, 69, 158, 0.08) 50%, rgba(17, 23, 34, 0.9) 100%);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-bottom: 3.5rem;
  box-shadow: var(--shadow-md), var(--glow-blurple);
  overflow: hidden;
}

.hero-glow-blob {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88, 101, 242, 0.4) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(88, 101, 242, 0.15);
  border: 1px solid rgba(88, 101, 242, 0.35);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: #c9d2ff;
  margin-bottom: 1.25rem;
}

.hero-pill .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--discord-green);
  box-shadow: 0 0 10px var(--discord-green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, #ffffff 30%, #b8c4ea 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-quick-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature-pill-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: rgba(17, 23, 34, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  backdrop-filter: blur(8px);
}

.feature-pill-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.feature-pill-card h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.2rem;
}

.feature-pill-card p {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--discord-blurple);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.4);
  transition: var(--transition-fast);
}

.btn-hero-primary:hover {
  background: var(--discord-blurple-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(88, 101, 242, 0.6);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-tertiary);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
}

.filter-toolbar {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.45rem 0.9rem;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.filter-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.filter-btn.active {
  background: var(--discord-blurple);
  color: #fff;
  border-color: var(--discord-blurple);
  box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
}

.filter-stats {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.doc-section {
  margin-bottom: 4.5rem;
  position: relative;
}

.section-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.section-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
}

.section-title {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: 0.35rem;
  max-width: 800px;
}

.section-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.badge-mod { background: rgba(237, 66, 69, 0.15); color: #ff7b7d; border: 1px solid rgba(237, 66, 69, 0.3); }
.badge-welcome { background: rgba(235, 69, 158, 0.15); color: #ff85c6; border: 1px solid rgba(235, 69, 158, 0.3); }
.badge-donate { background: rgba(177, 156, 217, 0.15); color: #d2bcf3; border: 1px solid rgba(177, 156, 217, 0.3); }
.badge-giveaway { background: rgba(254, 231, 92, 0.15); color: #ffe668; border: 1px solid rgba(254, 231, 92, 0.3); }
.badge-admin { background: rgba(88, 101, 242, 0.15); color: #a4adff; border: 1px solid rgba(88, 101, 242, 0.3); }
.badge-general { background: rgba(87, 242, 135, 0.15); color: #7cf8a2; border: 1px solid rgba(87, 242, 135, 0.3); }

.commands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.command-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  backdrop-filter: blur(8px);
}

.command-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-md);
}

.command-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.cmd-names {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.cmd-prefix {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.cmd-slash {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--discord-blurple);
  font-weight: 600;
}

.cmd-perm-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.perm-everyone { background: rgba(87, 242, 135, 0.15); color: var(--discord-green); }
.perm-mod { background: rgba(237, 66, 69, 0.15); color: #ff787b; }
.perm-admin { background: rgba(88, 101, 242, 0.15); color: #9da8ff; }
.perm-owner { background: rgba(254, 231, 92, 0.15); color: var(--discord-yellow); }

.cmd-description {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.1rem;
}

.cmd-aliases {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.cmd-aliases code {
  background: var(--bg-tertiary);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.cmd-syntax-box {
  background: rgba(11, 14, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  position: relative;
  margin-bottom: 1rem;
  overflow-x: auto;
}

.cmd-syntax-box .code-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #8be9fd;
  white-space: nowrap;
  gap: 0.5rem;
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.btn-copy:hover {
  background: var(--discord-blurple);
  color: #fff;
}

.cmd-examples {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.cmd-examples span {
  font-weight: 600;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 0.25rem;
}

.cmd-examples code {
  font-family: var(--font-mono);
  color: #cdd6f4;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  display: inline-block;
  margin-right: 0.4rem;
  margin-bottom: 0.2rem;
}

.warn-system-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.warn-system-header {
  margin-bottom: 1.5rem;
}

.warn-system-header h3 {
  font-size: 1.3rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}

.warn-system-header p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.warn-ladder {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.warn-step-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: var(--transition-normal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.warn-step-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--discord-yellow);
}

.warn-step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  background: #192437;
}

.warn-step-card.active {
  border-color: var(--discord-red);
  box-shadow: var(--glow-red);
  background: #1c2233;
}

.warn-step-card.tier-kick::before { background: #ff7844; }
.warn-step-card.tier-ban::before { background: var(--discord-red); }

.warn-tier-num {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.warn-tier-action {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.3rem;
}

.warn-tier-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.warn-rules-callout {
  background: rgba(237, 66, 69, 0.08);
  border: 1px solid rgba(237, 66, 69, 0.25);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
}

.warn-rules-callout h4 {
  font-size: 0.95rem;
  color: #ff8587;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.warn-rules-callout ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.86rem;
  color: #d1d5db;
}

.warn-rules-callout li::before {
  content: '⚖️ ';
  margin-right: 0.35rem;
}

.discord-simulator-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 3.5rem;
}

.simulator-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.simulator-header h3 {
  font-size: 1.3rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.simulator-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.sim-tab-btn {
  padding: 0.45rem 0.9rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.sim-tab-btn:hover {
  color: #fff;
}

.sim-tab-btn.active {
  background: var(--discord-blurple);
  color: #fff;
  border-color: var(--discord-blurple);
}

.discord-chat-view {
  background: #313338;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  font-family: 'gg sans', 'Noto Sans', var(--font-main);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.4);
}

.discord-msg-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.discord-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--discord-blurple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
}

.discord-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.discord-msg-content {
  flex: 1;
  min-width: 0;
}

.discord-author-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.discord-author-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.discord-bot-tag {
  background: var(--discord-blurple);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.discord-timestamp {
  font-size: 0.72rem;
  color: #949ba4;
}

.discord-mention-text {
  font-size: 0.92rem;
  color: #dbdee1;
  margin-bottom: 0.6rem;
}

.discord-mention-pill {
  background: rgba(88, 101, 242, 0.3);
  color: #c9cdfb;
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
  font-weight: 500;
}

.discord-embed {
  background: #2b2d31;
  border-radius: 6px;
  border-left: 4px solid var(--discord-blurple);
  padding: 1rem 1.25rem;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.discord-embed.embed-warn { border-left-color: var(--discord-red); }
.discord-embed.embed-welcome { border-left-color: var(--discord-blurple); }
.discord-embed.embed-donate { border-left-color: var(--discord-purple); }
.discord-embed.embed-giveaway { border-left-color: var(--discord-fuchsia); }

.embed-top-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.embed-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}

.embed-description {
  font-size: 0.88rem;
  color: #dbdee1;
  line-height: 1.5;
  white-space: pre-line;
}

.embed-thumbnail {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.embed-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.embed-field-full {
  grid-column: span 2;
}

.embed-field-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #b5bac1;
  margin-bottom: 0.2rem;
}

.embed-field-value {
  font-size: 0.85rem;
  color: #dbdee1;
  line-height: 1.4;
}

.embed-image-banner {
  width: 100%;
  max-height: 240px;
  border-radius: 6px;
  object-fit: cover;
  margin-top: 0.4rem;
}

.embed-footer {
  font-size: 0.72rem;
  color: #949ba4;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding-top: 0.35rem;
}

.embed-footer img {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.discord-buttons-row {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.discord-ui-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 0.95rem;
  border-radius: 4px;
  transition: var(--transition-fast);
}

.btn-d-primary { background: #5865f2; color: #fff; }
.btn-d-primary:hover { background: #4752c4; }

.btn-d-success { background: #248046; color: #fff; }
.btn-d-success:hover { background: #1a6334; }

.btn-d-secondary { background: #4e5058; color: #fff; }
.btn-d-secondary:hover { background: #6d6f78; }

.variables-table-container {
  overflow-x: auto;
  margin-bottom: 2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.styled-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.styled-table th {
  background: var(--bg-tertiary);
  padding: 1rem 1.25rem;
  font-weight: 700;
  color: #fff;
  border-bottom: 1px solid var(--border-subtle);
}

.styled-table td {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
}

.styled-table tr:last-child td {
  border-bottom: none;
}

.styled-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.styled-table code {
  font-family: var(--font-mono);
  background: rgba(88, 101, 242, 0.15);
  color: #a4adff;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #080a0f;
  padding: 3rem 2rem 2.5rem 2rem;
  margin-top: 5rem;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 0.5rem;
  max-width: 360px;
}

.footer-meta {
  text-align: right;
  font-size: 0.86rem;
  color: #d1d5db;
}

.footer-meta p {
  margin-bottom: 0.35rem;
}

.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-highlight);
  color: #fff;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg), var(--glow-blurple);
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 900px) {
  .sidebar {
    position: fixed;
    top: var(--header-height);
    left: 0;
    bottom: 0;
    z-index: 999;
    background: #0d121c;
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
    box-shadow: var(--shadow-lg);
  }

  .sidebar.mobile-open {
    transform: translateX(0);
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .main-content {
    padding: 1.5rem 1.5rem 4rem 1.5rem;
  }

  .hero-section {
    padding: 2rem 1.5rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .header-center {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
  }
  .btn-hero-primary, .btn-hero-secondary, .btn-hero-discord {
    width: 100%;
    justify-content: center;
  }
  .commands-grid {
    grid-template-columns: 1fr;
  }
  .embed-fields-grid {
    grid-template-columns: 1fr;
  }
  .embed-field-full {
    grid-column: span 1;
  }
  .footer-meta {
    text-align: left;
  }
}
