/* ─── RESET ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ─── VARIABLES ─── */
:root {
  --black: #0a0a0a;
  --dark: #111214;
  --panel: #16181c;
  --border: #2a2d35;
  --orange: #e8611a;
  --orange-dim: #b84c12;
  --white: #f0ece4;
  --muted: #7a7d87;
  --text: #c8c4bc;
}

/* ─── BASE ─── */
html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  color: var(--white);
}

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

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--orange);
  color: var(--white);
  padding: 8px 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--orange-dim);
  color: var(--white);
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 48px 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(232,97,26,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 70%, rgba(240,165,0,0.06) 0%, transparent 60%),
    linear-gradient(180deg, #0a0a0a 0%, #0d0e10 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(42,45,53,0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42,45,53,0.3) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(180deg, transparent 0%, black 30%, black 70%, transparent 100%);
}

.hero-eyebrow {
  position: relative;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: fadeUp 0.8s ease both;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--orange);
}

.hero-title {
  position: relative;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--white);
  max-width: 800px;
  animation: fadeUp 0.8s 0.1s ease both;
}

.hero-title .accent {
  color: var(--orange);
}

.hero-sub {
  position: relative;
  margin-top: 24px;
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-actions {
  position: relative;
  margin-top: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.3s ease both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--orange);
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--orange-dim);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: transparent;
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
}

.btn-secondary:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}

.hero-stats {
  position: relative;
  margin-top: 64px;
  display: flex;
  gap: 48px;
  animation: fadeUp 0.8s 0.4s ease both;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  color: var(--white);
  line-height: 1;
}

.stat-num span {
  color: var(--orange);
}

.stat-emoji {
  font-family: sans-serif;
  font-size: 2rem;
}

.stat-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

/* ─── SECTION BASE ─── */
section {
  padding: 100px 48px;
}

.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--orange);
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}

.section-body {
  font-size: 1rem;
  font-weight: 300;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.8;
}

/* ─── ABOUT ─── */
.about {
  background: var(--dark);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 60px;
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.value-item:first-child {
  border-top: 1px solid var(--border);
}

.value-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  color: var(--orange);
  letter-spacing: 0.1em;
  flex-shrink: 0;
  padding-top: 2px;
}

.value-content h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 6px;
}

.value-content p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.callout-box {
  background: var(--panel);
  border: 1px solid var(--border);
  border-left: 3px solid var(--orange);
  padding: 32px;
}

.callout-box p {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1.8;
}

.callout-box p strong {
  color: var(--white);
  font-weight: 600;
}

/* ─── RULES ─── */
.rules {
  background: var(--black);
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 60px;
}

.rule-card {
  background: var(--panel);
  padding: 36px 32px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
}

.rule-card:hover {
  border-color: var(--orange);
}

.rule-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.rule-card:hover::before {
  transform: scaleX(1);
}

.rule-card:hover .rule-icon {
  color: var(--orange);
}

.rule-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--muted);
  transition: color 0.3s;
  display: block;
  font-family: sans-serif;
}

.rule-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
}

.rule-card p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
}

/* ─── JOIN ─── */
.join {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.join::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(232,97,26,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.join-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.join-steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 40px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.step-num {
  width: 40px;
  height: 40px;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  color: var(--white);
  flex-shrink: 0;
}

.step-text h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 4px;
}

.step-text p {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
}

.discord-card {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 48px 40px;
  text-align: center;
  position: relative;
}

.discord-logo {
  font-size: 3.5rem;
  margin-bottom: 20px;
  display: block;
  font-family: sans-serif;
}

.discord-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 12px;
}

.discord-card p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.btn-discord {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px;
  background: #5865F2;
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-discord:hover {
  background: #4752c4;
  transform: translateY(-2px);
}

.discord-note {
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 0;
}

/* ─── FOOTER ─── */
footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: var(--white);
}

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

.footer-copy {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 300;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav {
    padding: 16px 24px;
  }

  .nav-links {
    display: none;
  }

  section {
    padding: 72px 24px;
  }

  .hero {
    padding: 0 24px 72px;
  }

  .about-grid,
  .join-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .rules-grid {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}
