/* ============================================================
   the catenaccio — Official Site Stylesheet
   ============================================================ */

/* -------------------------------------------------------
   1. Custom Properties
------------------------------------------------------- */
:root {
  --color-bg:        #080808;
  --color-surface:   #111111;
  --color-surface2:  #181818;
  --color-border:    #2a2a2a;
  --color-text:      #e8e8e8;
  --color-muted:     #888888;
  --color-accent:    #00d4ff;
  --color-accent-dim:#007a99;
  --color-white:     #ffffff;

  --font-sans: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  --font-mono: 'Courier New', 'Lucida Console', monospace;

  --spacing-xs:   0.5rem;
  --spacing-sm:   1rem;
  --spacing-md:   2rem;
  --spacing-lg:   4rem;
  --spacing-xl:   7rem;
  --spacing-xxl: 10rem;

  --radius-sm: 2px;
  --radius-md: 6px;

  --transition: 0.3s ease;

  --header-h: 64px;
}

/* -------------------------------------------------------
   2. Reset & Base
------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

/* -------------------------------------------------------
   3. Film Grain Overlay
------------------------------------------------------- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* -------------------------------------------------------
   3b. Section Bokeh — city lights via ::before pseudo-element
------------------------------------------------------- */
.section, .sns-section, #site-footer {
  position: relative;
}

.section::before, .sns-section::before, #site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 10% 25%, rgba(255,140,30,0.20) 0%, transparent 65%),
    radial-gradient(ellipse 55% 70% at 90% 15%, rgba(0,180,255,0.16) 0%, transparent 65%),
    radial-gradient(ellipse 45% 55% at 60% 88%, rgba(0,212,255,0.14) 0%, transparent 65%),
    radial-gradient(ellipse 30% 40% at 80% 55%, rgba(200,60,255,0.12) 0%, transparent 65%),
    radial-gradient(ellipse 25% 35% at 35% 70%, rgba(255,190,60,0.12) 0%, transparent 65%);
  background-attachment: fixed;
}

.section .container, .sns-section .container, #site-footer .container {
  position: relative;
  z-index: 1;
}

/* -------------------------------------------------------
   4. Typography
------------------------------------------------------- */
.section-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--color-white);
}

.section-title span {
  color: var(--color-accent);
}

.section-lead {
  color: var(--color-muted);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  margin-top: 0.5rem;
}

/* -------------------------------------------------------
   5. Layout Utilities
------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: var(--spacing-md);
}

.section {
  padding-top: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
}

.section-header {
  margin-bottom: var(--spacing-md);
}

/* -------------------------------------------------------
   6. Header & Navigation
------------------------------------------------------- */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), backdrop-filter var(--transition);
}

#site-header.scrolled {
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: var(--spacing-md);
}

.site-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 2px;
}

.site-logo .logo-en {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  color: var(--color-white);
}

.site-logo .logo-ja {
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  color: var(--color-accent);
}

/* Desktop Nav */
.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  gap: var(--spacing-md);
}

.nav-desktop a {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
  transition: color var(--transition);
  padding-bottom: 2px;
  position: relative;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--color-white);
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 18px;
  padding: 0;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--color-white);
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(8.25px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-8.25px) rotate(-45deg);
}

/* Mobile Drawer */
.nav-drawer {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 8, 0.97);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.nav-drawer.open {
  opacity: 1;
  pointer-events: all;
}

.nav-drawer ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  text-align: center;
}

.nav-drawer a {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
  transition: color var(--transition);
  padding: 0.25rem 0;
}

.nav-drawer a:hover {
  color: var(--color-accent);
}

/* Drawer close button */
.drawer-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.drawer-close span {
  display: block;
  position: absolute;
  width: 24px;
  height: 1.5px;
  background: var(--color-muted);
  transition: background var(--transition);
}

.drawer-close span:nth-child(1) {
  transform: rotate(45deg);
}

.drawer-close span:nth-child(2) {
  transform: rotate(-45deg);
}

.drawer-close:hover span {
  background: var(--color-white);
}

.nav-drawer-sns {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.nav-drawer-sns a {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--color-muted);
  transition: color var(--transition);
}

.nav-drawer-sns a:hover {
  color: var(--color-accent);
}

/* -------------------------------------------------------
   7. Hero Section
------------------------------------------------------- */
#top {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Hero background image (set via JS / <picture>) */
.hero-bg-img {
  /* スマホ: 縦長画像を幅100%・高さ全体カバー */
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: brightness(0.4) saturate(0.3);
  opacity: 0;
  transition: opacity 1.4s ease;
}

/* PC: 横長画像・中央基準カバー */
@media (min-width: 900px) {
  .hero-bg-img {
    object-position: center center;
  }
}

/* -------------------------------------------------------
   都市の光 — Bokeh Layer
   mix-blend-mode: screen で写真に光を重ねる
------------------------------------------------------- */
.hero-bokeh {
  position: absolute;
  inset: 0;
  overflow: hidden;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
}

.hero-bokeh span {
  position: absolute;
  border-radius: 50%;
}

/* 暖色: 街灯・ビルの光 */
.b1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,150,30,0.18) 0%, transparent 70%);
  top: -80px; left: -80px;
  animation: bokehDrift1 14s ease-in-out infinite;
}
.b3 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255,180,50,0.2) 0%, transparent 65%);
  bottom: 8%; left: 18%;
  animation: bokehDrift3 11s ease-in-out infinite;
}
.b8 {
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(255,210,90,0.3) 0%, transparent 70%);
  top: 55%; right: 28%;
  animation: bokehDrift2 7s ease-in-out infinite;
}
.b9 {
  width: 700px; height: 350px;
  background: radial-gradient(ellipse, rgba(255,110,20,0.08) 0%, transparent 70%);
  bottom: -50px; left: 50%;
  transform: translateX(-50%);
}

/* 寒色: ネオン・LED */
.b2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(0,200,255,0.14) 0%, transparent 70%);
  top: 25%; right: 3%;
  animation: bokehDrift2 10s ease-in-out infinite;
}
.b5 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(40,80,255,0.1) 0%, transparent 70%);
  bottom: -20px; right: -40px;
  animation: bokehDrift1 15s ease-in-out infinite;
}
.b7 {
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(0,212,255,0.15) 0%, transparent 70%);
  top: 48%; left: 8%;
  animation: bokehDrift3 9s ease-in-out infinite;
}

/* アクセント: ネオンサイン */
.b6 {
  width: 100px; height: 100px;
  background: radial-gradient(circle, rgba(255,60,140,0.2) 0%, transparent 70%);
  top: 12%; right: 22%;
  animation: bokehDrift3 8s ease-in-out infinite;
}
.b10 {
  width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(180,60,255,0.15) 0%, transparent 70%);
  top: 38%; left: 58%;
  animation: bokehDrift2 12s ease-in-out infinite;
}

/* 白い光: 強いスポット */
.b4 {
  width: 90px; height: 90px;
  background: radial-gradient(circle, rgba(255,245,210,0.35) 0%, transparent 70%);
  top: 18%; left: 42%;
  animation: bokehPulse 6s ease-in-out infinite;
}

/* アニメーション */
@keyframes bokehDrift1 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(22px, -18px); }
}
@keyframes bokehDrift2 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(-18px, 24px); }
}
@keyframes bokehDrift3 {
  0%, 100% { transform: translate(0, 0); }
  33%       { transform: translate(12px, 18px); }
  66%       { transform: translate(-22px, -8px); }
}
@keyframes bokehPulse {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(1.8); }
}

/* Gradient overlay（画像あり: 半透明 / 画像なし: fallback） */
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0, 80, 120, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(0, 50, 80, 0.2) 0%, transparent 55%),
    linear-gradient(180deg, rgba(10,10,20,0.45) 0%, rgba(5,5,8,0.55) 55%, rgba(0,0,0,0.88) 100%);
}

/* Scanline effect */
.hero-bg-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.15) 2px,
    rgba(0, 0, 0, 0.15) 4px
  );
  pointer-events: none;
}

/* Neon glow lines */
.hero-bg-neon {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg-neon::before {
  content: '';
  position: absolute;
  top: 30%;
  left: -10%;
  width: 120%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-accent) 40%, var(--color-accent) 60%, transparent 100%);
  opacity: 0.08;
  animation: neonPulse 6s ease-in-out infinite;
}

.hero-bg-neon::after {
  content: '';
  position: absolute;
  bottom: 25%;
  right: -5%;
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-accent) 50%, transparent 100%);
  opacity: 0.06;
  animation: neonPulse 8s ease-in-out infinite 2s;
}

@keyframes neonPulse {
  0%, 100% { opacity: 0.04; }
  50% { opacity: 0.14; }
}

/* Bottom fade */
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, transparent, var(--color-bg));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: var(--spacing-xl);
}

.hero-content .container {
  padding-top: var(--header-h);
}

.hero-eyebrow {
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.3s forwards;
}

.hero-band-name {
  font-size: clamp(2.8rem, 10vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--color-white);
  text-shadow: 0 0 80px rgba(0, 212, 255, 0.08);
  opacity: 0;
  animation: fadeUp 0.8s ease 0.5s forwards;
}

.hero-band-name .the {
  font-size: 0.35em;
  font-weight: 400;
  letter-spacing: 0.2em;
  display: block;
  color: var(--color-muted);
  text-transform: lowercase;
  margin-bottom: 0.3em;
}

.hero-tagline {
  margin-top: 1.5rem;
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  color: var(--color-muted);
  letter-spacing: 0.08em;
  max-width: 480px;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.7s forwards;
}

.hero-scroll-hint {
  position: absolute;
  bottom: var(--spacing-md);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeIn 1s ease 1.5s forwards;
}

.hero-scroll-hint span {
  font-size: 0.55rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* -------------------------------------------------------
   7b. Section backgrounds
------------------------------------------------------- */
#news, #profile, #discography, #contact {
  background: var(--color-bg);
}
#live, #member, #video {
  background: var(--color-surface);
}
.sns-section {
  background: var(--color-bg);
}
#site-footer {
  background: var(--color-surface);
}

/* -------------------------------------------------------
   8. News Section
------------------------------------------------------- */
#news {
  border-top: 1px solid var(--color-border);
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.news-item {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: var(--spacing-sm) var(--spacing-md);
  align-items: baseline;
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition);
}

.news-item:first-child {
  border-top: 1px solid var(--color-border);
}

.news-date {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-muted);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.news-tag {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  padding: 2px 8px;
  border-radius: 2px;
  white-space: nowrap;
}

.news-text {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.5;
}

.news-text a {
  transition: color var(--transition);
}

.news-text a:hover {
  color: var(--color-accent);
}

/* -------------------------------------------------------
   9. Live / Schedule Section
------------------------------------------------------- */
#live {
  border-top: 1px solid var(--color-border);
}

.live-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.live-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xs);
  padding: var(--spacing-md);
  background: var(--color-surface2);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  transition: border-color var(--transition), transform var(--transition);
}

.live-item:hover {
  border-color: var(--color-accent);
  transform: translateX(4px);
}

.live-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
  align-items: center;
}

.live-date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-accent);
  letter-spacing: 0.08em;
}

.live-status {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 2px;
}

.live-status.upcoming {
  color: #00ff88;
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.25);
}

.live-status.past {
  color: var(--color-muted);
  background: rgba(136, 136, 136, 0.06);
  border: 1px solid var(--color-border);
}

.live-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.02em;
}

.live-venue {
  font-size: 0.8rem;
  color: var(--color-muted);
}

.live-ticket {
  display: inline-block;
  margin-top: var(--spacing-xs);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  border: 1px solid var(--color-accent-dim);
  padding: 4px 14px;
  transition: background var(--transition), color var(--transition);
}

.live-ticket:hover {
  background: var(--color-accent);
  color: var(--color-bg);
}

/* -------------------------------------------------------
   10. Profile Section
------------------------------------------------------- */
#profile {
  border-top: 1px solid var(--color-border);
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.profile-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-surface2);
}

/* Profile image (set via JS) */
.profile-visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.5) brightness(0.75);
  transition: filter var(--transition), transform 0.6s ease;
}

.profile-visual:hover .profile-visual-img {
  filter: saturate(0.7) brightness(0.85);
  transform: scale(1.03);
}

.profile-visual-fallback {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, #0d1a24 0%, #000d14 50%, #050510 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-visual-fallback .key-icon {
  font-size: 5rem;
  opacity: 0.06;
  user-select: none;
}

.profile-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.04), transparent 60%);
  pointer-events: none;
}

.profile-text {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.profile-body p {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--color-muted);
  margin-bottom: 1em;
}

.profile-body p:last-child {
  margin-bottom: 0;
}

.profile-body strong {
  color: var(--color-text);
}

.profile-formed {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: var(--spacing-sm);
  border-top: 1px solid var(--color-border);
}

.profile-formed dt {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.profile-formed dd {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-accent);
}

/* -------------------------------------------------------
   11. Member Section
------------------------------------------------------- */
#member {
  border-top: 1px solid var(--color-border);
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

.member-card {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.member-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--color-surface2);
  display: block;
  cursor: pointer;
}

/* Member image (set via JS) */
.member-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.3) brightness(0.8);
  transition: filter 0.5s ease, transform 0.6s ease;
}

.member-card:hover .member-photo-img {
  filter: saturate(0.6) brightness(0.9);
  transform: scale(1.05);
}

.member-photo-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #0e1820 0%, #050a0f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 3rem;
  opacity: 0.15;
  user-select: none;
}

.member-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
  pointer-events: none;
}

.member-info {
  padding: 0 0.25rem;
}

.member-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.04em;
}

.member-role {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-top: 2px;
}

.member-more {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-muted);
  transition: color var(--transition);
}

.member-more::after {
  content: ' →';
}

.member-more:hover {
  color: var(--color-accent);
}

/* -------------------------------------------------------
   12. Discography Section
------------------------------------------------------- */
#discography {
  border-top: 1px solid var(--color-border);
}

.disco-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

.disco-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.disco-jacket {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-surface2);
}

/* Jacket image (set via JS) */
.disco-jacket-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s ease;
  filter: saturate(0.6);
}

.disco-card:hover .disco-jacket-img {
  transform: scale(1.05);
  filter: saturate(0.9);
}

.disco-jacket-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.disco-jacket-fallback-gradient {
  position: absolute;
  inset: 0;
}

.disco-jacket-fallback-text {
  position: relative;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  text-align: center;
  padding: 0 1rem;
}

.disco-info {
  padding: 0 0.25rem;
}

.disco-type {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 4px;
}

.disco-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.3;
}

.disco-date {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-muted);
  margin-top: 4px;
}

/* 1件のみの場合は左寄せ・幅を抑える */
.disco-grid--single {
  grid-template-columns: 1fr;
  max-width: 240px;
}

.disco-date--coming {
  font-family: var(--font-sans);
  letter-spacing: 0.1em;
  color: var(--color-accent);
  font-size: 0.7rem;
}

.disco-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: var(--spacing-xs);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
  transition: color var(--transition);
}

.disco-link:hover {
  color: var(--color-accent);
}

.disco-link::after {
  content: '→';
  font-size: 0.8em;
}

/* -------------------------------------------------------
   13. Radio Section
------------------------------------------------------- */
#radio {
  border-top: 1px solid var(--color-border);
}

.radio-coming {
  padding: var(--spacing-lg) 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.radio-coming-label {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-surface2);
}

.radio-coming-sub {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent);
}

/* -------------------------------------------------------
   14. Video Section
------------------------------------------------------- */
#video {
  border-top: 1px solid var(--color-border);
}

.video-grid {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.video-item {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

/* YouTube thumbnail card */
.video-card {
  display: block;
  position: relative;
  overflow: hidden;
}

.video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-surface2);
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.5) brightness(0.75);
  transition: filter 0.4s ease, transform 0.5s ease;
  display: block;
}

.video-card:hover .video-thumb img {
  filter: saturate(0.8) brightness(0.9);
  transform: scale(1.03);
}

/* Play button overlay */
.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play-btn::before {
  content: '';
  width: 56px;
  height: 56px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  transition: background var(--transition), border-color var(--transition);
}

.video-play-btn::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent rgba(255,255,255,0.9);
  margin-left: 4px;
}

.video-card:hover .video-play-btn::before {
  background: rgba(0, 212, 255, 0.25);
  border-color: var(--color-accent);
}

.video-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-white);
}

.video-desc {
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* -------------------------------------------------------
   14. Contact Section
------------------------------------------------------- */
#contact {
  border-top: 1px solid var(--color-border);
}

.contact-inner {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.contact-copy {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 2;
  max-width: 540px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border: 1px solid var(--color-accent-dim);
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition);
  align-self: flex-start;
}

.contact-link:hover {
  background: var(--color-accent);
  color: var(--color-bg);
}

.contact-link::before {
  content: '✉';
  font-size: 1em;
}

/* -------------------------------------------------------
   15. SNS Section
------------------------------------------------------- */
.sns-section {
  padding: var(--spacing-lg) 0;
  border-top: 1px solid var(--color-border);
}

.sns-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  justify-content: center;
}

.sns-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--color-border);
  transition: color var(--transition), border-color var(--transition);
}

.sns-link:hover {
  color: var(--color-accent);
  border-color: var(--color-accent-dim);
}

.sns-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* -------------------------------------------------------
   16. Footer
------------------------------------------------------- */
#site-footer {
  border-top: 1px solid var(--color-border);
  padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
  text-align: center;
}

.footer-logo .logo-en {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-white);
}

.footer-logo .logo-ja {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--color-accent);
  display: block;
  margin-top: 2px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm) var(--spacing-md);
  justify-content: center;
}

.footer-nav a {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--color-accent);
}

.footer-copy {
  font-size: 0.65rem;
  color: #444;
  letter-spacing: 0.1em;
}

/* -------------------------------------------------------
   17. Scroll Reveal Animation
------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* -------------------------------------------------------
   18. Divider / Accent
------------------------------------------------------- */
.accent-line {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--color-accent);
  margin-top: var(--spacing-sm);
}

/* -------------------------------------------------------
   19. Responsive — Tablet (≥ 640px)
------------------------------------------------------- */
@media (min-width: 640px) {
  .section {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
  }

  .section-header {
    margin-bottom: var(--spacing-lg);
  }

  .member-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .disco-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

/* -------------------------------------------------------
   20. Responsive — Desktop (≥ 900px)
------------------------------------------------------- */
@media (min-width: 900px) {
  .hamburger {
    display: none;
  }

  .nav-desktop {
    display: flex;
  }

  .profile-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
  }

  .profile-visual {
    aspect-ratio: 4 / 5;
  }

  .disco-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

/* -------------------------------------------------------
   21. Accessibility
------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}
