/* ==========================================================================
   Modern Sorting Bar & Futuristic Glassmorphic Gallery (petrurares.md)
   Respects site CSS variables (--bg-white, --blue, --black, --bsw, --btn-c)
   for automatic Light / Dark / Blue / Green / Grey theme compatibility.
   ========================================================================== */

/* --- Toolbar Alignment (Categories left, Sort right) --- */
.tittle__section__lk {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.fill_group_list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

/* --- Sleek Glassmorphic Sort Dropdown --- */
.neo-sort-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  z-index: 30;
}

.neo-sort-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 215px;
  justify-content: space-between;
  padding: 0.68rem 1.05rem;
  border-radius: 12px;
  background: var(--bg-white);
  color: var(--black);
  border: 1px solid rgba(56, 152, 255, 0.22);
  box-shadow: var(--bsw);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.neo-sort-trigger:hover,
.neo-sort-wrap.is-open .neo-sort-trigger {
  border-color: var(--blue);
  box-shadow: 0 8px 24px rgba(0, 140, 255, 0.16);
  transform: translateY(-1px);
}

.neo-sort-trigger__left {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.neo-sort-trigger .material-icons {
  font-size: 1.15rem;
  color: var(--blue);
  transition: transform 0.25s ease;
}

.neo-sort-wrap.is-open .neo-sort-chevron {
  transform: rotate(180deg);
}

.neo-sort-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 230px;
  padding: 0.45rem;
  border-radius: 14px;
  background: var(--bg-white);
  border: 1px solid rgba(56, 152, 255, 0.22);
  box-shadow: 0 18px 40px rgba(0, 20, 60, 0.16);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  list-style: none;
  margin: 0;
}

.neo-sort-wrap.is-open .neo-sort-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.neo-sort-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.62rem 0.85rem;
  border-radius: 10px;
  color: var(--black);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.neo-sort-option:hover {
  background: rgba(0, 140, 255, 0.1);
  color: var(--blue);
}

.neo-sort-option.active {
  background: linear-gradient(135deg, rgba(0, 140, 255, 0.16), rgba(99, 102, 241, 0.12));
  color: var(--blue);
  font-weight: 600;
}

.neo-sort-option .material-icons {
  font-size: 1rem;
  opacity: 0.85;
}

/* --- Futuristic Gallery Header & Filter Pills --- */
.neo-gallery-section {
  padding: 2.5rem 0 4.5rem;
}

.neo-gallery-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  border-radius: 18px;
  background: var(--bg-white);
  border: 1px solid rgba(56, 152, 255, 0.16);
  box-shadow: var(--bsw);
}

.neo-filter-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.neo-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  background: rgba(56, 152, 255, 0.07);
  color: var(--black);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.neo-pill:hover {
  border-color: rgba(56, 152, 255, 0.38);
  color: var(--blue);
  transform: translateY(-1px);
}

.neo-pill.active {
  background: linear-gradient(135deg, var(--blue), #4f46e5);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 140, 255, 0.3);
}

.neo-pill__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.35rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.22);
}

.neo-pill:not(.active) .neo-pill__count {
  background: rgba(56, 152, 255, 0.14);
  color: var(--blue);
}

/* --- Featured Albums Strip --- */
.neo-albums-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.neo-albums-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--black);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.neo-albums-header .material-icons {
  color: var(--blue);
}

.neo-albums-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.neo-album-card {
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0d1526;
  box-shadow: var(--bsw);
  border: 1px solid rgba(56, 152, 255, 0.18);
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.neo-album-card:hover {
  transform: translateY(-5px);
  border-color: var(--blue);
  box-shadow: 0 18px 38px rgba(0, 140, 255, 0.22);
}

.neo-album-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.neo-album-card:hover img {
  transform: scale(1.07);
}

.neo-album-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem 1.15rem;
  background: linear-gradient(180deg, rgba(6, 14, 32, 0.15) 0%, rgba(6, 14, 32, 0.25) 45%, rgba(6, 14, 32, 0.88) 100%);
}

.neo-album-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.neo-glass-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.68rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}

.neo-glass-badge .material-icons {
  font-size: 0.9rem;
}

.neo-glass-badge--news { background: rgba(14, 165, 233, 0.78); }
.neo-glass-badge--events { background: rgba(99, 102, 241, 0.8); }
.neo-glass-badge--success { background: rgba(16, 185, 129, 0.8); }
.neo-glass-badge--gallery { background: rgba(245, 158, 11, 0.82); }

.neo-album-card__title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.45rem;
}

.neo-album-card__meta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
}

.neo-album-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.neo-album-card__meta .material-icons {
  font-size: 0.95rem;
}

/* --- Futuristic Bento / Responsive Photo Grid --- */
.neo-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 220px;
  grid-auto-flow: dense;
  gap: 1.1rem;
}

.neo-photo-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #0d1526;
  cursor: pointer;
  border: 1px solid rgba(56, 152, 255, 0.14);
  box-shadow: 0 8px 24px rgba(10, 22, 50, 0.09);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.neo-photo-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
  box-shadow: 0 18px 40px rgba(0, 140, 255, 0.24);
}

/* Bento accents on desktop */
.neo-bento-grid--hero .neo-photo-card:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.neo-bento-grid--hero .neo-photo-card:nth-child(6) {
  grid-column: span 2;
}

.neo-bento-grid--stream .neo-photo-card:nth-child(12n + 1) {
  grid-column: span 2;
  grid-row: span 2;
}

.neo-bento-grid--stream .neo-photo-card:nth-child(12n + 8) {
  grid-column: span 2;
}

.neo-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}

.neo-photo-card:hover img {
  transform: scale(1.07);
}

.neo-photo-card__top {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  pointer-events: none;
}

.neo-photo-card__zoom {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.neo-photo-card:hover .neo-photo-card__zoom {
  opacity: 1;
  transform: scale(1);
}

.neo-photo-card__caption {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.65rem;
  padding: 0.7rem 0.9rem;
  border-radius: 13px;
  background: rgba(10, 18, 36, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  color: #ffffff;
  transform: translateY(8px);
  opacity: 0.92;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, background 0.3s ease;
  z-index: 2;
}

.neo-photo-card:hover .neo-photo-card__caption {
  transform: translateY(0);
  opacity: 1;
  background: rgba(10, 18, 36, 0.86);
}

.neo-photo-card__title {
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.3rem;
}

.neo-photo-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.75);
}

.neo-photo-card__postlink {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  color: #7dd3fc;
  font-weight: 600;
  text-decoration: none;
  pointer-events: auto;
  transition: color 0.2s ease;
}

.neo-photo-card__postlink:hover {
  color: #ffffff;
  text-decoration: underline;
}

.neo-photo-card__postlink .material-icons {
  font-size: 0.9rem;
}

/* --- Gallery Detail Page Grid --- */
.neo-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  margin-bottom: 1.75rem;
  border-radius: 16px;
  background: var(--bg-white);
  border: 1px solid rgba(56, 152, 255, 0.16);
  box-shadow: var(--bsw);
}

.neo-detail-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  color: var(--black);
  font-size: 0.9rem;
  font-weight: 600;
}

.neo-detail-stats span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.neo-detail-stats .material-icons {
  color: var(--blue);
  font-size: 1.15rem;
}

/* --- Fullscreen Futuristic Glassmorphic Lightbox --- */
.neo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  background: rgba(5, 10, 24, 0.92);
  backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.neo-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.neo-lightbox__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.neo-lightbox__info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.neo-lightbox__counter {
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  white-space: nowrap;
}

.neo-lightbox__title {
  font-size: 0.98rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.neo-lightbox__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.neo-lb-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.neo-lb-btn:hover {
  background: rgba(56, 152, 255, 0.35);
  border-color: rgba(56, 152, 255, 0.7);
  color: #ffffff;
}

.neo-lb-btn--icon {
  padding: 0.45rem;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  justify-content: center;
}

.neo-lightbox__stage {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 4.5rem;
  min-height: 0;
}

.neo-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  transition: opacity 0.2s ease, transform 0.25s ease;
}

.neo-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(15, 23, 42, 0.65);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.neo-lightbox__nav:hover {
  background: var(--blue);
  transform: translateY(-50%) scale(1.08);
}

.neo-lightbox__nav--prev { left: 1.2rem; }
.neo-lightbox__nav--next { right: 1.2rem; }

.neo-lightbox__strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.25rem;
  overflow-x: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.neo-lb-thumb {
  width: 58px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  opacity: 0.45;
  cursor: pointer;
  border: 2px solid transparent;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.neo-lb-thumb:hover {
  opacity: 0.8;
}

.neo-lb-thumb.active {
  opacity: 1;
  border-color: var(--blue);
  transform: scale(1.06);
}

/* --- Responsive Breakpoints --- */
@media (max-width: 1024px) {
  .neo-bento-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 200px;
  }
  .neo-albums-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .neo-bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 170px;
    gap: 0.75rem;
  }
  .neo-bento-grid--hero .neo-photo-card:nth-child(1),
  .neo-bento-grid--hero .neo-photo-card:nth-child(6),
  .neo-bento-grid--stream .neo-photo-card:nth-child(12n + 1),
  .neo-bento-grid--stream .neo-photo-card:nth-child(12n + 8) {
    grid-column: span 2;
    grid-row: span 1;
  }
  .neo-albums-grid {
    grid-template-columns: 1fr;
  }
  .neo-sort-trigger {
    width: 100%;
    min-width: 190px;
  }
  .neo-lightbox__stage {
    padding: 1rem 0.75rem;
  }
  .neo-lightbox__nav {
    width: 38px;
    height: 38px;
  }
  .neo-lightbox__nav--prev { left: 0.5rem; }
  .neo-lightbox__nav--next { right: 0.5rem; }
  .neo-lb-btn .neo-lb-btn-text {
    display: none;
  }
}

/* ==========================================================================
   Futuristic YouTube Showcase Section (Homepage)
   ========================================================================== */
.neo-yt-section {
  padding: 3.5rem 0 2.5rem;
}

.neo-yt-header {
  margin-bottom: 1.65rem;
}

.neo-yt-heading {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.neo-yt-heading h2 {
  margin: 0;
  line-height: 1.2;
}

.neo-yt-subtitle {
  margin: 0.2rem 0 0;
  font-size: 0.86rem;
  color: var(--black);
  opacity: 0.68;
}

.neo-yt-brand-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff1f3d, #c8102e);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(255, 31, 61, 0.34);
  flex-shrink: 0;
}

.neo-yt-sub-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.68rem 1.25rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff1f3d, #d90429);
  color: #ffffff !important;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(217, 4, 41, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.neo-yt-sub-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(217, 4, 41, 0.38);
  filter: brightness(1.05);
  color: #ffffff !important;
}

/* --- Featured + Playlist 2-Column Showcase --- */
.neo-yt-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr);
  gap: 1.4rem;
  align-items: stretch;
}

.neo-yt-stage-card {
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg-white);
  border: 1px solid rgba(56, 152, 255, 0.2);
  box-shadow: var(--bsw);
}

.neo-yt-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #080d1a;
  overflow: hidden;
  cursor: pointer;
}

.neo-yt-player img.neo-yt-stage-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.3s ease;
}

.neo-yt-player:hover img.neo-yt-stage-thumb {
  transform: scale(1.04);
}

.neo-yt-player iframe,
.neo-yt-card__media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.neo-yt-player__shade {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(6, 12, 28, 0.14) 0%, rgba(6, 12, 28, 0.56) 100%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.neo-yt-player:hover .neo-yt-player__shade,
.neo-yt-card__media:hover .neo-yt-player__shade {
  opacity: 0.72;
}

.neo-yt-featured-pill {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
  background: rgba(12, 18, 36, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(12px);
}

.neo-yt-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff2e4c;
  box-shadow: 0 0 0 0 rgba(255, 46, 76, 0.7);
  animation: neoYtPulse 1.8s infinite;
}

@keyframes neoYtPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 46, 76, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(255, 46, 76, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 46, 76, 0); }
}

.neo-yt-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45);
  background: linear-gradient(135deg, rgba(255, 31, 61, 0.92), rgba(0, 140, 255, 0.88));
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
}

.neo-yt-play-btn .material-icons {
  font-size: 40px;
  margin-left: 3px;
}

.neo-yt-player:hover .neo-yt-play-btn,
.neo-yt-card__media:hover .neo-yt-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 22px 50px rgba(255, 31, 61, 0.45);
}

.neo-yt-play-btn--sm {
  width: 58px;
  height: 58px;
}

.neo-yt-play-btn--sm .material-icons {
  font-size: 32px;
}

.neo-yt-stage-info {
  padding: 1.25rem 1.45rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.neo-yt-stage-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.38;
  color: var(--black);
}

.neo-yt-stage-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.neo-yt-meta-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--black);
  opacity: 0.78;
}

.neo-yt-meta-items > span {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
}

.neo-yt-meta-items .material-icons {
  font-size: 1rem;
  color: var(--blue);
}

.neo-yt-ext-link {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.neo-yt-ext-link:hover {
  opacity: 0.82;
  text-decoration: underline;
}

.neo-yt-ext-link .material-icons {
  font-size: 1rem;
}

/* --- Playlist Sidebar --- */
.neo-yt-playlist {
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  background: var(--bg-white);
  border: 1px solid rgba(56, 152, 255, 0.2);
  box-shadow: var(--bsw);
  overflow: hidden;
  max-height: 540px;
}

.neo-yt-playlist__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.2rem;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--black);
  border-bottom: 1px solid rgba(56, 152, 255, 0.14);
}

.neo-yt-playlist__head .material-icons {
  color: #ff1f3d;
  font-size: 1.35rem;
}

.neo-yt-playlist__list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.85rem;
  overflow-y: auto;
  flex: 1 1 auto;
}

.neo-yt-item {
  width: 100%;
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  padding: 0.55rem;
  border-radius: 14px;
  border: 1px solid transparent;
  background: rgba(56, 152, 255, 0.05);
  color: var(--black);
  text-align: left;
  cursor: pointer;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.neo-yt-item:hover {
  background: rgba(56, 152, 255, 0.11);
  border-color: rgba(56, 152, 255, 0.35);
  transform: translateX(3px);
}

.neo-yt-item.is-active {
  background: linear-gradient(135deg, rgba(0, 140, 255, 0.14), rgba(255, 31, 61, 0.08));
  border-color: var(--blue);
  box-shadow: 0 8px 20px rgba(0, 140, 255, 0.15);
}

.neo-yt-item__thumb {
  position: relative;
  display: block;
  width: 124px;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #0b1220;
  flex-shrink: 0;
}

.neo-yt-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.neo-yt-item:hover .neo-yt-item__thumb img {
  transform: scale(1.06);
}

.neo-yt-item__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 13, 26, 0.32);
  color: #ffffff;
  transition: background 0.2s ease;
}

.neo-yt-item.is-active .neo-yt-item__play,
.neo-yt-item:hover .neo-yt-item__play {
  background: rgba(255, 31, 61, 0.45);
}

.neo-yt-item__play .material-icons {
  font-size: 26px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.neo-yt-item__body {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 0;
}

.neo-yt-item__pin {
  align-self: flex-start;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #ff1f3d, #e11d48);
  color: #ffffff;
}

.neo-yt-item__title {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.32;
  color: var(--black);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.neo-yt-item__meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.74rem;
  color: var(--black);
  opacity: 0.68;
}

.neo-yt-item__meta > span {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.neo-yt-item__meta .material-icons {
  font-size: 0.88rem;
  color: var(--blue);
}

/* --- Equal Grid Mode (when Featured Video is removed/disabled) --- */
.neo-yt-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.neo-yt-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-white);
  border: 1px solid rgba(56, 152, 255, 0.18);
  box-shadow: var(--bsw);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.neo-yt-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
  box-shadow: 0 18px 38px rgba(0, 140, 255, 0.2);
}

.neo-yt-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #080d1a;
  overflow: hidden;
  cursor: pointer;
}

.neo-yt-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.neo-yt-card:hover .neo-yt-card__media img {
  transform: scale(1.06);
}

.neo-yt-card__body {
  padding: 1.05rem 1.15rem 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
  flex: 1 1 auto;
}

.neo-yt-card__title {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.38;
  color: var(--black);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.neo-yt-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.neo-yt-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--black);
  opacity: 0.72;
}

.neo-yt-card__meta > span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.neo-yt-card__meta .material-icons {
  font-size: 0.95rem;
  color: var(--blue);
}

@media (max-width: 991px) {
  .neo-yt-showcase {
    grid-template-columns: 1fr;
  }
  .neo-yt-playlist {
    max-height: none;
  }
  .neo-yt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .neo-yt-grid {
    grid-template-columns: 1fr;
  }
  .neo-yt-item {
    grid-template-columns: 102px minmax(0, 1fr);
    gap: 0.65rem;
  }
  .neo-yt-item__thumb {
    width: 102px;
  }
  .neo-yt-play-btn {
    width: 60px;
    height: 60px;
  }
  .neo-yt-play-btn .material-icons {
    font-size: 32px;
  }
}
