/* =========================
   RESET / GLOBAL
========================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-main: #07070d;
  --bg-panel: #10101b;
  --bg-panel-soft: #151522;

  --text-main: #f5f5fb;
  --text-soft: #c9cad8;
  --text-muted: #9798aa;

  --neon-cyan: #35f2ff;
  --neon-pink: #ff3bd4;
  --neon-purple: #9d5cff;
  --neon-blue: #4a7dff;
  --neon-gold: #ffbd55;

  --chrome-light: #f4f5f7;
  --chrome-mid: #a8adb8;
  --chrome-dark: #585d68;

  --sidebar-collapsed: 74px;
  --sidebar-expanded: 230px;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text-main);

  background:
    radial-gradient(
      circle at top right,
      rgba(53, 242, 255, 0.05),
      transparent 30%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(255, 59, 212, 0.05),
      transparent 32%
    ),
    var(--bg-main);

  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

/* =========================
   SIDEBAR
========================= */

.dancette-sidebar {
  position: fixed;
  inset: 0 auto 0 0;

  width: var(--sidebar-collapsed);
  height: 100vh;

  background:
    linear-gradient(
      180deg,
      rgba(15, 15, 28, 0.98),
      rgba(6, 6, 12, 0.98)
    );

  border-right: 1px solid rgba(53, 242, 255, 0.25);

  box-shadow:
    6px 0 24px rgba(0, 0, 0, 0.45),
    0 0 20px rgba(53, 242, 255, 0.04);

  overflow: hidden;

  transition: width 0.3s ease;

  z-index: 1000;
}

.dancette-sidebar:hover {
  width: var(--sidebar-expanded);
}

/* subtle neon rail */
.dancette-sidebar::after {
  content: "";

  position: absolute;
  top: 0;
  right: 0;

  width: 2px;
  height: 100%;

  background:
    linear-gradient(
      180deg,
      var(--neon-pink),
      var(--neon-cyan),
      var(--neon-purple),
      var(--neon-gold)
    );

  opacity: 0.75;

  box-shadow:
    0 0 10px rgba(53, 242, 255, 0.4);
}

.sidebar-brand {
  min-height: 94px;

  display: flex;
  align-items: center;

  gap: 17px;

  padding: 0 18px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-brand-mark {
  flex: 0 0 38px;

  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  border-radius: 10px;

  font-size: 1.25rem;
  font-weight: 800;

  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      var(--neon-pink),
      var(--neon-cyan)
    );

  box-shadow:
    0 0 12px rgba(255, 59, 212, 0.25),
    0 0 16px rgba(53, 242, 255, 0.18);
}

.sidebar-brand-name {
  white-space: nowrap;

  font-size: 1.05rem;
  font-weight: 700;

  letter-spacing: 0.16em;

  opacity: 0;

  transform: translateX(-6px);

  transition:
    opacity 0.2s ease,
    transform 0.25s ease;
}

.dancette-sidebar:hover .sidebar-brand-name {
  opacity: 1;
  transform: translateX(0);
}

.sidebar-nav {
  padding: 22px 0;
}

.sidebar-nav a {
  min-height: 58px;

  display: flex;
  align-items: center;

  gap: 18px;

  padding: 0 20px;

  color: var(--text-soft);

  border-left: 3px solid transparent;

  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.sidebar-nav a:hover {
  color: #ffffff;

  background:
    linear-gradient(
      90deg,
      rgba(255, 59, 212, 0.11),
      rgba(53, 242, 255, 0.05)
    );
}

.sidebar-nav a.active {
  color: #ffffff;

  border-left-color: var(--neon-cyan);

  background:
    linear-gradient(
      90deg,
      rgba(53, 242, 255, 0.12),
      transparent
    );
}

.sidebar-icon {
  flex: 0 0 30px;

  width: 30px;

  text-align: center;

  font-size: 1.2rem;
}

.sidebar-label {
  white-space: nowrap;

  font-weight: 600;

  letter-spacing: 0.04em;

  opacity: 0;

  transform: translateX(-6px);

  transition:
    opacity 0.2s ease,
    transform 0.25s ease;
}

.dancette-sidebar:hover .sidebar-label {
  opacity: 1;
  transform: translateX(0);
}

.future-link {
  opacity: 0.75;
}

.sidebar-footer {
  position: absolute;

  bottom: 24px;
  left: 0;

  width: 100%;

  display: flex;
  align-items: center;

  gap: 17px;

  padding: 0 22px;

  color: var(--text-muted);

  font-size: 0.78rem;

  letter-spacing: 0.08em;
}

.sidebar-footer-short {
  flex: 0 0 28px;
}

.sidebar-footer-long {
  white-space: nowrap;

  opacity: 0;

  transition: opacity 0.2s ease;
}

.dancette-sidebar:hover .sidebar-footer-long {
  opacity: 1;
}

/* =========================
   MAIN LAYOUT
========================= */

.dancette-main,
.dancette-footer {
  margin-left: var(--sidebar-collapsed);
}

.section-shell {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* =========================
   HERO
========================= */

.dancette-hero {
  position: relative;

  min-height: 92vh;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 80px 7vw;

  overflow: hidden;

  background:
    linear-gradient(
      90deg,
      rgba(5, 5, 12, 0.92) 0%,
      rgba(5, 5, 12, 0.72) 36%,
      rgba(5, 5, 12, 0.22) 66%,
      rgba(5, 5, 12, 0.08) 100%
    ),
    url("dancette-images/dancette-square.png") center right / cover no-repeat;
}

.hero-image-overlay {
  position: absolute;

  inset: 0;

  pointer-events: none;

  background:
    radial-gradient(
      circle at 24% 32%,
      rgba(255, 59, 212, 0.11),
      transparent 26%
    ),
    radial-gradient(
      circle at 72% 24%,
      rgba(53, 242, 255, 0.09),
      transparent 22%
    ),
    linear-gradient(
      180deg,
      transparent 60%,
      rgba(0, 0, 0, 0.45)
    );
}

.hero-content {
  position: relative;

  z-index: 2;

  width: 100%;
  max-width: 760px;

  margin: 0 auto;

  text-align: center;
}

.hero-kicker,
.section-kicker {
  text-transform: uppercase;

  letter-spacing: 0.22em;

  font-size: 0.82rem;
  font-weight: 700;

  color: var(--neon-cyan);
}

.hero-kicker {
  margin-bottom: 16px;
}

.hero-logo-wrap {
  display: flex;
  justify-content: center;

  margin-bottom: 26px;
}

.hero-logo-image {
  display: block;

  width: min(620px, 90%);
  height: auto;

  margin: 0 auto;

  filter:
    drop-shadow(0 0 14px rgba(255, 59, 212, 0.18))
    drop-shadow(0 0 18px rgba(53, 242, 255, 0.14));
}

.hero-tagline {
  max-width: 620px;

  margin: 0 auto 30px;

  color: #e5e6ef;

  font-size: 1.15rem;

  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.7);
}

.hero-actions {
  display: flex;
  justify-content: center;

  gap: 14px;

  flex-wrap: wrap;
}

/* =========================
   NEON BUTTONS
========================= */

.neon-button {
  display: inline-block;

  padding: 13px 20px;

  border-radius: 10px;

  font-weight: 700;

  letter-spacing: 0.04em;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.neon-button:hover {
  transform: translateY(-2px);
}

.neon-button-primary {
  color: #ffffff;

  background:
    linear-gradient(
      90deg,
      var(--neon-pink),
      var(--neon-purple),
      var(--neon-cyan)
    );

  box-shadow:
    0 0 18px rgba(255, 59, 212, 0.18),
    0 0 22px rgba(53, 242, 255, 0.1);
}

.neon-button-secondary {
  color: #ffffff;

  background:
    rgba(12, 12, 22, 0.6);

  border:
    1px solid rgba(53, 242, 255, 0.35);
}

/* =========================
   SECTIONS
========================= */

.dancette-section {
  padding: 82px 0;
}

.dancette-section-alt {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.018),
      rgba(255, 255, 255, 0.006)
    );
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2 {
  margin-top: 6px;

  font-size: clamp(2rem, 4vw, 3rem);

  color: #ffffff;
}

.intro-layout {
  display: grid;

  grid-template-columns: 1.6fr 1fr;

  gap: 24px;
}

/* =========================
   PANELS
========================= */

.neon-panel {
  position: relative;

  padding: 28px;

  border-radius: 16px;

  overflow: hidden;

  background:
    linear-gradient(
      180deg,
      rgba(22, 22, 39, 0.94),
      rgba(10, 10, 18, 0.96)
    );

  border:
    1px solid rgba(122, 127, 255, 0.18);

  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.neon-panel::before {
  content: "";

  position: absolute;

  inset: 0;

  pointer-events: none;

  border-radius: inherit;

  padding: 1px;

  background:
    linear-gradient(
      120deg,
      rgba(255, 59, 212, 0.35),
      rgba(53, 242, 255, 0.12),
      rgba(157, 92, 255, 0.3)
    );

  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);

  mask-composite: exclude;
}

.neon-panel p {
  color: var(--text-soft);

  margin-bottom: 14px;
}

.neon-panel p:last-child {
  margin-bottom: 0;
}

.project-pulse h3 {
  margin-bottom: 16px;

  color: var(--neon-pink);
}

.project-pulse ul {
  padding-left: 20px;

  color: var(--text-soft);
}

.project-pulse li {
  margin-bottom: 9px;
}

/* =========================
   FEATURE CARDS
========================= */

.feature-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 22px;
}

.feature-card {
  position: relative;

  min-height: 260px;

  padding: 26px;

  overflow: hidden;

  border-radius: 16px;

  background:
    linear-gradient(
      180deg,
      rgba(19, 19, 34, 0.96),
      rgba(8, 8, 15, 0.98)
    );

  border:
    1px solid rgba(255, 255, 255, 0.08);

  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.32);

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-5px);

  border-color:
    rgba(53, 242, 255, 0.28);

  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.38),
    0 0 20px rgba(53, 242, 255, 0.08);
}

.feature-glow {
  position: absolute;

  inset: auto -20% -45% auto;

  width: 220px;
  height: 220px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(255, 59, 212, 0.2),
      rgba(53, 242, 255, 0.06) 48%,
      transparent 70%
    );

  pointer-events: none;
}

.feature-number {
  margin-bottom: 50px;

  font-size: 0.82rem;
  font-weight: 700;

  letter-spacing: 0.18em;

  color: var(--neon-cyan);
}

.feature-card h3 {
  margin-bottom: 10px;

  font-size: 1.4rem;
}

.feature-card p {
  color: var(--text-soft);
}

/* =========================
   GENRE CHIPS
========================= */

.genre-strip {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;
}

.genre-chip {
  padding: 10px 15px;

  border-radius: 999px;

  color: #ffffff;

  background:
    rgba(255, 255, 255, 0.04);

  border:
    1px solid rgba(255, 255, 255, 0.08);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* alternating neon accents */
.genre-chip:nth-child(3n + 1) {
  border-color:
    rgba(255, 59, 212, 0.3);
}

.genre-chip:nth-child(3n + 2) {
  border-color:
    rgba(53, 242, 255, 0.3);
}

.genre-chip:nth-child(3n + 3) {
  border-color:
    rgba(157, 92, 255, 0.3);
}

/* =========================
   FOOTER
========================= */

.dancette-footer {
  padding: 26px 0;

  border-top:
    1px solid rgba(255, 255, 255, 0.06);

  background:
    #050509;
}

.footer-inner {
  width: min(1180px, 92%);

  margin: 0 auto;

  display: flex;

  justify-content: space-between;

  gap: 20px;

  flex-wrap: wrap;

  color: var(--text-muted);

  font-size: 0.92rem;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1000px) {
  .intro-layout,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .feature-number {
    margin-bottom: 30px;
  }
}

@media (max-width: 760px) {
  :root {
    --sidebar-collapsed: 62px;
  }

  .dancette-sidebar {
    width: var(--sidebar-collapsed);
  }

  .dancette-sidebar:hover {
    width: 200px;
  }

  .dancette-main,
  .dancette-footer {
    margin-left: var(--sidebar-collapsed);
  }

  .sidebar-brand {
    padding: 0 12px;
  }

  .sidebar-nav a {
    padding: 0 14px;
  }

  .dancette-hero {
    min-height: 78vh;

    padding: 70px 7vw;

    background:
      linear-gradient(
        90deg,
        rgba(5, 5, 12, 0.92),
        rgba(5, 5, 12, 0.68)
      ),
      url("dancette-images/dancette-square.png") center center / cover no-repeat;
  }

  .hero-logo-image {
    width: min(520px, 92%);
  }

  .hero-tagline {
    font-size: 1rem;
  }

  .dancette-section {
    padding: 64px 0;
  }
}

@media (max-width: 520px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .neon-button {
    width: 100%;
    text-align: center;
  }

  .footer-inner {
    flex-direction: column;
  }
}

/* =========================
   MUSIC PAGE
========================= */

.music-hero {
  padding: 90px 0 56px;
  text-align: center;

  background:
    radial-gradient(
      circle at center,
      rgba(157, 92, 255, 0.08),
      transparent 42%
    );
}

.music-hero h1 {
  margin: 8px 0 12px;

  font-size: clamp(2.8rem, 6vw, 5rem);

  color: #ffffff;

  text-shadow:
    0 0 18px rgba(255, 59, 212, 0.12),
    0 0 22px rgba(53, 242, 255, 0.1);
}

.music-hero p:last-child {
  max-width: 680px;

  margin: 0 auto;

  color: var(--text-soft);
}

/* =========================
   MUSIC CONSOLE
========================= */

.music-console {
  display: grid;

  grid-template-columns: 360px 1fr;

  gap: 32px;

  align-items: center;

  padding: 28px;

  border-radius: 18px;

  background:
    linear-gradient(
      180deg,
      rgba(20, 20, 36, 0.96),
      rgba(8, 8, 15, 0.98)
    );

  border:
    1px solid rgba(53, 242, 255, 0.18);

  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.4),
    0 0 24px rgba(255, 59, 212, 0.05);
}

.console-artwork img {
  display: block;

  width: 100%;

  aspect-ratio: 1 / 1;

  object-fit: cover;

  border-radius: 14px;

  border:
    1px solid rgba(255, 255, 255, 0.12);

  box-shadow:
    0 0 18px rgba(53, 242, 255, 0.08);
}

.console-copy {
  min-width: 0;
}

.console-label {
  margin-bottom: 6px;

  text-transform: uppercase;

  letter-spacing: 0.2em;

  font-size: 0.76rem;

  font-weight: 700;

  color: var(--neon-pink);
}

.console-copy h2 {
  margin-bottom: 6px;

  font-size: clamp(2rem, 4vw, 3rem);

  color: #ffffff;
}

#featured-genre {
  margin-bottom: 22px;

  color: var(--neon-cyan);

  font-size: 0.95rem;

  letter-spacing: 0.06em;
}

.dancette-audio {
  width: 100%;

  margin-bottom: 18px;
}

/* =========================
   PLAYER CONTROLS
========================= */

.console-controls {
  display: flex;

  gap: 12px;

  flex-wrap: wrap;
}

.console-button {
  padding: 11px 16px;

  border-radius: 10px;

  border:
    1px solid rgba(53, 242, 255, 0.28);

  background:
    rgba(255, 255, 255, 0.04);

  color: #ffffff;

  font: inherit;

  font-weight: 600;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.console-button:hover {
  transform: translateY(-2px);

  background:
    rgba(53, 242, 255, 0.08);

  box-shadow:
    0 0 14px rgba(53, 242, 255, 0.08);
}

/* =========================
   TRACK GRID
========================= */

.dancette-track-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 16px;
}

.dancette-track-card {
  display: grid;

  grid-template-columns: 54px 1fr;

  align-items: center;

  gap: 14px;

  width: 100%;

  padding: 18px;

  text-align: left;

  border-radius: 14px;

  border:
    1px solid rgba(255, 255, 255, 0.08);

  background:
    linear-gradient(
      180deg,
      rgba(18, 18, 32, 0.96),
      rgba(9, 9, 16, 0.98)
    );

  color: inherit;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.dancette-track-card:hover {
  transform: translateY(-3px);

  border-color:
    rgba(53, 242, 255, 0.28);

  box-shadow:
    0 0 16px rgba(53, 242, 255, 0.06);
}

.dancette-track-card.active-track {
  border-color:
    rgba(255, 59, 212, 0.45);

  background:
    linear-gradient(
      90deg,
      rgba(255, 59, 212, 0.08),
      rgba(53, 242, 255, 0.05)
    );
}

.track-index {
  font-size: 0.82rem;

  font-weight: 700;

  letter-spacing: 0.16em;

  color: var(--neon-cyan);
}

.track-info {
  display: flex;

  flex-direction: column;

  gap: 3px;
}

.track-name {
  font-size: 1rem;

  font-weight: 700;

  color: #ffffff;
}

.track-style {
  font-size: 0.86rem;

  color: var(--text-muted);
}

/* =========================
   MUSIC RESPONSIVE
========================= */

@media (max-width: 900px) {
  .music-console {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .console-artwork {
    max-width: 360px;
    margin: 0 auto;
  }

  .console-controls {
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .dancette-track-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   DANCETTE GALLERY
========================= */

.gallery-intro-section {
  padding: 90px 0 60px;

  background:
    radial-gradient(
      circle at 80% 30%,
      rgba(255, 59, 212, 0.08),
      transparent 30%
    ),
    radial-gradient(
      circle at 20% 70%,
      rgba(53, 242, 255, 0.05),
      transparent 30%
    );
}


/* =========================
   GALLERY INTRO
========================= */

.gallery-intro-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(340px, 0.85fr);

  gap: 42px;

  align-items: center;
}


.gallery-intro-copy h1 {
  margin:
    6px 0
    20px;

  font-size:
    clamp(2.8rem, 6vw, 5rem);

  line-height: 1;

  color: #ffffff;

  text-shadow:
    0 0 18px rgba(255, 59, 212, 0.12),
    0 0 22px rgba(53, 242, 255, 0.1);
}


.gallery-intro-copy p {
  max-width: 680px;

  margin-bottom: 16px;

  color: var(--text-soft);
}


.gallery-intro-copy .gallery-hint {
  margin-top: 24px;

  color: var(--neon-cyan);

  font-size: 0.92rem;
}


.gallery-intro-image {
  position: relative;

  padding: 8px;

  border-radius: 18px;

  background:
    linear-gradient(
      135deg,
      rgba(255, 59, 212, 0.34),
      rgba(53, 242, 255, 0.28),
      rgba(157, 92, 255, 0.28)
    );

  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.42),
    0 0 24px rgba(53, 242, 255, 0.07);
}


.gallery-intro-image img {
  display: block;

  width: 100%;

  aspect-ratio: 16 / 9;

  object-fit: cover;

  border-radius: 12px;
}


/* =========================
   GALLERY GRID
========================= */

.dancette-gallery-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 24px;
}


.dancette-gallery-card {
  display: block;

  width: 100%;

  padding: 10px;

  overflow: hidden;

  border:
    1px solid rgba(255, 255, 255, 0.08);

  border-radius: 16px;

  background:
    linear-gradient(
      180deg,
      rgba(18, 18, 32, 0.96),
      rgba(8, 8, 15, 0.98)
    );

  color: inherit;

  font: inherit;

  text-align: left;

  cursor: pointer;

  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.3);

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}


.dancette-gallery-card:hover {
  transform: translateY(-5px);

  border-color:
    rgba(53, 242, 255, 0.32);

  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.4),
    0 0 18px rgba(53, 242, 255, 0.08);
}


/* =========================
   PORTRAIT GALLERY MEDIA
========================= */

.gallery-media {
  position: relative;

  width: 100%;

  aspect-ratio: 9 / 16;

  overflow: hidden;

  border-radius: 11px;

  background:
    linear-gradient(
      180deg,
      rgba(10, 10, 18, 0.96),
      rgba(3, 3, 8, 1)
    );
}


.gallery-still,
.gallery-preview {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: contain;

  object-position: center;

  transition:
    opacity 0.25s ease,
    transform 0.4s ease;
}


.gallery-still {
  z-index: 1;

  opacity: 1;
}


.gallery-preview {
  z-index: 2;

  opacity: 0;

  pointer-events: none;
}


.dancette-gallery-card:hover .gallery-still {
  opacity: 0;
}


.dancette-gallery-card:hover .gallery-preview {
  opacity: 1;

  transform: scale(1.01);
}



/* =========================
   PREVIEW LABEL
========================= */

.gallery-play-label {
  position: absolute;

  right: 12px;
  bottom: 12px;

  z-index: 3;

  padding: 6px 10px;

  border-radius: 999px;

  background:
    rgba(5, 5, 12, 0.76);

  border:
    1px solid rgba(53, 242, 255, 0.3);

  color: #ffffff;

  font-size: 0.76rem;

  letter-spacing: 0.05em;

  backdrop-filter: blur(6px);

  transition:
    opacity 0.2s ease;
}


.dancette-gallery-card:hover .gallery-play-label {
  opacity: 0;
}


.gallery-card-title {
  display: block;

  padding:
    13px 6px
    5px;

  font-weight: 700;

  color: #ffffff;
}

/* =========================
   RESPONSIVE GALLERY GRID
========================= */

@media (max-width: 1100px) {
  .dancette-gallery-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}


@media (max-width: 700px) {
  .dancette-gallery-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================
   GALLERY LIGHTBOX
========================= */

body.lightbox-open {
  overflow: hidden;
}


.dancette-lightbox {
  position: fixed;

  inset: 0;

  z-index: 3000;

  display: flex;

  align-items: center;
  justify-content: center;

  padding: 30px;

  opacity: 0;

  visibility: hidden;

  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}


.dancette-lightbox.active {
  opacity: 1;
  visibility: visible;
}


.gallery-lightbox-backdrop {
  position: absolute;

  inset: 0;

  background:
    rgba(2, 2, 7, 0.92);

  backdrop-filter:
    blur(10px);
}


.gallery-lightbox-panel {
  position: relative;

  z-index: 2;

  width: min(1400px, 96vw);

  max-height: 92vh;

  overflow-y: auto;

  padding: 28px;

  border-radius: 20px;

  background:
    linear-gradient(
      180deg,
      rgba(18, 18, 34, 0.98),
      rgba(7, 7, 14, 0.99)
    );

  border:
    1px solid rgba(53, 242, 255, 0.24);

  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.7),
    0 0 34px rgba(255, 59, 212, 0.08),
    0 0 40px rgba(53, 242, 255, 0.06);
}


.gallery-lightbox-panel h2 {
  margin-bottom: 22px;

  padding-right: 50px;

  color: #ffffff;

  font-size:
    clamp(1.7rem, 3vw, 2.5rem);
}


/* =========================
   LIGHTBOX CLOSE
========================= */

.gallery-lightbox-close {
  position: absolute;

  top: 18px;
  right: 20px;

  width: 42px;
  height: 42px;

  display: grid;

  place-items: center;

  border:
    1px solid rgba(255, 255, 255, 0.14);

  border-radius: 50%;

  background:
    rgba(255, 255, 255, 0.05);

  color: #ffffff;

  font-size: 1.8rem;

  line-height: 1;

  cursor: pointer;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}


.gallery-lightbox-close:hover {
  transform: rotate(6deg);

  border-color:
    rgba(255, 59, 212, 0.4);

  background:
    rgba(255, 59, 212, 0.09);
}


/* =========================
   LIGHTBOX MEDIA
========================= */

.gallery-lightbox-media {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 20px;
}


.gallery-lightbox-item {
  min-width: 0;
}


.lightbox-media-label {
  margin-bottom: 8px;

  color: var(--neon-cyan);

  font-size: 0.78rem;

  font-weight: 700;

  letter-spacing: 0.16em;

  text-transform: uppercase;
}


.gallery-lightbox-item img,
.gallery-lightbox-item video {
  display: block;

  width: 100%;
  max-height: 72vh;

  object-fit: contain;

  background: #000000;

  border-radius: 12px;

  border:
    1px solid rgba(255, 255, 255, 0.1);
}


.gallery-lightbox-caption {
  margin-top: 22px;

  padding-top: 18px;

  border-top:
    1px solid rgba(255, 255, 255, 0.08);

  color: var(--text-soft);

  text-align: center;
}


/* =========================
   GALLERY RESPONSIVE
========================= */

@media (max-width: 1000px) {

  .gallery-intro-layout {
    grid-template-columns: 1fr;
  }

  .gallery-intro-image {
    max-width: 720px;
  }

}


@media (max-width: 760px) {

  .dancette-gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-lightbox-media {
    grid-template-columns: 1fr;
  }

  .dancette-lightbox {
    padding: 16px;
  }

  .gallery-lightbox-panel {
    padding: 20px;
  }

}


@media (max-width: 520px) {

  .gallery-intro-section {
    padding:
      64px 0
      44px;
  }

  .gallery-lightbox-panel h2 {
    font-size: 1.5rem;
  }

}