@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

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

:root {
  color-scheme: dark;
  --bg-1: #0a0a0c;
  --bg-2: #141416;
  --accent: #f2f2f2;
  --accent-dim: #9a9a9a;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #f2eefc;
  background: linear-gradient(160deg, var(--bg-1), var(--bg-2));
  min-height: 100vh;
}

.backlink {
  display: inline-block;
  margin: 1rem clamp(1rem, 5vw, 3rem);
  color: var(--accent);
  text-decoration: none;
  font-size: 0.95rem;
}

.backlink:hover,
.backlink:focus-visible {
  text-decoration: underline;
}

.hero {
  position: relative;
  text-align: center;
  padding: clamp(2rem, 8vw, 5rem) 1rem 2rem;
  overflow: hidden;
  isolation: isolate;
}

@media (prefers-reduced-motion: no-preference) {
  .vinyl,
  .eq--hero,
  .wordmark,
  .tagline--main,
  .fullname,
  .hero > .tagline:not(.tagline--main) {
    animation: hero-in 0.8s ease both;
  }

  .vinyl { animation-delay: 0.05s; }
  .eq--hero { animation-delay: 0.2s; }
  .wordmark { animation-delay: 0.35s; }
  .tagline--main { animation-delay: 0.5s; }
  .fullname { animation-delay: 0.65s; }
  .hero > .tagline:not(.tagline--main) { animation-delay: 0.8s; }
}

@keyframes hero-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__waves {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero__waves span {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid rgba(242, 242, 242, 0.18);
}

.hero__waves span:nth-child(2) {
  border-color: rgba(242, 242, 242, 0.13);
}

.hero__waves span:nth-child(3) {
  border-color: rgba(242, 242, 242, 0.09);
}

@media (prefers-reduced-motion: no-preference) {
  .hero__waves span {
    animation: wave 6s ease-out infinite;
  }
  .hero__waves span:nth-child(2) { animation-delay: 2s; }
  .hero__waves span:nth-child(3) { animation-delay: 4s; }
}

@keyframes wave {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(6); opacity: 0; }
}

.vinyl {
  position: relative;
  width: clamp(90px, 16vw, 140px);
  margin: 0 auto 1rem;
  cursor: pointer;
}

.vinyl:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
  border-radius: 50%;
}

.scratch-msg {
  position: absolute;
  top: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--accent);
  white-space: nowrap;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .scratch-msg {
    animation: scratch-float 0.9s ease forwards;
  }

  .vinyl__disc.scratching {
    animation: scratch 0.45s ease-out;
  }
}

@keyframes scratch-float {
  0% { opacity: 0; transform: translate(-50%, 0); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -26px); }
}

@keyframes scratch {
  0% { transform: rotate(0deg); }
  35% { transform: rotate(-30deg); }
  100% { transform: rotate(330deg); }
}

.vinyl__disc {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    repeating-radial-gradient(
      circle,
      #1a1a1a 0px,
      #1a1a1a 3px,
      #0a0a0a 3px,
      #0a0a0a 6px
    );
  box-shadow: 0 0 30px rgba(242, 242, 242, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vinyl__label {
  width: 32%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
}

@media (prefers-reduced-motion: no-preference) {
  .vinyl__disc {
    animation: spin 6s linear infinite;
  }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.eq {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  height: 40px;
  margin-bottom: 1rem;
}

.eq--hero {
  height: clamp(50px, 8vw, 80px);
  gap: 7px;
  margin-bottom: 1.25rem;
  cursor: pointer;
  padding: 0.5rem;
}

.eq--hero:focus-visible {
  outline: none;
}

.eq--hero span {
  width: 9px;
}

.eq span {
  width: 6px;
  background: linear-gradient(0deg, var(--accent), var(--accent-dim));
  border-radius: 3px;
  height: 40%;
}

@media (prefers-reduced-motion: no-preference) {
  .eq span {
    animation: eq 1.1s ease-in-out infinite;
  }
  .eq span:nth-child(2) { animation-delay: 0.1s; }
  .eq span:nth-child(3) { animation-delay: 0.2s; }
  .eq span:nth-child(4) { animation-delay: 0.05s; }
  .eq span:nth-child(5) { animation-delay: 0.3s; }
  .eq span:nth-child(6) { animation-delay: 0.15s; }
  .eq span:nth-child(7) { animation-delay: 0.25s; }
}

@keyframes eq {
  0%, 100% { height: 20%; }
  50% { height: 90%; }
}

.wordmark {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 7vw, 4.2rem);
  letter-spacing: -0.01em;
  text-shadow: 0 0 24px rgba(242, 242, 242, 0.35);
}

.tagline {
  margin-top: 0.75rem;
  color: #d9c9f0;
  font-size: clamp(0.9rem, 2vw, 1.15rem);
}

.tagline--main {
  margin-top: 0.4rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  color: var(--accent);
  text-shadow: 0 0 16px rgba(242, 242, 242, 0.3);
}

.fullname {
  margin-top: 0.6rem;
  color: #a998c4;
  font-size: clamp(0.8rem, 1.6vw, 0.95rem);
}

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 3rem) 3rem;
}

.section {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.section.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .section {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.section h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  color: var(--accent);
  margin-bottom: 1rem;
}

.section p {
  max-width: 68ch;
  line-height: 1.6;
  color: #ece6f7;
}

.genre-pills {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.pill {
  position: relative;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.35em 0.85em;
  border-radius: 999px;
  border: 1px solid var(--accent-dim);
  color: var(--accent-dim);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pill:hover,
.pill:focus-visible {
  transform: translateY(-2px);
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--bg-1);
  outline: none;
}

.pill-msg {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  color: #fff;
  white-space: nowrap;
  pointer-events: none;
  text-transform: none;
  z-index: 1;
}

@keyframes pill-msg-float {
  0% { opacity: 0; transform: translate(-50%, -6px); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 10px); }
}

@media (prefers-reduced-motion: no-preference) {
  .pill-msg {
    animation: pill-msg-float 1.4s ease forwards;
  }
}

.embeds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 700px) {
  .embeds {
    grid-template-columns: 1fr;
  }
}

.embed-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 24px rgba(242, 242, 242, 0.1);
  max-width: 100%;
}

.embed-wrap iframe {
  display: block;
  max-width: 100%;
  border: 0;
}

.gigs-intro {
  max-width: 60ch;
  margin-bottom: 1.25rem;
  color: #c9c0dc;
  font-size: 0.9rem;
  line-height: 1.5;
}

.gigs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.gig-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  cursor: default;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.gig-card--linked {
  cursor: pointer;
}

.gig-card--linked:hover,
.gig-card--linked:focus-visible {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(242, 242, 242, 0.5);
  box-shadow: 0 8px 24px rgba(242, 242, 242, 0.15);
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  .gig-card {
    transition: none;
  }
}

.gig-card__series {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
}

.gig-card__genre {
  display: inline-block;
  margin-top: 0.3rem;
  font-size: 0.8rem;
  color: var(--accent-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.gig-card__desc {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #c9c0dc;
}

.reveal-btn {
  font-family: inherit;
  font-size: 1rem;
  background: transparent;
  border: 1px solid var(--accent);
  color: #fff;
  padding: 0.55em 1.2em;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 0 0 rgba(242, 242, 242, 0.4);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal-btn {
    animation: pulse 2.4s ease-in-out infinite;
  }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 rgba(242, 242, 242, 0.4); }
  50% { box-shadow: 0 0 16px rgba(242, 242, 242, 0.45); }
}

.reveal-btn:hover,
.reveal-btn:focus-visible {
  background: var(--accent);
  color: var(--bg-1);
}

#email-slot {
  margin-left: 0.75rem;
}

#email-slot a {
  color: var(--accent);
}

.socials {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.socials a {
  color: #f2eefc;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 2px;
  font-size: 0.95rem;
}

.socials a:hover,
.socials a:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

footer {
  padding-bottom: 2rem;
}

.party-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 10, 12, 0.92);
  border: 1px solid var(--accent);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 20;
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .party-toast {
    animation: toast-in 0.3s ease, toast-out 0.4s ease 2.6s forwards;
  }

  body.party .hero {
    animation: party-pulse 0.6s ease-in-out infinite;
  }
}

@keyframes toast-in {
  from { opacity: 0; transform: translate(-50%, 10px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes toast-out {
  to { opacity: 0; }
}

@keyframes party-pulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.35); }
}
