:root {
  --bg: #050505;
  --ink: #f5f5f5;
  --muted: #a3a3a3;
  --panel: #111111;
  --line: #262626;
  --brand: #ffffff;
}

* { box-sizing: border-box; }
html {
  overflow-x: hidden;
}
body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at top right, #1a1a1a, transparent 45%), var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}

.global-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #050505;
  display: grid;
  place-items: center;
  transition: opacity 260ms ease;
  opacity: 1;
}

.global-loader.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.global-loader-icon {
  width: clamp(52px, 16vw, 92px);
  height: auto;
  animation: loader-breathe 1.8s ease-in-out infinite;
}

@keyframes loader-breathe {
  0%, 100% {
    transform: scale(0.94);
    opacity: 0.78;
  }
  50% {
    transform: scale(1.03);
    opacity: 1;
  }
}

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

h1, h2, h3 {
  margin: 0 0 0.5rem;
  line-height: 1.1;
}

h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
h2 { font-size: clamp(1.25rem, 2.5vw, 2rem); }

.shell {
  width: min(980px, 92vw);
  margin: 2rem auto 4rem;
  display: grid;
  gap: 1rem;
}

.narrow { width: min(560px, 92vw); }

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.hero-panel {
  background: linear-gradient(140deg, #111111, #090909 45%, #1c1c1c);
}

.kicker {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--muted);
}

.actions, .row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.between { justify-content: space-between; }

.stack {
  display: grid;
  gap: 0.9rem;
}

.grid {
  display: grid;
  gap: 0.9rem;
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

label {
  font-size: 0.95rem;
  display: grid;
  gap: 0.35rem;
}

input, select, textarea {
  width: 100%;
  border: 1px solid #303030;
  border-radius: 10px;
  padding: 0.7rem;
  font: inherit;
  background: #0a0a0a;
  color: #fafafa;
}

input[type="color"] {
  min-height: 46px;
  padding: 0.2rem;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #111111;
  border: none;
  border-radius: 10px;
  padding: 0.65rem 1rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.btn.alt {
  background: #1f1f1f;
  color: #f5f5f5;
  border: 1px solid #303030;
}

.muted { color: var(--muted); }
.small { font-size: 0.84rem; }
.error {
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 0.7rem;
  border-radius: 10px;
}

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

.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem;
  background: #0a0a0a;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

table {
  width: 100%;
  border-collapse: collapse;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
}

th, td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0.5rem;
  font-size: 0.92rem;
}

.landing {
  min-height: 100vh;
  color: #fff;
  padding: 3rem 1rem 4rem;
  max-width: 760px;
  margin: 0 auto;
}

.landing-hero h1 {
  font-size: clamp(2rem, 7vw, 3.2rem);
  margin-bottom: 0.5rem;
}

.landing-hero .sub {
  max-width: 680px;
  opacity: 0.9;
}
.tour-artwork-wrap {
  margin-bottom: 1.2rem;
}

.tour-artwork {
  width: 100%;
  border-radius: 18px;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.landing-body {
  margin-top: 1.5rem;
  max-width: 760px;
  line-height: 1.5;
}

.items-grid {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.item-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  overflow: hidden;
  padding: 0;
  background: #0b0b0d;
}

.item-card a { color: var(--accent); font-weight: 700; }
.item-card a.ticket-btn { color: #ffffff; }
.event-date {
  font-size: 0.85rem;
  color: #d4d4d8;
  background: linear-gradient(90deg, #1d1d22, #25252d);
  padding: 0.6rem 0.8rem;
}

.event-main {
  padding: 0.9rem 0.8rem;
  align-items: center;
}

.event-main > :first-child {
  min-width: 0;
}

.event-actions {
  margin-left: auto;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.event-badge-top {
  align-self: flex-end;
  min-width: 118px;
  display: inline-flex;
  justify-content: center;
  text-align: center;
}

.event-main h3 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.event-venue {
  margin: 0.25rem 0 0;
  color: #c4c4c7;
}

.event-badge {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ticket-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0.42rem 0.8rem;
  min-width: 118px;
  font-weight: 700;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.ticket-btn-solid {
  background: var(--accent);
  color: #ffffff;
}

.ticket-btn-outline {
  border: 1px solid var(--accent);
  color: #ffffff;
}

.ticket-btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  background: transparent;
}

.event-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem;
  background: #0b0b0b;
}

.artwork-preview {
  width: min(100%, 420px);
  border-radius: 12px;
  border: 1px solid var(--line);
  display: none;
}

.music-featured-card {
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 0;
}

.music-featured-link {
  display: block;
}

.music-featured-media {
  position: relative;
  background: #0f0f10;
}

.music-featured-media > img {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.music-media-fallback {
  min-height: 240px;
  display: grid;
  place-items: center;
  color: #f5f5f5;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.yt-top-overlay {
  position: absolute;
  inset: 0 0 auto 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0.65rem 0.7rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
}

.yt-video-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.yt-avatar {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px;
  min-height: 36px;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  object-fit: cover !important;
  display: block;
}

.yt-avatar-fallback {
  background: rgba(255, 255, 255, 0.2);
}

.yt-title {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(130vw, 1800px);
}

.yt-play-badge {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.yt-bottom-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  margin: 0.7rem;
  padding: 0.5rem 0.7rem;
  border-radius: 10px;
  background: rgba(17, 17, 20, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

.yt-bottom-overlay img {
  width: 18px;
  height: 18px;
}

.music-platform-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.music-platform-row {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: #0c0c0f;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0.95rem;
}

.music-platform-left {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
}

.music-platform-left img {
  width: 20px;
  height: 20px;
}

.music-platform-action {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.music-videos-section {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.7rem;
}

.music-videos-section h2 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #c7c7cb;
}

.music-videos-section .stack {
  gap: 0.7rem;
}

.music-video-row {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: #0d0d11;
  color: #fff;
  padding: 0.75rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
}

.music-video-left {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.music-video-thumb {
  width: 72px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.music-video-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(46vw, 420px);
}

.music-video-row span:last-child {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.merch-grid {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.merch-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  overflow: hidden;
  background: #0d0d11;
}

.merch-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.merch-content {
  padding: 0.8rem;
  display: grid;
  gap: 0.65rem;
}

.merch-content h3 {
  margin: 0;
}

.merch-title {
  white-space: nowrap;
  line-height: 1.15;
  font-size: 0.95rem;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 700;
}

.merch-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  min-height: 28px;
}

.merch-badge {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.95);
}

.merch-price {
  margin: 0;
  color: #f4f4f5;
  font-weight: 700;
  font-size: 0.85rem;
}

.merch-carousel {
  margin-top: 0;
  position: relative;
  max-width: 100%;
}

.merch-carousel-window {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.merch-grid-track {
  display: flex;
  gap: 0.9rem;
  transition: transform 220ms ease;
  will-change: transform;
  width: 100%;
  max-width: 100%;
}

.merch-grid-track .merch-card {
  flex: 0 0 calc((100% - 1.8rem) / 3);
  min-width: 0;
  max-width: 100%;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: #111319;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 2;
}

.carousel-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

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

.landing-footer {
  text-align: center;
  margin-top: 2.3rem;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
}

.home-shell {
  min-height: 100vh;
  width: min(960px, 92vw);
  margin: 0 auto;
  display: grid;
  align-items: center;
  padding: clamp(2.25rem, 7vw, 5rem) 0;
}

.home-hero {
  max-width: 860px;
  display: grid;
  gap: 1rem;
}

.home-brand {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.72rem;
}

.home-sub {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  max-width: 78ch;
  line-height: 1.5;
}

.home-proof {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.45;
}

.home-contact-toggle {
  width: fit-content;
  margin-top: 0.25rem;
}

.home-contact-wrap {
  margin-top: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0b0b0d;
  padding: 1rem;
  max-width: 600px;
}

.home-form-intro {
  margin: 0 0 0.95rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.45;
}

.home-contact-form {
  display: grid;
  gap: 0.78rem;
}

.home-contact-form label {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.88);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.home-contact-form input,
.home-contact-form select {
  margin-top: 0.25rem;
}

.hp-wrap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.home-form-actions {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.2rem;
}

.home-form-note {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.56);
}

.field-error {
  margin: 0;
  color: #fca5a5;
  font-size: 0.78rem;
}

.home-contact-success h2 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
}

.home-contact-success p {
  margin: 0 0 0.75rem;
  color: rgba(255, 255, 255, 0.82);
}

.home-contact-success .row {
  gap: 0.6rem;
}

@media (prefers-reduced-motion: reduce) {
  .global-loader,
  .global-loader-icon {
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 680px) {
  .shell { margin-top: 1rem; }
  .landing { padding-top: 1rem; }
  .home-shell {
    align-items: start;
    padding-top: 1.25rem;
  }
  .home-hero {
    gap: 0.85rem;
  }
  .home-proof {
    font-size: 0.88rem;
  }
  .home-contact-wrap {
    max-width: 100%;
    padding: 0.85rem;
  }
  .home-contact-success h2 {
    font-size: 1rem;
  }
  .landing-hero h1 { font-size: 2.7rem; }
  .music-featured-card { border-radius: 14px; }
  .music-platform-row { padding: 0.8rem 0.85rem; }
  .yt-title { max-width: 96vw; }
  .table-scroll table { min-width: 560px; }
  th, td { font-size: 0.82rem; padding: 0.58rem 0.42rem; }
  .merch-grid-track {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 1.2rem) / 2.3);
    gap: 0.6rem;
    align-items: stretch;
  }
  .merch-grid-track .merch-card {
    flex: 0 0 auto;
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  .merch-title { font-size: 0.95rem; }
  .merch-price { font-size: 0.85rem; }
  .merch-badge { font-size: 0.58rem; }
  .carousel-btn {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
  .carousel-prev { left: 6px; }
  .carousel-next { right: 6px; }
}
