* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  background-color: #0b0a10;
  color: #ffffff;
  font-family: "Space Grotesk", "Montserrat", "Avenir Next", sans-serif;
}

.screen {
  position: relative;
  min-height: auto;
  background-image:
    radial-gradient(130% 95% at 50% 15%, rgba(22, 10, 40, 0.1), rgba(6, 6, 12, 0.7)),
    linear-gradient(180deg, rgba(10, 6, 20, 0.25), rgba(6, 6, 12, 0.7)),
    linear-gradient(90deg, rgba(12, 10, 24, 0.45) 2px, transparent 2px),
    linear-gradient(90deg, rgba(12, 10, 24, 0.45) 2px, transparent 2px),
    linear-gradient(rgba(10, 8, 18, 0.55) 2px, transparent 2px),
    url("images/brick-neon-bg.jpg");
  background-size:
    100% 100%,
    100% 100%,
    96px 48px,
    96px 48px,
    100% 48px,
    cover;
  background-position:
    center,
    center,
    0 0,
    48px 24px,
    0 0,
    center;
  background-repeat: repeat, repeat, repeat, repeat, repeat, no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow-x: hidden;
  overflow-y: hidden;
  padding: calc(env(safe-area-inset-top) + 12px) env(safe-area-inset-right)
    env(safe-area-inset-bottom) env(safe-area-inset-left);
}


.center-title {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(8px, 2vw, 18px);
  z-index: 3;
  text-align: center;
  padding: clamp(24px, 6vh, 64px) 12px 0;
  margin-top: 0;
  width: min(92vw, 440px);
  height: auto;
}	

.center-title__line {
  font-family: "Audiowide", "Orbitron", sans-serif;
  font-size: clamp(34px, 8.5vw, 78px);
  letter-spacing: 0.08em;
  text-transform: none;
  color: #ffffff;
  text-shadow:
    0 0 6px rgba(255, 90, 200, 0.9),
    0 0 16px rgba(255, 90, 200, 0.75),
    0 0 34px rgba(255, 90, 200, 0.6),
    0 0 60px rgba(255, 90, 200, 0.45);
}

.center-title__number {
  font-family: "Audiowide", "Orbitron", sans-serif;
  font-size: clamp(110px, 28vw, 280px);
  letter-spacing: 0.06em;
  color: #ffffff;
  line-height: 0.85;
  text-shadow:
    0 0 10px rgba(255, 90, 200, 0.95),
    0 0 24px rgba(255, 90, 200, 0.8),
    0 0 48px rgba(255, 90, 200, 0.7),
    0 0 80px rgba(255, 90, 200, 0.55);
}

.screen::before,
.screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 0;
}

.screen::before {
  background:
    radial-gradient(35% 45% at 25% 30%, rgba(110, 210, 255, 0.45), transparent 60%),
    radial-gradient(40% 55% at 75% 35%, rgba(255, 90, 220, 0.5), transparent 65%),
    radial-gradient(50% 35% at 55% 70%, rgba(200, 120, 255, 0.25), transparent 70%);
  filter: blur(18px) saturate(140%);
  opacity: 0.85;
  animation: glowPulse 9s ease-in-out infinite;
}

.screen::after {
  background:
    radial-gradient(60% 45% at 50% 15%, rgba(90, 180, 255, 0.18), transparent 70%),
    radial-gradient(65% 55% at 50% 85%, rgba(255, 90, 180, 0.22), transparent 72%);
  filter: blur(28px) saturate(160%);
  opacity: 0.7;
  animation: glowDrift 16s ease-in-out infinite;
}

@keyframes glowPulse {
  0%,
  100% {
    transform: scale(1) translate3d(0, 0, 0);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.05) translate3d(0, -1%, 0);
    opacity: 1;
  }
}

@keyframes glowDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 0.65;
  }
  50% {
    transform: translate3d(1.5%, -1%, 0);
    opacity: 0.85;
  }
}

.hero {
  position: absolute;
  top: 66%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 2;
}

.neon-slogan {
  font-family: "Audiowide", "Orbitron", sans-serif;
  font-size: clamp(20px, 5.6vw, 36px);
  letter-spacing: 0.08em;
  color: #f8d7ff;
  text-shadow:
    0 0 6px rgba(255, 90, 220, 0.8),
    0 0 14px rgba(255, 90, 220, 0.7),
    0 0 26px rgba(120, 210, 255, 0.6),
    0 0 40px rgba(120, 210, 255, 0.45);
  animation: neonTitleFlicker 6.5s infinite;
}

.neon-hero {
  display: flex;
  justify-content: center;
}

.neon-specht {
  width: min(42vw, 190px);
  /*aspect-ratio: 220 / 660;*/
  opacity: 1;
  filter: drop-shadow(0 0 14px rgba(255, 90, 220, 0.7))
    drop-shadow(0 0 24px rgba(120, 210, 255, 0.55));
}

@media (max-width: 768px) {
  .center-title {
    padding-top: clamp(20px, 6vh, 40px);
    gap: clamp(6px, 2.2vw, 14px);
  }

  .center-title__line {
    font-size: clamp(26px, 7.8vw, 48px);
    letter-spacing: 0.05em;
  }

  .center-title__number {
    font-size: clamp(90px, 26vw, 180px);
    letter-spacing: 0.04em;
    line-height: 0.82;
  }

  .neon-specht {
    width: min(50vw, 170px);
  }
}

@media (min-width: 769px) {
  .center-title__line {
    font-size: clamp(28px, 3.2vw, 42px);
  }

  .center-title__number {
    font-size: clamp(96px, 12vw, 180px);
  }
}

@media (max-width: 480px) {
  .center-title {
    padding-top: clamp(10px, 5vh, 24px);
  }

  .center-title__line {
    font-size: clamp(22px, 8.5vw, 38px);
  }

  .center-title__number {
    font-size: clamp(80px, 28vw, 150px);
  }

  .neon-specht {
    width: min(56vw, 150px);
  }
}

@keyframes neonTitleFlicker {
  0%,
  19%,
  22%,
  100% {
    opacity: 1;
  }
  20% {
    opacity: 0.7;
  }
  21% {
    opacity: 0.9;
  }
  55% {
    opacity: 0.6;
  }
  56% {
    opacity: 1;
  }
}

.neon-specht__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter:
    drop-shadow(0 0 6px rgba(255, 90, 220, 0.9))
    drop-shadow(0 0 16px rgba(120, 210, 255, 0.7))
    drop-shadow(0 0 28px rgba(255, 90, 220, 0.6));
  animation: neonFlicker 5.5s infinite;
}

.neon-number {
  font-family: "Audiowide", "Orbitron", sans-serif;
  font-size: clamp(80px, 30vw, 180px);
  letter-spacing: 0.04em;
  color: #b7f6ff;
  text-shadow:
    0 0 10px rgba(120, 210, 255, 0.9),
    0 0 26px rgba(120, 210, 255, 0.75),
    0 0 44px rgba(255, 90, 220, 0.6);
  justify-self: end;
  line-height: 0.9;
}

@keyframes neonFlicker {
  0%,
  18%,
  22%,
  25%,
  53%,
  57%,
  100% {
    opacity: 1;
    filter:
      drop-shadow(0 0 6px rgba(255, 90, 220, 0.9))
      drop-shadow(0 0 16px rgba(120, 210, 255, 0.7))
      drop-shadow(0 0 28px rgba(255, 90, 220, 0.6));
  }
  20%,
  24% {
    opacity: 0.6;
    filter:
      drop-shadow(0 0 3px rgba(255, 90, 220, 0.6))
      drop-shadow(0 0 8px rgba(120, 210, 255, 0.5));
  }
  55% {
    opacity: 0.25;
    filter: none;
  }
  56% {
    opacity: 0.85;
    filter:
      drop-shadow(0 0 4px rgba(255, 90, 220, 0.7))
      drop-shadow(0 0 12px rgba(120, 210, 255, 0.6));
  }
}

.gallery-section {
  width: min(92vw, 440px);
  display: grid;
  gap: 14px;
  margin-top: clamp(12px, 3vh, 28px);
}

@keyframes neonLinePulse {
  0%,
  100% {
    opacity: 0.65;
    transform: scaleX(0.92);
    filter: drop-shadow(0 0 6px rgba(255, 90, 200, 0.65))
      drop-shadow(0 0 12px rgba(120, 210, 255, 0.45));
    box-shadow:
      0 0 6px rgba(255, 90, 200, 0.8),
      0 0 12px rgba(255, 90, 200, 0.6),
      0 0 16px rgba(120, 210, 255, 0.5);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
    filter: drop-shadow(0 0 12px rgba(255, 90, 200, 1))
      drop-shadow(0 0 22px rgba(120, 210, 255, 0.8));
    box-shadow:
      0 0 12px rgba(255, 90, 200, 1),
      0 0 26px rgba(255, 90, 200, 0.85),
      0 0 40px rgba(120, 210, 255, 0.8);
  }
}

.location-section {
  width: min(92vw, 440px);
  display: grid;
  gap: 12px;
  text-align: center;
  margin-top: clamp(26px, 5vh, 48px);
  padding-bottom: clamp(12px, 3vh, 24px);
  position: relative;
  z-index: 1;
}

.location-date,
.location-place {
  margin: 0;
  color: #ffffff;
  font-family: "Audiowide", "Orbitron", sans-serif;
  letter-spacing: 0.06em;
  text-shadow:
    0 0 6px rgba(255, 90, 200, 0.9),
    0 0 16px rgba(255, 90, 200, 0.75),
    0 0 30px rgba(120, 210, 255, 0.6);
}

.location-date {
  font-size: clamp(18px, 4.8vw, 28px);
}

.location-place {
  font-size: clamp(16px, 4.4vw, 24px);
  letter-spacing: 0.04em;
}

.neon-divider {
  height: 1px;
  width: 100%;
  background: radial-gradient(
      circle at center,
      rgba(120, 210, 255, 1) 0%,
      rgba(120, 210, 255, 0.85) 40%,
      rgba(120, 210, 255, 0.35) 70%,
      rgba(120, 210, 255, 0) 100%
    );
  box-shadow:
    0 0 14px rgba(120, 210, 255, 0.95),
    0 0 30px rgba(120, 210, 255, 0.9),
    0 0 52px rgba(120, 210, 255, 0.8),
    0 0 78px rgba(120, 210, 255, 0.85),
    0 0 110px rgba(90, 180, 255, 0.75),
    0 0 140px rgba(70, 150, 255, 0.55);
  opacity: 1;
  transform: scaleX(0.92);
  transform-origin: center;
  animation: neonLinePulse 3.8s ease-in-out infinite;
  will-change: opacity, transform, box-shadow, filter;
}

.uplight {
  width: clamp(220px, 70vw, 520px);
  height: clamp(240px, 50vh, 520px);
  margin: 0 auto 0;
  background: radial-gradient(
      50% 100% at 50% 100%,
      rgba(120, 210, 255, 0.7) 0%,
      rgba(120, 210, 255, 0.35) 35%,
      rgba(120, 210, 255, 0.15) 55%,
      rgba(120, 210, 255, 0) 75%
    );
  filter: blur(2px);
  opacity: 0.85;
  mix-blend-mode: screen;
  transform-origin: bottom center;
  animation: uplightSweep 8s ease-in-out infinite;
  clip-path: polygon(46% 100%, 54% 100%, 100% 0%, 0% 0%);
  position: absolute;
  bottom: -10px;
  z-index: 3;
}


@keyframes uplightSweep {
  0%,
  100% {
    transform: rotate(-34deg) scaleX(0.88);
    opacity: 0.65;
  }
  50% {
    transform: rotate(34deg) scaleX(1.12);
    opacity: 0.98;
  }
}


.gallery-section h2 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 90, 200, 0.9);
  margin: 0 0 6px;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.gallery-item {
  position: relative;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: none;
  aspect-ratio: 1 / 1;
  box-shadow: none;
  flex: 0 0 calc((100% - 18px) / 4);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: sepia(0.8) saturate(1.1) contrast(1.05);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.35) 100%);
  opacity: 0.9;
  pointer-events: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(5, 5, 6, 0.85);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 10;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: min(92vw, 920px);
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

@media (min-width: 480px) {
  .gallery-item {
    flex: 0 0 calc((100% - 24px) / 5);
  }
}

@media (min-width: 720px) {
  .gallery-item {
    flex: 0 0 calc((100% - 30px) / 6);
  }
}
