/* ─────────────────────────────────────────────
   Pulse Theory Combat — style.css
   Dark, minimal Virgin Music Group inspired aesthetic
   with infinite auto-scrolling horizontal release slider
   and smooth Left-to-Right About Us & Contact Us drawers
───────────────────────────────────────────── */

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

:root {
  --bg: #000000;
  --surface: #111111;
  --surface-hover: #1a1a1a;
  --border: #222222;
  --text-primary: #ffffff;
  --text-muted: #888888;
  --text-dim: #555555;
  --accent-hover: #cccccc;
  --card-radius: 8px;
  --transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

html, body {
  height: 100%;
  width: 100%;
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── HEADER (CENTERED) ── */
.site-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 24px 30px;
  z-index: 10;
}

.logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-logo {
  max-width: 320px;
  max-height: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(1);
  transition: transform var(--transition), opacity var(--transition);
  user-select: none;
}

.site-logo:hover {
  transform: scale(1.03);
  opacity: 0.9;
}

/* ── RELEASES SECTION (AUTO SCROLLING SLIDER) ── */
.releases-section {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0 30px;
  position: relative;
  overflow: hidden;
}

.carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
}

.carousel-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: infiniteScroll 45s linear infinite;
  will-change: transform;
  padding: 15px 0;
}

.carousel-container:hover .carousel-track {
  animation-play-state: paused;
}

@keyframes infiniteScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% / 3));
  }
}

/* ── ALBUM CARD ── */
.album-card {
  width: 140px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  cursor: pointer;
  transition: transform var(--transition);
}

.album-card:hover {
  transform: translateY(-6px);
}

.album-cover-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: var(--card-radius);
  overflow: hidden;
  background: var(--surface);
  margin-bottom: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
}

.album-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition), filter var(--transition);
  border-radius: var(--card-radius);
}

.album-card:hover .album-cover {
  transform: scale(1.05);
  filter: brightness(1.12);
}

.album-info {
  width: 100%;
  text-align: left;
}

.album-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.3;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.album-artist {
  font-size: 10px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── FOOTER (UNIFORM & PERFECTLY ALIGNED) ── */
.site-footer {
  width: 100%;
  padding: 30px 24px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  z-index: 10;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  transition: color var(--transition), opacity var(--transition);
}

.social-link:hover {
  color: var(--accent-hover);
  opacity: 0.8;
}

.social-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Navigation Buttons Container */
.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.footer-nav-link {
  background: none;
  border: none;
  outline: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
  margin: 0;
  transition: color var(--transition);
}

.footer-nav-link:hover {
  color: var(--text-primary);
}

.nav-separator {
  color: var(--text-dim);
  font-size: 10px;
  user-select: none;
}

.footer-email {
  margin-top: -2px;
}

.footer-email-text {
  color: var(--text-dim);
  font-size: 10.5px;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color var(--transition);
}

.footer-email-text:hover {
  color: var(--text-muted);
}

.footer-copy {
  color: #333333;
  font-size: 9.5px;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* ── SLIDE DRAWERS (LEFT TO RIGHT ANIMATION) ── */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  z-index: 100;
}

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

.slide-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 420px;
  max-width: 85vw;
  height: 100vh;
  background: #090909;
  border-right: 1px solid var(--border);
  box-shadow: 12px 0 40px rgba(0, 0, 0, 0.9);
  z-index: 101;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 44px 32px 40px;
  overflow-y: auto;
}

.slide-drawer.active {
  transform: translateX(0);
}

.close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: color var(--transition), transform var(--transition);
}

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

.drawer-content {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.drawer-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}

.drawer-text {
  font-size: 12.5px;
  color: #cccccc;
  line-height: 1.65;
  letter-spacing: 0.01em;
}

/* Contact Box inside Drawer */
.contact-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 5px;
}

.contact-box-label {
  font-size: 9px;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

.contact-box-email {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  word-break: break-all;
  transition: color var(--transition);
}

.contact-box-email:hover {
  color: var(--accent-hover);
}

.copy-email-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1e1e1e;
  color: var(--text-primary);
  border: 1px solid #333;
  border-radius: 4px;
  padding: 6px 12px;
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

.copy-email-btn:hover {
  background: #2a2a2a;
  border-color: #555;
}

.drawer-meta {
  margin-top: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-label {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

.meta-val {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.meta-link {
  font-size: 11.5px;
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition);
}

.meta-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .site-header {
    padding: 36px 20px 20px;
  }

  .site-logo {
    max-width: 240px;
  }

  .album-card,
  .album-cover-wrap {
    width: 115px;
    height: 115px;
  }

  .album-cover-wrap {
    height: 115px;
  }

  .carousel-track {
    gap: 18px;
    animation-duration: 35s;
  }

  .slide-drawer {
    width: 320px;
    padding: 36px 24px 30px;
  }
}

@media (max-width: 480px) {
  .album-card,
  .album-cover-wrap {
    width: 100px;
    height: 100px;
  }

  .album-cover-wrap {
    height: 100px;
  }

  .site-logo {
    max-width: 190px;
  }
}
