
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #000;
  color: #f2f2f2;
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #000;
  padding: 1rem 2rem;
}

.site-logo img {
  height: 36px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: #f2f2f2;
  text-decoration: none;
  transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
  color: #ff3366;
}

/* Centered content for secondary pages */
.centered-section {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 700px;
  margin: 0 auto;
}

.centered-section h2 {
  font-size: 2rem;
  color: #ff3366;
  margin-bottom: 1rem;
}

.centered-section p {
  font-size: 1.1rem;
  color: #ccc;
  line-height: 1.6;
}

/* scatter effect letters */
.scatter-letter {
  display: inline-block;
}

/* Highlights video links */
.video-link {
  display: block;
  margin: 2rem auto;
  width: 100%;
  max-width: 700px;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(255, 0, 85, 0.2);
}

.video-link iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Layout container for the first two highlight videos */
.video-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 2rem;
}

/* Grid layout for highlight videos */
.highlights-grid {
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  padding: 4rem 2rem;
  margin: 0 auto;
}

.highlights-grid .video-link {
  margin: 0;
  max-width: 100%;
}

/* Big logo on index */
.logo-big {
  text-align: center;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.logo-big img {
  max-width: 300px;
  width: 60%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Masonry Grid */
.gallery-grid {
  column-count: 4;
  column-gap: 1rem;
  max-width: 1600px;
  margin: 0 auto;
  padding: 1rem;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  margin-bottom: 1rem;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
  break-inside: avoid;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.grid img,
.grid video {
  display: block;
  width: 100%;
  height: auto;
}

.grid picture,
.grid video {
  display: block;
}

/* Lazy-loaded media fade-in */
.lazy-media {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.lazy-media.loaded {
  opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
  .gallery-grid {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    column-count: 2;
  }

  .site-logo img {
    height: 28px;
  }

  nav ul {
    gap: 1rem;
  }

  .gallery-header h2 {
    font-size: 1.5rem;
  }
}
