@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800&family=Inter:wght@400;500;600&display=swap');

/* =========================================================
   GLOBAL SETTINGS
   ========================================================= */
:root {
  --bg: #09090c;
  --bg-soft: #111117;
  --bg-alt: #15151d;
  --card: #1b1b25;

  --text: #f5f5f7;
  --muted: #b9bac7;

  --line: rgba(255,255,255,0.08);

  --accent: #b30000;
  --accent-hover: #d10000;

  --max-width: 1180px;
  --radius: 12px;

  --shadow: 0 18px 50px rgba(0,0,0,0.32);
}

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

html {
  scroll-behavior: smooth;
  background: #09090c;
}

body {
  position: relative;
  min-height: 100vh;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  background: #09090c;
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  isolation: isolate;
}

body.has-site-background::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background-image:
    linear-gradient(180deg, rgba(9,9,12,0.42), rgba(17,17,23,0.64)),
    url("../images/background.webp");
  background-position: top center, top center;
  background-size: 100% 100%, auto 100%;
  background-repeat: no-repeat, no-repeat;
  z-index: 0;
  pointer-events: none;
}

body > * {
  position: relative;
  z-index: 1;
}

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

a {
  text-decoration: none;
  color: inherit;
}

iframe {
  width: 100%;
  border: 0;
}

audio {
  width: 100%;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 10px 14px;
  background: var(--accent);
  color: #fff;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
}

.skip-link:focus {
  transform: translateY(0);
}

/* =========================================================
   LAYOUT
   ========================================================= */
.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 70px 0;
}

.alt-section {
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-main {
  min-height: calc(100vh - 160px);
}

.compact-section {
  padding: 35px 0;
}

/* =========================================================
   TYPE
   ========================================================= */
.section-kicker {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3.5px;
  margin-bottom: 12px;
}

.section-intro {
  max-width: 760px;
  color: var(--muted);
  margin-bottom: 24px;
}

h1,
h2,
h3 {
  line-height: 1.1;
}

h1,
h2 {
  font-family: 'Barlow Condensed', Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: 0.03em;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 6rem);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  text-transform: uppercase;
  margin-bottom: 18px;
}

h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

p {
  color: var(--muted);
  margin-bottom: 16px;
}

/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(9,9,12,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.site-header.scrolled {
  background: rgba(9,9,12,0.98);
}

.nav {
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
}

.logo {
  height: 78px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.2s ease;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}

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

.nav-links a.active {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.burger {
  display: none;
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 6px;
}

/* =========================================================
   BUTTONS / LINKS
   ========================================================= */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: var(--line);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.04);
  transform: translateY(-1px);
}

.small-btn {
  padding: 10px 18px;
  font-size: 0.78rem;
}

.full-btn {
  width: 100%;
  text-align: center;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
  letter-spacing: 0.5px;
}

.text-link::after {
  content: '→';
  transition: transform 0.2s ease;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--accent-hover);
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: translateX(5px);
}

/* =========================================================
   HOME INTRODUCTION
   ========================================================= */
.home-intro {
  min-height: calc(100vh - 108px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.intro-content {
  padding: 100px 0;
  max-width: 760px;
}

.main-logo {
  width: min(760px, 92%);
  height: auto;
  display: block;
  margin-bottom: 22px;
}

.intro-text {
  color: #e7e7ec;
  max-width: 620px;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 18px 0 30px;
}

.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================================================
   PAGE INTRODUCTION
   ========================================================= */
.page-intro {
  padding: 70px 0 30px;
}

.compact-intro h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
}

/* =========================================================
   GRIDS
   ========================================================= */
.two-columns {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px;
  align-items: center;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: start;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-column {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.top-gap {
  margin-top: 24px;
}

/* =========================================================
   CARDS
   ========================================================= */
.card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.content-card,
.contact-card {
  padding: 24px;
}

.content-card:hover,
.contact-card:hover {
  border-color: rgba(255,255,255,0.14);
}

.image-card img {
  width: 100%;
  min-height: 370px;
  object-fit: cover;
}

/* =========================================================
   VIDEO / AUDIO / EMBEDS
   ========================================================= */
.video-card {
  display: flex;
  flex-direction: column;
}

.video-card iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-content {
  padding: 18px;
}

.video-card .text-link {
  display: inline-flex;
  margin-top: 10px;
}

.spotify-embed iframe {
  display: block;
  width: 100%;
  background: transparent;
}

.store-card {
  max-width: 760px;
}

/* =========================================================
   SHOWS
   ========================================================= */
.shows-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.show-item {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
  transition: border-color 0.25s ease;
}

.show-item:hover {
  border-color: rgba(255,255,255,0.14);
}

.show-date {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.show-info h3 {
  margin-bottom: 4px;
}

/* =========================================================
   LISTS
   ========================================================= */
.contact-list,
.clean-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.contact-list li,
.clean-list li {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-list strong {
  color: var(--text);
}

/* =========================================================
   GALLERY
   ========================================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  cursor: pointer;
  display: block;
  background: none;
  padding: 0;
}

.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.07);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0,0,0,0.7);
  transform: scale(0.92);
  transition: transform 0.3s ease;
}

.lightbox.open img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s ease;
  padding: 6px;
}

.lightbox-close:hover {
  opacity: 1;
}

/* Compact Spotify embed on home page */
.spotify-home {
  max-width: 720px;
}

/* Lightbox nav arrows */
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 4px;
  line-height: 1;
  opacity: 0.75;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 1;
  background: rgba(255,255,255,0.22);
}

.lightbox-counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  pointer-events: none;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
  pointer-events: none;
  box-shadow: 0 4px 18px rgba(0,0,0,0.4);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--accent-hover);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 18px;
    right: 16px;
    width: 40px;
    height: 40px;
  }

  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }

  .lightbox-prev,
  .lightbox-next {
    padding: 10px 12px;
    font-size: 1.1rem;
  }
}

/* =========================================================
   MEMBERS
   ========================================================= */
.members-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.member-card {
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.member-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.14);
}

.member-photo {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center top;
}

.member-content {
  padding: 16px;
  text-align: center;
}

.member-content h3 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.member-content p {
  margin: 0;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .members-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .member-photo {
    height: 300px;
  }
}

@media (max-width: 980px) {
  .cards-grid,
  .video-grid,
  .gallery-grid,
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-columns {
    grid-template-columns: 1fr;
  }

  .show-item {
    grid-template-columns: 140px 1fr;
  }

  .show-item .btn {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(90%, var(--max-width));
  }

  h1 {
    font-size: clamp(2.2rem, 12vw, 3.5rem);
  }

  h2 {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
    margin-bottom: 14px;
  }

  h3 {
    font-size: 0.98rem;
  }

  p {
    font-size: 0.97rem;
  }

  .burger {
    display: block;
  }

  .nav {
    min-height: 72px;
  }

  .logo {
    height: 46px;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(9,9,12,0.98);
    padding: 8px 5% 12px;
    border-bottom: 1px solid var(--line);
  }

  .nav-links a {
    width: 100%;
    padding: 13px 4px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    border-left: 3px solid transparent;
    font-size: 0.82rem;
    letter-spacing: 2.5px;
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .nav-links a.active {
    color: var(--text);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    border-left-color: var(--accent);
    padding-left: 12px;
  }

  .nav-links a.active:last-child {
    border-bottom: 0;
  }

  .nav-links.open {
    display: flex;
  }

  .home-intro {
    min-height: auto;
  }

  .intro-content {
    padding: 46px 0 52px;
    max-width: 100%;
  }

  .main-logo {
    width: min(82vw, 420px);
    margin-bottom: 16px;
  }

  .intro-text {
    font-size: 0.98rem;
    margin: 14px 0 22px;
  }

  .intro-actions {
    gap: 10px;
  }

  .intro-actions .btn {
    width: 100%;
    text-align: center;
  }

  .page-intro {
    padding: 42px 0 18px;
  }

  .compact-intro h1 {
    font-size: clamp(2.2rem, 11vw, 3rem);
  }

  .section {
    padding: 46px 0;
  }

  .two-columns {
    gap: 20px;
  }

  .cards-grid,
  .video-grid,
  .contact-grid,
  .members-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .content-card,
  .contact-card {
    padding: 18px;
  }

  .image-card img {
    min-height: 0;
    max-height: 280px;
    object-fit: cover;
  }

  .show-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px;
  }

  .show-date {
    font-size: 0.75rem;
  }

  .show-item .btn,
  .social-row .btn,
  .social-column .btn {
    width: 100%;
    text-align: center;
  }

  .gallery-item img {
    height: 190px;
  }

  .member-photo {
    height: 290px;
  }

  .member-content {
    padding: 14px;
  }

  .spotify-embed iframe {
    height: 300px;
  }

  .site-footer {
    padding: 20px 0;
  }

  .footer-wrap {
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 420px) {
  .container {
    width: 90%;
  }

  .btn {
    padding: 11px 16px;
  }

  .main-logo {
    width: 86vw;
  }

  .member-photo {
    height: 250px;
  }

  .gallery-item img {
    height: 170px;
  }

  .content-card,
  .contact-card,
  .show-item {
    padding: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =========================================================
   MERCH
   ========================================================= */
.merch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.merch-card {
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease;
}

.merch-card:hover {
  border-color: rgba(255,255,255,0.14);
}

.merch-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #000;
  border-bottom: 1px solid var(--line);
}

.merch-content {
  padding: 20px;
}

.merch-content h3 {
  margin-bottom: 8px;
}

.merch-content p {
  margin-bottom: 18px;
}

.store-note {
  margin-top: 32px;
}

.store-note .btn {
  margin-top: 6px;
}

@media (max-width: 980px) {
  .merch-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .merch-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .merch-card img {
    aspect-ratio: 4 / 3;
  }

  .merch-content {
    padding: 16px;
  }

  .merch-content .btn {
    width: 100%;
    text-align: center;
  }

  .store-note {
    margin-top: 24px;
  }
}

/* =========================================================
   COMING SOON / UNDER DEVELOPMENT
   ========================================================= */
.soon-badge {
  display: inline-block;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 36px;
}

.soon-heading {
  font-family: 'Barlow Condensed', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 5vw, 3.4rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text);
  line-height: 1.05;
  margin-bottom: 0;
}

.soon-divider {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: 28px 0;
}

.soon-text {
  max-width: 540px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 0;
}

.soon-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.soon-aside {
  display: grid;
  gap: 16px;
}

@media (max-width: 768px) {
  .soon-links .btn {
    width: 100%;
    text-align: center;
  }
}

/* =========================================================
   LOGIN PAGE (Pro Area)
   ========================================================= */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  background: var(--bg);
}

.login-box {
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.login-logo {
  height: 56px;
  width: auto;
  margin: 0 auto 40px;
  opacity: 0.9;
}

.login-box h1 {
  font-size: 2.4rem;
  margin-bottom: 6px;
}

.login-subtitle {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 36px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.login-field {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--text);
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 14px 16px;
  width: 100%;
  transition: border-color 0.2s ease;
}

.login-field::placeholder {
  color: var(--muted);
  font-size: 0.92rem;
}

.login-field:focus {
  outline: none;
  border-color: var(--accent);
}

.login-error {
  background: rgba(179,0,0,0.1);
  border: 1px solid rgba(179,0,0,0.35);
  border-radius: 4px;
  color: #ff7070;
  font-size: 0.88rem;
  padding: 12px 16px;
  text-align: left;
  margin-bottom: 4px;
}

.login-note {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 28px;
  line-height: 1.7;
}

.login-note a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.pro-logout {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease;
}

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

.pro-header-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.pro-header-bar .pro-logout {
  margin-top: 6px;
  flex-shrink: 0;
}
