:root {
  --accent: #f39c12;
  --accent-rgb: 243, 156, 18;
  --accent-hover: #e67e22;
  --dark-bg: #0d1117;
  --section-bg: #161b22;
  --card-bg: #1c2333;
  --text-muted: #8b949e;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--dark-bg);
  color: #e6edf3;
  padding-top: 72px;
}

/* Navbar */
.navbar {
  background-color: rgba(13, 17, 23, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 0;
}

.navbar-brand {
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px !important;
  border-radius: 8px;
  transition: background 0.2s;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* Hero */
.hero {
  min-height: calc(100vh - 72px);
  background: linear-gradient(135deg, #0d1117 0%, #162033 50%, #0d1117 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(243, 156, 18, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero-logo {
  width: 140px;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(243, 156, 18, 0.2));
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #f39c12;
  background: linear-gradient(135deg, #f39c12, #e67e22);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.hero-cta .btn {
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 12px;
}

.btn-discord {
  background: #5865f2;
  border-color: #5865f2;
  color: #fff;
}

.btn-discord:hover {
  background: #4752c4;
  border-color: #4752c4;
  color: #fff;
}

.btn-install {
  background: #2ea043;
  border-color: #2ea043;
  color: #fff;
}

.btn-install:hover {
  background: #238636;
  border-color: #238636;
  color: #fff;
}

/* Sections */
.section {
  padding: 96px 0;
}

.bg-section {
  background: var(--section-bg);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

/* Feature Cards */
.feature-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(243, 156, 18, 0.3);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  background: rgba(243, 156, 18, 0.1);
  border-radius: 14px;
  font-size: 1.4rem;
  color: var(--accent);
}

/* Steps */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  border-left: 2px solid rgba(243, 156, 18, 0.2);
  position: relative;
  transition: background 0.2s;
  border-radius: 0 12px 12px 0;
}

.step:hover {
  background: rgba(243, 156, 18, 0.03);
}

.step:last-child::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -2px;
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--section-bg));
  pointer-events: none;
}

.step-number {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f39c12, #e67e22);
  color: #000;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50%;
  position: relative;
  z-index: 1;
}

.step-content h5 {
  font-weight: 600;
  margin-bottom: 4px;
}

.step-content p {
  margin: 0;
  color: var(--text-muted);
}

.step-content code {
  background: rgba(243, 156, 18, 0.12);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.85em;
}

/* Regions */
.region-list li {
  padding: 8px 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.region-flag {
  width: 28px !important;
  height: 20px !important;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.4);
  flex-shrink: 0;
}

/* Commands */
.command-table {
  border-radius: 12px;
  overflow: hidden;
}

.command-table thead th {
  background: rgba(243, 156, 18, 0.1);
  color: var(--accent);
  border-bottom: 2px solid rgba(243, 156, 18, 0.2);
  font-weight: 600;
}

.command-table code {
  background: rgba(243, 156, 18, 0.12);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.85em;
  white-space: nowrap;
}

/* Install */
.install-card {
  background: var(--card-bg);
  border: 1px solid rgba(46, 160, 67, 0.2);
  border-radius: 16px;
}

.install-icon {
  font-size: 3rem;
  color: #2ea043;
}

.install-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Footer */
.footer {
  background: #0a0e14;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 48px 0 32px;
}

.footer h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-logo {
    width: 100px;
  }

  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .hero-cta .btn {
    display: block;
    width: 100%;
    margin-right: 0 !important;
  }
}

@media (max-width: 576px) {
  pre {
    font-size: 0.7rem;
    padding: 12px;
  }

  .region-list li {
    font-size: 0.9rem;
  }
}
