/* === Hero Section === */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(255, 107, 53, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 20% 20%, rgba(0, 212, 255, 0.1), transparent);
  pointer-events: none;
}

.heroLogo {
  width: min(267px, 53vw);
  height: auto;
  margin-bottom: 2rem;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 0 40px rgba(0, 212, 255, 0.4));
}

.heroTitle {
  font-family: var(--font-orbitron), 'Orbitron', sans-serif;
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--star-white) 0%, var(--plasma-cyan) 50%, var(--shell-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.heroTagline {
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--chrome-silver);
  margin-bottom: 3rem;
  max-width: 600px;
  text-wrap: balance;
}

.heroTagline .accent {
  color: var(--plasma-cyan);
}

/* === Featured In === */
.featuredIn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.featuredLabel {
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: var(--chrome-silver);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  white-space: nowrap;
}

.featuredLogos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2rem;
}

.featuredLogo {
  color: var(--chrome-silver);
  transition: color 0.3s ease, opacity 0.3s ease;
  display: flex;
  align-items: center;
}

.featuredLogo:hover {
  color: var(--star-white);
}

.heroHelp {
  font-family: var(--font-space-grotesk), 'Space Grotesk', sans-serif;
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  color: var(--chrome-silver);
  max-width: 520px;
  text-align: center;
  text-wrap: balance;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.heroCta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* === Galaxy Map Section === */
.mapSection {
  min-height: 100vh;
  position: relative;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0, 212, 255, 0.1), transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(255, 107, 53, 0.08), transparent 70%),
    linear-gradient(180deg, var(--space-black) 0%, var(--deep-void) 50%, var(--space-black) 100%);
}

.mapHeader {
  text-align: center;
  padding: 0 2rem;
}

.mapTitle {
  font-family: var(--font-orbitron), 'Orbitron', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, var(--star-white) 0%, var(--plasma-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.mapSubtitle {
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: clamp(0.85rem, 2vw, 1rem);
  color: var(--chrome-silver);
  margin-bottom: 1.5rem;
}

/* === Pillars Section === */
.pillarsSection {
  background:
    linear-gradient(180deg,
      var(--space-black) 0%,
      rgba(30, 20, 10, 0.4) 30%,
      rgba(40, 25, 10, 0.3) 50%,
      rgba(30, 20, 10, 0.4) 70%,
      var(--space-black) 100%);
  position: relative;
  overflow: hidden;
  padding: 6rem 2rem;
}

.pillarsSection::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 80% 60% at 30% 50%, rgba(255, 180, 0, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 70% 30%, rgba(255, 140, 0, 0.06), transparent),
    radial-gradient(ellipse 50% 50% at 50% 70%, rgba(255, 107, 53, 0.05), transparent);
  pointer-events: none;
  animation: pillarsAmbient 8s ease-in-out infinite alternate;
}

.pillarsAccentLine {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 215, 0, 0.3) 20%,
    rgba(255, 165, 0, 0.8) 50%,
    rgba(255, 215, 0, 0.3) 80%,
    transparent 100%);
  box-shadow: 0 0 20px rgba(255, 165, 0, 0.4);
}

.pillarsHeader {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.pillarsTitle {
  font-family: var(--font-orbitron), 'Orbitron', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, var(--star-white) 0%, rgba(255, 200, 100, 1) 50%, var(--shell-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.pillarsSubtitle {
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: clamp(0.85rem, 2vw, 1rem);
  color: #6b8a9e;
}

.pillarsGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.pillarCard {
  background: linear-gradient(135deg, rgba(40, 28, 12, 0.6), rgba(13, 19, 33, 0.8));
  border: 1px solid rgba(255, 165, 0, 0.15);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.pillarCard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 165, 0, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pillarCard:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 165, 0, 0.4);
  box-shadow: 0 8px 32px rgba(255, 107, 53, 0.15);
}

.pillarCard:hover::before {
  opacity: 1;
}

.pillarIcon {
  color: var(--shell-orange);
  margin-bottom: 1rem;
}

.pillarCard h3 {
  font-family: var(--font-orbitron), 'Orbitron', sans-serif;
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  color: var(--shell-orange);
}

.pillarCard p {
  color: var(--chrome-silver);
  font-size: 0.9rem;
  line-height: 1.6;
}

.pillarLink {
  color: var(--shell-orange);
  text-decoration: none;
  transition: color 0.2s ease;
}

.pillarLink:hover {
  color: rgba(255, 200, 100, 1);
}

@keyframes pillarsAmbient {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}

/* === Discord Section === */
.discordSection {
  background: linear-gradient(180deg, var(--space-black) 0%, var(--deep-void) 100%);
  position: relative;
  overflow: hidden;
}

.discordSection::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 50% 80% at 80% 50%, rgba(88, 101, 242, 0.15), transparent),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(0, 212, 255, 0.1), transparent);
  pointer-events: none;
}

.discordContent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.discordInfo {
  max-width: 500px;
}

.discordInfo h2 {
  font-family: var(--font-orbitron), 'Orbitron', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #5865F2, var(--plasma-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.discordInfo p {
  font-size: 1.1rem;
  color: var(--chrome-silver);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.discordFeatures {
  list-style: none;
  margin-bottom: 2rem;
  padding: 0;
}

.discordFeatures li {
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  color: var(--star-white);
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.discordFeatures li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: #5865F2;
  font-weight: bold;
}

.discordEmbed {
  border: 2px solid #5865F2;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(88, 101, 242, 0.3);
}

.discordEmbed iframe {
  display: block;
}

/* === Patreon Section === */
.patreonSection {
  background: linear-gradient(180deg, var(--deep-void) 0%, var(--space-black) 100%);
  position: relative;
  overflow: hidden;
}

.patreonSection::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 50% 80% at 20% 50%, rgba(255, 107, 53, 0.1), transparent),
    radial-gradient(ellipse 40% 60% at 80% 80%, rgba(0, 212, 255, 0.08), transparent);
  pointer-events: none;
}

.patreonContent {
  display: flex;
  justify-content: center;
}

/* === Lightbox === */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  justify-content: center;
  align-items: center;
}

.lightboxActive {
  display: flex;
  animation: fadeIn 0.2s ease;
}

.lightboxContent {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightboxContent img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border: 2px solid var(--hull-grey);
  border-radius: 8px;
  box-shadow: 0 0 60px rgba(0, 212, 255, 0.2);
}

.lightboxCaption {
  font-family: var(--font-orbitron), 'Orbitron', sans-serif;
  font-size: 0.9rem;
  color: var(--chrome-silver);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 1rem;
  text-align: center;
}

.lightboxClose {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--chrome-silver);
  cursor: pointer;
  border-radius: 50%;
  border: 1px solid var(--hull-grey);
  background: rgba(0, 0, 0, 0.5);
  transition: all 0.2s ease;
  z-index: 1001;
}

.lightboxClose:hover {
  color: var(--star-white);
  border-color: var(--plasma-cyan);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.3);
}

.lightboxNav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: var(--chrome-silver);
  cursor: pointer;
  padding: 1rem;
  user-select: none;
  transition: color 0.2s ease;
  z-index: 1001;
}

.lightboxNav:hover {
  color: var(--plasma-cyan);
}

.lightboxPrev {
  left: 1rem;
}

.lightboxNext {
  right: 1rem;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* === Responsive === */
@media (max-width: 900px) {
  .pillarsGrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .discordContent {
    flex-direction: column;
    text-align: center;
  }

  .discordFeatures li {
    padding-left: 0;
  }

  .discordFeatures li::before {
    display: none;
  }

}

@media (max-width: 600px) {
  .pillarsGrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .heroCta {
    flex-direction: column;
    align-items: center;
  }

  .heroCta .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}
