:root {
  --bg-deep: #0a0b0f;
  --bg-card: #12141c;
  --bg-elevated: #181b26;
  --text: #e8eaef;
  --text-muted: #8b92a8;
  --accent: #e8a838;
  --accent-dim: #b87d20;
  --glow: rgba(232, 168, 56, 0.35);
  --border: rgba(255, 255, 255, 0.06);
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --radius: 14px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-deep);
  overflow-x: hidden;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.04;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: #f5c04a;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 1.5rem;
  height: var(--header-h);
  background: rgba(10, 11, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.06em;
  color: var(--text);
}

.logo span {
  color: var(--accent);
}

.nav {
  display: none;
  gap: 2rem;
}

.nav a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--text);
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(145deg, var(--accent), var(--accent-dim));
  color: #1a1205;
  box-shadow: 0 0 24px var(--glow);
}

.btn-primary:hover {
  box-shadow: 0 0 36px var(--glow);
  color: #1a1205;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: rgba(232, 168, 56, 0.4);
  color: var(--accent);
}

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

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

.btn-small {
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
  margin-top: 0.5rem;
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-small:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) 1.5rem 4rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: min(90vw, 600px);
  height: 400px;
  background: radial-gradient(ellipse, var(--glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero-tag {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 10vw, 4.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.hero-title em {
  font-style: normal;
  color: var(--accent);
}

.hero-lead {
  margin: 0 auto 2rem;
  max-width: 560px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.hero-stats dt {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.hero-stats dd {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.section {
  padding: clamp(3rem, 6vw, 5rem) 1.5rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  letter-spacing: 0.04em;
}

.section-intro {
  margin: 0 0 2.5rem;
  max-width: 640px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-concept {
  background: linear-gradient(180deg, var(--bg-deep) 0%, #0d0e14 50%, var(--bg-deep) 100%);
}

.cards {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: rgba(232, 168, 56, 0.25);
  transform: translateY(-2px);
}

.card-icon {
  display: block;
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.section-features .split {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .section-features .split {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.feature-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
}

.feature-list li {
  margin-bottom: 1rem;
}

.feature-list strong {
  color: var(--text);
}

.panel {
  padding: 2rem;
  background: var(--bg-card);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-left-width: 3px;
}

.panel blockquote {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.5;
}

.panel-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.section-join {
  padding-bottom: 4rem;
}

.join-box {
  padding: clamp(2rem, 5vw, 3rem);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.passport-notice {
  display: flex;
  gap: 1.25rem;
  margin: 0 0 2rem;
  padding: 1.35rem 1.5rem;
  text-align: left;
  background: rgba(232, 168, 56, 0.08);
  border: 1px solid rgba(232, 168, 56, 0.35);
  border-radius: var(--radius);
}

.passport-notice-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--bg-deep);
  background: var(--accent);
  border-radius: 50%;
}

.passport-notice-body {
  min-width: 0;
}

.passport-notice-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.passport-notice-body > p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.passport-notice-body strong {
  color: var(--text);
}

.passport-notice-cta {
  margin-bottom: 0.75rem;
}

.passport-notice-hint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.passport-notice-hint code {
  font-size: 0.85em;
  padding: 0.1em 0.35em;
  background: var(--bg-deep);
  border-radius: 4px;
}

@media (max-width: 520px) {
  .passport-notice {
    flex-direction: column;
    align-items: flex-start;
  }
}

.join-intro {
  margin: 0 auto 2rem;
  max-width: 560px;
  color: var(--text-muted);
}

.connect-row {
  display: grid;
  gap: 1.5rem;
  text-align: left;
}

@media (min-width: 768px) {
  .connect-row {
    grid-template-columns: 1fr 1fr;
  }
}

.connect-field {
  padding: 1.25rem;
  background: var(--bg-deep);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.connect-field .label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.connect-value {
  display: block;
  font-family: ui-monospace, monospace;
  font-size: 0.9rem;
  color: var(--accent);
  word-break: break-all;
}

.join-hint {
  margin: 1.5rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.join-hint code {
  font-size: 0.8em;
  padding: 0.15em 0.4em;
  background: var(--bg-deep);
  border-radius: 4px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  background: #07080c;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-logo {
  font-size: 1.35rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex: 1;
  min-width: 200px;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.9rem;
  font-weight: 500;
}
