:root {
  --color-bg: radial-gradient(ellipse at center, #111 0%, #020202 70%);
  --color-text: #f5f5f5;
  --color-accent: #fdd757;
  --color-muted: #b5b5b5;
  --color-card: rgba(255, 255, 255, 0.04);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-discord: #7289da;
  --container-width: min(1100px, 92vw);
}

* {
  box-sizing: border-box;
}

body,
html {
  margin: 0;
  padding: 0;
  background: var(--color-bg);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--color-text);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -100%);
  padding: 0.75rem 1.25rem;
  background: #000;
  color: #fff;
  border-radius: 999px;
  z-index: 10;
}

.skip-link:focus {
  transform: translate(-50%, 10px);
}

.hero {
  padding: 4rem 1.5rem 3rem;
}

.hero-content {
  width: var(--container-width);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.logo-container img {
  max-height: 320px;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.6));
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.8rem;
  color: var(--color-muted);
  margin: 0;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.25rem);
}

.tagline {
  font-style: italic;
  color: #e4e1cf;
  margin: 0;
}

.hero-meta {
  margin: 0;
  color: var(--color-muted);
}

.badges {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.badge {
  border: 1px solid var(--color-border);
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.org-link,
.discord-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.org-link {
  border-color: rgba(253, 215, 87, 0.5);
  background: linear-gradient(135deg, rgba(253, 215, 87, 0.25), rgba(255, 255, 255, 0.05));
  color: var(--color-accent);
}

.org-link:hover,
.org-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(253, 215, 87, 0.25);
}

.discord-link {
  border-color: rgba(114, 137, 218, 0.6);
  background: linear-gradient(135deg, rgba(114, 137, 218, 0.25), rgba(33, 41, 87, 0.55));
  color: #e6eaff;
  font-size: 0.95rem;
}

.discord-link:hover,
.discord-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(114, 137, 218, 0.3);
}

.discord-link img {
  width: 28px;
  height: 28px;
  display: block;
}

main {
  width: var(--container-width);
  margin: 0 auto 4rem;
  padding: 0 1.5rem;
}

.section {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 28px;
  padding: 2.5rem clamp(1.5rem, 4vw, 3.5rem);
  margin-top: 2rem;
}

.section-header {
  text-align: left;
  margin-bottom: 1.75rem;
}

.section-header h2 {
  margin: 0.35rem 0;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.section-header p {
  margin: 0;
  color: var(--color-muted);
}

.content-grid {
  display: grid;
  gap: 1.5rem;
}

.two-column {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.pill-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pill-list li {
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.card {
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  background: rgba(0, 0, 0, 0.35);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--color-muted);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.timeline li {
  padding: 1.25rem 1.5rem;
  border-radius: 18px;
  border: 1px dashed var(--color-border);
  background: rgba(0, 0, 0, 0.25);
}

.timeline h3 {
  margin: 0 0 0.4rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.steps li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem 1.4rem;
  border-radius: 18px;
  border: 1px solid var(--color-border);
  background: rgba(0, 0, 0, 0.3);
}

.step-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(253, 215, 87, 0.2);
  color: var(--color-accent);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.cta-inline {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.discord-btn {
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(114, 137, 218, 0.4);
  text-decoration: none;
  color: var(--color-discord);
  font-weight: 600;
  background: rgba(114, 137, 218, 0.12);
}

.org-link:focus-visible,
.discord-btn:focus-visible,
.discord-link:focus-visible,
.badge:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.section.partner {
  display: flex;
  justify-content: center;
  background: none;
  border: none;
  margin-top: 3rem;
  padding: 0;
}

.section.partner img {
  max-width: 320px;
  opacity: 0.8;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform: translateY(var(--parallax-offset, 0));
}

.section.partner img:hover {
  opacity: 1;
  transform: translateY(var(--parallax-offset, 0)) scale(1.02);
}

.site-footer {
  width: var(--container-width);
  margin: 0 auto 4rem;
  padding: 2rem 1.5rem 3rem;
  text-align: center;
  color: var(--color-muted);
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

[data-animate] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .section {
    padding: 2rem 1.5rem;
  }

  .steps li {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 900px) {
  .hero {
    padding-top: 5rem;
  }

  .cta-group {
    flex-direction: row;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
  }
}
