:root {
   --bg: #2c2c2a;
  --bg-soft: #343432;
  --text: #f2f2ef;
   --accent: #a78bfa;
  --accent-2: #00ffe0;
  --accent-3: #ffb703;
  --accent-4: #3a86ff;

  :root {
  --accent-cyan: #00ffe0;
  --accent-pink: #ff3df5;
  --accent-purple: #a78bfa;
  --accent-gold: #ffd166;
}

}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(
      rgba(255,255,255,0.03) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255,255,255,0.03) 1px,
      transparent 1px
    );
  background-size: 80px 80px;
  animation: gridMove 40s linear infinite;
  z-index: -2;
}

@media (max-width: 768px) {
  .bg-grid {
    animation-duration: 80s;
    opacity: 0.4;
  }
}

section {
  scroll-margin-top: 120px;
}

@keyframes gridMove {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 400px 400px;
  }
}
.bg-noise {
  position: fixed;
  inset: 0;
  background-image: url("https://grainy-gradients.vercel.app/noise.svg");
  opacity: 0.06;
  pointer-events: none;
  z-index: -1;
}


body {
  background:
    radial-gradient(
      600px 600px at 15% 20%,
      rgba(128, 90, 213, 0.35),
      transparent 60%
    ),
    radial-gradient(
      500px 500px at 85% 70%,
      rgba(0, 255, 200, 0.25),
      transparent 60%
    ),
    radial-gradient(
      400px 400px at 60% 10%,
      rgba(255, 61, 245, 0.18),
      transparent 60%
    ),
    #0f0f12;

  color: var(--text);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

body.fest {
  --bg: #070014;
  --bg-soft: #12002e;
  --text: #ffffff;

  --accent: #ff3df5;   /* neon pink */
  --accent-2: #00ffe0; /* neon cyan */
  --accent-3: #ffd166; /* gold */
  --accent-4: #3a86ff; /* electric blue */
}

.fest-light {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.45;
  animation: floatLight 18s infinite alternate ease-in-out;
  z-index: -1;
}

.light-1 {
  background: #7f5af0;
  top: -120px;
  left: -100px;
}

.light-2 {
  background: #00ffe0;
  bottom: -140px;
  right: -120px;
  animation-delay: 4s;
}

.light-3 {
  background: #ffb703;
  top: 40%;
  left: 90%;
  animation-delay: 8s;
}

@keyframes floatLight {
  from {
    transform: translateY(0) translateX(0);
  }
  to {
    transform: translateY(80px) translateX(60px);
  }
}

 body::before {
  content: "";
  position: fixed;
  inset: 0;

  background-image:
    radial-gradient(rgba(255,255,255,0.15) 1px, transparent 1px);

  background-size: 200px 200px;
  animation: particleFloatSlow 80s linear infinite;

  opacity: 0.08;
  pointer-events: none;
  z-index: -2;
}

@keyframes particleFloatSlow {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-300px);
  }
} 

body::after {
  content: "";
  position: fixed;
  inset: 0;

  background-image:
    radial-gradient(rgba(255,255,255,0.25) 1px, transparent 1px),
    radial-gradient(rgba(0,255,255,0.2) 1px, transparent 1px),
    radial-gradient(rgba(255,180,255,0.18) 1px, transparent 1px);

  background-size:
    80px 80px,
    120px 120px,
    160px 160px;

  background-position:
    0 0,
    40px 60px,
    80px 20px;

  animation: particleFloat 40s linear infinite;

  opacity: 0.12;
  pointer-events: none;
  z-index: -1;
}
@keyframes particleFloat {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-200px);
  }
}



/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(47,47,45,0.9);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 32px;
  z-index: 1000;

  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 8%;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.5),
    transparent
  );
}

.navbar::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent-2),
    var(--accent-3),
    var(--accent-4)
  );
  opacity: 0.6;
}

@media (max-width: 768px) {
  .navbar {
    padding: 14px 16px;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;

    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);

    flex-direction: column;
    gap: 18px;

    padding: 20px;
    border-radius: 12px;

    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1rem;
  }
}


.logo {
  font-weight: 500;
  letter-spacing: 0.15em;
}

.logo-text span {
  background: linear-gradient(
    120deg,
    var(--accent),
    var(--accent-2),
    var(--accent-3),
    var(--accent-4),
    var(--accent)
  );
  background-size: 300%;
  animation: textFlow 6s linear infinite;

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes textFlow {
  to {
    background-position: 300%;
  }
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 24px;
}

.nav-links a {
   color: var(--text);
  text-decoration: none;
  font-size: 0.85rem;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: 0.3s;
}
.nav-links a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.hamburger span {
  width: 22px;
  height: 2px; 
  background: var(--text);
}

/* HERO */
.hero {
  min-height: 90vh;
  text-align: center;
  padding-top: 80px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40px;
  background:
    radial-gradient(
      circle,
      rgba(0, 255, 255, 0.15),
      transparent 70%
    );
  z-index: -1;
}

.hero h1 {
  background: linear-gradient(
    120deg,
    #a78bfa,
    #00ffe0,
    #ffd166
  );
  background-size: 300%;
  animation: textShift 6s linear infinite;

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow:
    0 0 18px rgba(0,255,255,0.25);
  
}
@keyframes textShift {
  to {
    background-position: 300%;
  }
}


.logo-text {
  display: inline-flex;
  gap: 6px;
  cursor: pointer;
}

.logo-text span {
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem;
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent-2)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  transition:
    text-shadow 0.35s ease,
    transform 0.35s ease;
}

/* staggered glow */
.logo-text:hover span {
  text-shadow:
    0 0 8px rgba(255,255,255,0.4),
    0 0 18px var(--accent),
    0 0 32px var(--accent-2);
  transform: translateY(-4px);
}

/* stagger timing */
.logo-text span:nth-child(1) { transition-delay: 0s; }
.logo-text span:nth-child(2) { transition-delay: 0.05s; }
.logo-text span:nth-child(3) { transition-delay: 0.1s; }
.logo-text span:nth-child(4) { transition-delay: 0.15s; }
.logo-text span:nth-child(5) { transition-delay: 0.2s; }
.logo-text span:nth-child(6) { transition-delay: 0.25s; } 

.logo-text:hover span {
  animation: neonPulse 1.4s infinite alternate;
}

@keyframes neonPulse {
  from {
    text-shadow:
      0 0 6px rgba(255,255,255,0.3),
      0 0 14px var(--accent);
  }
  to {
    text-shadow:
      0 0 10px rgba(255,255,255,0.5),
      0 0 26px var(--accent-2);
  }
}


.hero h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 8vw, 3.5rem);
}

.tagline {
  margin-top: 16px;
  letter-spacing: 0.15em;
  opacity: 0.8;
}

.type {
  margin-top: 20px;
  letter-spacing: 0.2em;
  font-size: 1.4rem;
  font-weight: 500;
}

/* SECTIONS */
.section {
  padding: 96px 10%;
  text-align: center;
}

.section.dark {
  background: var(--bg-dark);
}

.section h3 {
  font-size: 1.6rem;
  letter-spacing: 0.2em;
  margin-bottom: 24px;
}

/* EVENTS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 48px;
}


.card {
  position: relative;
  padding: 28px 32px;
  min-height: 140px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;

  border-radius: 18px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.06),
      rgba(255,255,255,0.02)
    );

  border: 1px solid rgba(255,255,255,0.12);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  transition: 
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.card-step {
  font-size: 0.80rem;
  letter-spacing: 0.25em;
  color: var(--accent-2);
  opacity: 0.85;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text);
}


.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(
    120deg,
    transparent,
    var(--accent),
    var(--accent-2),
    transparent
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.card:hover::before {
  opacity: 0.35;
}

.card:hover {
  transform: translateY(-10px) scale(1.04);

  border-color: rgba(255,255,255,0.35);

  box-shadow:
    0 20px 40px rgba(0,0,0,0.45),
    0 0 24px rgba(0,255,255,0.25);
}

 .card-icon {
  font-size: 1.4rem;
  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;

  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.08),
    rgba(255,255,255,0.02)
  );

  box-shadow:
    0 0 12px rgba(0,255,255,0.25);

  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .round-card {
    min-height: auto;
    padding: 22px 24px;
    cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  }

  .round-title {
    font-size: 1rem;
  }

  .round-card:active {
  transform: scale(0.97);
}
}


/* GALLERY */
.gallery {
  margin-top: 48px;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;

  align-items: stretch;
}


.gallery img {
  width: 100%;
  height: 100%;

  aspect-ratio: 4 / 3;
  object-fit: cover;

  border-radius: 20px;

  background: rgba(255,255,255,0.04);

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    filter 0.4s ease;
}


.gallery img:hover {
  transform: translateY(-8px) scale(1.03);

  box-shadow:
    0 20px 40px rgba(0,0,0,0.45),
    0 0 24px rgba(0,255,255,0.35);

  filter: brightness(1.05) saturate(1.1);
}


/* CONTACT */
.contacts {
  display: flex;
  justify-content: center;
  gap: 64px;
  margin-top: 32px;
  padding: 0 20px;
}

/* FOOTER */
.footer {
  background: #1f1f1e;
  padding: 32px;
  text-align: center;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, #7f5af0, #00ffe0);
}
.footer-links {
  margin-top: 12px;
}

.footer-links a {
  margin: 0 10px;
  color: var(--muted);
  text-decoration: none;
}

/* MOBILE */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background: var(--bg-dark);
    flex-direction: column;
    width: 200px;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .contacts {
    flex-direction: column;
    gap: 24px;
  }
}
.bg-orb {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  animation: float 18s infinite alternate ease-in-out;
  z-index: -1;
}

.orb-1 {
  background: #7f5af0;
  top: -100px;
  left: -100px;
}

.orb-2 {
  background: #00ffe0;
  bottom: -120px;
  right: -120px;
  animation-delay: 4s;
}

@keyframes float {
  from {
    transform: translateY(0) translateX(0);
  }
  to {
    transform: translateY(60px) translateX(40px);
  }
}

.section {
  opacity: 0;
  transform: translateY(60px);
  transition: 0.8s ease;
}

.section.show {
  opacity: 1;
  transform: translateY(0);
}



.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
  z-index: 2000;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: linear-gradient(
    180deg,
    var(--bg-soft),
    var(--bg)
  );
  padding: 36px 40px;
  border-radius: 22px;

  max-width: 420px;
  width: 90%;

  box-shadow:
    0 30px 60px rgba(0,0,0,0.5),
    0 0 30px rgba(255,0,255,0.25);

  transform: scale(0.9);
  transition: 0.3s ease;
}

.modal-overlay.active .modal {
  transform: scale(1);
}

.modal h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;

  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent-2)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;

  background: none;
  border: none;
  color: var(--text);
  font-size: 1.8rem;
  cursor: pointer;
}

@media (max-width: 480px) {
  .modal-box {
    max-width: 92%;
    padding: 24px 20px;
    border-radius: 16px;
  }

  .modal-box h3 {
    font-size: 1.2rem;
  }

  .modal-box p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .modal-close {
    top: 8px;
    right: 12px;
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  body::after,
  body::before {
    animation-duration: 120s;
    opacity: 0.06;
  }
}

.footer {
  margin-top: 120px;
  padding: 100px 10% 30px;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.6),
    rgba(0,0,0,0.3)
  );
  position: relative;
}

/* Neon accent line */
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent-2),
    var(--accent-3)
  );
}

.footer-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.footer-brand h4 {
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.75;
}

.footer-links h5 {
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  margin-bottom: 16px;
  color: var(--accent-2);
}

.footer-links a {
  display: block;
  text-decoration: none;
  color: var(--text);
  opacity: 0.75;
  margin-bottom: 10px;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
  opacity: 1;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.6;
  border-top: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
  .footer {
    padding: 50px 20px 30px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-links a {
    margin-bottom: 8px;
  }
}
