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

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #151515;
  --bg-card-hover: #1a1a1a;
  --crimson: #8b1a1a;
  --crimson-bright: #c41e3a;
  --steel-blue: #4a6d8c;
  --gold: #b8962e;
  --gold-subtle: #8a7024;
  --text-primary: #e8e8e8;
  --text-secondary: #888888;
  --text-muted: #555555;
  --border: #222222;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='14' fill='none' stroke='%23c41e3a' stroke-width='1.5' opacity='0.7'/%3E%3Ccircle cx='16' cy='16' r='8' fill='none' stroke='%23c41e3a' stroke-width='1' opacity='0.5'/%3E%3Ccircle cx='16' cy='16' r='2' fill='%23c41e3a' opacity='0.9'/%3E%3Cline x1='16' y1='0' x2='16' y2='6' stroke='%23c41e3a' stroke-width='1' opacity='0.4'/%3E%3Cline x1='16' y1='26' x2='16' y2='32' stroke='%23c41e3a' stroke-width='1' opacity='0.4'/%3E%3Cline x1='0' y1='16' x2='6' y2='16' stroke='%23c41e3a' stroke-width='1' opacity='0.4'/%3E%3Cline x1='26' y1='16' x2='32' y2='16' stroke='%23c41e3a' stroke-width='1' opacity='0.4'/%3E%3C/svg%3E") 16 16, crosshair;
}

a, button, .legend-card, .filter-tag, .nav-link, .footer-link {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='14' fill='none' stroke='%23e8e8e8' stroke-width='1.5' opacity='0.8'/%3E%3Ccircle cx='16' cy='16' r='8' fill='none' stroke='%23e8e8e8' stroke-width='1' opacity='0.5'/%3E%3Ccircle cx='16' cy='16' r='2.5' fill='%23c41e3a' opacity='1'/%3E%3Cline x1='16' y1='0' x2='16' y2='6' stroke='%23e8e8e8' stroke-width='1' opacity='0.4'/%3E%3Cline x1='16' y1='26' x2='16' y2='32' stroke='%23e8e8e8' stroke-width='1' opacity='0.4'/%3E%3Cline x1='0' y1='16' x2='6' y2='16' stroke='%23e8e8e8' stroke-width='1' opacity='0.4'/%3E%3Cline x1='26' y1='16' x2='32' y2='16' stroke='%23e8e8e8' stroke-width='1' opacity='0.4'/%3E%3C/svg%3E") 16 16, pointer;
}

/* === Navigation === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 3rem;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, border-bottom-color 0.3s ease;
}

.nav-logo {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--text-primary);
  text-decoration: none;
}

.nav-logo-accent {
  color: var(--crimson-bright);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--crimson-bright);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
}

.nav-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

/* === Hero Section === */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-gif {
  position: absolute;
  inset: -20px;
  background-image: url('https://media1.tenor.com/m/twmaMNDi9EcAAAAC/kill-bill-the-bride.gif');
  background-size: cover;
  background-position: center;
  filter: blur(12px) brightness(0.25) saturate(0.6);
  opacity: 0.5;
  z-index: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(139, 26, 26, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 30% 60%, rgba(74, 109, 140, 0.06) 0%, transparent 50%),
    rgba(10, 10, 10, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
}

.hero-japanese {
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 300;
  letter-spacing: 0.3em;
  color: rgba(232, 232, 232, 1);
  opacity: 0.08;
  line-height: 1;
  user-select: none;
  animation: heroFadeIn 2s ease-out;
}

.hero-subtitle {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(0.7rem, 1.2vw, 0.9rem);
  font-weight: 400;
  letter-spacing: 0.5em;
  color: var(--text-muted);
  margin-top: 2rem;
  animation: heroFadeIn 2s ease-out 0.5s both;
}

.hero-scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
  animation: heroFadeIn 2s ease-out 1s both;
}

.scroll-text {
  font-family: 'Oswald', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-muted), var(--crimson-bright));
  animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-sword {
  color: var(--crimson-bright);
  font-size: 1rem;
  opacity: 0.7;
}

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

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* === Section Shared === */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-primary);
}

/* === Legends Gallery === */
.legends {
  padding: 8rem 3rem;
  background: var(--bg-primary);
}

.filter-tags {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.filter-tag {
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  padding: 0.6rem 1.5rem;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.filter-tag::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: rgba(196, 30, 58, 0.08);
  transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-tag:hover::before {
  height: 100%;
}

.filter-tag:hover {
  border-color: var(--text-muted);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.filter-tag.active {
  border-color: var(--crimson-bright);
  color: var(--text-primary);
  background: rgba(196, 30, 58, 0.08);
  box-shadow: 0 0 20px rgba(196, 30, 58, 0.1);
}

.legends-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* === Legend Card === */
.legend-card {
  --glow-x: 50%;
  --glow-y: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: opacity 0.8s ease, border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
  cursor: pointer;
  will-change: transform;
}

.legend-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(196, 30, 58, 0.25);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.6),
    0 0 50px rgba(196, 30, 58, 0.06),
    inset 0 0 80px rgba(196, 30, 58, 0.03);
}

/* Cursor-following glow */
.legend-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 250px at var(--glow-x) var(--glow-y), rgba(196, 30, 58, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 2;
}

.legend-card:hover::after {
  opacity: 1;
}

.legend-card.hidden {
  display: none;
}

.card-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.card-image-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
  filter: brightness(0.85) saturate(0.9);
}

.legend-card:hover .card-image-bg {
  transform: scale(1.1);
  filter: brightness(1) saturate(1.1);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-card) 0%, transparent 50%);
}

/* Card background images */
.bride-bg {
  background-image: url('https://media1.tenor.com/m/nqqWgpJbkJgAAAAC/kill-bill-the-bride.gif');
}

.wick-bg {
  background-image: url('https://media1.tenor.com/m/aXyLiqRc4rwAAAAC/cocking-pistol-john-wick.gif');
}

.levi-bg {
  background-image: url('https://media1.tenor.com/m/UZfg1xAtQzoAAAAC/levi-ackerman.gif');
}

.achilles-bg {
  background-image: url('https://media1.tenor.com/m/78CFnHeTTscAAAAC/achilles-troy.gif');
}

.saitama-bg {
  background-image: url('https://media1.tenor.com/m/5EmmeG1oRP8AAAAC/saitama-one-punch-man.gif');
}

.madara-bg {
  background-image: url('https://media1.tenor.com/m/CXTVSLrj5hUAAAAC/madara-uchiha.gif');
}

.guts-bg {
  background-image: url('https://media1.tenor.com/m/kADg7qTjobwAAAAC/guts-berserk.gif');
}

.card-info {
  padding: 1.5rem;
}

.card-universe {
  font-family: 'Oswald', sans-serif;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--crimson-bright);
  opacity: 0.8;
}

.card-name {
  font-family: 'Oswald', sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-top: 0.5rem;
  transition: letter-spacing 0.4s ease;
}

.legend-card:hover .card-name {
  letter-spacing: 0.12em;
}

.card-desc {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-top: 0.75rem;
}

.card-tags {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.card-tag {
  font-family: 'Oswald', sans-serif;
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  padding: 0.3rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.3s ease, color 0.3s ease;
}

.legend-card:hover .card-tag {
  border-color: rgba(196, 30, 58, 0.2);
  color: var(--text-secondary);
}

/* === Spotlight / Legend of the Week === */
.spotlight {
  padding: 6rem 3rem 8rem;
  background: var(--bg-secondary);
}

.spotlight-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-align: center;
  margin-bottom: 3rem;
}

.spotlight-card {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
}

.spotlight-image {
  position: relative;
  min-height: 500px;
  overflow: hidden;
}

.spotlight-image-bg {
  width: 100%;
  height: 100%;
  background-image: url('https://media1.tenor.com/m/Wffd9qYPvQQAAAAC/kill-bill-the-bride.gif');
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
  filter: brightness(0.9);
}

.spotlight-card:hover .spotlight-image-bg {
  filter: brightness(1.05) saturate(1.1);
}

.spotlight-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, var(--bg-card) 100%);
}

.spotlight-info {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.spotlight-universe {
  font-family: 'Oswald', sans-serif;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--crimson-bright);
  opacity: 0.8;
}

.spotlight-name {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-top: 0.75rem;
  line-height: 1.1;
}

.spotlight-desc {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-top: 1.5rem;
}

.spotlight-meta {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.spotlight-tag {
  font-family: 'Oswald', sans-serif;
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.spotlight-divider {
  color: var(--text-muted);
  opacity: 0.3;
}

.spotlight-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-muted);
}

/* === About / Manifesto === */
.about {
  padding: 10rem 3rem 4rem;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 80vh;
  justify-content: center;
}

.about-content {
  max-width: 800px;
  text-align: center;
  flex: 1;
  display: flex;
  align-items: center;
}

.manifesto {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.3rem, 3vw, 2.2rem);
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-secondary);
  border: none;
  quotes: none;
}

.manifesto em {
  color: var(--text-primary);
  font-style: italic;
  font-weight: 600;
}

/* === Footer === */
.footer {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.footer-divider {
  opacity: 0.3;
}

.footer-right {
  display: flex;
  gap: 2rem;
}

.footer-link {
  font-family: 'Oswald', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--text-primary);
}

/* === Animations / Scroll Reveal === */
.legend-card,
.spotlight-card,
.manifesto,
.section-title,
.filter-tags,
.spotlight-label {
  opacity: 0;
  transform: translateY(40px);
}

.legend-card {
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

.spotlight-card {
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.manifesto {
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.section-title,
.filter-tags,
.spotlight-label {
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.legend-card.visible,
.spotlight-card.visible,
.manifesto.visible,
.section-title.visible,
.filter-tags.visible,
.spotlight-label.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger card animations */
.legend-card:nth-child(1) { transition-delay: 0s; }
.legend-card:nth-child(2) { transition-delay: 0.1s; }
.legend-card:nth-child(3) { transition-delay: 0.2s; }
.legend-card:nth-child(4) { transition-delay: 0.3s; }
.legend-card:nth-child(5) { transition-delay: 0.4s; }
.legend-card:nth-child(6) { transition-delay: 0.5s; }
.legend-card:nth-child(7) { transition-delay: 0.6s; }

/* === Light sweep hover effect === */
.legend-card {
  position: relative;
}

.legend-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
  transition: left 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 3;
  pointer-events: none;
}

.legend-card:hover::before {
  left: 100%;
}

/* === Spotlight hover glow === */
.spotlight-card {
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.spotlight-card:hover {
  border-color: rgba(196, 30, 58, 0.2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(196, 30, 58, 0.05);
}

/* === Manifesto word-by-word reveal === */
.manifesto .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.manifesto.visible .word {
  /* JS handles individual word timing */
}

/* === Hero background subtle animation === */
.hero-bg {
  animation: heroBgPulse 8s ease-in-out infinite alternate;
}

@keyframes heroBgPulse {
  0% { opacity: 1; }
  100% { opacity: 0.85; transform: scale(1.02); }
}

/* === Legend Modal === */
.legend-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.legend-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.legend-modal {
  width: 90%;
  max-width: 900px;
  max-height: 85vh;
  background: var(--bg-card);
  border: 1px solid rgba(196, 30, 58, 0.25);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), 0 0 80px rgba(196, 30, 58, 0.08);
  overflow-y: auto;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.legend-modal-overlay.active .legend-modal {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease;
  z-index: 10;
}

.modal-close:hover {
  border-color: var(--crimson-bright);
  color: var(--text-primary);
}

.modal-hero {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.modal-hero-gif {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7) saturate(1.1);
}

.modal-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-card) 0%, transparent 60%);
}

.modal-body {
  padding: 2rem 3rem 3rem;
  position: relative;
  margin-top: -3rem;
}

.modal-universe {
  font-family: 'Oswald', sans-serif;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--crimson-bright);
  opacity: 0.8;
}

.modal-name {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-top: 0.5rem;
  line-height: 1.1;
}

.modal-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 1rem;
  padding-left: 1rem;
  border-left: 2px solid var(--crimson-bright);
}

.modal-desc {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-top: 1.5rem;
}

.modal-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.modal-stat {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.modal-stat-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--text-muted);
}

.modal-stat-value {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.modal-fight-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--crimson-bright);
  margin-top: 2rem;
}

.modal-fight-gif {
  margin-top: 0.75rem;
  width: 100%;
  height: 250px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.modal-fight-gif img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9) saturate(1.1);
}

.modal-tags {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.modal-tag {
  font-family: 'Oswald', sans-serif;
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Modal scrollbar */
.legend-modal::-webkit-scrollbar {
  width: 4px;
}

.legend-modal::-webkit-scrollbar-track {
  background: var(--bg-card);
}

.legend-modal::-webkit-scrollbar-thumb {
  background: var(--crimson);
}

/* === Responsive === */
@media (max-width: 1024px) {
  .spotlight-card {
    grid-template-columns: 1fr;
  }

  .spotlight-image {
    min-height: 350px;
  }

  .spotlight-image-overlay {
    background: linear-gradient(to bottom, transparent 60%, var(--bg-card) 100%);
  }
}

@media (max-width: 768px) {
  .modal-body {
    padding: 1.5rem 1.5rem 2rem;
  }

  .modal-hero {
    height: 200px;
  }

  .modal-fight-gif {
    height: 180px;
  }

  .modal-stats {
    gap: 1.5rem;
  }
  .nav {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    gap: 1.5rem;
  }

  .legends {
    padding: 6rem 1.5rem;
  }

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

  .spotlight {
    padding: 4rem 1.5rem 6rem;
  }

  .spotlight-info {
    padding: 2rem;
  }

  .about {
    padding: 6rem 1.5rem 3rem;
  }

  .footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .filter-tags {
    gap: 0.5rem;
  }

  .filter-tag {
    padding: 0.5rem 1rem;
    font-size: 0.6rem;
  }
}

@media (max-width: 480px) {
  .nav-links {
    display: none;
  }

  .hero-japanese {
    letter-spacing: 0.15em;
  }
}
