:root {
  --bg: #120804;
  --bg-soft: rgba(22, 11, 5, 0.85);
  --panel: rgba(18, 9, 6, 0.95);
  --panel-2: rgba(28, 13, 6, 0.88);
  --border: rgba(111, 62, 22, 0.45);
  --border-soft: rgba(90, 46, 16, 0.4);
  --accent: #8a4b1d;
  --accent-2: #d89a62;
  --text: #fff4e6;
  --text-soft: #ead7c4;
  --text-muted: #c8a789;
  --text-dim: #b49379;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: white;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top, rgba(120, 62, 24, 0.22), transparent 35%),
    radial-gradient(circle at bottom, rgba(70, 34, 12, 0.20), transparent 30%);
}

.page-shell {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.topbar,
.content-card,
.hero-card,
.side-card {
  border: 1px solid var(--border-soft);
  background: var(--bg-soft);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.topbar {
  position: sticky;
  top: 1rem;
  z-index: 50;
  border-radius: 28px;
  padding: 1rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  backdrop-filter: blur(8px);
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(138, 75, 29, 0.4);
  background: rgba(138, 75, 29, 0.14);
  color: var(--accent-2);
  font-size: 1.6rem;
  font-weight: 900;
}

.brand-title { font-size: 1.6rem; font-weight: 900; }
.brand-subtitle { font-size: 0.95rem; color: var(--text-dim); }

.nav-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.nav-tab {
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--panel-2);
  color: #f0d8c0;
  cursor: pointer;
}

.nav-tab:hover { background: #261209; color: var(--text); }
.nav-tab.is-active {
  background: var(--accent);
  color: var(--text);
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(138, 75, 29, 0.35);
}

.tab-panel { display: none; margin-top: 2rem; }
.tab-panel.is-active { display: block; }

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-hero { grid-template-columns: 1.3fr 0.7fr; }
.grid-bottom { grid-template-columns: 0.95fr 1.05fr; }

.hero-card,
.side-card,
.content-card {
  border-radius: 32px;
  padding: 1.75rem;
}

.content-card { border-radius: 28px; margin-top: 1.5rem; }

.status-pill,
.section-kicker {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(138, 75, 29, 0.4);
  background: rgba(138, 75, 29, 0.15);
  color: var(--accent-2);
  padding: 0.6rem 0.95rem;
  font-size: 0.84rem;
  font-weight: 600;
}

.section-kicker {
  padding: 0;
  border: 0;
  background: transparent;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

h1 {
  margin: 1.5rem 0 0;
  font-size: clamp(2.6rem, 7vw, 4.75rem);
  line-height: 1.02;
  font-weight: 900;
}

h2 {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 800;
}

.section-title {
  margin: 1rem 0 0;
  font-size: 2.2rem;
  font-weight: 900;
}

.hero-text,
.soft-text {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-soft);
}

.hero-subtext {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-muted);
}

.actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.95rem 1.4rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--text);
  border: 0;
}

.btn-secondary {
  border: 1px solid var(--border);
  background: rgba(36, 17, 8, 0.9);
  color: #f6e6d3;
}

.btn:hover { transform: translateY(-1px); }

.info-list,
.bullet-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.info-item,
.bullet-item,
.mini-card,
.discord-card,
.feature-card {
  border: 1px solid var(--border);
  background: var(--panel);
}

.info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border-radius: 24px;
  padding: 1rem;
}

.info-icon,
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(138, 75, 29, 0.4);
  background: rgba(138, 75, 29, 0.15);
  color: var(--accent-2);
  flex: 0 0 auto;
}

.info-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8e6c56;
}

.info-value { margin-top: 0.35rem; font-weight: 700; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.feature-card {
  border-radius: 24px;
  padding: 1.2rem;
}

.feature-card h3 {
  margin: 1rem 0 0;
  font-size: 1.05rem;
}

.feature-card p,
.mini-card p,
.discord-card p {
  margin: 0.75rem 0 0;
  color: #e2cdb7;
  line-height: 1.75;
}

.bullet-item,
.mini-card,
.discord-card {
  border-radius: 20px;
  padding: 1rem;
  color: #f3ddc6;
}

.mini-title,
.discord-link {
  font-size: 1.9rem;
  font-weight: 900;
  color: white;
  margin-top: 0.75rem;
}

.top-gap { margin-top: 1.5rem; }
.top-gap-lg { margin-top: 2rem; }

@media (max-width: 1100px) {
  .grid-hero,
  .grid-bottom,
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 780px) {
  .page-shell { padding: 1rem 1rem 3rem; }
  .grid-hero,
  .grid-bottom,
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .hero-card,
  .side-card,
  .content-card { padding: 1.25rem; }
  .topbar { border-radius: 22px; }
  .brand-title { font-size: 1.3rem; }
  .mini-title,
  .discord-link { font-size: 1.45rem; word-break: break-word; }
}
