:root {
  --bg: #0f0f0f;
  --ink: #ffffff;
  --muted: #b3b3b3;
  --accent: #ffffff;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
}

/* AMBIENT BACKGROUND LAYERS */

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

/* Noise layer */
body::before {

  /* Overscan beyond viewport */
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;

  background-image: url("../assets/images/noise.png");
  background-size: cover;
  opacity: 0.25;

  pointer-events: none;
  z-index: -1;

  animation: noise-drift 38s ease infinite;
}

/* Ambient background animations */

@keyframes noise-drift {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-1%, 1%); }
  40%  { transform: translate(1%, -1%); }
  60%  { transform: translate(-1%, -1%); }
  80%  { transform: translate(1%, 1%); }
  100% { transform: translate(0, 0); }
}

@keyframes glow-breathe {
  0%   { opacity: 0.35; }
  100% { opacity: 0.65; }
}

/* HERO */

.hero-main {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  max-height: 80vh;
  max-width: 90vw;
  align-self: flex-start;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.05);
}

.hero-overlay {
  min-height:80vh;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding: 9.5rem 2rem;

  background: linear-gradient(
    to top,
    rgba(0,0,0,0.0) 0%,
    rgba(0,0,0,0.95) 46%,
    rgba(0,0,0,0.25) 55%,
    rgba(0,0,0,0.0) 65%
  );
  animation: glow-breathe 2s ease both;
}

.hero-overlay h1 {
  font-size: clamp(2.6rem, 6vw, 4rem);
  letter-spacing: 0.16em;
  margin-bottom: 0.5rem;
  margin-top:0;
}

.hero-actions-top {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-actions-top button {
  padding: 0.65rem 1.6rem;
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.8);
  background: transparent;
  color: white;
  cursor: pointer;
}

.hero-actions-top button.primary {
  background: white;
  color: black;
}

.hero-actions-top button.primary:hover {
  opacity: 0.9;
}

.hero-actions-top button.secondary {
  opacity: 0.9;
}

.artist {
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.85;
}

.release {
  margin-top: 0.75rem;
  font-size: 1.5rem;
  opacity: 0.75;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
}

button {
  padding: 0.75rem 1.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

button.primary {
  background: var(--ink);
  color: #000;
}

button.primary:hover {
  opacity: 0.9;
}

/* Light bloom overlay */
body.vhs-bloom::after {
  content: "";
  position: fixed;
  inset: -10%;
  pointer-events: none;
  z-index: 9999;

  background: radial-gradient(
    ellipse at center,
    rgba(255,255,255,0.35),
    rgba(255,255,255,0.15) 40%,
    rgba(0,0,0,0.6) 75%
  );

  mix-blend-mode: screen;
  opacity: 0.9;

  animation: vhs-bloom-overlay 1.6s ease-out forwards;
}

@keyframes vhs-bloom-overlay {
  0% {
    opacity: 1;
  }
  60% {
    opacity: 0.4;
  }
  100% {
    opacity: 0;
  }
}


.album-cover {
  will-change: filter, transform;
}

.album-cover.vhs-bloom {
  animation: vhs-bloom 1.4s ease-out forwards;
}

@keyframes vhs-bloom {
  0% {
    filter:
      brightness(1.9)
      contrast(1.2)
      saturate(1.1)
      drop-shadow(6px 0 0 rgba(255,0,0,0.35))
      drop-shadow(-6px 0 0 rgba(0,255,255,0.35));
    transform: scale(1.02);
  }

  40% {
    filter:
      brightness(1.15)
      contrast(1.1)
      saturate(1.05)
      drop-shadow(3px 0 0 rgba(255,0,0,0.18))
      drop-shadow(-3px 0 0 rgba(0,255,255,0.18));
  }

  100% {
    filter:
      brightness(1)
      contrast(1)
      saturate(1);
    transform: scale(1);
  }
}

/* SECTIONS */

section {
  padding: 4rem 1.5rem;
  max-width: 720px;
  margin: auto;
  text-align: center;
}

.info {
  margin-top: 90px;
  font-size: 1.05rem;
  color: #e5e5e5;
}

/* TRACKLIST */

.tracklist{
  background: url(../assets/images/trackback.jpg) no-repeat center;
  background-size: cover;
  max-width:100vw;
}
.tracklist ul {
  padding:0;
}
.tracklist li {
  list-style: none;
  margin-top:10px;
}

/* SIGNUP */

.signup input {
  padding: 0.75rem;
  width: 260px;
  border: none;
  margin: 0.5rem;
}

.signup button {
  border: none;
  background: var(--ink);
  color: #000;
}

/* FOOTER */

footer {
  padding: 2rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
}
@media (max-width: 768px) {
  .hero-actions-top {
    margin:0;
    flex-direction: column;
    width: 100%;
    gap: 1.2rem;
  }

  .hero-actions-top button {
    width: 100%;
    padding: 0.9rem 1rem;
    font-size: 1.3rem;
  }
}