/* ===== Root Vars ===== */
:root {
  --bg-color: #141e30;
  --accent: #00d8ff;
  --text: #f0f0f0;
  --nav-h: 60px;
}

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

html, body {
  height: 100%;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
  background: var(--bg-color);
  color: var(--text);
}

/* ===== Top Navigation Bar ===== */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-h);
  background: rgba(20, 30, 48, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.top-nav a {
  color: var(--text);
  margin: 0 1rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.top-nav a:hover {
  color: var(--accent);
}

/* ===== Slides Container ===== */
.slides {
  position: absolute;
  top: var(--nav-h);
  left: 0;
  width: 100%;
  height: calc(100% - var(--nav-h));
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
}

.slides::-webkit-scrollbar {
  display: none;
}

.slides {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ===== Individual Slide ===== */
.slide {
  position: relative;
  width: 100vw;
  height: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  scroll-snap-align: start;
  background: var(--bg-color);
  text-align: center;
  border-radius: 10px;
  overflow: hidden;
  z-index: 1;
}

.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: linear-gradient(-45deg, #e81cff 0%, #40c9ff 100%);
  z-index: -2;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
}

.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(-45deg, #fc00ff 0%, #00dbde 100%);
  transform: scale(0.95);
  filter: blur(40px);
  z-index: -3;
  pointer-events: none;
  transition: filter 0.3s ease;
}

.slide:hover::before {
  transform: rotate(-90deg) scale(1.2);
}

.slide:hover::after {
  filter: blur(60px);
}

.slide h1 {
  font-size: 3rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.slide h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  border-bottom: 3px solid var(--accent);
  padding-bottom: 0.5rem;
}

.sub {
  font-size: 1.2rem;
  margin-top: 0.5rem;
  opacity: 0.8;
}

/* ===== Bulleted Lists ===== */
.bullets {
  list-style: none;
  margin-top: 1.5rem;
  max-width: 600px;
  text-align: left;
}

.bullets li {
  position: relative;
  padding-left: 1.5rem;
  margin: 0.5rem 0;
  font-size: 1.1rem;
}

.bullets li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ===== Gallery ===== */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.gallery img {
  cursor: pointer;
  height: 275px;
  width: auto;
  border-radius: 15px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.gallery img.expanded {
  height: 480px; /* bigger */
  width: auto;
  z-index: 10;
}

/* Hide non-expanded images when one is expanded */
.gallery.expanded-mode img:not(.expanded) {
  height: 0;
  width: 0;
  opacity: 0;
  pointer-events: none;
  margin: 0;
  padding: 0;
  transition: opacity 0.3s ease, height 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}
/* ===== Press Enter Cue ===== */
.press-enter {
  margin-top: 2rem;
  font-size: 1.2rem;
  color: var(--accent);
  opacity: 0;
  animation: pulse 1.5s infinite 1.5s both;
}

/* ===== Animations ===== */
@keyframes pulse {
  0%, 100% {
    opacity: 0;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .gallery img {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .top-nav a {
    margin: 0 0.5rem;
    font-size: 0.9rem;
  }
}
