/* Minecraft page */
.minecraft-page {
  padding: 7rem 0 4rem;
  min-height: 100vh;
}

.minecraft-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.minecraft-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.minecraft-title em,
.minecraft-title span {
  color: var(--accent);
}

.minecraft-lead {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 50ch;
  margin: 0 auto;
}

.ns-about {
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.ns-about .section-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.ns-about p {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.minecraft-page {
  font-family: 'Noto Sans Myanmar', 'Outfit', system-ui, sans-serif;
}

.season {
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.season h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 1rem;
}

.season p {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-family: inherit;
}

.btn-yt {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.btn-yt::before {
  content: "▶";
  font-size: 0.85em;
}

.season-video-wrap {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-top: 1.5rem;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
}

.season-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.season-members {
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.album-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.album-desc {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.album-season-block {
  margin-bottom: 2.5rem;
}

.album-season-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 1rem;
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.album-section .album-item {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}

.album-section .album-item:hover {
  border-color: var(--accent);
  transform: scale(1.02);
}

/* Image Overlay / Lightbox */
.img-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.img-overlay.active {
  opacity: 1;
  visibility: visible;
}

.overlay-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s;
}

.overlay-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.overlay-zoom-controls {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  z-index: 2;
}

.overlay-zoom-btn {
  width: 36px;
  height: 36px;
  font-size: 1.5rem;
  line-height: 1;
  background: var(--accent);
  color: var(--bg-dark);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: opacity 0.2s;
}

.overlay-zoom-btn:hover {
  opacity: 0.9;
}

.overlay-zoom-level {
  color: var(--text);
  font-size: 0.9rem;
  min-width: 3.5rem;
  text-align: center;
}

.overlay-content {
  max-width: 95vw;
  max-height: 85vh;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem 5rem;
}

.overlay-content img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  transition: transform 0.15s;
  transform-origin: center center;
}

.album-section .album-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.album-video-thumb {
  width: 100%;
  aspect-ratio: 1;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--accent);
}

.album-video .play-icon {
  font-size: 2rem;
}

.album-video-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0 0.5rem;
  text-align: center;
}

.overlay-content-video {
  max-width: 90vw;
  width: 853px;
}

.overlay-content-video iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
}

.minecraft-page .text-muted {
  color: var(--text-muted);
  font-style: italic;
}
