/* ============================================================
   DANIELLE MCLEAN — STYLES
   Mobile-first | Deep purple + white + accent purple
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Oswald:wght@400;500;600;700&display=swap');

:root {
  --bg-black: #000000;
  --bg-purple: #1a0a2e;
  --bg-purple-rich: #2d1154;
  --bg-card: #241340;
  --bg-card-hover: #2e1a50;
  --bg-input: #1e0e35;
  --white: #FFFFFF;
  --white-90: rgba(255, 255, 255, 0.9);
  --white-70: rgba(255, 255, 255, 0.7);
  --white-50: rgba(255, 255, 255, 0.5);
  --white-20: rgba(255, 255, 255, 0.2);
  --white-10: rgba(255, 255, 255, 0.1);
  --white-06: rgba(255, 255, 255, 0.06);
  --purple: #9333EA;
  --purple-bright: #A855F7;
  --purple-dark: #7E22CE;
  --purple-glow: rgba(147, 51, 234, 0.3);
  --purple-subtle: rgba(147, 51, 234, 0.08);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Oswald', 'Inter', sans-serif;
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 8px;
  --max-w: 1100px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--white);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover, a:focus-visible {
  color: var(--purple-bright);
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
  color: var(--white);
}

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--white-06);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--white);
  white-space: nowrap;
}

@media (max-width: 400px) {
  .nav-logo { font-size: 0.7rem; letter-spacing: 0.1em; }
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: var(--transition-base);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.98);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
}

.nav-menu.open {
  transform: translateX(0);
}

.nav-menu a {
  font-family: var(--font-heading);
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white-70);
  transition: color var(--transition-base);
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--purple-bright);
}

@media (min-width: 768px) {
  .nav-toggle { display: none; }

  .nav-menu {
    position: static;
    width: auto;
    height: auto;
    background: none;
    flex-direction: row;
    transform: none;
    gap: 2.25rem;
  }

  .nav-menu a {
    font-size: 0.8rem;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white-70);
  }

  .nav-menu a:hover,
  .nav-menu a:focus-visible {
    color: var(--white);
  }
}

/* ============================================================
   BANDS (full-width section wrappers)
   ============================================================ */

.band {
  width: 100%;
}

.band-black {
  background: var(--bg-black);
}

.band-purple {
  background: var(--bg-purple-rich);
  background-image: linear-gradient(135deg, rgba(147, 51, 234, 0.08) 0%, transparent 50%);
}

/* ============================================================
   SECTIONS (constrained inner content)
   ============================================================ */

.section {
  padding: 5.5rem 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 768px) {
  .section {
    padding: 6.5rem 2rem;
  }
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  color: var(--white);
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--purple);
  margin: 0 auto 3rem;
  border-radius: 2px;
}

.section-divider-white {
  background: var(--white);
  opacity: 0.4;
}

/* ============================================================
   CONTENT CARD (white-bordered container on black sections)
   ============================================================ */

.content-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

@media (min-width: 768px) {
  .content-card {
    padding: 3rem 3rem;
  }
}

/* ============================================================
   FADE-IN
   ============================================================ */

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-child {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger-child.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
  background: var(--bg-black);
  background-image: radial-gradient(ellipse at 50% 50%, rgba(147, 51, 234, 0.1) 0%, transparent 60%);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 14vw, 9rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 0.95;
  margin-bottom: 1.25rem;
  color: var(--white);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2.5vw, 1.35rem);
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white-50);
}

.hero-inner {
  transition: transform 0.1s linear, opacity 0.1s linear;
  will-change: transform, opacity;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.4;
  animation: heroFloat 2.5s ease-in-out infinite;
}

.hero-scroll span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--white-50);
}

.hero-scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--white-50), transparent);
}

@keyframes heroFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   ABOUT
   ============================================================ */

.about-content {
  display: grid;
  gap: 2.5rem;
  text-align: left;
}

.about-content.no-image {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.about-image-wrapper {
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  max-width: 380px;
  margin: 0 auto;
}

.about-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--white-70);
}

.about-text p {
  margin-bottom: 1.25rem;
}

.about-text p:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .about-content {
    grid-template-columns: 1fr 1.6fr;
    align-items: start;
    gap: 3.5rem;
  }

  .about-image-wrapper {
    margin: 0;
  }
}

/* ============================================================
   DISCOGRAPHY
   ============================================================ */

.songs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .songs-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .songs-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
}

.song-card {
  position: relative;
  cursor: pointer;
  text-align: center;
}

.song-cover {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.3);
  margin-bottom: 0.85rem;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.song-card:hover .song-cover {
  box-shadow: 0 8px 30px rgba(147, 51, 234, 0.2), 0 0 0 1px rgba(147, 51, 234, 0.3);
  transform: translateY(-2px);
}

.song-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.song-card:hover .song-cover img {
  transform: scale(1.05);
}

.song-cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
}

.song-cover-placeholder svg {
  width: 35%;
  height: 35%;
  opacity: 0.15;
}

.song-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
  color: var(--white);
}

.song-year {
  font-size: 0.75rem;
  color: var(--white-50);
}

.song-dropdown {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, margin 0.3s ease;
  margin-top: 0;
}

.song-dropdown.open {
  max-height: 200px;
  opacity: 1;
  margin-top: 0.75rem;
}

.song-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  margin-bottom: 0.4rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background var(--transition-base), border-color var(--transition-base);
  color: var(--white);
}

.song-link:hover,
.song-link:focus-visible {
  background: var(--purple-dark);
  border-color: var(--purple);
  color: var(--white);
}

.song-link svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* ============================================================
   VIDEOS
   ============================================================ */

.videos-grid {
  display: grid;
  gap: 1.75rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .videos-grid { grid-template-columns: repeat(2, 1fr); }
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================================
   GALLERY
   ============================================================ */

.gallery-carousel-wrap {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.gallery-carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 1rem 0 2rem;
}

.gallery-carousel::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  flex: 0 0 calc(50% - 0.5rem);
  scroll-snap-align: start;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

@media (min-width: 640px) {
  .gallery-item { flex: 0 0 calc(33.333% - 0.67rem); }
}

@media (min-width: 1024px) {
  .gallery-item { flex: 0 0 calc(25% - 0.75rem); }
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(147, 51, 234, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

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

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background var(--transition-base), transform var(--transition-base);
  line-height: 1;
}

.gallery-arrow:hover {
  background: rgba(147, 51, 234, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.gallery-arrow-left { left: -0.5rem; }
.gallery-arrow-right { right: -0.5rem; }

@media (max-width: 768px) {
  .gallery-arrow { display: none; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 4, 20, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
  padding: 2rem;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
  opacity: 0.6;
  transition: opacity var(--transition-base);
}

.lightbox-close:hover { opacity: 1; }

/* ============================================================
   CONTACT
   ============================================================ */

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 550px;
  margin: 0 auto;
  text-align: left;
  align-items: center;
}

.contact-content .socials-list {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white-50);
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 0.8rem 1rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px var(--purple-glow);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2.5rem;
  background: var(--purple);
  color: var(--white);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
  align-self: flex-start;
}

.btn-submit:hover {
  background: var(--purple-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--purple-glow);
}

.socials-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--white-70);
  transition: color var(--transition-base);
}

.social-link:hover {
  color: var(--purple-bright);
}

.social-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  text-align: center;
  padding: 3.5rem 1.5rem;
  background: var(--bg-black);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: var(--white-50);
}

.footer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  margin-bottom: 1.5rem;
}

.footer-socials a {
  color: var(--white-50);
  transition: color var(--transition-base);
}

.footer-socials a:hover {
  color: var(--purple-bright);
}

.footer-socials svg {
  width: 20px;
  height: 20px;
}

/* ============================================================
   CONTACT SUBMIT CENTERING
   ============================================================ */

.contact-form {
  width: 100%;
}

.contact-form .btn-submit {
  align-self: center;
  width: 100%;
}

/* ============================================================
   ADMIN DROPZONE
   ============================================================ */

.admin-dropzone {
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease;
  background: rgba(30, 14, 53, 0.5);
}

.admin-dropzone:hover,
.admin-dropzone.dragover {
  border-color: #9333EA;
  background: rgba(147, 51, 234, 0.08);
}

.admin-dropzone p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.admin-dropzone p span {
  color: #A855F7;
  text-decoration: underline;
  cursor: pointer;
}

.admin-dropzone-input {
  display: none;
}

.admin-dropzone-preview img {
  max-height: 80px;
  border-radius: 6px;
  margin: 0.5rem auto 0;
}

/* ============================================================
   ADMIN GALLERY GRID
   ============================================================ */

.admin-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .admin-gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .admin-gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

.admin-gallery-card {
  background: #241340;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  overflow: hidden;
  padding-bottom: 0.5rem;
}

.admin-gallery-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.admin-gallery-card-actions {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem;
}

/* ============================================================
   ADMIN MESSAGE ITEMS
   ============================================================ */

.admin-message-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #241340;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.admin-message-item:hover {
  background: #2e1a50;
}

.admin-message-item.unread {
  border-left: 3px solid #9333EA;
}

/* ============================================================
   ADMIN MESSAGE MODAL
   ============================================================ */

.admin-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(10, 4, 20, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.admin-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.admin-modal {
  background: #1e0e35;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  max-width: 550px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
}

.admin-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.admin-modal-header h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-modal-close {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.5);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
  transition: color 0.3s ease;
}

.admin-modal-close:hover {
  color: white;
}

/* ============================================================
   ADMIN PANEL STYLES
   ============================================================ */

.admin-login {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.admin-login-box {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.admin-login-box h1 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  margin-bottom: 0.5rem;
}

.admin-login-box input {
  background: var(--bg-input);
  border: 1px solid var(--white-10);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-base);
}

.admin-login-box input:focus {
  border-color: var(--purple);
}

.admin-error {
  color: #F87171;
  font-size: 0.85rem;
  text-align: center;
  display: none;
}

.admin-error.show {
  display: block;
}

.admin-wrap {
  display: none;
  min-height: 100dvh;
}

.admin-wrap.active {
  display: flex;
}

.admin-sidebar {
  width: 220px;
  background: var(--bg-card);
  border-right: 1px solid var(--white-06);
  padding: 1.5rem 0;
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
}

@media (min-width: 768px) {
  .admin-sidebar {
    display: flex;
  }
}

.admin-sidebar-header {
  padding: 0 1.25rem 1.5rem;
  border-bottom: 1px solid var(--white-06);
  margin-bottom: 1rem;
}

.admin-sidebar-header h2 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-sidebar-header p {
  font-size: 0.75rem;
  color: var(--white-50);
  margin-top: 0.25rem;
}

.admin-nav-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.7rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white-70);
  background: none;
  border: none;
  cursor: pointer;
  transition: background var(--transition-base), color var(--transition-base);
}

.admin-nav-item:hover,
.admin-nav-item.active {
  background: var(--purple-subtle);
  color: var(--purple-bright);
}

.admin-nav-item.active {
  border-right: 3px solid var(--purple);
}

.admin-logout {
  margin-top: auto;
  padding: 0.7rem 1.25rem;
  font-size: 0.85rem;
  color: var(--white-50);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--transition-base);
}

.admin-logout:hover { color: #F87171; }

.admin-main {
  flex: 1;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

@media (min-width: 768px) {
  .admin-main {
    margin-left: 220px;
    padding: 2.5rem 3rem;
  }
}

.admin-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--white-06);
}

@media (min-width: 768px) {
  .admin-mobile-header { display: none; }
}

.admin-mobile-menu-btn {
  background: none;
  border: 1px solid var(--white-10);
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  color: var(--white);
  font-size: 0.8rem;
  cursor: pointer;
}

.admin-panel {
  display: none;
}

.admin-panel.active {
  display: block;
}

.admin-panel h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
}

.admin-card {
  background: var(--bg-card);
  border: 1px solid var(--white-06);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.admin-field {
  margin-bottom: 1rem;
}

.admin-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white-50);
  margin-bottom: 0.35rem;
}

.admin-field input,
.admin-field textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--white-10);
  border-radius: 6px;
  padding: 0.65rem 0.85rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition-base);
}

.admin-field input:focus,
.admin-field textarea:focus {
  border-color: var(--purple);
}

.admin-field textarea {
  resize: vertical;
  min-height: 100px;
}

.admin-field input[type="file"] {
  padding: 0.5rem;
  font-size: 0.8rem;
}

.btn-admin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 6px;
  cursor: pointer;
  transition: background var(--transition-base), opacity var(--transition-base);
  border: none;
}

.btn-admin-primary {
  background: var(--purple);
  color: var(--white);
}

.btn-admin-primary:hover { background: var(--purple-dark); }

.btn-admin-danger {
  background: #991B1B;
  color: var(--white);
}

.btn-admin-danger:hover { background: #7F1D1D; }

.btn-admin-secondary {
  background: var(--bg-card-hover);
  color: var(--white-70);
  border: 1px solid var(--white-10);
}

.btn-admin-secondary:hover { background: var(--bg-card); }

.admin-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.admin-song-item,
.admin-gallery-item,
.admin-video-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--white-06);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 0.75rem;
}

.admin-song-item img,
.admin-gallery-item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--bg-card-hover);
  flex-shrink: 0;
}

.admin-song-cover-drop {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.admin-song-cover-drop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.admin-song-cover-drop.dragover {
  border-color: var(--purple-bright);
  box-shadow: 0 0 12px var(--purple-glow);
}

.admin-item-info {
  flex: 1;
  min-width: 0;
}

.admin-item-info h4 {
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-item-info p {
  font-size: 0.75rem;
  color: var(--white-50);
}

.admin-item-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.admin-sort-btn {
  background: var(--bg-card-hover);
  border: 1px solid var(--white-10);
  border-radius: 6px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white-70);
  font-size: 0.9rem;
  transition: background var(--transition-base);
}

.admin-sort-btn:hover {
  background: var(--bg-card);
}

.admin-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--purple);
  color: var(--white);
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
  z-index: 9000;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.admin-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.admin-mobile-sidebar {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 4, 20, 0.85);
}

.admin-mobile-sidebar.open {
  display: block;
}

.admin-mobile-sidebar .admin-sidebar {
  display: flex;
  transform: translateX(0);
}

/* ============================================================
   UTILITY
   ============================================================ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--white-50);
  font-size: 0.9rem;
}
