/* ==========================================================================
   VIJAYAM DANCE ACADEMY — DIGITAL VISUAL ARCHIVE STYLESHEET (css/gallery.css)
   Pure CSS3 • Asymmetric Masonry • Visual Stories • Films • Sadhana Strip • Modals
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. EDITORIAL PAGE BANNER (Gallery Visual Archive)
   Background Image: Gallery.png (assets/images/banners/gallery.png)
   -------------------------------------------------------------------------- */

.gallery-hero.page-editorial-banner {
  border-bottom: 1px solid rgba(184, 154, 90, 0.25);
}

.gallery-hero.page-editorial-banner .banner-bg-layer {
  background-image: url('../assets/images/banners/Gallery.webp');
  background-position: center right;
}

@media (max-width: 640px) {
  .gallery-hero.page-editorial-banner .banner-bg-layer {
    background-position: 86% center;
  }
}

/* --------------------------------------------------------------------------
   02. SHARED EDITORIAL SECTION HEADERS & UNIFIED SYSTEM
   -------------------------------------------------------------------------- */
.gallery-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
  gap: 20px;
  flex-wrap: wrap;
}

.gsh-left {
  max-width: 680px;
}

.gsh-title {
  font-family: var(--font-serif-display);
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-maroon);
  line-height: 1.2;
  margin: 0 0 10px 0;
  text-transform: uppercase;
}

.gsh-decor {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.gsh-line {
  display: inline-block;
  width: 44px;
  height: 1.5px;
  background: var(--color-gold);
  opacity: 0.8;
}

.gsh-glyph {
  font-size: 0.75rem;
  color: var(--color-gold);
  line-height: 1;
}

.gsh-desc {
  font-size: 0.95rem;
  color: #555555;
  line-height: 1.6;
  margin: 0;
}

.gsh-right {
  display: flex;
  align-items: center;
}

/* Action Buttons */
.gsh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 28px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}

.gsh-btn-maroon {
  background: var(--color-maroon);
  color: #FAF7F2;
  border-color: rgba(184, 154, 90, 0.4);
}

.gsh-btn-maroon:hover {
  background: #751E28;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(91, 24, 32, 0.25);
  border-color: var(--color-gold);
}

.gsh-btn-outline-maroon {
  color: var(--color-maroon);
  border-color: var(--color-maroon);
  background: transparent;
}

.gsh-btn-outline-maroon:hover {
  background: var(--color-maroon);
  color: #FAF7F2;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(91, 24, 32, 0.2);
}

.gsh-btn-outline-gold {
  color: #E8D3A2;
  border-color: var(--color-gold);
  background: rgba(184, 154, 90, 0.08);
}

.gsh-btn-outline-gold:hover {
  background: var(--color-gold);
  color: #170407;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 154, 90, 0.35);
}

/* Dark Theme Header Contrast */
.gsh-theme-dark .gsh-title,
.gsh-title-light {
  color: #FFFFFF !important;
  font-weight: 600;
}

.gsh-theme-dark .gsh-desc,
.gsh-desc-light {
  color: #D8CEBF !important;
}

/* --------------------------------------------------------------------------
   03. IMAGE COLLECTIONS (Editorial Masonry Grid & Filter System)
   -------------------------------------------------------------------------- */
.gallery-image-collections-section {
  padding: 50px 0 65px;
  background-color: var(--color-ivory);
}

/* Category Filter Bar */
.gallery-filter-bar {
  margin-bottom: 30px;
}

.filter-pills-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 4px 2px;
}

.filter-pill {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-charcoal);
  border: 1px solid rgba(91, 24, 32, 0.22);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  padding: 8px 18px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.filter-pill:hover,
.filter-pill:focus-visible {
  border-color: var(--color-maroon);
  color: var(--color-maroon);
  background: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(91, 24, 32, 0.1);
  outline: none;
}

.filter-pill.active {
  background: var(--color-maroon);
  color: var(--color-ivory);
  border-color: var(--color-maroon);
  box-shadow: 0 4px 14px rgba(91, 24, 32, 0.25);
  transform: translateY(-2px);
  font-weight: 600;
}

/* Editorial 4-Column Masonry Grid (Preserves Natural Proportions) */
.gallery-masonry-grid {
  column-count: 4;
  column-gap: 16px;
  width: 100%;
}

.gallery-masonry-item {
  break-inside: avoid;
  page-break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin-bottom: 16px;
  display: block;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(184, 154, 90, 0.28);
  background: #170306;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.45s ease, 
              border-color 0.3s ease, 
              opacity 0.35s ease;
  will-change: transform, opacity;
}

.gallery-masonry-item:hover,
.gallery-masonry-item:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(91, 24, 32, 0.18);
  border-color: var(--color-gold);
  outline: none;
}

.masonry-thumb-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: block;
}

.masonry-thumb-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-masonry-item:hover .masonry-thumb-wrap img {
  transform: scale(1.04);
}

/* Subtle Dark Overlay & Hover Information */
.masonry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 2, 5, 0.12) 0%, rgba(16, 2, 5, 0.05) 30%, rgba(16, 2, 5, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.gallery-masonry-item:hover .masonry-overlay,
.gallery-masonry-item:focus-visible .masonry-overlay {
  opacity: 1;
}

.masonry-top-bar {
  display: flex;
  justify-content: flex-start;
  transform: translateY(-4px);
  transition: transform 0.3s ease;
}

.masonry-cat {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  background: rgba(16, 2, 5, 0.78);
  padding: 3px 8px;
  border-radius: 2px;
  border: 1px solid rgba(184, 154, 90, 0.32);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.masonry-caption-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateY(4px);
  transition: transform 0.3s ease;
}

.masonry-title {
  font-family: var(--font-serif-display);
  font-size: 1rem;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.28;
  margin: 0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.masonry-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  width: fit-content;
  padding: 5px 12px;
  background: rgba(91, 24, 32, 0.92);
  border: 1px solid rgba(184, 154, 90, 0.55);
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.masonry-view-btn .masonry-arrow {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.gallery-masonry-item:hover .masonry-view-btn .masonry-arrow {
  transform: translate(2px, -2px);
}

.gallery-masonry-item:hover .masonry-top-bar,
.gallery-masonry-item:hover .masonry-caption-wrap {
  transform: translateY(0);
}

/* Empty State */
.gallery-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #777777;
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   04. VIDEO ARCHIVE (Cinematic 3-Card Infinite Auto-Carousel)
   -------------------------------------------------------------------------- */
.gallery-video-archive-section {
  padding: 40px 0;
  background: radial-gradient(circle at 50% 15%, #2B0710 0%, #130205 100%);
  border-top: 1px solid rgba(184, 154, 90, 0.32);
  border-bottom: 1px solid rgba(184, 154, 90, 0.32);
  position: relative;
  overflow: hidden;
}

.video-carousel-wrapper {
  position: relative;
  margin-top: 0;
  width: 100%;
}

.video-carousel-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 8px;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  padding: 16px 0;
}

.video-carousel-viewport:active {
  cursor: grabbing;
}

.video-carousel-track {
  display: flex;
  gap: 28px;
  will-change: transform;
  align-items: stretch;
}

/* Exactly 3 wide, taller cards visible on desktop */
.vcard-slide {
  flex: 0 0 calc((100% - 56px) / 3);
  width: calc((100% - 56px) / 3);
  max-width: calc((100% - 56px) / 3);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease-out-expo), opacity 0.4s ease, filter 0.4s ease;
  transform: scale(0.97);
  opacity: 0.88;
}

.vcard-inner {
  display: flex;
  flex-direction: column;
  background: #190407;
  border: 1px solid rgba(184, 154, 90, 0.28);
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  transition: transform 0.4s var(--ease-out-expo), border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Center / Active card emphasis with subtle scale and golden glow */
.vcard-slide.is-active-center {
  transform: scale(1.035);
  opacity: 1;
  z-index: 3;
}

.vcard-slide.is-active-center .vcard-inner {
  border-color: var(--color-gold);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 25px rgba(184, 154, 90, 0.22);
}

.vcard-slide:hover,
.vcard-slide:focus-visible {
  transform: scale(1.045);
  opacity: 1;
  z-index: 4;
  outline: none;
}

.vcard-slide:hover .vcard-inner {
  border-color: var(--color-gold-light);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.9), 0 0 32px rgba(184, 154, 90, 0.32);
}

.vcard-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0A0103;
}

.vcard-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.75s var(--ease-out-expo);
}

.vcard-slide:hover .vcard-thumb-wrap img {
  transform: scale(1.08);
}

.vcard-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(12, 1, 3, 0.82) 100%);
  pointer-events: none;
}

.vcard-badges-top {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  pointer-events: none;
}

.vcard-cat-badge {
  background: rgba(91, 24, 32, 0.94);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 3px;
  border: 1px solid rgba(184, 154, 90, 0.4);
}

.vcard-duration-badge {
  background: rgba(0, 0, 0, 0.75);
  color: #FFFFFF;
  font-size: 0.65rem;
  padding: 3px 8px;
  border-radius: 3px;
  font-variant-numeric: tabular-nums;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.vcard-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D4B774 0%, #B89A5A 100%);
  color: #170306;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  z-index: 2;
}

.vcard-play-btn svg {
  margin-left: 2px;
}

.vcard-slide:hover .vcard-play-btn {
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 8px 26px rgba(184, 154, 90, 0.6);
}

.vcard-body {
  padding: 22px 24px 24px;
  background: #1B0509;
  border-top: 1px solid rgba(184, 154, 90, 0.22);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.vcard-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.vcard-time-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.65rem;
  color: var(--color-gold-light);
  background: rgba(0, 0, 0, 0.55);
  padding: 3px 8px;
  border-radius: 12px;
  border: 1px solid rgba(184, 154, 90, 0.3);
  font-variant-numeric: tabular-nums;
}

.vcard-channel-pill {
  font-size: 0.68rem;
  color: #B3A599;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.vcard-title {
  font-family: var(--font-serif-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.32;
  margin: 0 0 6px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.vcard-sub {
  font-size: 0.76rem;
  color: #C5B6A8;
  line-height: 1.45;
  margin: 0 0 16px 0;
}

.vcard-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(184, 154, 90, 0.18);
}

.vcard-watch-label {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  transition: color 0.25s ease;
}

.vcard-arrow {
  transition: transform 0.25s ease;
  display: inline-block;
}

.vcard-slide:hover .vcard-arrow {
  transform: translateX(4px);
}

.vcard-slide:hover .vcard-watch-label {
  color: var(--color-gold-light);
}

.vcard-yt-badge {
  color: #E8D3A2;
  background: rgba(255, 255, 255, 0.06);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.vcard-slide:hover .vcard-yt-badge {
  transform: scale(1.1);
  color: #FF0000;
}

/* Larger Elegant Carousel Prev & Next Controls */
.video-carousel-ctrl {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(25, 4, 8, 0.95);
  border: 1.5px solid var(--color-gold);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.7);
  transition: all 0.25s ease;
}

.video-carousel-ctrl:hover {
  background: linear-gradient(135deg, #D4B774 0%, #B89A5A 100%);
  color: #170407;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 24px rgba(184, 154, 90, 0.45);
}

.video-carousel-ctrl.prev-ctrl,
.video-carousel-prev {
  left: -26px;
}

.video-carousel-ctrl.next-ctrl,
.video-carousel-next {
  right: -26px;
}

/* Refined Archival Progress Indicator (Replaces Dots) */
.video-carousel-progress-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.vprog-counter {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-serif-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-gold);
  letter-spacing: 0.06em;
  min-width: 65px;
}

.vprog-current {
  color: #FFFFFF;
  font-size: 1.45rem;
}

.vprog-sep {
  color: var(--color-gold);
  opacity: 0.6;
  font-size: 1rem;
}

.vprog-total {
  color: #A9998B;
  font-size: 1.1rem;
}

.vprog-track {
  flex-grow: 1;
  height: 3px;
  background: rgba(184, 154, 90, 0.22);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.vprog-fill {
  height: 100%;
  width: 3%;
  background: linear-gradient(90deg, #B89A5A 0%, #E8D3A2 100%);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(212, 183, 116, 0.6);
  transition: width 0.1s linear;
}

.vprog-label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #B3A599;
  font-weight: 600;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   05. FEATURED ON YOUTUBE / MEDIA & 06. INTERNATIONAL PERFORMANCES
   (Equal 2-Column Cards with Identical Dimensions)
   -------------------------------------------------------------------------- */
.gallery-featured-media-section {
  padding: 40px 0;
  background: radial-gradient(circle at 50% 18%, #24060C 0%, #120204 100%);
  border-bottom: 1px solid rgba(184, 154, 90, 0.32);
  position: relative;
  overflow: hidden;
}

.gallery-intl-section {
  padding: 40px 0;
  background-color: var(--color-ivory);
  border-bottom: 1px solid rgba(184, 154, 90, 0.22);
}

.featured-media-grid,
.intl-media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 0;
  width: 100%;
}

.featured-landscape-card {
  background: #190407;
  border: 1px solid rgba(184, 154, 90, 0.32);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.4s var(--ease-out-expo), border-color 0.3s ease, box-shadow 0.4s ease;
  width: 100%;
}

.gallery-intl-section .featured-landscape-card {
  background: #FFFFFF;
  border: 1px solid rgba(184, 154, 90, 0.28);
  box-shadow: 0 8px 24px rgba(46, 11, 18, 0.06);
}

.featured-landscape-card:hover,
.featured-landscape-card:focus-visible {
  transform: translateY(-6px);
  border-color: var(--color-gold);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
  outline: none;
}

.gallery-intl-section .featured-landscape-card:hover {
  box-shadow: 0 16px 36px rgba(91, 24, 32, 0.14);
}

.flcard-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.flcard-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.75s var(--ease-out-expo);
}

.featured-landscape-card:hover .flcard-thumb-wrap img {
  transform: scale(1.06);
}

.flcard-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(14, 2, 4, 0.92) 100%);
  pointer-events: none;
}

.flcard-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(91, 24, 32, 0.94);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  border: 1px solid rgba(184, 154, 90, 0.35);
  z-index: 2;
}

.flcard-play-btn {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(184, 154, 90, 0.92);
  color: #170306;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6);
  transition: transform 0.35s ease, background 0.3s ease;
  z-index: 2;
}

.flcard-play-btn svg {
  margin-left: 2px;
}

.featured-landscape-card:hover .flcard-play-btn {
  transform: translate(-50%, -50%) scale(1.12);
  background: var(--color-gold-light);
}

.flcard-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px 24px;
  z-index: 2;
  pointer-events: none;
}

.flcard-title {
  font-family: var(--font-serif-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.32;
  margin: 0 0 4px 0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
}

.flcard-sub {
  font-size: 0.84rem;
  color: #D8CEBF;
  margin: 0;
}

/* --------------------------------------------------------------------------
   07. YOUTUBE SHORTS (True 9:16 Vertical Video Cards • 4 Cards Desktop)
   -------------------------------------------------------------------------- */
.gallery-shorts-section {
  padding: 40px 0;
  background-color: var(--color-ivory);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(184, 154, 90, 0.22);
}

.shorts-bg-watermark {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-48%);
  width: 420px;
  height: 500px;
  pointer-events: none;
  opacity: 0.08;
  color: var(--color-gold);
  z-index: 1;
}

.shorts-bg-watermark svg {
  width: 100%;
  height: 100%;
}

.shorts-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
  margin-top: 0;
  position: relative;
  z-index: 2;
}

.compact-short-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #160306;
  border: 1px solid rgba(184, 154, 90, 0.3);
  box-shadow: 0 10px 28px rgba(46, 11, 18, 0.12);
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.compact-short-card:hover,
.compact-short-card:focus-visible {
  transform: translateY(-8px);
  border-color: var(--color-maroon);
  box-shadow: 0 22px 50px rgba(46, 11, 18, 0.24);
  outline: none;
}

.cshort-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #0F0204;
}

.cshort-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease-out-expo);
}

.compact-short-card:hover .cshort-thumb-wrap img {
  transform: scale(1.08);
}

.cshort-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.05) 40%, rgba(18, 2, 5, 0.95) 100%);
  pointer-events: none;
}

.cshort-top-bar {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  pointer-events: none;
}

.cshort-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(220, 20, 35, 0.94);
  color: #FFFFFF;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: 4px;
}

.cshort-duration {
  background: rgba(0, 0, 0, 0.72);
  color: #FAF7F2;
  font-size: 0.68rem;
  padding: 3px 7px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-variant-numeric: tabular-nums;
}

.cshort-play-btn {
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(184, 154, 90, 0.92);
  color: #170306;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.35s ease;
  z-index: 2;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

.compact-short-card:hover .cshort-play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.cshort-floating-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 18px 20px;
  z-index: 2;
  pointer-events: none;
}

.cshort-channel-tag {
  font-size: 0.68rem;
  color: var(--color-gold-light);
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  display: block;
}

.cshort-title {
  font-family: var(--font-serif-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.32;
  margin: 0 0 6px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.cshort-action {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-gold);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  opacity: 0.9;
  transition: all 0.25s ease;
}

.cshort-arrow {
  transition: transform 0.25s ease;
}

.compact-short-card:hover .cshort-arrow {
  transform: translate(2px, -2px);
}

/* --------------------------------------------------------------------------
   08. YOUTUBE CHANNEL FEATURE (Full-Width Heritage CTA)
   -------------------------------------------------------------------------- */
.youtube-cta-section {
  width: 100%;
  padding: 40px 0;
  position: relative;
  overflow: hidden;
  background: #250409;
  background: radial-gradient(ellipse at 50% 30%, #3B0711 0%, #200307 65%, #130103 100%);
  border-top: 1px solid rgba(184, 154, 90, 0.4);
  border-bottom: 1px solid rgba(184, 154, 90, 0.28);
}

.youtube-cta-bg-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.youtube-cta-bg-mandala {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 580px;
  height: 580px;
  border-radius: 50%;
  border: 1px dashed rgba(184, 154, 90, 0.09);
  box-shadow: inset 0 0 80px rgba(184, 154, 90, 0.03), 0 0 120px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.youtube-cta-bg-mandala::before {
  content: '';
  position: absolute;
  inset: 48px;
  border-radius: 50%;
  border: 1px solid rgba(184, 154, 90, 0.06);
  transform: rotate(45deg);
}

.youtube-cta-bg-mandala::after {
  content: '';
  position: absolute;
  inset: 110px;
  border-radius: 50%;
  border: 1px dashed rgba(184, 154, 90, 0.05);
}

.youtube-cta-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 0 16px;
}

/* Fallback for legacy .youtube-cta-card */
.youtube-cta-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  text-align: center;
}

.youtube-cta-top-emblem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 10px;
  width: 100%;
  max-width: 240px;
}

.cta-emblem-line {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(184, 154, 90, 0.55));
}

.youtube-cta-top-emblem .cta-emblem-line:last-child {
  background: linear-gradient(90deg, rgba(184, 154, 90, 0.55), transparent);
}

.cta-emblem-icon {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: rgba(45, 8, 14, 0.85);
  border: 1px solid rgba(184, 154, 90, 0.55);
  color: #E22B38;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4), 0 0 12px rgba(184, 154, 90, 0.2);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.cta-emblem-icon:hover {
  transform: scale(1.06);
  border-color: var(--color-gold);
}

.youtube-cta-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #C5A059;
  margin-bottom: 8px;
}

.youtube-cta-title {
  font-family: var(--font-serif-display);
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.22;
  color: #FFFFFF;
  margin: 0 0 12px 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.cta-gold-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 14px;
  max-width: 140px;
}

.cta-gd-line {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(184, 154, 90, 0.6));
}

.cta-gold-divider .cta-gd-line:last-child {
  background: linear-gradient(90deg, rgba(184, 154, 90, 0.6), transparent);
}

.cta-gd-knot {
  color: var(--color-gold);
  font-size: 0.72rem;
  line-height: 1;
}

.youtube-cta-desc {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  line-height: 1.75;
  color: #D9CCC0;
  max-width: 680px;
  margin: 0 auto 18px;
}

.youtube-channel-handle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #EAD8B8;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  background: rgba(30, 4, 7, 0.65);
  padding: 6px 16px;
  border-radius: 4px;
  border: 1px solid rgba(184, 154, 90, 0.38);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.youtube-channel-handle svg {
  color: #E22B38;
  flex-shrink: 0;
}

.youtube-channel-handle strong {
  color: #FFFFFF;
  font-weight: 600;
}

.youtube-cta-action {
  display: flex;
  justify-content: center;
}

.youtube-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #DEBA63 0%, #C5A059 50%, #A98336 100%);
  color: #1A0307;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  padding: 13px 34px;
  border-radius: 3px;
  border: 1px solid #F5E2B5;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 18px rgba(197, 160, 89, 0.25);
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.youtube-cta-btn:hover {
  background: linear-gradient(135deg, #FFFFFF 0%, #F5DE9B 40%, #C5A059 100%);
  color: #140205;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55), 0 0 28px rgba(197, 160, 89, 0.45);
}

/* --------------------------------------------------------------------------
   09. LIGHTBOX MODAL (Vanilla JS Fullscreen)
   -------------------------------------------------------------------------- */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(14, 2, 4, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 12000;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.lightbox-modal.is-open {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 1000px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-close-btn {
  position: absolute;
  top: -46px;
  right: 0;
  font-size: 2.4rem;
  color: #FFFFFF;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease, transform 0.2s ease;
}

.lightbox-close-btn:hover {
  color: var(--color-gold);
  transform: scale(1.1);
}

.lightbox-img-wrapper {
  max-height: 70vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
}

.lightbox-img-wrapper img {
  max-height: 70vh;
  max-width: 100%;
  object-fit: contain;
  border: 1px solid var(--border-gold);
  border-radius: 2px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.lightbox-footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  color: #FFFFFF;
  border-top: 1px solid var(--border-dark);
  padding-top: 16px;
  flex-wrap: wrap;
}

.lightbox-info-group {
  max-width: 650px;
}

.lightbox-cat-badge {
  font-size: 0.7rem;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
}

.lightbox-year-badge {
  font-size: 0.7rem;
  color: var(--color-text-light);
  opacity: 0.75;
}

.lightbox-title {
  font-family: var(--font-serif-display);
  font-size: 1.45rem;
  color: #FFFFFF;
  margin: 4px 0;
  line-height: 1.25;
}

.lightbox-desc {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.55;
  margin: 0;
}

.lightbox-nav-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lightbox-counter {
  font-family: var(--font-serif-display);
  font-size: 1.15rem;
  color: var(--color-gold);
  font-weight: 600;
}

.lightbox-btn-pair {
  display: flex;
  gap: 8px;
}

.lightbox-nav-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-gold);
  color: var(--color-gold);
  padding: 8px 16px;
  border-radius: 2px;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.lightbox-nav-btn:hover {
  background: var(--color-gold);
  color: var(--color-dark);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   10. CINEMATIC VIDEO MODAL PLAYER OVERLAY
   -------------------------------------------------------------------------- */
.video-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 2, 4, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 12000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.video-modal-overlay.is-active {
  display: flex;
}

.video-modal-box {
  position: relative;
  max-width: 880px;
  width: 100%;
  background: #140306;
  border: 1px solid var(--border-gold);
  border-radius: 2px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.video-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 2rem;
  color: #FFFFFF;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s ease;
}

.video-modal-close:hover {
  color: var(--color-gold);
}

.video-modal-viewport {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  background: #000;
}

.video-modal-viewport iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-modal-meta {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: #190509;
  border-top: 1px solid var(--border-gold-subtle);
  flex-wrap: wrap;
}

.video-modal-title {
  font-family: var(--font-serif-display);
  font-size: 1.25rem;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.video-modal-desc {
  font-size: 0.82rem;
  color: var(--color-text-light);
  max-width: 550px;
  line-height: 1.5;
  margin: 0;
}

/* --------------------------------------------------------------------------
   11. CUSTOM CURSOR OVERRIDES FOR GALLERY
   -------------------------------------------------------------------------- */
.custom-cursor.has-label {
  width: auto;
  min-width: 76px;
  height: 76px;
  padding: 0 14px;
  border-radius: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.custom-cursor.has-label .custom-cursor-label {
  white-space: nowrap;
  font-size: 0.52rem;
  letter-spacing: 0.12em;
}

/* --------------------------------------------------------------------------
   12. RESPONSIVE BREAKPOINTS (Desktop, Tablet, Mobile)
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  /* 3-Column Masonry on Tablets */
  .gallery-masonry-grid {
    column-count: 3;
    column-gap: 14px;
  }
  .gallery-masonry-item {
    margin-bottom: 14px;
  }
  .vcard-slide {
    flex: 0 0 calc((100% - 24px) / 2);
    width: calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
  }
  .video-carousel-ctrl.prev-ctrl,
  .video-carousel-prev {
    left: -16px;
  }
  .video-carousel-ctrl.next-ctrl,
  .video-carousel-next {
    right: -16px;
  }
  .shorts-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 850px) {
  .featured-media-grid,
  .intl-media-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .shorts-bg-watermark {
    opacity: 0.05;
    right: 2%;
    width: 280px;
    height: 380px;
  }
}

@media (max-width: 768px) {
  .gallery-image-collections-section,
  .gallery-video-archive-section,
  .gallery-featured-media-section,
  .gallery-intl-section,
  .gallery-shorts-section,
  .youtube-cta-section {
    padding: 40px 0;
  }
  .gsh-title {
    font-size: 1.75rem;
  }
  .youtube-cta-title {
    font-size: 1.7rem;
  }

  /* YouTube Shorts Mobile Carousel */
  .gallery-shorts-section {
    position: relative;
    overflow: hidden;
    width: 100%;
  }

  .gallery-shorts-section .container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .shorts-grid-4 {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 16px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
    overscroll-behavior-x: contain;
    padding: 4px 16px 20px 16px;
    margin: 0 -16px;
    width: calc(100% + 32px);
    box-sizing: border-box;
  }

  .shorts-grid-4::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .compact-short-card {
    flex: 0 0 68vw;
    min-width: 230px;
    max-width: 280px;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    box-sizing: border-box;
  }

  .shorts-bg-watermark {
    display: none;
  }
  .lightbox-modal {
    padding: 16px;
  }
  .lightbox-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .lightbox-nav-group {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 640px) {
  .gallery-image-collections-section,
  .gallery-video-archive-section,
  .gallery-featured-media-section,
  .gallery-intl-section,
  .gallery-shorts-section,
  .youtube-cta-section {
    padding: 36px 0;
  }
  .gallery-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
  }
  .gsh-title {
    font-size: 1.5rem;
  }
  /* 2-Column Masonry on Mobile where comfortable */
  .gallery-masonry-grid {
    column-count: 2;
    column-gap: 12px;
  }
  .gallery-masonry-item {
    margin-bottom: 12px;
  }
  .gallery-filter-bar {
    margin-bottom: 20px;
  }
  .filter-pills-wrap {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filter-pills-wrap::-webkit-scrollbar {
    display: none;
  }
  .filter-pill {
    padding: 7px 14px;
    font-size: 0.72rem;
  }
  .masonry-overlay {
    padding: 12px;
  }
  .masonry-title {
    font-size: 0.9rem;
  }
  .vcard-slide {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    transform: none !important;
    opacity: 1 !important;
  }
  .video-carousel-ctrl {
    display: none;
  }

  .flcard-caption {
    padding: 16px 18px;
  }
  .flcard-title {
    font-size: 1.12rem;
  }
}

/* --------------------------------------------------------------------------
   13. SITE FOOTER FULL-WIDTH ARCHITECTURE (Touches full left & right edges)
   -------------------------------------------------------------------------- */
.site-footer {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #34060C !important;
  background: linear-gradient(180deg, #44070E 0%, #2A0408 100%) !important;
  border-top: 1px solid rgba(184, 154, 90, 0.4) !important;
  border-bottom: none !important;
  border-left: none !important;
  border-right: none !important;
  border-radius: 0 !important;
}

.footer-wrapper {
  width: 100% !important;
  max-width: 1360px !important;
  margin: 0 auto !important;
  padding: clamp(36px, 4vw, 56px) clamp(20px, 3.5vw, 48px) 28px !important;
  box-sizing: border-box !important;
}

.footer-card {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
}

.footer-dancer-col {
  flex: 2.2 !important;
  min-width: 0;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: flex-end !important;
  position: relative !important;
  overflow: visible !important;
  pointer-events: none !important;
}

.footer-dancer-img {
  width: 100% !important;
  max-width: 480px !important;
  height: auto !important;
  display: block !important;
  object-fit: contain !important;
  filter: drop-shadow(0 14px 35px rgba(0, 0, 0, 0.65)) !important;
  margin-bottom: -16px !important;
  margin-right: -12px !important;
  transform: translateY(2px) !important;
  pointer-events: none !important;
}

@media (max-width: 768px) {
  .site-footer {
    padding: 0 !important;
  }
  .footer-wrapper {
    padding: 32px 18px 24px !important;
  }
  .footer-card {
    padding: 0 !important;
    border-radius: 0 !important;
  }
  .footer-dancer-col {
    min-width: 0 !important;
    width: 100% !important;
  }
  .footer-dancer-img {
    max-width: min(320px, 100%) !important;
  }
}

@media (max-width: 480px) {
  .compact-short-card {
    flex: 0 0 68vw;
    min-width: 220px;
    max-width: 270px;
  }
  .footer-wrapper {
    padding: 28px 16px 20px !important;
  }
  .footer-dancer-img {
    max-width: min(280px, 100%) !important;
  }
}

@media (max-width: 400px) {
  .gallery-masonry-grid {
    column-count: 1;
    column-gap: 0;
  }
  .gallery-masonry-item {
    margin-bottom: 14px;
  }
}

@media (max-width: 360px) {
  .shorts-grid-4 {
    gap: 12px;
    padding: 4px 12px 18px 12px;
    margin: 0 -12px;
    width: calc(100% + 24px);
  }
  .compact-short-card {
    flex: 0 0 68vw;
    min-width: 200px;
    max-width: 235px;
  }
  .footer-wrapper {
    padding: 24px 12px 18px !important;
  }
}

