/* ==========================================================================
   J-ROCK VAULT - Unified Responsive Stylesheet
   ========================================================================== */

:root {
  /* Core Palette */
  --bg-primary: #0a0c10;
  --bg-surface: #12151f;
  --bg-card: #181c2b;
  --bg-card-hover: #1f2538;
  --border-color: #272d42;
  --border-glow: rgba(255, 45, 85, 0.3);

  /* Typography Colors */
  --text-primary: #f0f2f8;
  --text-secondary: #9aa2bc;
  --text-muted: #626a84;

  /* Universal Accents */
  --accent-red: #ff2a55;
  --accent-cyan: #00e5ff;
  --accent-gold: #ffd15c;
  --accent-purple: #a855f7;

  /* Band Theme Custom Properties (Overridden on band pages) */
  --band-accent: var(--accent-red);
  --band-glow: rgba(255, 42, 85, 0.35);
  --band-gradient: linear-gradient(135deg, #ff2a55 0%, #7928ca 100%);

  /* UI Tokens */
  --font-sans: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1200px;
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --header-height: 72px;
}

/* Band Specific Themes */
body.theme-lovebites {
  --band-accent: #f5b041;
  --band-glow: rgba(245, 176, 65, 0.4);
  --band-gradient: linear-gradient(135deg, #f5b041 0%, #e67e22 50%, #b8860b 100%);
}

body.theme-wagakki {
  --band-accent: #ff758f;
  --band-glow: rgba(255, 117, 143, 0.4);
  --band-gradient: linear-gradient(135deg, #ff758f 0%, #7e57c2 50%, #283593 100%);
}

body.theme-bandmaid {
  --band-accent: #ff3366;
  --band-glow: rgba(255, 51, 102, 0.4);
  --band-gradient: linear-gradient(135deg, #ff3366 0%, #2b2b2b 60%, #e60039 100%);
}

body.theme-scandal {
  --band-accent: #ff8c00;
  --band-glow: rgba(255, 140, 0, 0.4);
  --band-gradient: linear-gradient(135deg, #ff8c00 0%, #e91e63 100%);
}

body.theme-nemophila {
  --band-accent: #9d4edd;
  --band-glow: rgba(157, 78, 221, 0.4);
  --band-gradient: linear-gradient(135deg, #9d4edd 0%, #3a86ff 100%);
}

body.theme-hanabie {
  --band-accent: #ff007f;
  --band-glow: rgba(255, 0, 127, 0.45);
  --band-gradient: linear-gradient(135deg, #ff007f 0%, #00f2fe 100%);
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.7;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(255, 42, 85, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(0, 229, 255, 0.05) 0%, transparent 40%),
    linear-gradient(180deg, #07080b 0%, #0c0e14 100%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 12, 16, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.brand-logo .kanji-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--band-gradient);
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 900;
  box-shadow: 0 0 15px var(--band-glow);
}

.brand-logo span.accent {
  color: var(--band-accent);
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.4rem;
}

.nav-item a {
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-item a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-item a.active {
  color: var(--band-accent);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 600;
  border: 1px solid var(--border-color);
}

/* Nav Dropdown for Bands */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  cursor: pointer;
}

.nav-dropdown-toggle::after {
  content: ' ▾';
  font-size: 0.75rem;
  opacity: 0.7;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.5rem;
  min-width: 190px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  list-style: none;
  z-index: 1100;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.85rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  border-radius: 6px;
}

.nav-dropdown-menu li a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  padding-left: 1.1rem;
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, var(--band-glow), transparent 70%);
  pointer-events: none;
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--band-accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-title .gradient-text {
  background: var(--band-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--band-gradient);
  color: #ffffff;
  box-shadow: 0 4px 18px var(--band-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--band-glow);
  color: #ffffff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--text-secondary);
  color: #ffffff;
}

/* Audio Visualizer Animation */
.visualizer {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
  margin-left: 6px;
}

.visualizer-bar {
  width: 3px;
  background: var(--band-accent);
  border-radius: 2px;
  animation: equalize 1s infinite alternate ease-in-out;
}

.visualizer-bar:nth-child(1) { height: 35%; animation-delay: 0.1s; }
.visualizer-bar:nth-child(2) { height: 90%; animation-delay: 0.3s; }
.visualizer-bar:nth-child(3) { height: 60%; animation-delay: 0.2s; }
.visualizer-bar:nth-child(4) { height: 100%; animation-delay: 0.4s; }
.visualizer-bar:nth-child(5) { height: 45%; animation-delay: 0.15s; }

@keyframes equalize {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1); }
}

/* Band Hero Header */
.band-header {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.band-header-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
}

.band-meta-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.tag {
  font-size: 0.78rem;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.tag-accent {
  background: rgba(255, 42, 85, 0.12);
  color: var(--band-accent);
  border-color: var(--band-accent);
}

.band-kanji-badge {
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  opacity: 0.18;
  user-select: none;
  font-family: 'MS Mincho', 'Yu Mincho', serif;
  color: var(--band-accent);
  text-shadow: 0 0 30px var(--band-glow);
}

/* Section Common */
.section {
  padding: 3.5rem 0;
}

.section-title-wrap {
  margin-bottom: 2.2rem;
}

.section-eyebrow {
  color: var(--band-accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  display: block;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-primary);
}

.section-desc {
  color: var(--text-secondary);
  margin-top: 0.5rem;
  max-width: 680px;
  font-size: 1rem;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}

/* Feature Cards (Home directory) */
.band-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 1.75rem;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.band-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--card-accent, var(--accent-red));
  opacity: 0.8;
  transition: var(--transition);
}

.band-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.band-card:hover::before {
  height: 6px;
}

.band-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.band-card-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
}

.band-card-kanji {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-muted);
}

.band-card-genre {
  font-size: 0.85rem;
  color: var(--card-accent, var(--accent-red));
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.band-card-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.band-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1rem;
}

.band-card-members {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.band-card-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--card-accent, var(--accent-red));
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.band-card-link:hover {
  gap: 0.6rem;
}

/* Video Showcase Cards & Interactive Player */
.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.video-card:hover {
  border-color: var(--band-accent);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.video-player-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  background: #000000;
  overflow: hidden;
}

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

.video-poster-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #11141c;
  background-size: cover;
  background-position: center;
  cursor: pointer;
}

.video-poster-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 16, 0.45);
  transition: var(--transition);
}

.video-card:hover .video-poster-box::before {
  background: rgba(10, 12, 16, 0.25);
}

.play-circle-btn {
  position: relative;
  z-index: 3;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--band-accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 0 25px var(--band-glow);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  padding-left: 4px;
}

.video-card:hover .play-circle-btn {
  transform: scale(1.12);
  box-shadow: 0 0 35px var(--band-glow);
}

.video-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.video-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.video-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.video-card-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.85rem;
}

.btn-video-direct {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  background: rgba(255, 0, 0, 0.15);
  border: 1px solid rgba(255, 0, 0, 0.35);
  color: #ff5555;
  font-size: 0.82rem;
  font-weight: 700;
  transition: var(--transition);
}

.btn-video-direct:hover {
  background: #ff0000;
  color: #ffffff;
  border-color: #ff0000;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
}

.btn-video-load {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-video-load:hover {
  background: var(--band-accent);
  color: #ffffff;
  border-color: var(--band-accent);
}

.video-notice-box {
  background: rgba(255, 42, 85, 0.08);
  border: 1px solid rgba(255, 42, 85, 0.25);
  border-radius: 8px;
  padding: 0.85rem 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.86rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.video-notice-box strong {
  color: var(--text-primary);
}

/* Article Styling */
.article-body {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  margin-bottom: 3rem;
}

.article-body h2 {
  font-size: 1.55rem;
  font-weight: 800;
  margin: 2.2rem 0 1rem;
  color: #ffffff;
  position: relative;
  padding-left: 1rem;
  border-left: 4px solid var(--band-accent);
}

.article-body h2:first-of-type {
  margin-top: 0;
}

.article-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 1.5rem 0 0.75rem;
  color: var(--text-primary);
}

.article-body p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.article-body ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.article-body ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.65rem;
  color: var(--text-secondary);
}

.article-body ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--band-accent);
  font-weight: bold;
}

.quote-box {
  background: rgba(255, 255, 255, 0.03);
  border-left: 4px solid var(--band-accent);
  padding: 1.25rem 1.75rem;
  border-radius: 0 8px 8px 0;
  margin: 1.75rem 0;
  font-style: italic;
  color: #e0e5f2;
}

/* Member Lineup Cards */
.member-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 1.25rem;
  text-align: center;
  transition: var(--transition);
}

.member-card:hover {
  transform: translateY(-3px);
  border-color: var(--band-accent);
}

.member-avatar-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--band-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin: 0 auto 0.85rem;
  color: var(--band-accent);
}

.member-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.member-role {
  font-size: 0.82rem;
  color: var(--band-accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.member-notes {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Discography & Info Lists */
.discography-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 1.5rem;
}

.album-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.album-item:last-child {
  border-bottom: none;
}

.album-year {
  background: rgba(255, 255, 255, 0.06);
  color: var(--band-accent);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  min-width: 48px;
  text-align: center;
}

.album-info h4 {
  font-size: 0.98rem;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.album-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Stat Box / Infographic */
.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--band-accent);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--band-accent);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Official Links / Social Badges */
.social-links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.social-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
}

.social-badge:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--band-accent);
  color: #ffffff;
}

/* Page Navigation (Previous / Next Band Footer) */
.page-nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  margin-top: 3rem;
  border-top: 1px solid var(--border-color);
  gap: 1rem;
}

.page-nav-btn {
  display: inline-flex;
  flex-direction: column;
  padding: 0.75rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: var(--transition);
  min-width: 200px;
}

.page-nav-btn.next {
  text-align: right;
  margin-left: auto;
}

.page-nav-btn:hover {
  border-color: var(--band-accent);
  background: var(--bg-card-hover);
}

.page-nav-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.page-nav-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: #07080c;
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 380px;
}

.footer-links-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links-col ul {
  list-style: none;
}

.footer-links-col ul li {
  margin-bottom: 0.5rem;
}

.footer-links-col ul li a {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.footer-links-col ul li a:hover {
  color: var(--accent-red);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* Scroll To Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  font-size: 1.2rem;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  background: var(--band-accent);
  color: #ffffff;
  transform: translateY(-3px);
}

/* Responsive Media Queries */
@media (max-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .band-header-grid {
    grid-template-columns: 1fr;
  }
  .band-kanji-badge {
    display: none;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.75rem;
    transform: translateY(-150%);
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8);
  }

  .nav-links.nav-open {
    transform: translateY(0);
  }

  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(0, 0, 0, 0.2);
    box-shadow: none;
    margin-top: 0.5rem;
    border: none;
  }

  .article-body {
    padding: 1.5rem;
  }
  
  .page-nav-bar {
    flex-direction: column;
    align-items: stretch;
  }
  
  .page-nav-btn {
    max-width: 100%;
    min-width: 100%;
  }
  
  .page-nav-btn.next {
    text-align: left;
    margin-left: 0;
  }
}
