/* GALLERY STYLES */
main {
  flex: 1;
  padding-top: calc(var(--header-height) + 1.5rem);
  padding-bottom: 3rem;
}

section {
  padding-block: 2.6rem;
}

.gallery-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr);
  gap: 2.4rem;
  align-items: center;
}

.hero-eyebrow {
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(0,0,0,.6);
  font-family: 'Poppins', sans-serif;
  margin-top: .6rem;
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 3vw + 1.2rem, 2.6rem);
  margin-top: .6rem;
  line-height: 1.1;
}

.hero-title span {
  color: var(--brand-cyan);
}

.hero-lead {
  margin-top: .9rem;
  font-size: .98rem;
  max-width: 680px;
  color: rgba(0,0,0,.8);
}

.hero-meta-row {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  font-size: .82rem;
}

.hero-meta-chip {
  padding: .3rem .75rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(24,64,133,.14);
  background: rgba(255,255,255,.96);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  box-shadow: 0 8px 20px rgba(15,23,42,.06);
}

.hero-meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--brand-lime);
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  align-items: center;
}

.hero-note {
  margin-top: .7rem;
  font-size: .85rem;
  color: rgba(0,0,0,.7);
}

.hero-card {
  border-radius: 24px;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid rgba(0,0,0,.05);
  box-shadow: var(--shadow-soft);
}

.hero-card-label {
  font-family: 'Poppins', sans-serif;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: rgba(0,0,0,.55);
}

.hero-card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  margin-top: .5rem;
  color: var(--brand-blue);
}

.hero-card-text {
  font-size: .86rem;
  margin-top: .55rem;
  color: rgba(0,0,0,.75);
  line-height: 1.55;
}

/* MEDIA LAYOUT (Video + Slider) */
.media-layout {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.6rem;
  align-items: stretch;
}

.card {
  border-radius: 24px;
  padding: 1.2rem;
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 16px 36px rgba(15,23,42,0.08);
  display: flex;
  flex-direction: column;
}

.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .9rem;
}

.card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  color: rgba(0,0,0,.88);
  font-weight: 600;
}

.card-sub {
  font-size: .78rem;
  color: rgba(0,0,0,.65);
  margin-top: .25rem;
  max-width: 520px;
}

.frame {
  border-radius: 18px;
  overflow: hidden;
  background: #0b1220;
  border: 1px solid rgba(2,6,23,.6);
  box-shadow: 0 18px 40px rgba(15,23,42,.45);
  aspect-ratio: 16/9;
}

.frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.yt-channel-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 0, 0, 0.08);
  color: #FF0000;
  transition: var(--transition-fast);
  text-decoration: none;
  border: 1px solid rgba(255,0,0,0.15);
}

.yt-channel-link:hover {
  background: rgba(255, 0, 0, 0.15);
  transform: translateY(-1px);
}

.shorts-container {
  display: flex;
  gap: 0.8rem;
  overflow-x: auto;
  padding-bottom: 0.6rem;
  scroll-snap-type: x mandatory;
  margin-top: 0.5rem;
}

.shorts-container::-webkit-scrollbar { height: 6px; }
.shorts-container::-webkit-scrollbar-track { background: rgba(0,0,0,0.04); border-radius: 10px; }
.shorts-container::-webkit-scrollbar-thumb { background: rgba(24,64,133,0.2); border-radius: 10px; }
.shorts-container::-webkit-scrollbar-thumb:hover { background: var(--brand-blue); }

.short-frame {
  flex: 0 0 120px;
  aspect-ratio: 9/16;
  border-radius: 14px;
  overflow: hidden;
  background: #0b1220;
  scroll-snap-align: start;
  border: 1px solid rgba(0,0,0,0.08);
  position: relative;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  transition: transform .2s ease;
}

.short-frame:hover { transform: translateY(-2px); }
.short-frame iframe { width: 100%; height: 100%; border: none; display: block; }

/* SLIDER */
.slider {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.slider-main {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #0b1220;
  border: 1px solid rgba(0,0,0,.08);
  aspect-ratio: 4/3;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity .45s ease-out, transform 8s ease-out;
}

.slide.active {
  opacity: 1;
  transform: scale(1.02);
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: .55rem .85rem .75rem;
  background: linear-gradient(to top, rgba(2,6,23,.86), transparent);
  color: #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  font-size: .82rem;
}

.slider-ttl {
  font-family: 'Poppins', sans-serif;
  font-size: .92rem;
}

.slider-meta {
  font-size: .78rem;
  color: rgba(226,232,240,.9);
  margin-top: .2rem;
}

.slider-controls {
  display: flex;
  align-items: center;
  gap: .4rem;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: 1px solid rgba(248,250,252,.65);
  background: rgba(2,6,23,.55);
  cursor: pointer;
  transition: var(--transition-fast);
}

.dot.active {
  width: 18px;
  background: var(--brand-yellow);
  border-color: rgba(255,255,255,.6);
}

.arrow {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(2,6,23,.55);
  color: #fff;
  cursor: pointer;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.arrow:hover {
  background: rgba(2,6,23,.85);
  transform: translateY(-1px);
}

/* Tabs */
.tabs {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
}

.tab {
  border: 1px solid rgba(24,64,133,.14);
  background: rgba(255,255,255,.96);
  padding: .45rem .9rem;
  border-radius: var(--radius-pill);
  font-size: .84rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.tab:hover {
  transform: translateY(-1px);
  background: rgba(24,64,133,.06);
}

.tab.active {
  background: var(--brand-blue);
  color: #fff;
  border-color: rgba(24,64,133,.6);
  box-shadow: 0 10px 26px rgba(24,64,133,.22);
}

/* Gallery Grid */
.gallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.2rem;
  margin-bottom: 1.1rem;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.35rem;
  color: var(--brand-blue);
  font-weight: 600;
}

.section-sub {
  font-size: .88rem;
  color: rgba(0,0,0,.7);
  max-width: 760px;
}

.count-pill {
  font-size: .78rem;
  padding: .35rem .8rem;
  border-radius: var(--radius-pill);
  background: rgba(24,64,133,.06);
  border: 1px solid rgba(24,64,133,.14);
  color: var(--brand-blue);
  white-space: nowrap;
  font-weight: 600;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: .9rem;
}

.photo {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #0b1220;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 10px 28px rgba(0,0,0,.06);
  cursor: pointer;
  transform: translateZ(0);
}

.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2,6,23,.65), transparent 55%);
  opacity: 0;
  transition: opacity .25s ease-out;
  pointer-events: none;
}

.photo:hover::after { opacity: 1; }

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform .55s ease-out, filter .55s ease-out;
  will-change: transform;
}

.photo:hover img {
  transform: scale(1.10);
  filter: saturate(1.05) contrast(1.03);
}

.photo-label {
  position: absolute;
  left: .8rem;
  bottom: .75rem;
  font-size: .82rem;
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease-out, transform .25s ease-out;
  text-shadow: 0 10px 24px rgba(0,0,0,.35);
  pointer-events: none;
}

.photo:hover .photo-label {
  opacity: 1;
  transform: translateY(0);
}

.span-6 { grid-column: span 6; }
.span-4 { grid-column: span 4; }
.span-3 { grid-column: span 3; }
.span-12 { grid-column: span 12; }

.h-lg { aspect-ratio: 16/9; }
.h-md { aspect-ratio: 4/3; }
.h-sm { aspect-ratio: 1/1; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(2,6,23,.78);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.4rem;
}

.lightbox.open { display: flex; }

.lb-card {
  width: min(1060px, 100%);
  border-radius: 22px;
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 24px 70px rgba(0,0,0,.35);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.lb-top {
  padding: .8rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(0,0,0,.06);
  background: rgba(238,242,246,.7);
}

.lb-title {
  font-family: 'Poppins', sans-serif;
  font-size: .92rem;
  font-weight: 600;
  color: rgba(0,0,0,.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lb-close {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.14);
  background: rgba(255,255,255,.9);
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 1.1rem;
  line-height: 1;
}

.lb-close:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  color: #ef4444;
}

.lb-media {
  position: relative;
  background: #0b1220;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48vh;
}

.lb-media img {
  width: 100%;
  height: 100%;
  max-height: 72vh;
  object-fit: contain;
  display: block;
}

.lb-bottom {
  padding: .85rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(0,0,0,.06);
  background: #fff;
  font-size: .84rem;
  color: rgba(0,0,0,.7);
}

.lb-nav { display: flex; gap: .5rem; align-items: center; }

.lb-btn {
  border-radius: 999px;
  border: 1px solid rgba(24,64,133,.18);
  background: rgba(24,64,133,.06);
  color: var(--brand-blue);
  padding: .45rem .95rem;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: .84rem;
  font-weight: 500;
}

.lb-btn:hover {
  transform: translateY(-1px);
  background: rgba(24,64,133,.14);
}

.lb-kbd {
  font-size: .78rem;
  color: rgba(0,0,0,.55);
}

/* COMING SOON SECTION */
.coming-section {
  border-top: 1px solid rgba(24,64,133,.08);
  margin-top: 2rem;
}

.coming-grid {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.coming-card {
  position: relative;
  border-radius: 22px;
  padding: 1.2rem 1.2rem 1.4rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,0,0,.05);
  box-shadow: 0 16px 40px rgba(15,23,42,.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .8rem;
}

.coming-label {
  font-family: 'Poppins', sans-serif;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--brand-cyan);
  font-weight: 600;
}

.coming-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.12rem;
  margin-top: .35rem;
  color: var(--brand-blue);
  font-weight: 600;
}

.coming-meta {
  font-size: .88rem;
  color: rgba(0,0,0,.72);
  line-height: 1.55;
  margin-top: .4rem;
}

.coming-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  font-size: .76rem;
  margin-top: .6rem;
}

.coming-pill {
  padding: .2rem .65rem;
  border-radius: var(--radius-pill);
  border: 1px dashed rgba(24,64,133,.2);
  background: rgba(238,242,246,.75);
  color: var(--brand-blue);
  font-weight: 500;
}

.coming-footer {
  font-size: .78rem;
  color: rgba(0,0,0,.6);
  margin-top: .4rem;
  padding-top: .6rem;
  border-top: 1px solid rgba(0,0,0,.05);
}

.year-divider {
  margin-block: 3rem;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(24,64,133,0.15), transparent);
}

@media (max-width: 900px) {
  .gallery-hero-inner { grid-template-columns: 1fr; }
  .media-layout { grid-template-columns: 1fr; }
  .grid { gap: .75rem; }
  .span-6, .span-4, .span-3 { grid-column: span 12; }
  .coming-grid { grid-template-columns: 1fr; }
  .lb-media img { max-height: 64vh; }
}
