/* ============================================
   BOOMERHELDEN — Brutalist Post Punk
   ============================================ */

/* --- RESET & BASE --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --text: #e8e4de;
  --text-muted: #8a8680;
  --border: #2a2a2a;
  --accent: #c4c0b8;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'IBM Plex Mono', monospace;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

/* --- FILM GRAIN OVERLAY --- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
  animation: grain 0.5s steps(6) infinite;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -10%); }
  20% { transform: translate(-15%, 5%); }
  30% { transform: translate(7%, -15%); }
  40% { transform: translate(-5%, 15%); }
  50% { transform: translate(-15%, 10%); }
  60% { transform: translate(15%, 0%); }
  70% { transform: translate(0%, 10%); }
  80% { transform: translate(3%, -15%); }
  90% { transform: translate(-10%, 10%); }
}

/* --- DISTRESSED TEXT EFFECT --- */
.distressed {
  position: relative;
  display: inline-block;
}

.distressed::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='d'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23d)'/%3E%3C/svg%3E");
  background-size: cover;
  mix-blend-mode: color-burn;
  opacity: 0.4;
  pointer-events: none;
}

/* --- SECTION TITLE --- */
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 6rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.95;
  color: var(--text);
  margin-bottom: 2rem;
}

/* --- HERO --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 1rem;
}

.hero__cover {
  width: 30vw;
  min-width: 260px;
  max-width: 480px;
  height: auto;
  display: block;
  margin: 0 auto;
  border: 2px solid var(--border);
  filter: contrast(1.05);
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: var(--text-muted);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.2; transform: scaleY(0.6); }
  50% { opacity: 0.8; transform: scaleY(1); }
}

/* --- BAND --- */
.band {
  padding: 6rem 1.5rem;
  border-top: 1px solid var(--border);
}

.band__inner {
  max-width: 900px;
  margin: 0 auto;
}

.band__photo-wrap {
  border: 2px solid var(--border);
}

.band__photo {
  width: 100%;
  display: block;
  filter: grayscale(0.3) contrast(1.1);
}

/* --- SONGS --- */
.song {
  padding: 5rem 1.5rem;
  border-top: 1px solid var(--border);
}

.song__inner {
  max-width: 700px;
  margin: 0 auto;
}

.song__inner--right {
  margin-left: auto;
  margin-right: 1.5rem;
}

@media (min-width: 768px) {
  .song__inner--right {
    margin-right: auto;
    margin-left: auto;
    text-align: right;
  }
  .song__inner--right .audio-player {
    direction: ltr;
  }
}

.song__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 7vw, 5rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.9;
  color: var(--text);
  margin-bottom: 0.75rem;
}


/* --- CUSTOM AUDIO PLAYER --- */
.audio-player {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.75rem 1rem;
}

.ap__play {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.ap__play:hover {
  background: var(--border);
}

.ap__play svg {
  width: 14px;
  height: 14px;
}

.ap__icon-pause { display: none; }
.audio-player.playing .ap__icon-play { display: none; }
.audio-player.playing .ap__icon-pause { display: block; }

.ap__track {
  flex: 1;
  height: 3px;
  background: var(--border);
  cursor: pointer;
  position: relative;
}

.ap__progress {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.1s linear;
}

.ap__time {
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
  min-width: 80px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.ap__download {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color 0.15s;
}

.ap__download:hover {
  color: var(--text);
}

.ap__download svg {
  width: 16px;
  height: 16px;
}


/* --- LIVE --- */
.live {
  padding: 6rem 1.5rem;
  border-top: 1px solid var(--border);
}

.live h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.live__grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 0.75rem;
}

.live__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.4) contrast(1.15);
  border: 2px solid var(--border);
  transition: filter 0.3s;
}

.live__item img:hover {
  filter: grayscale(0) contrast(1.05);
}

.live__item--1 {
  grid-column: 1 / 8;
  grid-row: 1 / 2;
  transform: rotate(-1.2deg);
}

.live__item--2 {
  grid-column: 7 / 13;
  grid-row: 1 / 2;
  transform: rotate(0.8deg);
  margin-top: 1.5rem;
}

.live__item--3 {
  grid-column: 1 / 5;
  grid-row: 2 / 3;
  transform: rotate(1.5deg);
}

.live__item--4 {
  grid-column: 4 / 9;
  grid-row: 2 / 3;
  transform: rotate(-0.6deg);
  margin-top: -1rem;
}

.live__item--5 {
  grid-column: 8 / 13;
  grid-row: 2 / 3;
  transform: rotate(1deg);
}

@media (max-width: 600px) {
  .live__grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .live__item--1,
  .live__item--2,
  .live__item--3,
  .live__item--4,
  .live__item--5 {
    grid-column: auto;
    grid-row: auto;
    transform: none;
    margin-top: 0;
  }

  .live__item--5 {
    grid-column: 1 / -1;
  }
}

/* --- SUPPORT --- */
.support {
  padding: 6rem 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.support__tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  letter-spacing: 0.05em;
}

.support__tiers {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  max-width: 700px;
  margin: 0 auto;
}

.support__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 2rem;
  border: 2px solid var(--border);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
  min-width: 180px;
}

.support__btn:hover {
  border-color: var(--accent);
  background: #1a1a1a;
}

.support__amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  text-transform: uppercase;
}

.support__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* --- FOOTER --- */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem;
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer__brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__links {
  display: flex;
  gap: 1rem;
}

.footer__links a {
  color: var(--text-muted);
  transition: color 0.15s;
}

.footer__links a:hover {
  color: var(--text);
}

.footer__links svg {
  width: 22px;
  height: 22px;
}

.footer__copy {
  font-size: 0.7rem;
  color: var(--text-muted);
  width: 100%;
  text-align: center;
  margin-top: 1rem;
}

/* --- UTILITIES --- */
::selection {
  background: var(--accent);
  color: var(--bg);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
}

/* Focus states */
:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 2px;
}
