*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
svg { display: block; flex-shrink: 0; }

html, body {
  min-height: 100vh;
  width: 100%;
  background: #080814;
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: #e8e4ff;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

#stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 64px;
  background: rgba(8,8,20,0.75);
  border-bottom: 1px solid rgba(100,80,200,0.15);
  backdrop-filter: blur(20px);
}

.navbar-logo {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
}
.navbar-logo span { color: #c8a050; }

.navbar-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(200,195,240,0.55);
  transition: background 0.15s, color 0.15s;
}
.nav-link:hover { background: rgba(100,80,200,0.12); color: rgba(200,195,240,0.9); }
.nav-link.active { background: rgba(100,80,200,0.18); color: #e8e4ff; }

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-outline {
  padding: 0.45rem 1.1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid rgba(100,80,200,0.3);
  color: rgba(200,195,240,0.7);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-outline:hover { background: rgba(100,80,200,0.12); border-color: rgba(160,128,255,0.45); color: #e8e4ff; }

.btn-primary {
  padding: 0.45rem 1.2rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  background: rgba(100,80,200,0.25);
  border: 1px solid rgba(160,128,255,0.35);
  color: #c8b8ff;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-primary:hover { background: rgba(100,80,200,0.4); border-color: rgba(160,128,255,0.6); color: #e8e4ff; }

/* ── Page body ── */
.page {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: 64px;
}

/* ── Cards ── */
.card {
  background: rgba(12,12,28,0.75);
  border: 1px solid rgba(100,80,200,0.2);
  border-radius: 16px;
  backdrop-filter: blur(18px);
  padding: 2rem;
}

/* ── Section wrapper ── */
.section {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* ── Badges ── */
.badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.25rem 0.75rem; border-radius: 20px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.badge-purple { background: rgba(100,80,200,0.1); border: 1px solid rgba(100,80,200,0.3); color: rgba(160,128,255,0.9); }
.badge-gold   { background: rgba(200,160,80,0.1);  border: 1px solid rgba(200,160,80,0.3);  color: #c8a050; }
.badge-green  { background: rgba(0,200,100,0.08);  border: 1px solid rgba(0,200,100,0.3);   color: #40e090; }

/* ── Divider ── */
.divider {
  width: 100%; height: 1px;
  background: linear-gradient(to right, transparent, rgba(100,80,200,0.25), transparent);
  margin: 0;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(100,80,200,0.25); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: rgba(100,80,200,0.45); }

/* ── Hero ── */
.hero {
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 4rem 2rem;
}

.hero-title {
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 40px rgba(160,128,255,0.25);
}
.hero-title span { color: #c8a050; }

.ip-box {
  background: rgba(12,12,28,0.8);
  border: 1px solid rgba(100,80,200,0.22);
  border-radius: 14px;
  backdrop-filter: blur(18px);
  padding: 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 300px;
}

.ip-entry {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ip-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(200,195,240,0.45);
  text-align: center;
}

.ip-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: rgba(8,8,22,0.55);
  border: 1px solid rgba(100,80,200,0.18);
  border-radius: 8px;
  padding: 0.35rem 0.5rem 0.35rem 0.75rem;
}

.ip-value {
  flex: 1;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: #e8e4ff;
  font-family: 'Courier New', monospace;
}

.ip-copy {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(160,128,255,0.5);
  padding: 0.2rem;
  border-radius: 5px;
  display: flex;
  align-items: center;
  transition: color 0.2s, background 0.2s;
}
.ip-copy:hover { color: rgba(160,128,255,0.9); background: rgba(100,80,200,0.15); }
.ip-copy.copied { color: #40e090; }


/* ── Hero extras ── */
.hero-badge {
  display: inline-flex; align-items: center;
  padding: 0.3rem 0.9rem; border-radius: 20px;
  background: rgba(0,200,100,0.08); border: 1px solid rgba(0,200,100,0.28);
  color: #40e090; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
}

.hero-sub {
  font-size: 1rem;
  color: rgba(200,195,240,0.5);
  text-align: center;
  max-width: 420px;
}

.hero-actions {
  display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center;
}

.btn-hero-primary {
  padding: 0.65rem 1.6rem; border-radius: 10px;
  background: rgba(100,80,200,0.3); border: 1px solid rgba(160,128,255,0.45);
  color: #e8e4ff; font-size: 0.95rem; font-weight: 600;
  transition: all 0.2s; cursor: pointer;
}
.btn-hero-primary:hover { background: rgba(100,80,200,0.5); border-color: rgba(160,128,255,0.7); }

.btn-hero-outline {
  padding: 0.65rem 1.6rem; border-radius: 10px;
  background: transparent; border: 1px solid rgba(100,80,200,0.3);
  color: rgba(200,195,240,0.65); font-size: 0.95rem; font-weight: 600;
  transition: all 0.2s; cursor: pointer;
}
.btn-hero-outline:hover { background: rgba(100,80,200,0.1); color: #e8e4ff; border-color: rgba(160,128,255,0.5); }

/* ── Section ── */
.section {
  width: 100%; max-width: 1000px;
  margin: 0 auto; padding: 4rem 2rem;
}

.section-title {
  font-size: 1.55rem; font-weight: 800;
  color: #fff; text-align: center;
  margin-bottom: 2.5rem; letter-spacing: 0.03em;
}

/* ── Features ── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.2rem;
}

.feature-card {
  background: rgba(12,12,28,0.75);
  border: 1px solid rgba(100,80,200,0.2);
  border-radius: 14px;
  backdrop-filter: blur(16px);
  padding: 1.6rem 1.4rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: rgba(160,128,255,0.4); transform: translateY(-2px); }

.feature-icon {
  width: 44px; height: 44px;
  background: rgba(100,80,200,0.12);
  border: 1px solid rgba(100,80,200,0.25);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(160,128,255,0.85);
}

.feature-title {
  font-size: 1rem; font-weight: 700; color: #e8e4ff;
}

.feature-desc {
  font-size: 0.85rem; color: rgba(200,195,240,0.5); line-height: 1.6;
}

/* ── Steps ── */
.steps {
  display: flex; align-items: center; justify-content: center;
  gap: 0.5rem; flex-wrap: wrap;
}

.step {
  display: flex; align-items: flex-start; gap: 1rem;
  background: rgba(12,12,28,0.75);
  border: 1px solid rgba(100,80,200,0.2);
  border-radius: 14px; padding: 1.4rem 1.6rem;
  flex: 1; min-width: 180px; max-width: 260px;
}

.step-num {
  flex-shrink: 0; width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(100,80,200,0.2); border: 1px solid rgba(160,128,255,0.3);
  color: rgba(160,128,255,0.9); font-size: 0.8rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.step-text {
  display: flex; flex-direction: column; gap: 0.3rem;
}
.step-text strong { font-size: 0.9rem; color: #e8e4ff; font-weight: 700; }
.step-text span   { font-size: 0.82rem; color: rgba(200,195,240,0.5); line-height: 1.5; }

.step-arrow { color: rgba(100,80,200,0.4); flex-shrink: 0; }

.link { color: rgba(160,128,255,0.85); border-bottom: 1px solid rgba(160,128,255,0.3); transition: color 0.2s; }
.link:hover { color: #c8b8ff; }

/* ── Discord CTA ── */
.cta-section { display: flex; justify-content: center; }

.cta-card {
  background: rgba(88,101,242,0.08);
  border: 1px solid rgba(88,101,242,0.25);
  border-radius: 18px; backdrop-filter: blur(18px);
  padding: 3rem 2.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  text-align: center; max-width: 520px; width: 100%;
}

.cta-icon { color: #5865f2; }

.cta-title { font-size: 1.4rem; font-weight: 800; color: #fff; }

.cta-desc { font-size: 0.88rem; color: rgba(200,195,240,0.5); line-height: 1.6; max-width: 360px; }

.btn-discord {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.7rem 1.8rem; border-radius: 10px;
  background: #5865f2; color: #fff;
  font-size: 0.95rem; font-weight: 600;
  transition: background 0.2s, transform 0.15s;
  border: none; cursor: pointer;
}
.btn-discord:hover { background: #4752c4; transform: translateY(-1px); }

.discord-stats {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; color: rgba(200,195,240,0.45);
}
.discord-stat { display: flex; align-items: center; gap: 0.4rem; }
.discord-stat-sep { color: rgba(200,195,240,0.2); }
.stat-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.dot-online { background: #3ba55d; box-shadow: 0 0 6px rgba(59,165,93,0.6); }
.dot-total  { background: rgba(200,195,240,0.3); }

/* ── Footer ── */
.footer {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.75rem;
  padding: 1.5rem 2.5rem;
  border-top: 1px solid rgba(100,80,200,0.12);
  background: rgba(8,8,20,0.6);
}

.footer-logo { font-size: 0.95rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: #fff; }
.footer-logo span { color: #c8a050; }

.footer-copy { font-size: 0.78rem; color: rgba(200,195,240,0.3); }

.footer-links { display: flex; gap: 1.2rem; }
.footer-links a { font-size: 0.82rem; color: rgba(200,195,240,0.4); transition: color 0.2s; }
.footer-links a:hover { color: rgba(200,195,240,0.8); }

/* ── Utility ── */
.text-muted { color: rgba(200,195,240,0.45); }
.text-gold  { color: #c8a050; }
.text-purple { color: rgba(160,128,255,0.9); }
