@font-face {
  font-family: 'system-serif';
}

:root {
  --gold: #d4b96a;
  --gold-bright: #f0d998;
  --ink: #0a0a0a;
  --paper: #f7f4ee;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--ink);
  color: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  overflow-x: hidden;
}

#page-root {
  min-height: 100vh;
  width: 100%;
}

.page-slide-transition {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-incoming {
  position: fixed;
  inset: 0;
  min-height: 100vh;
  width: 100%;
  z-index: 50;
  overflow: hidden;
  background: var(--ink);
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 2.25rem;
  padding: 1.5rem 1rem;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 100%);
}

.site-nav a {
  color: var(--paper);
  text-decoration: none;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  transition: color 0.25s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--gold-bright);
}

.page-shell {
  min-height: 100vh;
  background: var(--ink);
}

.page-content {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12vh 5vw 6vh;
  gap: 3rem;
  max-width: 640px;
  margin: 0 auto;
}

.page-content.no-title {
  padding-top: 8vh;
}

.page-title {
  font-size: clamp(2.25rem, 8vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0;
  text-align: center;
  color: var(--paper);
  text-shadow: 0 4px 24px rgba(0,0,0,0.7);
}

.page-body {
  width: 100%;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(247,244,238,0.92);
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.shows-content {
  max-width: 480px;
}

.shows-poster {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.about-shell {
  position: relative;
}

.about-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url('assets/about-bg.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.about-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.5) 35%, rgba(0,0,0,0.75) 100%);
  z-index: 1;
}

.about-shell .site-nav,
.about-shell .page-content {
  position: relative;
  z-index: 2;
}

.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 30%, rgba(0,0,0,0.55) 70%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
}

.content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8vh 5vw 6vh;
  gap: 8vh;
}

.hero {
  text-align: center;
  margin-top: 4vh;
}

.artist-name {
  font-size: clamp(3rem, 12vw, 7rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0;
  text-shadow: 0 4px 30px rgba(0,0,0,0.6);
}

.tagline {
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin: 0.75rem 0 0;
}

.section-label {
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin: 0 0 1.25rem;
  text-align: center;
  font-weight: 600;
}

.links-section {
  width: 100%;
  max-width: 640px;
}

.music-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.music-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.music-link:hover {
  background: rgba(255,255,255,0.18);
  border-color: var(--gold-bright);
  transform: translateY(-2px);
}

.music-link .icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
}

.music-link .icon svg {
  width: 100%;
  height: 100%;
}

.split-section {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.panel {
  flex: 1 1 320px;
  max-width: 400px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.panel-copy {
  font-size: 0.92rem;
  color: rgba(247,244,238,0.75);
  margin: 0 0 1.5rem;
  line-height: 1.5;
}

.qr-code {
  width: 160px;
  height: 160px;
  border-radius: 12px;
  background: #fff;
  padding: 10px;
}

.shows-button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.5rem;
  border-radius: 999px;
  background: transparent;
  border: 2px solid var(--gold-bright);
  color: var(--gold-bright);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.shows-button .icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
}

.shows-button .icon svg {
  width: 100%;
  height: 100%;
}

.shows-button:hover {
  background: var(--gold-bright);
  color: #1a1a1a;
  transform: translateY(-2px);
}

.gigs-panel {
  justify-content: center;
}

.donate-panel {
  justify-content: center;
}

.donate-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #1a1a1a;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 8px 24px rgba(212, 185, 106, 0.3);
}

.donate-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(212, 185, 106, 0.45);
}

.site-footer {
  margin-top: auto;
  padding-top: 2vh;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(247,244,238,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.footer-link .icon {
  width: 13px;
  height: 13px;
  display: inline-flex;
}

.footer-link .icon svg {
  width: 100%;
  height: 100%;
}

.footer-link:hover {
  color: var(--gold-bright);
}

.sound-toggle {
  position: fixed;
  left: 1.5rem;
  bottom: 1.5rem;
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.sound-toggle:hover {
  background: rgba(0,0,0,0.6);
  border-color: var(--gold-bright);
  transform: translateY(-2px);
}

.sound-toggle:not(.interacted) {
  animation: sound-toggle-pulse 2.5s ease-in-out infinite;
}

@keyframes sound-toggle-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(240, 217, 152, 0.5);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(240, 217, 152, 0);
  }
}

.sound-toggle svg {
  width: 22px;
  height: 22px;
}

.sound-toggle .icon-unmuted {
  display: none;
}

.sound-toggle.is-unmuted .icon-muted {
  display: none;
}

.sound-toggle.is-unmuted .icon-unmuted {
  display: block;
}

.contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.contact-form label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
  color: var(--paper);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold-bright);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form .honeypot-field {
  position: absolute;
  left: -9999px;
}

.contact-submit {
  align-self: center;
  margin-top: 0.5rem;
  padding: 1rem 2.5rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #1a1a1a;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 8px 24px rgba(212, 185, 106, 0.3);
}

.contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(212, 185, 106, 0.45);
}

.form-status {
  text-align: center;
  font-size: 0.95rem;
}

@media (max-width: 480px) {
  .content {
    gap: 6vh;
    padding: 6vh 4vw 5vh;
  }
  .music-link {
    font-size: 0.85rem;
    padding: 0.7rem 1.1rem;
  }
}
