/* === GLOBAL === */
* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  font-size: 100%;
  font-optical-sizing: auto;
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Google Sans', sans-serif;
  background: #000000;
  color: white;
  overflow-x: hidden;
}

/* STAR CANVAS */
#stars {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -2;
}

/* FLOATING GLOW ORBS */
body::before,
body::after {
  content: "";
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.25;
  z-index: -1;
  animation: float 18s infinite alternate ease-in-out;
}

body::before {
  background: #7f5af0;
  top: -200px;
  left: -200px;
}

body::after {
  background: #9b7cff;
  bottom: -200px;
  right: -200px;
  animation-delay: 6s;
}

@keyframes float {
  from { transform: translateY(0px) translateX(0px); }
  to { transform: translateY(80px) translateX(60px); }
}

a, a:visited {
  color: #d8e4ff;
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.hero-content {
  animation: fadeUp 1.4s ease forwards;
  opacity: 0;
  transform: translateY(40px);
}

/* AURORA WAVE */
.hero::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: radial-gradient(circle at 30% 40%, rgba(127,90,240,0.4), transparent 60%),
              radial-gradient(circle at 70% 60%, rgba(155,124,255,0.3), transparent 60%);
  animation: auroraMove 20s ease-in-out infinite alternate;
  z-index: -1;
}

@keyframes auroraMove {
  from { transform: rotate(0deg) scale(1); }
  to { transform: rotate(15deg) scale(1.1); }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo {
  width: 180px;
  margin-bottom: 20px;
}

h1 {
  font-size: 300%;
  margin-bottom: 4rem;
  background: linear-gradient(
    90deg,
    #9b7cff 0%,
    #ffffff 50%,
    #7f5af0 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s linear infinite;
}

@keyframes shimmer {
  to {
    background-position: 200% center;
  }
}

h2 {
  margin-bottom: 40px;
  font-size: 150%;
  font-weight: 500;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.tagline {
  font-weight: 300;
  margin-bottom: 3rem;
  opacity: 0.85;
}

#countdown {
  display: inline-block;
  padding: 1rem 1.5rem;
  box-shadow: 0 0 30px rgb(145, 112, 255);
  border-radius: 100vw;
  font-size: 118%;
  margin: 3rem 0;
  color: #cdbeff;
  text-transform: uppercase;
  letter-spacing: .2rem;
}

/* BUTTONS */
.btn, .btn:visited {
  color: #fff;
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 100vw;
  font-weight: 500;
  margin: 10px;
  transition: all 0.3s ease;
}

.primary {
  background: #7f5af0;
  color: white;
  box-shadow: 0 0 20px rgba(127, 90, 240, 0.6);
  border: 1px solid #aa98e4;
  animation: pulseGlow 3s infinite ease-in-out;
}

.primary:hover {
  transform: translateY(-3px);
}

.primary:hover::after {
  opacity: 0.3;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(127, 90, 240, 0.6); }
  50% { box-shadow: 0 0 40px rgba(127, 90, 240, 1); }
}

.secondary {
  border: 1px solid white;
  color: white;
}

.secondary:hover {
  background: white;
  color: #050816;
}

.event-details {
  margin-top: 4rem;
  color: #d6ecff;
  font-size: 150%;
  letter-spacing: 1px;
}

/* SECTIONS */
section {
  padding: 4rem;
  text-align: center;
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s ease;
}

section,
.hero {
  scroll-snap-align: start;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ABOUT */
.about {
  line-height: 2rem;
  background: linear-gradient(to bottom, transparent, #0d1125);
}

.container {
  max-width: 800px;
  margin: auto;
}

.about ol {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* LINEUP */

.artists {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.artist {
  height: 100%;
  align-content: center;
  padding: 15px 25px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 30px;
  backdrop-filter: blur(10px);
  transition: 0.4s ease;
}

.artist:hover {
  background: rgba(155,124,255,0.15);
  transform: translateY(-8px);
}

.artist img {
  display: block;
  max-width: 200px;
  width: 100%;
}

/* POSTER */
.poster {
  text-align: center;
  padding: 100px 20px;
}

.poster img {
  max-width: 500px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.7);
  transition: transform 0.8s ease;
}

.poster img:hover {
  transform: scale(1.03);
}

/* FOOTER */
footer {
  padding: 40px;
  text-align: center;
  opacity: 0.6;
}

/* MOBILE CTA */
.mobile-cta {
  display: none;
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }

  .mobile-cta {
    display: block;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #7f5af0;
    padding: 15px 40px;
    border-radius: 40px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    box-shadow: 0 0 20px rgba(127, 90, 240, 0.8);
  }

  footer {
    padding: 40px 40px 100px 40px;
  }
}

/* =========================
   COSMIC GATE INTRO
========================= */

#gate-overlay {
  position: fixed;
  inset: 0;
  background: #050816;
  display: flex;
  z-index: 9999;
  overflow: hidden;
}

.gate {
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    #0a0f25,
    #1a1f3d
  );
  position: relative;
  transition: transform 2.2s cubic-bezier(0.77, 0, 0.18, 1);
}

.gate-left {
  border-right: 1px solid rgba(155,124,255,0.4);
}

.gate-right {
  border-left: 1px solid rgba(155,124,255,0.4);
}

.gate-glow {
  position: absolute;
  width: 4px;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    transparent,
    #9b7cff,
    #ffffff,
    #9b7cff,
    transparent
  );
  filter: blur(8px);
  opacity: 0.8;
  animation: pulseSeam 2s ease-in-out infinite;
}

@keyframes pulseSeam {
  0%,100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* OPEN STATE */
#gate-overlay.open .gate-left {
  transform: translateX(-100%);
}

#gate-overlay.open .gate-right {
  transform: translateX(100%);
}

#gate-overlay.fade-out {
  opacity: 0;
  transition: opacity 1s ease;
}