/* ============================================================
   VOIPRO — Voicy Project Official Site
   Theme: Black × Gold — Premium Dark Design (Universal Design)
   ============================================================ */

/* ---------- RESET & VARIABLES ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Core palette - Adjusted for better contrast (Universal Design) */
  --black: #080808;
  --black-light: #121212;
  --black-card: #161616;
  --black-surface: #222222;
  
  --gold: #d4b248; /* Slightly brighter gold */
  --gold-light: #f5e0a1;
  --gold-dark: #a88325;
  --gold-glow: rgba(212, 178, 72, 0.25);
  --gold-faint: rgba(212, 178, 72, 0.08);
  
  --white: #ffffff; /* Brighter white for high contrast */
  --white-muted: #e0d5c1; /* Much brighter muted color */
  --white-dim: #aca28d; /* Brighter dim color for readability */

  /* Typography */
  --font-main: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  --font-accent: 'Outfit', sans-serif;

  /* Spacing */
  --section-pad: clamp(80px, 12vw, 140px);
  --container-max: 1200px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px; /* Base size */
}

body {
  font-family: var(--font-main);
  background: var(--black);
  color: var(--white);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- NAVIGATION ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 2px solid rgba(212, 178, 72, 0.1); /* Slightly thicker border */
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}

.navbar.scrolled {
  background: rgba(8, 8, 8, 0.98);
  border-bottom-color: rgba(212, 178, 72, 0.3);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo-img {
  height: 44px; /* Slightly larger */
  width: auto;
  transition: transform 0.3s var(--ease);
}

.nav-logo:hover .nav-logo-img {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 12px;
}

.nav-link {
  font-size: 1rem; /* Universal design: clearer nav text */
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 8px 16px;
  border-radius: 8px;
  color: var(--white-muted);
  transition: color 0.3s, background 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
  background: var(--gold-faint);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

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

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  padding-bottom: 120px;
}

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

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 75% 50%, rgba(212, 178, 72, 0.10) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(212, 178, 72, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, var(--black) 0%, rgba(8, 8, 8, 0.85) 50%, var(--black) 100%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-particle {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  animation: particle-float linear infinite;
}

@keyframes particle-float {
  0% { opacity: 0; transform: translateY(0) scale(0); }
  10% { opacity: 0.6; }
  90% { opacity: 0.1; }
  100% { opacity: 0; transform: translateY(-100vh) scale(1); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: left;
  padding: 120px 24px 0;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Logo as bold background element — "枠からはみ出る" concept */
.hero-logo-wrap {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
}

.hero-logo {
  width: clamp(320px, 50vw, 640px);
  height: auto;
  opacity: 0.12;
  filter: drop-shadow(0 0 80px rgba(212, 178, 72, 0.2));
  animation: logo-breathe 8s ease-in-out infinite;
}

@keyframes logo-breathe {
  0%, 100% { transform: scale(1); opacity: 0.12; }
  50% { transform: scale(1.04); opacity: 0.18; }
}

.hero-title {
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.hero-title-sub {
  display: block;
  font-family: var(--font-accent);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  opacity: 0;
  animation: fade-up 1s 0.3s var(--ease-out) forwards;
}

.hero-title-main {
  display: block;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  animation: fade-up 1s 0.5s var(--ease-out) forwards;
  line-height: 1.2;
}

.hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--white);
  line-height: 2;
  max-width: 600px;
  margin: 0 0 48px 0;
  opacity: 0;
  animation: fade-up 1s 0.7s var(--ease-out) forwards;
  position: relative;
  z-index: 1;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
  opacity: 0;
  animation: fade-up 1s 0.9s var(--ease-out) forwards;
  position: relative;
  z-index: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 12px;
  font-size: 1.05rem; /* Larger button text */
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--black);
  box-shadow: 0 4px 20px rgba(212, 178, 72, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212, 178, 72, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid rgba(212, 178, 72, 0.5); /* Thicker border */
}

.btn-outline:hover {
  background: var(--gold-faint);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.hero-scroll-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 24px;
  pointer-events: none;
}

.hero-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fade-in 1s 1.5s var(--ease-out) forwards;
}

.hero-scroll-hint span {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white-muted);
}

.scroll-line {
  width: 2px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.5; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

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

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ---------- SECTIONS ---------- */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section:nth-child(even)::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(212, 178, 72, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-faint);
  border: 1px solid rgba(212, 178, 72, 0.3);
  padding: 8px 24px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--white) 0%, var(--white-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--white-dim);
  font-weight: 500;
}

/* ---------- MEMBERS ---------- */
.members {
  background: linear-gradient(180deg, var(--black) 0%, var(--black-light) 50%, var(--black) 100%);
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 32px;
}

.member-card {
  background: var(--black-card);
  border: 1px solid rgba(212, 178, 72, 0.15); /* More visible border */
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.5s var(--ease);
  opacity: 0;
  transform: translateY(40px);
}

.member-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.member-card:hover {
  border-color: rgba(212, 178, 72, 0.4);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(212, 178, 72, 0.15);
  transform: translateY(-6px);
}

.member-card-inner {
  display: flex;
  flex-direction: column;
}

.member-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}

.member-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.member-card:hover .member-img {
  transform: scale(1.06);
}

.member-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(8, 8, 8, 0.4) 70%,
    rgba(8, 8, 8, 0.95) 100%
  );
  pointer-events: none;
}

.member-info {
  padding: 32px 32px 40px;
  position: relative;
}

.member-name {
  font-size: 1.6rem; /* Enhanced readability */
  font-weight: 900;
  color: var(--white);
  margin-bottom: 4px;
}

.member-alias {
  font-size: 1rem;
  font-weight: 500;
  color: var(--white-muted);
}

.member-epithet {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(212, 178, 72, 0.2);
}

.member-stats {
  display: flex;
  flex-direction: column;
  gap: 16px; /* Increased gap */
}

.stat-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 0.95rem; /* Larger base text inside cards */
  line-height: 1.6;
}

.stat-label {
  flex-shrink: 0;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--black);
  background: var(--gold);
  padding: 4px 12px;
  border-radius: 6px;
  min-width: 54px;
  text-align: center;
}

.stat-value {
  color: var(--white);
}

/* Member Voicy Channel Link */
.member-voicy-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 12px 20px;
  background: rgba(212, 178, 72, 0.08);
  border: 1px solid rgba(212, 178, 72, 0.25);
  border-radius: 12px;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.3s var(--ease);
}

.member-voicy-link svg {
  width: 18px;
  height: 18px;
  fill: var(--gold);
  flex-shrink: 0;
  transition: fill 0.3s;
}

.member-voicy-link:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(212, 178, 72, 0.3);
}

.member-voicy-link:hover svg {
  fill: var(--black);
}

/* ---------- GLOSSARY ---------- */
.glossary {
  background: var(--black);
}

/* Guide card - matches the dark card layout of glossary items */
.glossary-guide {
  max-width: 480px;
  margin: 0 auto 56px auto;
}

.glossary-guide-inner {
  position: relative;
}

.glossary-guide-label {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white-dim);
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}

.glossary-guide-card {
  background: var(--black-card);
  border: 1px dashed rgba(212, 178, 72, 0.35);
  border-radius: 16px;
  padding: 28px 32px;
  position: relative;
}

.glossary-guide-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--gold), var(--gold-dark));
  border-radius: 4px 0 0 4px;
  opacity: 0.6;
}

.glossary-guide-term {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
  position: relative;
}

.glossary-guide-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 12px;
  position: relative;
}

.glossary-guide-def {
  font-size: 0.95rem;
  color: var(--white-muted);
  line-height: 1.8;
  position: relative;
}

.glossary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.glossary-item {
  background: var(--black-card);
  border: 1px solid rgba(212, 178, 72, 0.1);
  border-radius: 16px;
  padding: 28px 32px;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
}

.glossary-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.glossary-item::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px; /* Thicker accent bar */
  background: linear-gradient(to bottom, var(--gold), var(--gold-dark));
  opacity: 0;
  transition: opacity 0.3s;
}

.glossary-item:hover {
  border-color: rgba(212, 178, 72, 0.3);
  background: rgba(212, 178, 72, 0.05);
}

.glossary-item:hover::after {
  opacity: 1;
}

.glossary-term {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}

.glossary-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 12px;
}

.glossary-def {
  font-size: 0.95rem;
  color: var(--white-muted);
  line-height: 1.8;
}

/* ---------- LYRICS ---------- */
.lyrics {
  background:
    linear-gradient(180deg, var(--black) 0%, var(--black-light) 30%, var(--black) 100%);
  position: relative;
}

.lyrics::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 120px,
      rgba(212, 178, 72, 0.02) 120px,
      rgba(212, 178, 72, 0.02) 121px
    );
  pointer-events: none;
}

.lyrics-container {
  max-width: 760px;
  margin: 0 auto;
}

/* YouTube Video Styles */
.lyrics-meta {
  text-align: center;
  color: var(--white-muted);
  margin-bottom: 32px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.video-wrapper {
  max-width: 760px;
  margin: 0 auto 56px auto;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(212, 178, 72, 0.15);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.lyrics-block {
  margin-bottom: 40px;
  padding: 32px 40px;
  background: rgba(212, 178, 72, 0.03);
  border-left: 4px solid rgba(212, 178, 72, 0.2);
  border-radius: 0 16px 16px 0;
  transition: all 0.4s var(--ease);
  opacity: 0;
  transform: translateX(-20px);
}

.lyrics-block.visible {
  opacity: 1;
  transform: translateX(0);
}

.lyrics-block:hover {
  background: rgba(212, 178, 72, 0.08);
  border-left-color: var(--gold);
}

.lyrics-block[data-section="chorus"],
.lyrics-block[data-section="chorus-final"] {
  background: rgba(212, 178, 72, 0.1);
  border-left-color: var(--gold);
  padding: 40px;
}

.lyrics-block[data-section="chorus"] p,
.lyrics-block[data-section="chorus-final"] p {
  font-weight: 800;
  color: var(--gold-light);
  font-size: 1.05rem;
}

.lyrics-block[data-section="outro"] {
  text-align: center;
  border-left: none;
  border-radius: 16px;
  background: rgba(212, 178, 72, 0.06);
}

.lyrics-block[data-section="outro"] p {
  color: var(--white-muted);
  font-style: italic;
  font-weight: 500;
}

.lyrics-tag {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.rap-name {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 900;
  margin-left: 8px;
}

.lyrics-block p {
  font-size: 1rem;
  color: var(--white-muted);
  line-height: 2.2;
}

.lyrics-rap-section {
  position: relative;
  padding: 16px 0;
}

.lyrics-rap-section::before {
  content: '🎤 RAP BATTLE'; /* Keep text icon here or use purely CSS / text "RAP BATTLE" */
  content: 'RAP BATTLE';
  display: block;
  text-align: center;
  font-family: var(--font-accent);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: 40px;
  padding: 16px;
  border: 1px solid rgba(212, 178, 72, 0.3);
  border-radius: 12px;
  background: rgba(212, 178, 72, 0.05);
}

.lyrics-block[data-section="rap"] {
  border-left-color: var(--gold-dark);
}

.lyrics-block[data-section="rap"]:hover {
  border-left-color: var(--gold-light);
}

/* ---------- LINKS ---------- */
.links-section {
  background: var(--black);
}

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

.link-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--black-card);
  border: 1px solid rgba(212, 178, 72, 0.15); /* More visible border */
  border-radius: 20px;
  padding: 32px;
  transition: all 0.4s var(--ease);
}

.link-card:hover {
  border-color: rgba(212, 178, 72, 0.5);
  background: rgba(212, 178, 72, 0.08);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.link-icon-wrap {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 178, 72, 0.1);
  border-radius: 12px;
  transition: all 0.3s var(--ease);
}

.link-icon-wrap svg {
  width: 24px;
  height: 24px;
  fill: var(--gold);
  transition: transform 0.3s var(--ease);
}

.link-card:hover .link-icon-wrap {
  background: var(--gold);
}

.link-card:hover .link-icon-wrap svg {
  fill: var(--black);
  transform: scale(1.1);
}

.link-info {
  flex: 1;
  min-width: 0;
}

.link-info h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}

.link-info p {
  font-size: 0.95rem;
  color: var(--gold);
  margin-bottom: 6px;
  font-weight: 600;
}

.link-desc {
  font-size: 0.85rem;
  color: var(--white-dim);
  display: block;
  line-height: 1.6;
}

.link-arrow {
  font-size: 1.4rem;
  color: var(--gold);
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-12px);
  transition: all 0.3s var(--ease);
}

.link-card:hover .link-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- FOOTER ---------- */
.footer {
  padding: 80px 0;
  border-top: 1px solid rgba(212, 178, 72, 0.15);
}

.footer-inner {
  text-align: center;
}

.footer-logo {
  width: 80px;
  height: auto;
  margin: 0 auto 24px;
  opacity: 0.8;
}

.footer-tagline {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 32px;
  font-style: italic;
  letter-spacing: 0.1em;
}

.footer-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 32px;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--white-dim);
  font-weight: 500;
}

/* ---------- SCROLL ANIMATIONS ---------- */
.section-header,
.link-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.section-header.visible,
.link-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delays */
.member-card:nth-child(2) { transition-delay: 0.08s; }
.member-card:nth-child(3) { transition-delay: 0.16s; }
.member-card:nth-child(4) { transition-delay: 0.24s; }
.member-card:nth-child(5) { transition-delay: 0.32s; }
.member-card:nth-child(6) { transition-delay: 0.4s; }

.glossary-item:nth-child(2) { transition-delay: 0.04s; }
.glossary-item:nth-child(3) { transition-delay: 0.08s; }
.glossary-item:nth-child(4) { transition-delay: 0.12s; }
.glossary-item:nth-child(5) { transition-delay: 0.16s; }
.glossary-item:nth-child(6) { transition-delay: 0.2s; }
.glossary-item:nth-child(7) { transition-delay: 0.24s; }
.glossary-item:nth-child(8) { transition-delay: 0.28s; }

.link-card:nth-child(2) { transition-delay: 0.08s; }
.link-card:nth-child(3) { transition-delay: 0.16s; }
.link-card:nth-child(4) { transition-delay: 0.24s; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(8, 8, 8, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid rgba(212, 178, 72, 0.2);
  }

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

  .nav-toggle {
    display: flex;
  }

  .hero-desc br {
    display: none;
  }

  .members-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .glossary-guide-card {
    padding: 20px 24px;
  }

  .glossary-guide-term::after,
  .glossary-guide-author::after,
  .glossary-guide-def::after {
    display: none;
  }

  .glossary-guide-label {
    font-size: 0.8rem;
  }

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

  .lyrics-block {
    padding: 24px;
  }
  
  .lyrics-block[data-section="chorus"], 
  .lyrics-block[data-section="chorus-final"] {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 100px 16px 0;
  }

  .hero-cta {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 12px;
  }

  .hero-cta .btn {
    flex: 1;
    padding: 14px 8px;
    font-size: 0.9rem;
    justify-content: center;
    min-width: 0;
    white-space: nowrap;
  }

  .member-info {
    padding: 28px 24px 32px;
  }

  .stat-row {
    flex-direction: column;
    gap: 6px;
  }

  .stat-label {
    align-self: flex-start;
  }
}

/* ---------- CUSTOM SCROLLBAR ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--black);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* ---------- SELECTION ---------- */
::selection {
  background: rgba(212, 178, 72, 0.3);
  color: var(--white);
}
