/* ==============================================================
 * NICO BUCKER 官网 — 极简重构（去AI感 / 留白优先 / 克制冷调）
 * 风格基调：黑底 + 一抹冷青强调 + serif 大标题；卡片仅以
 * 1px 细线与留白区分层级，避免大阴影/渐变/glow 模板痕迹。
 * ============================================================== */

:root {
  --bg: #0a0b10;
  --bg-2: #11131a;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f3f4f8;
  --muted: #8a90a3;
  --accent: #6fd6e6;
  --max: 1240px;
  --radius: 2px;
  --sans: "Inter", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: "EB Garamond", "Georgia", "Times New Roman", serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button, a { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { text-decoration: none; }
img { display: block; max-width: 100%; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ============= 顶部导航 ============= */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 24px;
  background: rgba(10, 11, 16, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand { width: 132px; flex: 0 0 auto; }
.brand img { width: 100%; height: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.site-nav a { color: rgba(243, 244, 248, 0.78); transition: color 0.18s ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--accent); }

.lang-toggle {
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.06em;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.lang-toggle:hover, .lang-toggle:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.menu-toggle { display: none; width: 38px; height: 32px; }
.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px; height: 1px;
  margin: 0 auto 4px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle.is-open span:first-child { transform: translateY(5px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { transform: translateY(0) rotate(-45deg); }

main { position: relative; z-index: 1; }

/* ============= Hero ============= */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 132px 24px 88px;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 11, 16, 0.45) 0%, rgba(10, 11, 16, 0.92) 100%),
    url("assets/images/band-hero.webp") center center / cover no-repeat;
  filter: grayscale(0.15);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 56px;
  align-items: end;
}

.hero-copy { max-width: 760px; }

.eyebrow {
  margin: 0 0 18px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 400; }

h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(56px, 8vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.005em;
}

.hero-statement {
  max-width: 360px;
  margin: 22px 0 30px;
  font-size: 17px;
  color: rgba(243, 244, 248, 0.84);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.button-primary { background: var(--text); color: #0a0b10; border-color: var(--text); }
.button-primary:hover, .button-primary:focus-visible { background: var(--accent); border-color: var(--accent); color: #0a0b10; }

.button-secondary { background: transparent; }
.button-secondary:hover, .button-secondary:focus-visible { border-color: var(--accent); color: var(--accent); }

.hero-rail {
  display: grid;
  gap: 16px;
}

.hero-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(10, 11, 16, 0.5);
  transition: border-color 0.18s ease;
}
.hero-card:hover, .hero-card:focus-visible { border-color: var(--line-strong); }

.hero-card img {
  width: 72px; height: 72px;
  object-fit: cover;
}

.card-kicker {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.hero-card strong,
.news-copy strong,
.goods-copy p,
.featured-track-head strong,
.track-item strong {
  display: block;
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.15;
  font-weight: 400;
}

.hero-card p,
.news-copy p,
.goods-copy p,
.featured-track-head p,
.track-item p,
.schedule-row p,
.schedule-note p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-meta {
  position: relative;
  z-index: 1;
  margin: 56px auto 0;
  width: min(var(--max), 100%);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ============= Section 通用 ============= */

.section {
  width: 100%;
  padding: 120px 24px;
  border-top: 1px solid var(--line);
}

.section-head {
  width: min(var(--max), 100%);
  margin: 0 auto 56px;
}
.section-head p {
  margin: 0 0 16px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.005em;
}
.section-head span {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
  max-width: 540px;
}

/* ============= News ============= */

.news-grid,
.goods-grid,
.music-grid,
.live-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.news-card {
  display: flex;
  flex-direction: column;
}
.news-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 18px;
}
.news-copy {
  padding-top: 4px;
  border-top: 1px solid var(--line);
}
.news-copy span {
  display: block;
  margin-top: 14px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ============= Goods ============= */

.goods-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: center;
}

.goods-preview { margin: 0; }
.goods-preview img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.goods-preview figcaption {
  margin-top: 12px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.goods-copy { display: grid; gap: 22px; align-content: start; }
.goods-copy p { font-size: 17px; max-width: 32ch; }

.goods-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.goods-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.goods-copy p:last-child {
  color: var(--muted);
  font-size: 14px;
}

/* ============= Music ============= */

.music-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 36px;
  align-items: start;
}

.featured-track,
.live-schedule {
  padding: 32px;
  border: 1px solid var(--line);
}

.featured-track-head {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.featured-track-head span {
  font-family: var(--display);
  font-size: 18px;
  color: var(--accent);
  font-feature-settings: "tnum";
}

.featured-track-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.play-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: background 0.18s ease, color 0.18s ease;
}
.play-button:hover, .play-button:focus-visible,
.play-button.is-playing { background: var(--accent); color: #0a0b10; }

.play-icon {
  width: 0; height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid currentColor;
}
.play-button.is-playing .play-icon {
  width: 9px; height: 9px;
  border: 0;
  background: linear-gradient(90deg, currentColor 0 33%, transparent 33% 66%, currentColor 66%);
}

.track-link {
  font-size: 13px;
  color: var(--text);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
}
.track-link:hover, .track-link:focus-visible { color: var(--accent); border-color: var(--accent); }

.audio-player {
  display: none;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.audio-player.is-active { display: flex; }
.audio-player b { color: var(--text); font-weight: 400; font-family: var(--display); }

.audio-pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.4s infinite;
}

.audio-close {
  margin-left: auto;
  font-size: 22px;
  line-height: 1;
  color: var(--muted);
}

.track-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.track-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  transition: background 0.18s ease;
}
.track-item:hover { background: rgba(255, 255, 255, 0.02); }
.track-item span {
  font-family: var(--display);
  color: var(--accent);
  font-size: 16px;
  font-feature-settings: "tnum";
}
.track-item em {
  font-style: normal;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.track-item a {
  color: var(--text);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  font-size: 13px;
}
.track-item a:hover, .track-item a:focus-visible { color: var(--accent); border-color: var(--accent); }

/* ============= Live ============= */

.live-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 36px;
  align-items: stretch;
}

.live-schedule { display: grid; gap: 22px; }

.schedule-row {
  display: grid;
  grid-template-columns: 64px 120px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}
.schedule-row span {
  color: var(--muted);
  font-size: 13px;
}
.schedule-row strong {
  font-family: var(--display);
  font-size: 44px;
  line-height: 1;
  font-weight: 400;
}
.schedule-row h3 {
  margin: 4px 0 0;
  font-family: var(--display);
  font-size: 26px;
  line-height: 1.15;
}

.schedule-note {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.schedule-note span {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.schedule-note p {
  margin-top: 8px;
  color: var(--muted);
}

.schedule-footer {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.live-stills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-content: stretch;
}
.live-stills img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* ============= Gallery（去空洞 3 列网格）============= */

.gallery-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 220px;
  gap: 12px;
}

.gallery-item {
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
  position: relative;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.25s ease;
}
.gallery-item:hover img,
.gallery-item:focus-visible img { transform: scale(1.04); opacity: 0.92; }

/* 让第 1 张跨 2 列 2 行（视觉锚点），无空洞 */
.gallery-grid .gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

/* ============= SNS ============= */

.sns { padding-bottom: 88px; }
.sns-row {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.sns-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(243, 244, 248, 0.86);
  font-size: 12px;
  letter-spacing: 0.06em;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.sns-chip:hover, .sns-chip:focus-visible { border-color: var(--accent); color: var(--accent); }
.sns-chip-primary { color: var(--accent); border-color: var(--line-strong); }

.sns-note {
  width: min(var(--max), 100%);
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 13px;
}

/* ============= Footer ============= */

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 20px;
  align-items: center;
  padding: 26px 24px 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.site-footer a:hover, .site-footer a:focus-visible { color: var(--accent); }

/* ============= Lightbox ============= */

.lightbox {
  max-width: min(960px, 92vw);
  padding: 0;
  border: 1px solid var(--line-strong);
  background: #07080d;
  color: var(--text);
}
.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(8px);
}
.lightbox figure { margin: 0; }
.lightbox img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  background: #05060b;
}
.lightbox figcaption {
  padding: 14px 18px 16px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.lightbox-close {
  position: absolute;
  top: 0; right: 0;
  width: 42px; height: 42px;
  background: var(--text);
  color: #0a0b10;
  font-size: 24px;
}

/* ============= Reveal 渐显（去AI感的克制版）============= */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 6px rgba(111, 214, 230, 0); }
  100% { box-shadow: 0 0 0 0 rgba(111, 214, 230, 0); }
}

/* ============= 响应式 ============= */

@media (max-width: 1120px) {
  .hero-inner,
  .goods-grid,
  .music-grid,
  .live-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hero-card { grid-template-columns: 60px minmax(0, 1fr); }
  .hero-card img { width: 60px; height: 60px; }

  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-auto-rows: 200px; }
}

@media (max-width: 760px) {
  .site-header { padding: 14px 16px; }
  .brand { width: 108px; }
  .menu-toggle { display: block; }

  .site-nav {
    position: absolute;
    inset: 100% 0 auto;
    display: grid;
    gap: 0;
    padding: 16px;
    background: rgba(10, 11, 16, 0.98);
    border-top: 1px solid var(--line);
    transform: translateY(-110%);
    visibility: hidden;
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.2s ease, visibility 0.2s;
  }
  .site-nav.is-open {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
  }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
  .lang-toggle { margin-top: 12px; justify-self: start; }

  .hero { padding: 96px 16px 56px; }
  .hero-rail { grid-template-columns: 1fr; }
  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-top: 36px;
  }

  .section { padding: 80px 16px; }

  .news-grid { grid-template-columns: 1fr; gap: 32px; }

  .track-item { grid-template-columns: 40px minmax(0, 1fr); gap: 16px; }
  .track-item em, .track-item a { grid-column: 2; }

  .schedule-row { grid-template-columns: 1fr; gap: 10px; }
  .schedule-row strong { font-size: 36px; }
  .schedule-row h3 { font-size: 22px; }

  .live-stills { grid-template-columns: 1fr 1fr; }

  .featured-track,
  .live-schedule { padding: 24px; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }
  .gallery-grid .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }
  .site-footer span:nth-child(2) { display: none; }
}

@media (max-width: 480px) {
  .hero { min-height: auto; padding-top: 90px; }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }
  .gallery-grid .gallery-item:nth-child(1) {
    grid-column: span 1;
    grid-row: span 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}