:root {
  --bg: #090909;
  --panel: #131313;
  --panel-strong: #1f1f1f;
  --text: #f5f2ea;
  --muted: #c6bfb0;
  --line: rgba(245, 242, 234, 0.18);
  --hot: #ff3f7f;
  --acid: #c9ff31;
  --cyan: #30e2d0;
  --amber: #ffb23f;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans KR", system-ui, sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 36px;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(9, 9, 9, 0.9);
}

.site-header.is-scrolled {
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Archivo Black", sans-serif;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav a {
  padding: 10px 0;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav .is-active,
.nav-group.is-active > a {
  color: var(--acid);
}

.logout-form {
  margin: 0;
}

.logout-form button {
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-transform: uppercase;
}

.logout-form button:hover,
.logout-form button:focus-visible {
  color: var(--acid);
}

.nav-group {
  position: relative;
}

.nav-group::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 170px;
  height: 16px;
  transform: translateX(-50%);
}

.submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  display: grid;
  min-width: 150px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(9, 9, 9, 0.96);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-group:hover .submenu,
.nav-group:focus-within .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.submenu a {
  color: var(--muted);
  padding: 8px 0;
}

.site-nav .submenu a.is-active {
  color: var(--muted);
}

.site-nav .submenu a:hover,
.site-nav .submenu a:focus-visible {
  color: var(--acid);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.34);
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.home-hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 140px 36px 42px;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.42) 48%, rgba(0, 0, 0, 0.1)),
    linear-gradient(0deg, var(--bg) 0%, rgba(9, 9, 9, 0.18) 28%, rgba(9, 9, 9, 0.24) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--acid);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

h3,
p,
strong {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: "Archivo Black", "Noto Sans KR", sans-serif;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: keep-all;
}

h1 {
  font-size: clamp(3rem, 10vw, 10rem);
}

.home-hero h1 {
  max-width: 100%;
  white-space: nowrap;
}

h2 {
  font-size: 1.45rem;
}

.hero-copy,
.page-hero p {
  width: min(650px, 100%);
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-copy {
  margin: 22px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button,
.play-button,
.video-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
}

.button.primary,
.play-button,
.video-button {
  background: var(--acid);
  color: #090909;
  border-color: var(--acid);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.button.danger {
  background: rgba(255, 63, 127, 0.12);
  border-color: rgba(255, 63, 127, 0.62);
  color: var(--text);
}

.next-show {
  position: relative;
  z-index: 1;
  justify-self: end;
  display: grid;
  gap: 4px;
  min-width: min(320px, 100%);
  margin-top: 60px;
  padding: 18px;
  border-left: 4px solid var(--hot);
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(12px);
}

.next-show span,
.next-show time {
  color: var(--muted);
  text-transform: uppercase;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 28px;
}

.video-modal[aria-hidden="true"] {
  display: none;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(14px);
}

.video-modal-panel {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
}

.video-modal-close {
  position: absolute;
  top: -52px;
  right: 0;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(245, 242, 234, 0.08);
  color: var(--text);
  cursor: pointer;
}

.video-modal-close::before,
.video-modal-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  background: currentColor;
}

.video-modal-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.video-modal-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.video-embed {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #000;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.page-main {
  padding-top: 72px;
}

.page-hero {
  position: relative;
  isolation: isolate;
  min-height: 260px;
  display: grid;
  align-content: end;
  padding: 72px 36px 42px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(9, 9, 9, 0.9) 0%, rgba(9, 9, 9, 0.64) 48%, rgba(9, 9, 9, 0.36) 100%),
    linear-gradient(0deg, rgba(9, 9, 9, 0.92) 0%, rgba(9, 9, 9, 0.24) 68%),
    #0d0d0d;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 18%, rgba(201, 255, 49, 0.16), transparent 30%),
    radial-gradient(circle at 78% 16%, rgba(48, 226, 208, 0.14), transparent 28%),
    linear-gradient(180deg, transparent 0%, rgba(9, 9, 9, 0.48) 100%);
  mix-blend-mode: screen;
  opacity: 0.78;
}

.page-about .page-hero {
  background-image:
    linear-gradient(90deg, rgba(9, 9, 9, 0.9) 0%, rgba(9, 9, 9, 0.62) 50%, rgba(9, 9, 9, 0.34) 100%),
    linear-gradient(0deg, rgba(9, 9, 9, 0.92) 0%, rgba(9, 9, 9, 0.24) 68%),
    url("/assets/hero-about.png");
}

.page-music .page-hero {
  background-image:
    linear-gradient(90deg, rgba(9, 9, 9, 0.9) 0%, rgba(9, 9, 9, 0.58) 50%, rgba(9, 9, 9, 0.26) 100%),
    linear-gradient(0deg, rgba(9, 9, 9, 0.9) 0%, rgba(9, 9, 9, 0.18) 70%),
    url("/assets/hero-music.png");
}

.page-video .page-hero {
  background-image:
    linear-gradient(90deg, rgba(9, 9, 9, 0.9) 0%, rgba(9, 9, 9, 0.6) 48%, rgba(9, 9, 9, 0.28) 100%),
    linear-gradient(0deg, rgba(9, 9, 9, 0.9) 0%, rgba(9, 9, 9, 0.2) 70%),
    url("/assets/hero-video.png");
}

.page-gallery .page-hero {
  background-image:
    linear-gradient(90deg, rgba(9, 9, 9, 0.88) 0%, rgba(9, 9, 9, 0.58) 48%, rgba(9, 9, 9, 0.24) 100%),
    linear-gradient(0deg, rgba(9, 9, 9, 0.92) 0%, rgba(9, 9, 9, 0.2) 70%),
    url("/assets/hero-gallery.png");
}

.page-communication .page-hero {
  background-image:
    linear-gradient(90deg, rgba(9, 9, 9, 0.92) 0%, rgba(9, 9, 9, 0.62) 50%, rgba(9, 9, 9, 0.3) 100%),
    linear-gradient(0deg, rgba(9, 9, 9, 0.9) 0%, rgba(9, 9, 9, 0.2) 70%),
    url("/assets/hero-communication.png");
}

.page-contact .page-hero {
  background-image:
    linear-gradient(90deg, rgba(9, 9, 9, 0.92) 0%, rgba(9, 9, 9, 0.62) 50%, rgba(9, 9, 9, 0.28) 100%),
    linear-gradient(0deg, rgba(9, 9, 9, 0.92) 0%, rgba(9, 9, 9, 0.18) 70%),
    url("/assets/hero-contact.png");
}

.page-admin .page-hero {
  background-image:
    linear-gradient(90deg, rgba(9, 9, 9, 0.94) 0%, rgba(9, 9, 9, 0.68) 50%, rgba(9, 9, 9, 0.34) 100%),
    linear-gradient(0deg, rgba(9, 9, 9, 0.94) 0%, rgba(9, 9, 9, 0.22) 70%),
    url("/assets/hero-admin.png");
}

.page-hero > * {
  width: min(1160px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.page-hero h1 {
  max-width: 1060px;
  font-size: clamp(2.25rem, 5.4vw, 5.5rem);
  line-height: 0.92;
}

.page-hero p:not(.eyebrow) {
  width: min(1060px, 100%);
  max-width: 1060px;
  margin: 14px auto 0;
  font-size: clamp(0.92rem, 1.4vw, 1.05rem);
}

.section {
  padding: 86px 36px;
}

.about-grid,
.release-grid,
.message-list,
.contact-form,
.video-grid,
.post-grid,
.board,
.gallery-grid,
.admin-layout {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 48px;
  align-items: start;
}

.about-grid > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.about-copy {
  display: grid;
  gap: 18px;
}

.about-copy h2 {
  max-width: 780px;
  font-size: clamp(1.6rem, 3vw, 3.2rem);
  line-height: 1.12;
  word-break: keep-all;
}

.about-copy p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.sound-notes {
  display: grid;
  gap: 10px;
  align-self: stretch;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 84% 18%, rgba(201, 255, 49, 0.16), transparent 30%),
    var(--panel);
  box-shadow: var(--shadow);
}

.sound-notes span {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(245, 242, 234, 0.12);
  border-radius: 6px;
  color: var(--text);
  font-weight: 900;
  text-transform: uppercase;
}

.member-section {
  padding-top: 0;
}

.member-wrap {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.member-wrap > h2 {
  margin-bottom: 22px;
}

.member-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.member-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.member-table th,
.member-table td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.member-table th {
  color: var(--acid);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.member-table tbody tr:last-child td {
  border-bottom: 0;
}

.member-table td {
  color: var(--muted);
}

.member-table td strong {
  color: var(--text);
}

.member-photo {
  width: 112px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(245, 242, 234, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 63, 127, 0.26), rgba(48, 226, 208, 0.18)),
    #151515;
}

.member-photo span {
  color: var(--acid);
  font-family: "Archivo Black", sans-serif;
  font-size: 1.35rem;
}

.member-photo.is-recruiting::before {
  content: "+";
  color: var(--muted);
  font-family: "Archivo Black", sans-serif;
  font-size: 2rem;
}

.timeline-section {
  padding-top: 0;
}

.timeline-wrap {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.timeline-wrap > h2 {
  margin-bottom: 28px;
}

.timeline-list {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline-list::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 94px;
  width: 1px;
  background: var(--line);
}

.timeline-list li {
  position: relative;
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 28px;
  min-height: 76px;
  padding: 0 0 26px;
}

.timeline-list li:last-child {
  padding-bottom: 0;
}

.timeline-list li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 87px;
  width: 15px;
  height: 15px;
  border: 3px solid var(--acid);
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 0 0 6px rgba(201, 255, 49, 0.1);
}

.timeline-list time {
  color: var(--acid);
  font-family: "Archivo Black", sans-serif;
  font-size: 1.55rem;
  line-height: 1;
}

.timeline-list p {
  margin: 0;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 700;
}

.story-section {
  padding-top: 0;
}

.story-wrap {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.story-wrap > h2 {
  max-width: 860px;
  margin-bottom: 24px;
}

.story-copy {
  display: grid;
  gap: 18px;
  max-width: 900px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 63, 127, 0.16), transparent 30%),
    var(--panel);
  box-shadow: var(--shadow);
}

.story-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.85;
  word-break: keep-all;
}

.about-contact-section {
  padding-top: 0;
}

.about-contact {
  width: min(1160px, 100%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  padding: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-contact p {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 900;
  word-break: keep-all;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}

.stats div {
  min-width: 0;
  padding: 22px 16px;
  border-right: 1px solid var(--line);
}

.stats div:last-child {
  border-right: 0;
}

.stats strong {
  display: block;
  font-family: "Archivo Black", sans-serif;
  font-size: 2rem;
}

.stats span,
.video-tile span {
  color: var(--muted);
  text-transform: uppercase;
}

.music-section,
.communication-section {
  background: #101010;
}

.release-grid,
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.release-card,
.message-list article,
.post-card,
.video-tile {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.release-card,
.post-card,
.video-tile {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
}

.post-image {
  width: calc(100% + 48px);
  display: block;
  overflow: hidden;
  margin: -24px -24px 18px;
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid var(--line);
  background: var(--panel-strong);
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.post-image:hover img,
.post-image:focus-visible img {
  transform: scale(1.04);
}

.track-number {
  color: var(--hot);
  font-family: "Archivo Black", sans-serif;
  font-size: 2.2rem;
}

.release-card h2,
.message-list h2,
.post-card h2,
.video-tile h2 {
  margin: 16px 0 10px;
}

.release-card p,
.message-list p,
.post-card p,
.video-tile p {
  margin: 0;
  color: var(--muted);
}

.play-button,
.post-card a {
  margin-top: auto;
}

.post-card time,
.message-list time {
  color: var(--amber);
  font-weight: 900;
}

.post-card a {
  color: var(--acid);
  font-weight: 900;
  text-transform: uppercase;
}

.player-status {
  width: min(1160px, 100%);
  min-height: 28px;
  margin: 24px auto 0;
  color: var(--cyan);
  font-weight: 700;
}

.video-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.75fr);
  gap: 18px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery-toolbar,
.gallery-status,
.gallery-search,
.gallery-summary,
.gallery-list,
.video-board-list,
.video-detail,
.gallery-detail,
.gallery-form,
.pagination,
.empty-state {
  width: min(1160px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.gallery-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.gallery-toolbar .form-status {
  margin: 0;
}

.gallery-status {
  margin-bottom: 18px;
}

.gallery-search {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 14px;
}

.gallery-search label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}

.gallery-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 700;
}

.gallery-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.category-tabs {
  width: min(1160px, 100%);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 auto 18px;
}

.category-tabs a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.category-tabs a:hover,
.category-tabs a:focus-visible,
.category-tabs a.is-active {
  border-color: var(--acid);
  color: #090909;
  background: var(--acid);
}

.video-board-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.video-board-item a {
  display: grid;
  gap: 10px;
  height: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.video-thumb {
  position: relative;
  overflow: hidden;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  background: var(--panel-strong);
}

.video-thumb::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(9, 9, 9, 0.78);
  box-shadow: 0 0 0 2px rgba(245, 242, 234, 0.22);
}

.video-thumb::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  transform: translate(-34%, -50%);
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 20px solid var(--acid);
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.video-board-item a:hover .video-thumb img,
.video-board-item a:focus-visible .video-thumb img {
  transform: scale(1.04);
}

.video-board-item h2 {
  min-height: 2.75rem;
  font-size: 1.18rem;
  line-height: 1.15;
}

.video-meta {
  color: var(--acid);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.video-board-item time {
  color: var(--amber);
  font-weight: 900;
}

.video-detail {
  display: grid;
  gap: 24px;
}

.detail-video-embed {
  width: 100%;
}

.gallery-item a {
  display: grid;
  gap: 10px;
  height: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  object-fit: cover;
  background: var(--panel-strong);
  transition: transform 180ms ease;
}

.gallery-item a {
  overflow: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus-visible img {
  transform: scale(1.04);
}

.gallery-item span,
.gallery-detail-body span {
  color: var(--acid);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gallery-item-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.gallery-item-meta .gallery-image-count {
  color: var(--cyan);
}

.gallery-item h2 {
  min-height: 2.75rem;
  font-size: 1.18rem;
  line-height: 1.15;
}

.gallery-item time {
  color: var(--amber);
  font-weight: 900;
}

.gallery-detail {
  display: grid;
  gap: 24px;
}

.gallery-photo-set {
  position: relative;
  display: grid;
}

.gallery-photo-set figure {
  position: relative;
  display: none;
  margin: 0;
}

.gallery-photo-set figure.is-active,
.gallery-photo-set figure:only-child {
  display: block;
}

.gallery-photo-set img {
  width: 100%;
  max-height: 72vh;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: contain;
  background: #050505;
}

.gallery-photo-set figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(245, 242, 234, 0.22);
  border-radius: 6px;
  background: rgba(9, 9, 9, 0.76);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 900;
}

.gallery-carousel-actions {
  position: absolute;
  inset: 50% 14px auto;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}

.gallery-carousel-actions button {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(245, 242, 234, 0.28);
  border-radius: 50%;
  background: rgba(9, 9, 9, 0.76);
  color: var(--text);
  cursor: pointer;
  font-size: 0;
  pointer-events: auto;
}

.gallery-carousel-actions button::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  margin: 0 auto;
  border-top: 3px solid currentColor;
  border-left: 3px solid currentColor;
}

.gallery-carousel-actions [data-gallery-prev]::before {
  transform: rotate(-45deg);
}

.gallery-carousel-actions [data-gallery-next]::before {
  transform: rotate(135deg);
}

.gallery-detail-body {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.gallery-detail-body h2 {
  font-size: clamp(1.7rem, 4vw, 3.2rem);
}

.gallery-detail-body p {
  margin: 0;
  color: var(--muted);
  white-space: pre-line;
}

.article-detail {
  width: min(960px, 100%);
  display: grid;
  gap: 22px;
  margin: 0 auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.article-content {
  color: var(--text);
  white-space: pre-line;
}

.article-summary {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 700;
}

.comment-panel {
  width: min(960px, 100%);
  display: grid;
  gap: 18px;
  margin: 22px auto 0;
}

.comment-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.comment-head span {
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.comment-list {
  display: grid;
  gap: 12px;
}

.comment-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.comment-body {
  display: grid;
  gap: 8px;
}

.comment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
}

.comment-meta strong {
  color: var(--acid);
}

.comment-meta time {
  color: var(--amber);
  font-size: 0.88rem;
  font-weight: 900;
}

.comment-body p,
.empty-comments p {
  margin: 0;
  color: var(--muted);
  white-space: pre-line;
}

.comment-actions {
  display: grid;
  align-content: start;
  gap: 8px;
}

.comment-delete-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.comment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.comment-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}

.comment-form .button {
  width: fit-content;
}

.empty-comments {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(245, 242, 234, 0.04);
}

.article-image {
  width: 100%;
  max-height: 560px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  background: var(--panel-strong);
}

.detail-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}

.inline-form {
  margin: 0;
}

.owner-action-form {
  display: grid;
  grid-template-columns: minmax(180px, 280px) auto;
  gap: 10px;
  align-items: end;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.owner-action-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}

.gallery-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.gallery-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}

.current-thumbnail {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}

.current-thumbnail img {
  width: min(360px, 100%);
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 6px;
  object-fit: cover;
  background: var(--panel-strong);
}

.current-gallery-images {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
}

.current-gallery-image-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}

.current-gallery-image-list img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 6px;
  object-fit: cover;
  background: var(--panel-strong);
}

.empty-state {
  display: grid;
  gap: 12px;
  min-height: 220px;
  align-content: center;
  justify-items: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.empty-state p {
  margin: 0;
  color: var(--muted);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.page-link {
  min-width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.page-link:hover,
.page-link:focus-visible,
.page-link.is-active {
  border-color: var(--acid);
  color: #090909;
  background: var(--acid);
}

.page-link.is-disabled {
  pointer-events: none;
  opacity: 0.42;
}

.gallery-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.gallery-card-large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 538px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card div,
.color-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.gallery-card div {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent 58%);
}

.gallery-card span,
.admin-panel span {
  color: var(--acid);
  font-weight: 900;
  text-transform: uppercase;
}

.color-card {
  background:
    radial-gradient(circle at 24% 20%, rgba(255, 63, 127, 0.5), transparent 32%),
    linear-gradient(135deg, #161616, #050505);
}

.color-card.alt {
  background:
    radial-gradient(circle at 70% 30%, rgba(48, 226, 208, 0.45), transparent 34%),
    linear-gradient(135deg, #171717, #070707);
}

.color-card.deep {
  background:
    radial-gradient(circle at 38% 70%, rgba(255, 178, 63, 0.38), transparent 34%),
    linear-gradient(135deg, #151515, #060606);
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 18px;
}

.admin-login,
.admin-panel article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.admin-login {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.section > .admin-login {
  width: min(420px, 100%);
  margin: 0 auto;
}

.admin-login label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}

.admin-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.admin-panel article {
  padding: 24px;
}

.admin-panel strong {
  display: block;
  margin: 14px 0 8px;
  font-family: "Archivo Black", sans-serif;
  font-size: 3rem;
  line-height: 1;
}

.admin-panel p {
  margin: 0;
  color: var(--muted);
}

.video-frame {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 22% 30%, rgba(255, 63, 127, 0.55), transparent 28%),
    radial-gradient(circle at 70% 42%, rgba(48, 226, 208, 0.38), transparent 24%),
    linear-gradient(135deg, #151515, #050505);
}

.video-frame::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(245, 242, 234, 0.16);
}

.video-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 160px;
  height: 160px;
  transform: translate(-50%, -50%);
  border: 2px solid var(--acid);
  border-radius: 50%;
  animation: pulse 2.4s infinite ease-out;
}

@keyframes pulse {
  0% {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(0.65);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.8);
  }
}

.video-frame > div:not(.video-pulse),
.video-button {
  position: relative;
  z-index: 1;
}

.video-frame span {
  display: block;
  color: var(--acid);
  font-weight: 900;
  text-transform: uppercase;
}

.video-frame strong {
  display: block;
  max-width: 700px;
  font-size: clamp(1.8rem, 4vw, 4rem);
  line-height: 1;
}

.message-list {
  display: grid;
  gap: 14px;
}

.message-list article {
  display: grid;
  grid-template-columns: 140px minmax(180px, 280px) 1fr;
  gap: 22px;
  align-items: baseline;
  padding: 22px;
}

.message-list h2 {
  font-size: 1.25rem;
}

.board {
  border: 1px solid var(--line);
}

.board-row {
  display: grid;
  grid-template-columns: 150px 1fr 130px;
  gap: 20px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.board-row:last-child {
  border-bottom: 0;
}

.board-row strong {
  color: var(--text);
}

.board-head {
  background: var(--panel);
  color: var(--acid);
  font-weight: 900;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}

.subject-field,
.message-field,
.contact-form .button,
.form-status {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel-strong);
  color: var(--text);
  padding: 14px;
}

textarea {
  resize: vertical;
}

.contact-form .button {
  width: fit-content;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--cyan);
  font-weight: 700;
}

.form-status.error {
  color: var(--hot);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 34px 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer span {
  color: var(--text);
  font-family: "Archivo Black", sans-serif;
}

.site-footer p {
  margin: 0;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.social-link {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: rgba(245, 242, 234, 0.04);
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--acid);
  border-color: rgba(201, 255, 49, 0.58);
  background: rgba(201, 255, 49, 0.1);
  transform: translateY(-2px);
}

.social-link::before {
  content: "";
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.icon-youtube {
  --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22.5 7.2c-.2-1.2-1.1-2.1-2.3-2.4C18.1 4.3 12 4.3 12 4.3s-6.1 0-8.2.5C2.6 5.1 1.7 6 1.5 7.2 1 9.3 1 12 1 12s0 2.7.5 4.8c.2 1.2 1.1 2.1 2.3 2.4 2.1.5 8.2.5 8.2.5s6.1 0 8.2-.5c1.2-.3 2.1-1.2 2.3-2.4.5-2.1.5-4.8.5-4.8s0-2.7-.5-4.8zM9.8 15.5v-7l5.8 3.5-5.8 3.5z'/%3E%3C/svg%3E");
}

.icon-instagram {
  --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 2h10c2.8 0 5 2.2 5 5v10c0 2.8-2.2 5-5 5H7c-2.8 0-5-2.2-5-5V7c0-2.8 2.2-5 5-5zm0 2.4A2.6 2.6 0 0 0 4.4 7v10A2.6 2.6 0 0 0 7 19.6h10a2.6 2.6 0 0 0 2.6-2.6V7A2.6 2.6 0 0 0 17 4.4H7zm5 3.2a4.4 4.4 0 1 1 0 8.8 4.4 4.4 0 0 1 0-8.8zm0 2.2a2.2 2.2 0 1 0 0 4.4 2.2 2.2 0 0 0 0-4.4zm5.2-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2z'/%3E%3C/svg%3E");
}

.icon-facebook {
  --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.1 8.4V6.7c0-.8.4-1.2 1.3-1.2h1.8V2.3c-.9-.1-1.8-.2-2.7-.2-2.7 0-4.5 1.6-4.5 4.5v1.8H7v3.6h3v9.9h4.1V12h3.1l.5-3.6h-3.6z'/%3E%3C/svg%3E");
}

.icon-tiktok {
  --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15.4 2c.4 3 2.1 4.8 5 5v3.5c-1.9.1-3.6-.5-5-1.7v6.8c0 3.4-2.5 6.4-6.3 6.4-3.5 0-6-2.5-6-5.7 0-3.6 3-6.1 6.7-5.5v3.7c-1.6-.5-3 .4-3 1.9 0 1.2 1 2 2.2 2 1.5 0 2.4-.9 2.4-2.8V2h4z'/%3E%3C/svg%3E");
}

.icon-spotify {
  --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm4.6 14.4c-.2.4-.7.5-1.1.2-3-1.8-6.7-1.5-8.1-1.1-.4.1-.8-.1-.9-.5-.1-.4.1-.8.5-.9 1.7-.5 5.8-.8 9.3 1.3.4.2.5.7.3 1zm1.2-2.8c-.3.4-.8.6-1.2.3-3.4-2-7.4-2.1-9.6-1.4-.5.1-1-.1-1.1-.6-.1-.5.1-1 .6-1.1 2.5-.8 7-.7 10.9 1.6.4.3.6.8.4 1.2zm.1-3c-4.1-2.4-8.6-2.6-11.2-1.8-.6.2-1.2-.2-1.4-.7-.2-.6.2-1.2.7-1.4 3-.9 8.2-.7 12.9 2 .5.3.7 1 .4 1.5-.3.5-.9.7-1.4.4z'/%3E%3C/svg%3E");
}

.icon-apple-music {
  --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18.8 3.2 9 5.1v10.4c-.7-.3-1.7-.3-2.6 0-1.8.5-3 1.9-2.7 3.2.3 1.3 2 2 3.8 1.5 1.6-.4 2.7-1.6 2.8-2.8V9l7.1-1.4v6.2c-.7-.3-1.7-.3-2.6 0-1.8.5-3 1.9-2.7 3.2.3 1.3 2 2 3.8 1.5 1.7-.5 2.8-1.8 2.8-3.1V3.2z'/%3E%3C/svg%3E");
}

.icon-email {
  --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 5h18c.6 0 1 .4 1 1v12c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V6c0-.6.4-1 1-1zm9 8.2L5.7 7H4.4l7.6 7.5L19.6 7h-1.3L12 13.2z'/%3E%3C/svg%3E");
}

@media (max-width: 920px) {
  .site-header {
    padding: 0 18px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 72px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px;
    background: rgba(9, 9, 9, 0.96);
    border-bottom: 1px solid var(--line);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 13px 0;
  }

  .logout-form button {
    padding: 13px 0;
  }

  .site-footer {
    align-items: flex-start;
    padding: 28px 18px;
  }

  .footer-social {
    justify-content: flex-start;
  }

  .nav-group::after {
    display: none;
  }

  .submenu {
    position: static;
    display: grid;
    min-width: 0;
    padding: 0 0 0 18px;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .home-hero,
  .page-hero,
  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .page-hero {
    min-height: 220px;
    padding-top: 58px;
    padding-bottom: 32px;
  }

  .page-hero h1 {
    font-size: clamp(2rem, 12vw, 4rem);
  }

  .home-hero {
    min-height: 88vh;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, var(--bg) 0%, rgba(9, 9, 9, 0.34) 42%, rgba(9, 9, 9, 0.58) 100%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.22));
  }

  .next-show {
    justify-self: stretch;
  }

  .about-grid,
  .release-grid,
  .contact-form,
  .video-grid,
  .post-grid,
  .gallery-list,
  .video-board-list,
  .gallery-form,
  .gallery-grid,
  .admin-layout,
  .admin-panel {
    grid-template-columns: 1fr;
  }

  .gallery-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .gallery-search {
    grid-template-columns: 1fr;
  }

  .gallery-card-large {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 360px;
  }

  .message-list article,
  .board-row,
  .owner-action-form,
  .comment-item,
  .comment-form {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .comment-delete-form {
    grid-template-columns: 1fr;
  }

  .video-frame {
    min-height: 360px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
  }
}

@media (max-width: 520px) {
  .hero-actions,
  .button,
  .contact-form .button {
    width: 100%;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .stats div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats div:last-child {
    border-bottom: 0;
  }
}
