:root {
  --bg-deep: #000000;
  --bg-card: rgba(12, 12, 12, 0.85);
  --border: rgba(255, 255, 255, 0.08);
  --text: #fafafa;
  --text-muted: #a3a3a3;
  --accent: #f97316;
  --accent-2: #ea580c;
  --accent-soft: #fb923c;
  --glow: rgba(249, 115, 22, 0.45);
  --radius: 16px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --sidebar-w: min(300px, 88vw);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-deep);
  line-height: 1.6;
  overflow-x: hidden;
  text-transform: none;
}

a:not(.btn):not(.logo) {
  color: #fb923c;
  text-decoration-color: rgba(251, 146, 60, 0.45);
  text-underline-offset: 0.15em;
  transition: color 0.2s, text-decoration-color 0.2s;
}

a:not(.btn):not(.logo):hover {
  color: #fdba74;
  text-decoration-color: rgba(253, 186, 116, 0.7);
}

.nav-links a:not(.btn) {
  color: var(--text-muted);
  text-decoration: none;
}

.nav-links a:not(.btn):hover {
  color: #fb923c;
}

body.age-locked,
body.nav-open {
  overflow: hidden;
}

.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 90% 55% at 50% -15%, rgba(249, 115, 22, 0.22), transparent),
    radial-gradient(ellipse 55% 45% at 100% 40%, rgba(234, 88, 12, 0.14), transparent),
    radial-gradient(ellipse 50% 35% at 0% 85%, rgba(251, 146, 60, 0.1), transparent),
    linear-gradient(180deg, #0a0a0a 0%, #000000 55%, #050505 100%);
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* Header */
.site-top {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #0a0a0a;
  border-bottom: 1px solid rgba(249, 115, 22, 0.15);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

@media (min-width: 769px) {
  .header-inner {
    flex-wrap: nowrap;
  }

  .site-nav {
    margin-left: auto;
  }

  .site-top .site-nav {
    position: static;
    transform: none;
    height: auto;
    width: auto;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.1rem;
}

.logo img,
.logo-wumpus {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a:not(.btn) {
  font-size: 0.95rem;
}

.nav-links a.btn-discord {
  color: #fff;
  font-weight: 600;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.nav-links a.btn-discord:hover {
  color: #fff;
  filter: brightness(1.08);
}

.nav-sidebar-head {
  display: none;
}

.nav-close {
  display: none;
}

.nav-overlay {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.35);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.nav-toggle:hover {
  background: rgba(249, 115, 22, 0.2);
  border-color: var(--accent-soft);
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--accent-soft);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, filter 0.2s,
    border-color 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-soft), var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 8px 28px var(--glow);
}

.btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 12px 36px var(--glow);
}

.btn-discord {
  background: linear-gradient(135deg, #fdba74, #f97316, #ea580c);
  color: #fff;
  box-shadow: 0 6px 24px rgba(249, 115, 22, 0.45);
}

.btn-discord:hover {
  filter: brightness(1.1);
  box-shadow: 0 10px 28px rgba(249, 115, 22, 0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: rgba(249, 115, 22, 0.55);
  color: var(--accent-soft);
  background: rgba(249, 115, 22, 0.06);
}

/* Hero */
.hero {
  padding: 4.5rem 0 5rem;
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(249, 115, 22, 0.12);
  color: #fdba74;
  border: 1px solid rgba(249, 115, 22, 0.4);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  background: linear-gradient(180deg, #fff 25%, #fdba74 70%, #f97316 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
}

.stat strong {
  display: block;
  font-size: 1.75rem;
  color: #fff;
}

.stat span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 0.75rem;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

#features .grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  #features .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  #features .grid-3 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

#features .card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

#features .card h3,
#features .card p {
  text-align: center;
  width: 100%;
}

#features .card h3 {
  flex: 0 0 auto;
  min-height: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 0.65rem;
}

#features .card p {
  flex: 1 1 auto;
  margin: 0;
}

.card:hover {
  border-color: rgba(249, 115, 22, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(249, 115, 22, 0.12);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 0 0 100px;
  height: 100px;
  margin-bottom: 0.65rem;
  overflow: hidden;
}

#features .card-icon {
  flex: 0 0 100px;
}

.card-icon img {
  width: 80px;
  height: 80px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  transform: scale(1.1);
  filter: drop-shadow(0 10px 22px rgba(249, 115, 22, 0.22));
  transition: transform 0.25s ease;
}

.card-icon[data-card-icon="2"] img,
.card-icon[data-card-icon="5"] img {
  width: 94px;
  height: 94px;
  transform: scale(1.42);
}

#features .card:hover .card-icon img {
  transform: scale(1.14) translateY(-3px);
}

#features .card:hover .card-icon[data-card-icon="2"] img,
#features .card:hover .card-icon[data-card-icon="5"] img {
  transform: scale(1.48) translateY(-3px);
}

#features .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
  counter-reset: step;
}

#how .steps {
  max-width: 920px;
  margin-inline: auto;
}

.step {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 0.85rem;
  row-gap: 0.65rem;
  padding: 1.25rem 1.25rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  grid-column: 1;
  grid-row: 1;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent-2));
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  flex-shrink: 0;
}

.step h3 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
  align-self: center;
}

.step p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  padding-top: 0.15rem;
}

#faq {
  padding: 3rem 0 3.5rem;
}

#faq .section-title {
  margin-bottom: 0.65rem;
  font-size: clamp(1.9rem, 3.5vw, 2.45rem);
}

#faq .section-sub {
  margin-bottom: 2rem;
  font-size: 1.05rem;
  max-width: 640px;
}

.faq-list {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.faq-item {
  border: 1px solid rgba(249, 115, 22, 0.12);
  border-radius: 16px;
  margin-bottom: 0;
  background: var(--bg-card);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.5rem 1.65rem;
  min-height: 5.25rem;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 1.45;
  list-style: none;
  transition: color 0.2s, background 0.2s;
}

.faq-item summary:hover {
  color: var(--accent-soft);
  background: rgba(249, 115, 22, 0.06);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0;
  padding: 0 1.65rem 1.65rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  min-height: 3.5rem;
}

.faq-item:not([open]) summary {
  border-radius: 16px;
}

.faq-item[open] summary {
  padding-bottom: 1.15rem;
  min-height: 5.25rem;
}

.cta-band {
  margin: 2rem 0 2.5rem;
  padding: 3rem 2rem;
  text-align: center;
  border-radius: 24px;
  border: 1px solid rgba(249, 115, 22, 0.3);
  background: linear-gradient(145deg, rgba(249, 115, 22, 0.18), rgba(234, 88, 12, 0.06));
}

.cta-band h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.site-footer {
  border-top: 1px solid rgba(249, 115, 22, 0.12);
  padding: 2.5rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.site-footer a {
  color: #fb923c;
}

.site-footer a:hover {
  color: #fdba74;
}

.footer-dev {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: rgba(251, 146, 60, 0.85);
}

.disclaimer {
  margin-top: 1rem;
  max-width: 640px;
  margin-inline: auto;
  opacity: 0.85;
}

.age-gate[hidden] {
  display: none !important;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(12px);
}

.age-panel {
  max-width: 420px;
  width: 100%;
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(249, 115, 22, 0.25);
  background: #0c0c0c;
  text-align: center;
}

.age-panel h2 {
  margin: 0 0 0.75rem;
}

.age-panel p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 1.5rem;
}

.age-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 250;
    background: rgba(0, 0, 0, 0.78);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .nav-overlay:not([hidden]) {
    opacity: 1;
    visibility: visible;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 300;
    width: var(--sidebar-w);
    height: 100dvh;
    background: #0a0a0a;
    border-left: 1px solid rgba(249, 115, 22, 0.35);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.5);
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1.25rem 1.25rem 2rem;
    flex-direction: column;
    align-items: stretch;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .nav-sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    font-weight: 700;
    color: var(--accent-soft);
  }

  .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: rgba(249, 115, 22, 0.12);
    color: var(--accent-soft);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s;
  }

  .nav-close:hover {
    background: rgba(249, 115, 22, 0.25);
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a:not(.btn) {
    display: block;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    color: #f5f5f5;
    transition: background 0.2s, color 0.2s;
  }

  .nav-links a:not(.btn):hover {
    background: rgba(249, 115, 22, 0.15);
    color: var(--accent-soft);
  }

  .nav-links .btn-discord {
    width: 100%;
    margin-top: 0.75rem;
    color: #fff;
  }

  .site-top .site-nav.is-open {
    transform: translateX(0);
  }

  .header-inner {
    position: relative;
  }
}