/* index.css — page-specific styles (base.css loaded first) */

@keyframes swayReverse {
  0%, 100% { transform: rotate(3deg); }
  50% { transform: rotate(-3deg); }
}
@keyframes drip {
  0% { transform: translateY(-10px); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(100vh); opacity: 0; }
}
@keyframes spiralSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  overflow: hidden;
  height: 100dvh;
}

/* === SVG DECORATIONS === */
.vine-container {
  position: fixed;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}

.vine-left {
  left: -20px;
  top: 0;
  width: 200px;
  height: 100vh;
  animation: sway 8s ease-in-out infinite;
  transform-origin: top center;
}

.vine-right {
  right: -20px;
  top: 0;
  width: 200px;
  height: 100vh;
  animation: swayReverse 9s ease-in-out infinite;
  transform-origin: top center;
}

/* === MAIN CONTENT === */
.main-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100dvh;
  padding: 2vh 20px;
  overflow: hidden;
  gap: 1vh;
}

/* === LOGO === */
.logo-wrapper {
  margin-bottom: 10vh;
  animation: fadeInUp 1.5s ease-out, breathe 6s ease-in-out infinite;
  position: relative;
  will-change: transform;
}

@keyframes logo-color {
  0%, 100% { fill: #ff6ef0; }
  25% { fill: #00ffe0; }
  50% { fill: #ffaa30; }
  75% { fill: #b8e090; }
}

.logo-svg {
  width: min(500px, 85vw);
  max-height: 25vh;
  display: block;
}

.logo-svg path {
  fill: var(--acid-pink);
  animation: logo-color 12s ease-in-out infinite;
}

.logo-svg path:nth-child(2n) {
  animation-delay: -3s;
}

.logo-svg path:nth-child(3n) {
  animation-delay: -6s;
}

.logo-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse, rgba(255, 110, 240, 0.12) 0%, rgba(0, 255, 224, 0.06) 50%, transparent 70%);
  z-index: -1;
}

/* === TAGLINE === */
.tagline {
  font-family: 'Caveat', cursive;
  font-size: clamp(1.2rem, 3.5vw, 1.7rem);
  font-weight: 700;
  color: rgba(184, 224, 144, 0.55);
  letter-spacing: 3px;
  animation: fadeInUp 1.8s ease-out;
  text-transform: lowercase;
}

/* === NEXT CONCERT BLOCK === */
.next-concert {
  animation: fadeInUp 2s ease-out;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  display: block;
  padding: 2vh 40px;
  position: relative;
  transition: transform 0.3s ease;
  max-width: 600px;
}

.next-concert:hover {
  transform: scale(1.03);
}

.next-concert:hover .concert-border {
  border-color: var(--acid-pink);
  opacity: 1;
}

.concert-border {
  position: absolute;
  inset: 0;
  border: 2px solid var(--acid-cyan);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: morphBlob 10s ease-in-out infinite;
  opacity: 0.4;
  transition: opacity 0.3s, border-color 0.3s;
  will-change: border-radius;
}

.concert-label {
  font-family: 'Caveat', cursive;
  font-size: clamp(1.05rem, 2.8vw, 1.3rem);
  font-weight: 700;
  color: var(--acid-cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0.7;
}

.concert-title {
  font-family: 'Indie Flower', cursive;
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
  font-weight: 700;
  color: var(--spore);
  line-height: 1.2;
  margin-bottom: 8px;
  text-shadow: 0 0 30px rgba(255, 110, 240, 0.25), 0 0 60px rgba(0, 255, 224, 0.1);
}

.concert-date {
  font-family: 'Caveat', cursive;
  font-size: clamp(1.5rem, 4.5vw, 2.3rem);
  font-weight: 700;
  color: var(--lichen);
  margin-bottom: 6px;
}

.concert-venue {
  font-family: 'Pangolin', cursive;
  font-size: clamp(1.05rem, 2.8vw, 1.3rem);
  font-weight: 600;
  color: rgba(184, 224, 144, 0.6);
}

.concert-cta {
  margin-top: 20px;
  font-family: 'Caveat', cursive;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--acid-pink);
  opacity: 0.5;
  transition: opacity 0.3s;
}

.next-concert:hover .concert-cta {
  opacity: 1;
}

/* === BOTTOM MUSHROOM GARDEN === */
.mushroom-garden {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  pointer-events: none;
  z-index: 3;
}

/* === NAVIGATION === */
.nav-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 2.5s ease-out;
}

.nav-links a {
  font-family: 'Indie Flower', cursive;
  font-size: clamp(1.3rem, 3.5vw, 1.7rem);
  font-weight: 700;
  color: var(--lichen);
  text-decoration: none;
  position: relative;
  padding: 8px 16px;
  transition: color 0.3s, transform 0.3s;
}

.nav-links a::after {
  content: '~';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  color: var(--acid-pink);
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.nav-links a:hover {
  color: var(--acid-cyan);
  transform: translateY(-3px);
}

.nav-links a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* === DRIPPING === */
.drip {
  position: fixed;
  width: 3px;
  height: 20px;
  border-radius: 50%;
  opacity: 0.35;
  animation: drip 6s linear infinite;
  z-index: 1;
  will-change: transform, opacity;
}

/* === HALLUCINATION LAYER === */
.hallucinations {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.halluc {
  position: absolute;
  pointer-events: none;
  will-change: transform;
}

.halluc-blob { animation: trippy-drift 18s ease-in-out infinite reverse; }
.halluc-geometry { animation: trippy-drift 22s ease-in-out infinite; }
.halluc-ripple { animation: trippy-drift 16s ease-in-out infinite reverse; }
.halluc-infinity { animation: trippy-drift 24s ease-in-out infinite; }
.halluc-spiro { animation: trippy-drift 15s ease-in-out infinite reverse; }
.halluc-hex { animation: trippy-drift 19s ease-in-out infinite; }
.halluc-dna { animation: trippy-drift 20s ease-in-out infinite; }
.halluc-amoeba { animation: trippy-drift 25s ease-in-out infinite reverse; }
.halluc-diamonds { animation: trippy-drift 17s ease-in-out infinite; }

/* === SPIRAL EYES === */
.third-eye {
  position: fixed;
  pointer-events: none;
  z-index: 1;
  opacity: 0.18;
  will-change: transform;
}

.third-eye svg {
  animation: spiralSpin 20s linear infinite;
}

/* === RESPONSIVE === */
@media (max-width: 600px) {
  .vine-left, .vine-right { width: 80px; }
  .main-content { padding: 1vh 15px; }
  .logo-svg { width: min(320px, 80vw); max-height: 20vh; }
  .tagline { font-size: clamp(0.9rem, 3vw, 1.2rem); }
  .next-concert { padding: 24px 20px; }
  .concert-title { font-size: clamp(1.6rem, 6vw, 2.4rem); }
  .concert-date { font-size: clamp(1.2rem, 4vw, 1.6rem); }
  .concert-label { font-size: clamp(0.9rem, 3vw, 1.1rem); margin-bottom: 8px; }
  .concert-venue { font-size: clamp(1rem, 3vw, 1.2rem); }
  .concert-cta { font-size: 1.05rem; margin-top: 12px; }
  .nav-links { gap: 12px; }
  .nav-links a { font-size: clamp(1.1rem, 3.5vw, 1.4rem); padding: 8px 14px; }
  .mushroom-garden { height: 80px; }
  .decorative-top, .decorative-separator { display: none; }
  .scroll-hint { display: none; }
  .footer-zone { display: none; }
  .halluc-dna, .halluc-diamonds, .halluc-spiro, .halluc-infinity { display: none; }
  .halluc-geometry { width: 120px !important; }
  .halluc-amoeba { width: 100px !important; }
  .halluc-blob { width: 90px !important; }
  .halluc-ripple { width: 120px !important; }
  .halluc-hex { width: 80px !important; }
}

/* === LOADING === */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1s ease, visibility 1s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-eye {
  width: 60px;
  height: 60px;
  animation: spiralSpin 2s linear infinite;
}

/* Footer */
.footer-zone {
  padding-bottom: 1vh;
  text-align: center;
  animation: fadeInUp 3s ease-out;
}

.footer-zone p {
  font-family: 'Caveat', cursive;
  font-size: 1.05rem;
  font-weight: 700;
  color: rgba(184, 224, 144, 0.35);
}

.footer-credit {
  text-align: center;
}

.footer-credit p {
  font-family: 'Caveat', cursive;
  font-size: 0.85rem;
  color: rgba(184, 224, 144, 0.3);
}

.footer-credit a {
  color: rgba(184, 224, 144, 0.4);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-credit a:hover {
  color: var(--acid-cyan);
}

/* scroll hint */
.scroll-hint {
  animation: float 4s ease-in-out infinite;
  opacity: 0.3;
  will-change: transform;
}
