@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --void: #0a0b0f;
  --deep: #11141a;
  --accent: #ffd700;
  --accent-glow: #63b3ed;
  --secondary: #00f0ff;
  --text: #ffffff;
  --text-dim: #a0b0cc;
  --transition: #d97706;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--void);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  text-align: center;
}

/* Animated starfield background */
.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.stars::before,
.stars::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  box-shadow:
    100vw 50vh white,
    20vw 80vh white,
    80vw 10vh white,
    15vw 60vh white,
    90vw 30vh white,
    45vw 90vh white,
    70vw 45vh white,
    35vw 25vh white,
    55vw 75vh white,
    10vw 40vh rgba(255, 255, 255, 0.5),
    85vw 65vh rgba(255, 255, 255, 0.5),
    40vw 15vh rgba(255, 255, 255, 0.3),
    60vw 85vh rgba(255, 255, 255, 0.3),
    25vw 55vh rgba(255, 255, 255, 0.7),
    75vw 35vh rgba(255, 255, 255, 0.7),
    5vw 95vh white,
    95vw 5vh white,
    50vw 50vh rgba(255, 255, 255, 0.4);
  animation: twinkle 4s ease-in-out infinite;
}

.stars::after {
  animation-delay: 2s;
  box-shadow:
    30vw 20vh white,
    60vw 70vh white,
    10vw 30vh white,
    85vw 55vh rgba(255, 255, 255, 0.6),
    42vw 42vh rgba(255, 255, 255, 0.8),
    78vw 88vh white,
    22vw 12vh rgba(255, 255, 255, 0.5);
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(3, 3, 10, 0.9), transparent);
  transition: background 0.3s;
}

nav.scrolled {
  background: rgba(3, 3, 10, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.logo {
  display: flex;
  align-items: center;
}

/* Logo image styles */
.nav-logo-img {
  display: block;
  width: 40px;
  height: auto;
  object-fit: contain;
}

.hero-logo-img {
  width: clamp(80px, 35vw, 160px);
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 30px rgba(99, 102, 241, 0.25));
  margin-bottom: 1.25rem;
}

.footer-logo-img {
  width: 110px;
  max-width: 60vw;
  height: auto;
  display: inline-block;
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--text);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Center nav links on desktop */
@media (min-width: 769px) {
  .nav-links {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    justify-content: center;
  }
}

.nav-tools {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--void);
  background: linear-gradient(135deg, var(--accent), var(--transition));
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.12);
  transform: translateY(0);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    opacity 0.18s ease;
}

.tool-btn .tool-icon {
  font-size: 1.05rem;
  line-height: 1;
  display: inline-block;
}

.tool-btn .tool-label {
  color: black;
  text-transform: none;
  letter-spacing: 0.5px;
}

.tool-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(99, 102, 241, 0.18);
  opacity: 0.98;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      ellipse 80% 50% at 50% 50%,
      rgba(99, 102, 241, 0.15),
      transparent
    ),
    radial-gradient(
      ellipse 60% 40% at 30% 70%,
      rgba(245, 158, 11, 0.08),
      transparent
    );
  z-index: -1;
}

.hero-content h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3.5rem, 12vw, 8rem);
  letter-spacing: 0.1em;
  line-height: 0.9;
  margin-bottom: 1rem;
  background: linear-gradient(180deg, var(--text) 0%, var(--text-dim) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content h1 span {
  display: block;
  font-size: 0.4em;
  letter-spacing: 0.3em;
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
  margin-top: 0.5rem;
}

.hero-tags {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0 3rem;
}

.tag {
  padding: 0.5rem 1rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-glow);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-glow), var(--secondary));
  color: black;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.4);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dim);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: float 2s ease-in-out infinite;
}

.scroll-indicator::after {
  content: "";
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

@keyframes float {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

/* Section Styles */
section {
  position: relative;
  z-index: 1;
  padding: 8rem 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

.section-text {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 600px;
  line-height: 1.8;
}

/* About Section */
.about {
  background: linear-gradient(180deg, var(--void) 0%, var(--deep) 100%);
}

.about-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.about-card {
  flex: 1;
  min-width: 250px;
  max-width: 550px;
  padding: 2.5rem;
  background: linear-gradient(
    145deg,
    rgba(18, 18, 31, 0.8),
    rgba(10, 10, 20, 0.9)
  );
  border: 1px solid rgba(99, 102, 241, 0.1);
  border-radius: 16px;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  opacity: 0;
  transition: opacity 0.3s;
}

.about-card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.about-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent), var(--transition));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.about-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.about-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* The Hole Section */
.the-hole {
  background: var(--deep);
  position: relative;
  overflow: hidden;
}

.the-hole::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1), transparent 70%);
  right: -200px;
  top: 50%;
  transform: translateY(-50%);
}

.hole-content {
  display: flex;
  gap: 4rem;
  align-items: center;
  margin-top: 4rem;
}

.feature-list {
  list-style: none;
  margin-top: 2rem;
  padding: 0;
  width: 100%;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-icon {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, var(--accent), var(--transition));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 20px;
  margin-top: 0;
}

.feature-icon::after {
  content: "✓";
  color: black;
  font-size: 0.75rem;
  font-weight: bold;
}

.feature-text h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.feature-text p {
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* Keep the icon column fixed left and center the text block */
.feature-text {
  flex: 1 1 auto;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 500px;
}

.stat-card {
  padding: 2rem;
  background: rgba(99, 102, 241, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 12px;
  text-align: center;
}

.stat-value {
  font-family: "Bebas Neue", sans-serif;
  font-size: 3rem;
  color: var(--secondary);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.5rem;
}

/* Join Section */
.join {
  background: linear-gradient(180deg, var(--deep) 0%, var(--void) 100%);
}

.steps-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 250px;
  max-width: 550px;
  padding: 2.5rem 2rem;
  background: linear-gradient(
    145deg,
    rgba(18, 18, 31, 0.8),
    rgba(10, 10, 20, 0.9)
  );
  border: 1px solid rgba(99, 102, 241, 0.1);
  border-radius: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.4s;
}

.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  border-radius: 16px 16px 0 0;
  opacity: 0;
  transition: opacity 0.3s;
}

.step:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.step:hover::before {
  opacity: 1;
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent), var(--transition));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: black;
}

.step h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1rem 0 0.75rem;
}

.step p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.7;
}

.step a {
  color: var(--accent-glow);
  text-decoration: none;
}

.step a:hover {
  text-decoration: underline;
}

.join-cta {
  margin-top: 4rem;
}

.btn-large {
  padding: 1.25rem 3rem;
  font-size: 1rem;
}

/* Activity Section */
.activity {
  background: var(--void);
  padding: 6rem 2rem;
}

.activity-card {
  max-width: 600px;
  margin: 3rem auto 0;
  padding: 3rem;
  background: linear-gradient(
    145deg,
    rgba(245, 158, 11, 0.05),
    rgba(99, 102, 241, 0.05)
  );
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 16px;
}

.activity-card blockquote {
  font-size: 1.5rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 1.5rem;
}

/* Citation for quotes inside activity cards: smaller and dimmer */
.activity-card blockquote cite {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  font-style: normal;
  font-weight: 500;
  opacity: 0.9;
}

.zkill-btn {
  background: linear-gradient(135deg, var(--secondary), var(--transition));
  color: var(--void);
}

.zkill-btn:hover {
  box-shadow: 0 20px 40px rgba(245, 158, 11, 0.3);
}

/* Footer */
footer {
  background: var(--void);
  border-top: 1px solid rgba(99, 102, 241, 0.1);
  padding: 3rem 2rem;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-text {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer-text span {
  color: var(--secondary);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
}

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent-glow);
}

/* Mobile Menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

/* Responsive */
@media (max-width: 1050px) {
  nav {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(3, 3, 10, 0.98);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
  }

  .nav-links.active {
    display: flex;
    position: absolute;
    transform: none;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(3, 3, 10, 0.98);
    padding: 1rem 1.5rem;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 1001;
  }

  .mobile-toggle {
    display: flex;
    z-index: 1002;
  }

  .about-grid {
    flex-direction: column;
  }

  section {
    padding: 5rem 1.5rem;
  }

  .steps-container {
    flex-direction: column;
  }

  .hole-content {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  #home {
    padding-top: 150px;
  }
  .nav-tools {
    flex-direction: column;
  }
}
