@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── PAGE LOADER ─────────────────────────────── */
#rl-loader {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0; /* explicit fallback */
  inset: 0;
  z-index: 9999;
  background: #0b0d1a;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.75rem;
  opacity: 1;
  transition: opacity 0.48s cubic-bezier(0.4, 0, 0.2, 1);
}
#rl-loader.rl-out { opacity: 0; pointer-events: none; }
.rl-logo {
  display: flex; align-items: center; gap: 0.65rem;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', Inter, system-ui, sans-serif;
  font-size: 1.45rem; font-weight: 900; letter-spacing: 0.06em;
  text-transform: uppercase; color: #fff; text-decoration: none;
}
.rl-logo-icon {
  width: 40px; height: 40px; background: #3b82f6; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.rl-bar-wrap {
  width: 148px; height: 2px;
  background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden;
}
.rl-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, #3b82f6, #93c5fd);
  border-radius: 2px; transition: width 0.28s ease-out;
}
/* Pre-render logo state — applied by head script via localStorage */
.has-logo #site-logo-fallback { display: none !important; }
.has-logo #site-logo { display: block !important; height: 30px; width: auto; }

:root {
  --bg:         #0b0d1a;
  --bg-nav:     #0d1020;
  --bg-card:    #111827;
  --bg-card2:   #0f1624;
  --accent:     #3b82f6;
  --accent-g:   #f59e0b;
  --accent-r:   #ef4444;
  --purple:     #a855f7;
  --text:       #ffffff;
  --muted:      #9ca3af;
  --dim:        #6b7280;
  --border:     rgba(255,255,255,0.08);
  --rad:        10px;
  --rad-lg:     14px;
}

html { scroll-behavior: smooth; overflow-y: scroll; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', system-ui, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.5; min-height: 100vh;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

/* ── NAV ───────────────────────────────────────── */
.nav {
  display: flex; align-items: center; height: 60px;
  padding: 0 2rem; gap: 0;
  background: var(--bg-nav); border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 1.2rem; font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase;
  margin-right: 1.5rem; flex-shrink: 0;
}
.nav-logo .icon {
  width: 34px; height: 34px; border-radius: 6px;
  background: var(--accent); display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.nav-logo img { height: 30px; width: auto; display: block; }
.nav-links { display: flex; list-style: none; height: 60px; }
.nav-links a {
  display: flex; align-items: center; padding: 0 1rem; height: 100%;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); border-bottom: 2px solid transparent; transition: color 0.15s, border-color 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); border-bottom-color: var(--accent); }
.nav-links a.nav-shop { color: var(--accent-g); }
.nav-links a.nav-shop:hover { color: #fff; border-bottom-color: var(--accent-g); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 0.6rem; }
.nav-icon {
  width: 36px; height: 36px; border-radius: 6px; background: transparent; border: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 1rem; transition: color 0.15s, background 0.15s;
}
.nav-icon:hover { color: var(--text); background: rgba(255,255,255,0.06); }

/* ── BUTTONS ───────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 1.2rem; border-radius: 8px; border: none;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase;
  transition: all 0.15s; cursor: pointer; white-space: nowrap;
}
.btn-primary   { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #2563eb; }
.btn-outline   { background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,0.22); }
.btn-outline:hover { border-color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.04); }
.btn-yt        { background: #ff0000; color: #fff; }
.btn-yt:hover  { background: #cc0000; }
.btn-discord   { background: #5865f2; color: #fff; }
.btn-discord:hover { background: #4752c4; }
.btn-gold      { background: var(--accent-g); color: #000; }
.btn-gold:hover { background: #d97706; }
.btn-gold-outline { background: transparent; border: 1px solid var(--accent-g); color: var(--accent-g); }
.btn-gold-outline:hover { background: rgba(245,158,11,0.1); }
.btn-sm { padding: 0.35rem 0.875rem; font-size: 0.72rem; }

/* ── HERO ──────────────────────────────────────── */
.hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem;
  max-width: 1200px; margin: 0 auto; padding: 3rem 2rem; align-items: center;
}
.hero-headline {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.05;
}
.hero-headline .blue { color: var(--accent); }
.hero-headline .red  { color: var(--accent-r); }
.hero-sub { margin-top: 0.875rem; color: var(--muted); font-size: 0.88rem; max-width: 380px; line-height: 1.7; }
.hero-creators { display: flex; align-items: center; gap: 1rem; margin-top: 1.25rem; }
.creator-chip { display: flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; color: var(--muted); }
.creator-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2); flex-shrink: 0;
}
.hero-btns { display: flex; gap: 0.75rem; margin-top: 1.5rem; }

/* ── VIDEO CARD ────────────────────────────────── */
.video-card {
  position: relative; border-radius: var(--rad-lg);
  overflow: hidden; aspect-ratio: 16/9; cursor: pointer;
  display: block;
}
.video-card img { width: 100%; height: 100%; object-fit: cover; }
.vid-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
}
.vid-placeholder .vid-label {
  font-size: clamp(0.9rem, 2vw, 1.3rem); font-weight: 900; text-transform: uppercase;
  text-align: center; padding: 0 1rem; line-height: 1.2;
  text-shadow: 0 0 30px rgba(80,100,255,0.8);
}
.play-btn {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.15); border: 2px solid rgba(255,255,255,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; backdrop-filter: blur(4px); transition: all 0.2s;
}
.video-card:hover .play-btn { background: rgba(255,255,255,0.28); transform: scale(1.06); }
.vid-duration {
  position: absolute; bottom: 0.5rem; right: 0.5rem;
  background: rgba(0,0,0,0.85); color: #fff;
  font-size: 0.72rem; font-weight: 700; padding: 0.15rem 0.4rem; border-radius: 3px;
}
.vid-overlay-title {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 3rem 1rem 0.875rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.82));
  font-size: 0.95rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
}

/* ── SECTION SHELL ─────────────────────────────── */
.section { max-width: 1200px; margin: 0 auto; padding: 0 2rem 2.5rem; }
.section-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.125rem; }
.section-title { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.section-sub { font-size: 0.75rem; color: var(--muted); margin-top: 0.2rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
.view-all { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); transition: color 0.15s; }
.view-all:hover { color: var(--accent); }

/* ── HOME BROWSE LEGENDS ─────────────────────────── */
.feat-grid-big {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem; margin-bottom: 0.65rem;
}
.feat-grid-small {
  display: grid; grid-template-columns: repeat(8, 1fr);
  gap: 0.5rem;
}
.feat-card-sm {
  position: relative; border-radius: var(--rad); overflow: hidden;
  aspect-ratio: 1/1; cursor: pointer; transition: transform 0.2s;
  display: block; background: linear-gradient(160deg, #0e1020, #181535);
}
.feat-card-sm:hover { transform: translateY(-4px); }

/* ── CHARACTER CARDS + CAROUSEL ─────────────────── */
.chars-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 0.75rem; }

/* ── SERIES SECTIONS (legends page) ─────────────── */
.series-section { margin-bottom: 3rem; }
.series-section-heading {
  display: flex; align-items: center; gap: 0.65rem;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1rem;
  padding-bottom: 0.75rem; border-bottom: 1px solid var(--border);
}
.series-section-heading .ss-bar {
  width: 3px; height: 14px; border-radius: 2px; flex-shrink: 0;
}
.ss-bar-unleashed   { background: #ef4444; }
.ss-bar-spiritforged{ background: #a855f7; }
.ss-bar-origins     { background: #3b82f6; }
.char-card { position: relative; border-radius: var(--rad); overflow: hidden; aspect-ratio: 5/7; cursor: pointer; transition: transform 0.2s; display: block; background: linear-gradient(160deg, #0e1020, #181535); }
.char-card:hover { transform: translateY(-5px); }
.char-card img { width: 100%; height: 100%; object-fit: contain !important; }
.char-art-ph {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 3rem; font-weight: 900; color: rgba(255,255,255,0.18);
}
.char-name-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 2.5rem 0.75rem 0.75rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.88));
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; text-align: center;
}
.char-hover-border {
  position: absolute; inset: 0; border-radius: var(--rad);
  border: 2px solid transparent; transition: border-color 0.2s; pointer-events: none;
}
.char-card:hover .char-hover-border { border-color: var(--accent); }

/* Carousel */
.chars-carousel-wrap { position: relative; }
.chars-carousel-viewport { overflow: hidden; border-radius: var(--rad); width: 100%; }
.chars-carousel-track { display: flex; gap: 0.75rem; transition: transform 0.42s cubic-bezier(0.25,0.46,0.45,0.94); }
.chars-carousel-track .char-card { flex: 0 0 calc((100% - 3rem) / 5); min-width: 0; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(11,13,26,0.85); border: 1px solid rgba(255,255,255,0.18);
  color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
  z-index: 10; transition: all 0.2s; backdrop-filter: blur(8px);
  font-size: 1rem; font-weight: 700;
}
.carousel-btn:hover { background: rgba(59,130,246,0.4); border-color: var(--accent); }
.carousel-btn.prev { left: -18px; }
.carousel-btn.next { right: -18px; }
.carousel-btn:disabled { opacity: 0.25; pointer-events: none; }

/* ── GUIDE LIST ITEMS ──────────────────────────── */
.guides-list { display: flex; flex-direction: column; gap: 0.5rem; }
.guide-row {
  display: flex; gap: 0.875rem; align-items: center;
  padding: 0.6rem; border-radius: var(--rad); cursor: pointer; transition: background 0.15s;
}
.guide-row:hover { background: rgba(255,255,255,0.04); }
.guide-thumb { width: 80px; height: 52px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.guide-thumb img { width: 100%; height: 100%; object-fit: cover; }
.guide-thumb-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: rgba(255,255,255,0.55); }
.guide-info { flex: 1; min-width: 0; }
.guide-row-title { font-size: 0.84rem; font-weight: 600; line-height: 1.3; margin-bottom: 0.2rem; display: flex; align-items: center; gap: 0.45rem; flex-wrap: wrap; }
.badge-new { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.05em; padding: 0.15rem 0.4rem; border-radius: 3px; background: var(--accent); color: #fff; text-transform: uppercase; flex-shrink: 0; }
.guide-meta { font-size: 0.73rem; color: var(--muted); }

/* ── HOME MID (two-col) ────────────────────────── */
.home-mid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 1200px; margin: 0 auto; padding: 0 2rem 2.5rem; }

/* ── TOURNAMENT CARD ───────────────────────────── */
.tourney-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--rad-lg);
  padding: 1.5rem; display: flex; gap: 1.25rem; align-items: center;
}
.tourney-trophy { font-size: 4rem; flex-shrink: 0; filter: drop-shadow(0 0 18px rgba(245,158,11,0.65)); }
.tourney-info { flex: 1; }
.tourney-name { font-size: 1.4rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.5rem; }
.tourney-meta { display: flex; gap: 1.25rem; font-size: 0.78rem; color: var(--muted); margin-bottom: 0.6rem; }
.tourney-meta span { display: flex; align-items: center; gap: 0.3rem; }
.tourney-desc { font-size: 0.84rem; color: var(--muted); line-height: 1.55; margin-bottom: 1rem; }
.tourney-btns { display: flex; gap: 0.625rem; }

/* ── COMMUNITY BANNER ──────────────────────────── */
.community-banner {
  background: linear-gradient(135deg, #141930, #1e2340);
  border-top: 1px solid var(--border);
  padding: 1.75rem 2rem;
}
.community-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 1.25rem;
}
.discord-big { font-size: 2.4rem; flex-shrink: 0; }
.community-text h3 { font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.2rem; }
.community-text p { font-size: 0.82rem; color: var(--muted); max-width: 480px; }
.community-inner .btn { margin-left: auto; flex-shrink: 0; }

/* ── FOOTER ────────────────────────────────────── */
footer { background: #080a13; border-top: 1px solid var(--border); padding: 2.5rem 2rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; gap: 3rem; }
.footer-brand { flex: 0 0 220px; }
.footer-logo { display: flex; align-items: center; gap: 0.5rem; font-size: 1rem; font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.75rem; }
.footer-logo .icon { width: 28px; height: 28px; border-radius: 5px; background: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; }
.footer-brand p { font-size: 0.78rem; color: var(--muted); line-height: 1.65; margin-bottom: 1rem; }
.footer-socials { display: flex; gap: 0.4rem; }
.social-icon { width: 30px; height: 30px; border-radius: 6px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; color: var(--muted); transition: all 0.15s; }
.social-icon:hover { color: var(--text); background: rgba(255,255,255,0.1); }
.footer-cols { display: flex; gap: 3rem; flex: 1; }
.footer-col h4 { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.875rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { font-size: 0.78rem; color: var(--muted); transition: color 0.15s; }
.footer-col a:hover { color: var(--text); }

/* ── CHARACTER PAGE HERO ───────────────────────── */
.char-page-hero {
  position: relative;
  background: linear-gradient(135deg, #0d1128 0%, #1a1045 50%, #0d1128 100%);
  border-bottom: 1px solid var(--border); overflow: hidden;
}
.char-banner-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: none;
  opacity: 0.6; transform: scale(1);
  pointer-events: none;
}
.char-banner-bg img, .char-banner-bg svg { width: 100%; height: 100%; object-fit: cover; }
.char-page-inner {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto; padding: 1.5rem 2rem 0;
  display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end;
}
.breadcrumb { font-size: 0.72rem; color: var(--muted); display: flex; align-items: center; gap: 0.4rem; margin-bottom: 1.25rem; }
.breadcrumb a { color: var(--muted); transition: color 0.15s; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb .sep { color: var(--dim); }
.char-name-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.25rem; }
.char-name-icon { width: 48px; height: 48px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.char-name-icon img { width: 100%; height: 100%; object-fit: cover; }
.char-big-name { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 900; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1; }
.char-subtitle { font-size: 0.88rem; color: var(--muted); margin-bottom: 1rem; }
.char-tags { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.875rem; }
.tag { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.28rem 0.7rem; border-radius: 4px; }
.tag-gold   { border: 1px solid var(--accent-g); color: var(--accent-g); }
.tag-purple { border: 1px solid var(--purple);   color: var(--purple); }
.char-tier-badge {
  display: inline-flex; align-items: center;
  font-size: 0.62rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.2rem 0.6rem; border-radius: 5px;
  text-decoration: none; transition: opacity 0.15s; cursor: pointer;
}
.char-tier-badge:hover { opacity: 0.85; }
.char-difficulty { display: flex; align-items: center; gap: 0.625rem; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.diff-dots { display: flex; gap: 0.3rem; }
.diff-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.diff-dot.empty { background: rgba(255,255,255,0.15); }
.char-page-art { width: 260px; height: 300px; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.char-page-art img { max-height: 300px; object-fit: contain; object-position: bottom; }
.char-art-emoji { font-size: 9rem; opacity: 0.25; padding-bottom: 0.5rem; }

/* Sticky tab/section nav */
.tabs-bar { background: rgba(8,10,19,0.95); border-bottom: 1px solid var(--border); position: sticky; top: 60px; z-index: 90; backdrop-filter: blur(12px); }
.tabs-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; display: flex; }
.tab-btn {
  padding: 1rem 1.1rem; background: none; border: none; border-bottom: 2px solid transparent;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); cursor: pointer; transition: all 0.15s; text-decoration: none; display: flex; align-items: center;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--text); border-bottom-color: var(--accent); }

/* Scrollable char sections */
.char-section { border-top: 1px solid var(--border); }
.char-content { max-width: 1200px; margin: 0 auto; padding: 2rem; }
.section-heading {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.5rem; padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--border);
}

/* Featured guide */
.featured-guide {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--rad-lg); padding: 1.25rem; margin-bottom: 2rem;
}
.fg-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.fg-title { font-size: 1.2rem; font-weight: 800; line-height: 1.3; margin-bottom: 0.6rem; }
.fg-desc { font-size: 0.83rem; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; }

/* Guide grid */
.guides-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.guides-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0.875rem; margin-bottom: 2rem; }
.guide-card { border-radius: var(--rad); overflow: hidden; cursor: pointer; transition: transform 0.2s; display: block; }
.guide-card:hover { transform: translateY(-3px); }
.guide-card-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.guide-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.guide-thumb-ph2 { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: rgba(255,255,255,0.45); }
.guide-card-body { padding: 0.625rem; background: var(--bg-card); }
.guide-card-title { font-size: 0.78rem; font-weight: 600; line-height: 1.35; }

/* Info cards */
.info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.info-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--rad-lg); padding: 1.25rem; }
.info-card-hd { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.875rem; }
.info-row { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.625rem 0; border-top: 1px solid var(--border); }
.info-icon { width: 32px; height: 32px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.info-icon.blue   { background: rgba(59,130,246,0.15); }
.info-icon.gold   { background: rgba(245,158,11,0.15); }
.info-icon.red    { background: rgba(239,68,68,0.15); }
.info-icon.purple { background: rgba(168,85,247,0.15); }
.info-icon.green  { background: rgba(34,197,94,0.15); }
.info-row-label { font-size: 0.8rem; font-weight: 700; margin-bottom: 0.15rem; }
.info-row-desc  { font-size: 0.74rem; color: var(--muted); line-height: 1.4; }

/* Gradient swatches for placeholder art */
.g-diana    { background: linear-gradient(160deg, #1a1040 0%, #3d2070 50%, #1a1040 100%); }
.g-zenith   { background: linear-gradient(160deg, #0f1a2e 0%, #1e3a5f 50%, #0f1a2e 100%); }
.g-lyra     { background: linear-gradient(160deg, #0f2010 0%, #1e5f2a 50%, #0f2010 100%); }
.g-kayn     { background: linear-gradient(160deg, #1a0a0a 0%, #5f1e1e 50%, #1a0a0a 100%); }
.g-aurelion { background: linear-gradient(160deg, #0d0f20 0%, #1e2060 50%, #0d0f20 100%); }
.g-thumb1   { background: linear-gradient(135deg, #1a1040, #3d2070); }
.g-thumb2   { background: linear-gradient(135deg, #0f1a2e, #1e3a5f); }
.g-thumb3   { background: linear-gradient(135deg, #1a0a0a, #5f1e1e); }
.g-thumb4   { background: linear-gradient(135deg, #0a1a10, #1e5f2a); }
.g-thumb-hero { background: linear-gradient(135deg, #1a1040, #2d1b69, #1a1040); }
.g-thumb-feat { background: linear-gradient(135deg, #0d1128, #2d1b69); }

/* ── TAG COLORS ────────────────────────────────── */
.tag-fury,
.tag-aggro  { background: rgba(239,68,68,0.12);  border: 1px solid rgba(239,68,68,0.4);  color: #f87171; }
.tag-body   { background: rgba(249,115,22,0.12); border: 1px solid rgba(249,115,22,0.4); color: #fb923c; }
.tag-calm   { background: rgba(34,197,94,0.12);  border: 1px solid rgba(34,197,94,0.4);  color: #4ade80; }
.tag-order  { background: rgba(234,179,8,0.12);  border: 1px solid rgba(234,179,8,0.4);  color: #facc15; }
.tag-mind   { background: rgba(59,130,246,0.12); border: 1px solid rgba(59,130,246,0.4); color: #60a5fa; }
.tag-chaos  { background: rgba(168,85,247,0.12); border: 1px solid rgba(168,85,247,0.4); color: #c084fc; }
/* White/neutral tags */
.tag-origins, .tag-spiritforged, .tag-unleashed {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.28); color: #fff;
}
/* Trophy / Notable Result tags */
.tag-trophy {
  background: linear-gradient(135deg, rgba(245,158,11,0.18), rgba(251,191,36,0.12));
  border: 1px solid rgba(245,158,11,0.55);
  color: #fbbf24;
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-weight: 800;
}

/* ── GUIDE DESCRIPTION ─────────────────────────── */
.guide-desc-text { font-size: 0.88rem; color: var(--muted); line-height: 1.7; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); white-space: pre-wrap; }

/* ── LORE TEXT ──────────────────────────────────── */
.char-lore-text { font-size: 0.85rem; color: var(--muted); line-height: 1.7; margin-top: 0.875rem; max-width: 480px; }

/* ── MATCHUP CARDS ──────────────────────────────── */
.matchup-section { margin-bottom: 2rem; }
.matchup-section-hd { display: flex; align-items: center; gap: 0.625rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.875rem; }
.matchup-section-hd .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.matchup-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 0.75rem; }
.matchup-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--rad); overflow: hidden; text-align: center; cursor: pointer; transition: transform 0.2s, border-color 0.2s; display: block; padding-bottom: 0.75rem; }
.matchup-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.18); }
.matchup-icon { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; display: block; margin: 0.875rem auto 0.5rem; }
.matchup-icon-ph { width: 64px; height: 64px; border-radius: 8px; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; font-size: 1.75rem; margin: 0.875rem auto 0.5rem; }
.matchup-name { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0 0.4rem 0.4rem; }
.matchup-badge { font-size: 0.6rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.18rem 0.55rem; border-radius: 10px; display: inline-block; border: 1px solid; }
.mb-1 { background: rgba(34,197,94,0.12);  color: #4ade80;  border-color: rgba(34,197,94,0.35); }
.mb-2 { background: rgba(132,204,22,0.12); color: #a3e635; border-color: rgba(132,204,22,0.35); }
.mb-3 { background: rgba(245,158,11,0.12); color: #fbbf24; border-color: rgba(245,158,11,0.35); }
.mb-4 { background: rgba(249,115,22,0.12); color: #fb923c; border-color: rgba(249,115,22,0.35); }
.mb-5 { background: rgba(239,68,68,0.12);  color: #f87171; border-color: rgba(239,68,68,0.35); }
.matchup-empty { padding: 2.5rem; text-align: center; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--rad-lg); color: var(--muted); font-size: 0.88rem; }

/* ── MATCHUP ROWS (new design) ──────────────────── */
.mu-group-hd {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.5rem 0.875rem; margin-bottom: 0.5rem;
  border-radius: 0 6px 6px 0;
  background: rgba(255,255,255,0.03);
}
.mu-group-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); flex: 1; }
.mu-group-count { font-size: 0.7rem; font-weight: 700; color: var(--dim); background: rgba(255,255,255,0.06); border-radius: 10px; padding: 0.1rem 0.5rem; }
.mu-rows { display: flex; flex-direction: column; gap: 0.4rem; }
.mu-row-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.75rem 1rem; border-radius: 10px;
  background: var(--bg-card); border: 1px solid var(--border);
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
  text-decoration: none; color: inherit;
}
.mu-row-item:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.15); transform: translateX(4px); }
.mu-row-icon { width: 44px; height: 44px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.mu-row-icon img { width: 100%; height: 100%; object-fit: cover; }
.mu-row-body { flex: 1; min-width: 0; }
.mu-row-name { font-size: 0.88rem; font-weight: 700; margin-bottom: 0.35rem; }
.mu-row-bar-track { height: 4px; background: rgba(255,255,255,0.07); border-radius: 2px; overflow: hidden; }
.mu-row-bar-fill { height: 100%; border-radius: 2px; transition: width 0.6s ease; }

/* ── GAMEPLAY PAGE ──────────────────────────────── */
.gameplay-filters { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.filter-btn {
  padding: 0.4rem 0.875rem; border-radius: 20px; border: 1px solid var(--border);
  background: transparent; color: var(--muted); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; transition: all 0.15s;
  display: flex; align-items: center; gap: 0.4rem; font-family: inherit;
}
.filter-btn:hover { color: var(--text); border-color: rgba(255,255,255,0.25); }
.filter-btn.active { background: rgba(59,130,246,0.15); border-color: rgba(59,130,246,0.5); color: var(--accent); }
.filter-icon { width: 18px; height: 18px; border-radius: 4px; overflow: hidden; flex-shrink: 0; }
.filter-icon img { width: 100%; height: 100%; object-fit: cover; }

.gameplay-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.625rem; }
.gameplay-card {
  display: flex; flex-direction: column;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--rad-lg);
  overflow: hidden; transition: border-color 0.2s, transform 0.2s;
}
.gameplay-card:hover { border-color: rgba(255,255,255,0.18); transform: translateY(-2px); }
.gameplay-matchup {
  display: flex; align-items: center; justify-content: center; gap: 0.625rem;
  padding: 0.75rem 1rem; flex: 1; min-width: 0;
}
.gp-legend { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; flex: 1; max-width: 70px; text-decoration: none; color: inherit; transition: opacity 0.15s; }
.gp-legend:hover { opacity: 0.8; }
.gp-legend:hover .gp-icon { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(59,130,246,0.25); }
.gp-icon { width: 44px; height: 44px; border-radius: 8px; overflow: hidden; background: rgba(255,255,255,0.06); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; transition: border-color 0.15s, box-shadow 0.15s; }
.gp-icon img { width: 100%; height: 100%; object-fit: cover; }
.gp-name { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-align: center; color: var(--muted); }
.gp-vs { font-size: 0.65rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); flex-shrink: 0; }
.gameplay-thumb-wrap {
  width: 100%; flex-shrink: 0; position: relative; aspect-ratio: 16/9;
  overflow: hidden; background: #000; display: block;
}
.gameplay-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; transition: opacity 0.2s; }
.gameplay-thumb-wrap:hover img, .gameplay-card:hover .gameplay-thumb-wrap img { opacity: 1; }
.gp-play-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.25); transition: background 0.2s;
}
.gameplay-card:hover .gp-play-overlay { background: rgba(0,0,0,0.1); }
.gp-play { width: 32px; height: 32px; border-radius: 50%; background: rgba(0,0,0,0.6); border: 2px solid rgba(255,255,255,0.5); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; }
.gp-title { font-size: 0.72rem; font-weight: 600; color: var(--muted); padding: 0 0.75rem 0.5rem; line-height: 1.35; }
.gp-date  { font-size: 0.6rem; font-weight: 600; color: var(--dim); padding: 0 0.75rem 0.625rem; letter-spacing: 0.04em; }

/* Gameplay empty state */
.gameplay-empty { padding: 3rem; text-align: center; color: var(--muted); font-size: 0.88rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--rad-lg); }

/* VODs grid on character page */
.vods-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0.875rem; }
.vod-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--rad-lg); overflow: hidden; transition: transform 0.2s, border-color 0.2s; display: block; text-decoration: none; }
.vod-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.18); }
.vod-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.vod-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vod-body { padding: 0.875rem 1rem; }
.vod-matchup { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.4rem; }
.vod-icon { width: 22px; height: 22px; border-radius: 5px; overflow: hidden; background: rgba(255,255,255,0.06); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; }
.vod-icon img { width: 100%; height: 100%; object-fit: cover; }
.vod-vs-txt { font-size: 0.62rem; font-weight: 700; color: var(--dim); text-transform: uppercase; letter-spacing: 0.08em; }
.vod-title { font-size: 0.8rem; font-weight: 600; line-height: 1.3; color: var(--muted); }

/* Mini VOD cards (below top 3) */
.vods-section { margin-bottom: 1.75rem; }
.vods-section-hd { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 0.625rem; }
.vods-section-hd .vsh-bar { width: 3px; height: 13px; border-radius: 2px; flex-shrink: 0; }
.vsh-bar-unleashed   { background: #ef4444; }
.vsh-bar-spiritforged{ background: #a855f7; }
.vsh-bar-origins     { background: #3b82f6; }
.vsh-bar-other       { background: var(--dim); }
.vods-section-hd .vsh-label { font-size: 0.62rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; color: var(--text); }
.vods-section-hd .vsh-count { font-size: 0.58rem; font-weight: 600; color: var(--dim); }
.vods-mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.5rem; }
.vod-mini { background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: transform 0.2s, border-color 0.2s; display: block; text-decoration: none; }
.vod-mini:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.18); }
.vod-mini-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.vod-mini-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity 0.2s; }
.vod-mini:hover .vod-mini-thumb img { opacity: 1; }
.vod-mini-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.2); }
.vod-mini-play { width: 24px; height: 24px; border-radius: 50%; background: rgba(0,0,0,0.55); border: 1.5px solid rgba(255,255,255,0.45); display: flex; align-items: center; justify-content: center; font-size: 0.52rem; color: #fff; }
.vod-mini-body { padding: 0.3rem 0.45rem 0.35rem; display: flex; align-items: center; gap: 0.3rem; min-width: 0; }
.vod-mini-icon { width: 15px; height: 15px; border-radius: 3px; overflow: hidden; background: rgba(255,255,255,0.06); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 0.55rem; }
.vod-mini-icon img { width: 100%; height: 100%; object-fit: cover; }
.vod-mini-vs { font-size: 0.55rem; font-weight: 700; color: var(--dim); text-transform: uppercase; flex-shrink: 0; }
.vod-mini-name { font-size: 0.62rem; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── LEGENDS PAGE ────────────────────────────────── */
.legends-header { max-width: 1200px; margin: 0 auto; padding: 2.5rem 2rem 1.5rem; }
.legends-header h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 900; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 0.5rem; }
.legends-header p { font-size: 0.88rem; color: var(--muted); max-width: 480px; line-height: 1.65; }
.legends-filter { max-width: 1200px; margin: 0 auto; padding: 0 2rem 1.5rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* ── NAV SEARCH ─────────────────────────────────── */
.nav-search-wrap { position: relative; }
.nav-search-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  width: 280px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; box-shadow: 0 8px 28px rgba(0,0,0,0.45);
  z-index: 200; overflow: hidden;
}
.nav-search-input {
  width: 100%; padding: 0.75rem 1rem; background: transparent; border: none;
  border-bottom: 1px solid var(--border); color: var(--text); font-size: 0.85rem;
  outline: none; font-family: inherit; box-sizing: border-box;
}
.nav-search-input::placeholder { color: var(--dim); }
.nav-search-results { max-height: 300px; overflow-y: auto; padding: 0.375rem 0; }
.nsr-item {
  display: flex; align-items: center; gap: 0.625rem;
  padding: 0.45rem 1rem; text-decoration: none; color: var(--text);
  transition: background 0.12s;
}
.nsr-item:hover { background: rgba(255,255,255,0.05); }
.nsr-icon { width: 28px; height: 28px; border-radius: 6px; overflow: hidden; background: rgba(255,255,255,0.06); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; }
.nsr-icon img { width: 100%; height: 100%; object-fit: cover; }
.nsr-name { font-size: 0.82rem; font-weight: 600; }
.nsr-empty { padding: 0.875rem 1rem; font-size: 0.8rem; color: var(--dim); text-align: center; }

/* ── BURGER + MOBILE MENU ────────────────────────── */
.nav-burger {
  display: none; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 36px; height: 36px; background: transparent; border: none;
  cursor: pointer; padding: 0; border-radius: 6px; color: var(--text); flex-shrink: 0;
}
.nav-burger:hover { background: rgba(255,255,255,0.06); }
.nav-burger span {
  display: block; width: 20px; height: 2px; background: currentColor;
  border-radius: 2px; transition: transform 0.25s, opacity 0.25s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  z-index: 299; backdrop-filter: blur(3px);
}
.mobile-menu-overlay.open { display: block; }
.mobile-menu {
  position: fixed; top: 0; right: -300px; width: 280px; height: 100%;
  background: #12152a; border-left: 1px solid var(--border);
  z-index: 300; transition: right 0.28s ease; overflow-y: auto; display: flex; flex-direction: column;
}
.mobile-menu.open { right: 0; }
.mobile-menu-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--border);
}
.mobile-menu-title { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.mobile-menu-close {
  width: 30px; height: 30px; background: transparent; border: none;
  color: var(--text); cursor: pointer; font-size: 1.1rem; border-radius: 6px;
  display: flex; align-items: center; justify-content: center; transition: background 0.15s;
}
.mobile-menu-close:hover { background: rgba(255,255,255,0.08); }
.mobile-nav-links { list-style: none; padding: 0.5rem 0.75rem; flex: 1; }
.mobile-nav-links li a {
  display: block; padding: 0.8rem 0.875rem; font-size: 0.95rem; font-weight: 600;
  color: var(--muted); text-decoration: none; border-radius: 8px; transition: color 0.15s, background 0.15s;
}
.mobile-nav-links li a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.mobile-nav-links li a.active { color: var(--text); background: rgba(59,130,246,0.12); }
.mobile-nav-links li a.nav-shop { color: var(--accent-g); }
.mobile-nav-socials {
  padding: 1rem 1.25rem; border-top: 1px solid var(--border);
  display: flex; gap: 0.75rem; align-items: center;
}

/* ── YT LITE EMBED ───────────────────────────────── */
.yt-lite {
  position: relative; background-color: #000; aspect-ratio: 16/9;
  border-radius: 14px; overflow: hidden; cursor: pointer;
  background-size: cover; background-position: center;
  border: 1px solid var(--border);
}
.yt-lite::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 60%);
}
.yt-lite-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 68px; height: 48px; background: #ff0000; border: none; border-radius: 12px;
  cursor: pointer; transition: background 0.2s, transform 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.yt-lite-play::after {
  content: ''; width: 0; height: 0;
  border-top: 11px solid transparent; border-bottom: 11px solid transparent;
  border-left: 18px solid #fff; margin-left: 3px;
}
.yt-lite:hover .yt-lite-play { background: #cc0000; transform: translate(-50%,-50%) scale(1.08); }
.yt-lite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

/* ── RESPONSIVE ────────────────────────────────── */
@media (max-width: 900px) {
  .hero, .home-mid, .featured-guide, .info-cards { grid-template-columns: 1fr; }
  .chars-grid { grid-template-columns: repeat(3,1fr); }
  .feat-grid-big { grid-template-columns: repeat(2,1fr); }
  .feat-grid-small { grid-template-columns: repeat(4,1fr); }
  .guides-grid { grid-template-columns: repeat(2,1fr); }
  .char-page-inner { grid-template-columns: 1fr; }
  .char-page-art { display: none; }
  .footer-inner { flex-direction: column; gap: 2rem; }
  .footer-cols { flex-wrap: wrap; gap: 2rem; }
  .gameplay-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none !important; }
  .btn-yt { display: none; }
  .nav-burger { display: flex; }
}
@media (max-width: 600px) {
  .gameplay-list { grid-template-columns: 1fr; }
  .chars-grid { grid-template-columns: repeat(2,1fr); }
  .feat-grid-big { grid-template-columns: repeat(2,1fr); }
  .feat-grid-small { grid-template-columns: repeat(4,1fr); }
  .guides-grid { grid-template-columns: 1fr; }
  .community-inner { flex-direction: column; text-align: center; }
  .community-inner .btn { margin-left: 0; }
  .chars-carousel-track .char-card { flex: 0 0 calc((100% - 0.75rem) / 2); }
}

/* ── TIER LIST ──────────────────────────────────────── */
.tier-list-wrap { display: flex; flex-direction: column; gap: 0.5rem; }
.tier-row { display: flex; align-items: stretch; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--rad-lg); overflow: hidden; min-height: 90px; }
.tier-label { width: 72px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; font-weight: 900; letter-spacing: -0.02em; }
.tier-label-s { background: linear-gradient(160deg, #fbbf24, #f59e0b); color: #000; }
.tier-label-a { background: linear-gradient(160deg, #f97316, #ea580c); color: #fff; }
.tier-label-b { background: linear-gradient(160deg, #4ade80, #16a34a); color: #000; }
.tier-label-c { background: linear-gradient(160deg, #60a5fa, #3b82f6); color: #fff; }
.tier-label-d { background: linear-gradient(160deg, #a78bfa, #7c3aed); color: #fff; }
.tier-label-f { background: linear-gradient(160deg, #f87171, #dc2626); color: #fff; }
.tier-legends { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; padding: 0.875rem 1rem; flex: 1; }
.tier-leg-card { display: flex; flex-direction: column; align-items: center; gap: 0.375rem; text-decoration: none; color: inherit; transition: transform 0.2s; }
.tier-leg-card:hover { transform: translateY(-4px); }
.tier-leg-icon { width: 60px; height: 60px; border-radius: 10px; overflow: hidden; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.tier-leg-icon img { width: 100%; height: 100%; object-fit: cover; }
.tier-leg-name { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); text-align: center; max-width: 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tier-empty { font-size: 0.8rem; color: var(--dim); font-style: italic; padding: 0 0.5rem; }

/* ── MATCHUP NOTES ──────────────────────────────────── */
.mu-row-notes { font-size: 0.75rem; color: var(--muted); line-height: 1.4; margin-top: 0.3rem; padding: 0.35rem 0.6rem; background: rgba(255,255,255,0.03); border-radius: 4px; border-left: 2px solid rgba(255,255,255,0.12); font-style: italic; }

/* ── SHARED FILTER BAR (Gameplay + Legends) ─────────────── */
.gp-filter-bar {
  display: flex; align-items: center; gap: 0.875rem; flex-wrap: wrap;
  margin-bottom: 1.5rem; padding: 1rem 1.25rem;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
}
.gp-filter-group { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.gp-filter-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.gp-filter-sep { width: 1px; height: 28px; background: var(--border); flex-shrink: 0; }
.legend-search-wrap {
  position: relative; display: flex; align-items: center;
}
.legend-search-wrap svg {
  position: absolute; left: 0.6rem; pointer-events: none;
  color: var(--dim); flex-shrink: 0;
}
.legend-search {
  background: var(--bg-card2); border: 1px solid rgba(255,255,255,0.13);
  border-radius: 8px; padding: 0.4rem 0.75rem 0.4rem 2rem; color: var(--text);
  font-size: 0.78rem; font-family: inherit; outline: none;
  transition: border-color 0.15s; min-width: 180px;
}
.legend-search::placeholder { color: var(--dim); }
.legend-search:focus { border-color: var(--accent); }
.series-pill {
  padding: 0.3rem 0.75rem; border-radius: 20px; border: 1px solid var(--border);
  background: transparent; color: var(--muted); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer;
  transition: all 0.15s; font-family: inherit; white-space: nowrap;
}
.series-pill:hover { color: var(--text); border-color: rgba(255,255,255,0.25); }
.series-pill.active { color: #fff; }
/* Series variants */
.series-pill.sp-all         { border-color: rgba(59,130,246,0.35); color: var(--accent); }
.series-pill.sp-all.active  { background: rgba(59,130,246,0.14); }
.series-pill.sp-origins     { border-color: rgba(255,255,255,0.4); }
.series-pill.sp-origins.active     { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.5); }
.series-pill.sp-unleashed   { border-color: rgba(239,68,68,0.4); color: #f87171; }
.series-pill.sp-unleashed.active   { background: rgba(239,68,68,0.14); color: #f87171; }
.series-pill.sp-spiritforged{ border-color: rgba(168,85,247,0.4); color: #c084fc; }
.series-pill.sp-spiritforged.active{ background: rgba(168,85,247,0.14); color: #c084fc; }
.series-pill.sp-vendetta    { border-color: rgba(245,158,11,0.4); color: #fbbf24; }
.series-pill.sp-vendetta.active    { background: rgba(245,158,11,0.14); color: #fbbf24; }
/* Type variants (Legends page) */
.series-pill.sp-fury        { border-color: rgba(239,68,68,0.4); color: #f87171; }
.series-pill.sp-fury.active { background: rgba(239,68,68,0.14); color: #f87171; }
.series-pill.sp-body        { border-color: rgba(249,115,22,0.4); color: #fb923c; }
.series-pill.sp-body.active { background: rgba(249,115,22,0.14); color: #fb923c; }
.series-pill.sp-mind        { border-color: rgba(59,130,246,0.4); color: #60a5fa; }
.series-pill.sp-mind.active { background: rgba(59,130,246,0.14); color: #60a5fa; }
.series-pill.sp-chaos       { border-color: rgba(168,85,247,0.4); color: #c084fc; }
.series-pill.sp-chaos.active{ background: rgba(168,85,247,0.14); color: #c084fc; }
.series-pill.sp-calm        { border-color: rgba(34,197,94,0.4); color: #4ade80; }
.series-pill.sp-calm.active { background: rgba(34,197,94,0.14); color: #4ade80; }
.series-pill.sp-order       { border-color: rgba(234,179,8,0.4); color: #facc15; }
.series-pill.sp-order.active{ background: rgba(234,179,8,0.14); color: #facc15; }

/* ── LEGENDS FILTER WRAP ────────────────────────────── */
.legends-filter-wrap { max-width: 1200px; margin: 0 auto; padding: 0 2rem 1.5rem; }

/* ── COMING SOON STATE ──────────────────────────────── */
.coming-soon-block { padding: 2.5rem; text-align: center; color: var(--dim); font-size: 0.85rem; background: rgba(255,255,255,0.02); border-radius: 12px; border: 1px dashed rgba(255,255,255,0.08); }
.coming-soon-block .cs-icon { font-size: 2rem; margin-bottom: 0.75rem; opacity: 0.35; }
.coming-soon-block strong { display: block; font-size: 0.95rem; font-weight: 700; color: var(--muted); margin-bottom: 0.25rem; }


/* ── HOME PAGE REDESIGN ─────────────────────────────── */
.hero-wrap { background: linear-gradient(180deg, #0c0f1e 0%, var(--bg) 100%); border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.hero-wrap::before { content: ''; position: absolute; top: -40%; left: -10%; width: 60%; height: 140%; background: radial-gradient(ellipse at center, rgba(59,130,246,0.09) 0%, transparent 65%); pointer-events: none; }
.hero-wrap::after { content: ''; position: absolute; top: 20%; right: -5%; width: 40%; height: 80%; background: radial-gradient(ellipse at center, rgba(168,85,247,0.06) 0%, transparent 65%); pointer-events: none; }
.content-hub { background: rgba(255,255,255,0.018); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.content-hub-inner { max-width: 1200px; margin: 0 auto; padding: 2rem 2rem 2.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.content-panel-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; padding-bottom: 0.875rem; border-bottom: 1px solid var(--border); }
.content-panel-title { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; display: flex; align-items: center; gap: 0.5rem; }
.content-panel-title::before { content: ''; width: 3px; height: 14px; border-radius: 2px; background: var(--accent); flex-shrink: 0; }
.home-empty { padding: 2.5rem 1rem; text-align: center; color: var(--dim); font-size: 0.82rem; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.home-empty .he-icon { font-size: 1.8rem; opacity: 0.25; }
.features-strip { max-width: 1200px; margin: 0 auto; padding: 1.75rem 2rem; display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; border-bottom: 1px solid var(--border); }
.feat-item { display: flex; align-items: flex-start; gap: 0.875rem; }
.feat-icon { width: 36px; height: 36px; border-radius: 8px; background: rgba(59,130,246,0.12); border: 1px solid rgba(59,130,246,0.2); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.feat-icon.gold { background: rgba(245,158,11,0.12); border-color: rgba(245,158,11,0.2); }
.feat-icon.purple { background: rgba(168,85,247,0.12); border-color: rgba(168,85,247,0.2); }
.feat-text strong { font-size: 0.78rem; font-weight: 700; display: block; margin-bottom: 0.15rem; }
.feat-text span { font-size: 0.72rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 900px) { .content-hub-inner { grid-template-columns: 1fr; } .features-strip { grid-template-columns: 1fr; } }

/* ── MEET THE TEAM PAGE ─────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.team-card:hover { border-color: rgba(59,130,246,0.4); transform: translateY(-3px); }
.team-card-photo {
  width: 100%; aspect-ratio: 4/3; overflow: hidden;
  background: linear-gradient(160deg, #0e1020, #181535);
  position: relative;
}
.team-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card-photo-ph {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 5rem; opacity: 0.15;
}
.team-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: 0.75rem; }
.team-card-name { font-size: 1.05rem; font-weight: 800; letter-spacing: 0.01em; }
.team-card-role {
  display: inline-block; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 0.2rem 0.6rem; border-radius: 20px;
  background: rgba(59,130,246,0.12); border: 1px solid rgba(59,130,246,0.25); color: var(--accent);
}
.team-card-bio { font-size: 0.8rem; color: var(--muted); line-height: 1.65; flex: 1; }
.team-card-fav {
  display: flex; align-items: center; gap: 0.625rem;
  padding: 0.6rem 0.75rem; background: rgba(255,255,255,0.03);
  border: 1px solid var(--border); border-radius: 10px;
}
.team-card-fav-icon {
  width: 36px; height: 36px; border-radius: 7px; overflow: hidden;
  background: linear-gradient(160deg,#0e1020,#181535); flex-shrink: 0;
}
.team-card-fav-icon img { width: 100%; height: 100%; object-fit: contain; }
.team-card-fav-label { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.team-card-fav-name { font-size: 0.78rem; font-weight: 700; margin-top: 0.1rem; }
.team-card-socials { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.team-social-btn {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.28rem 0.65rem; border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.04);
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: all 0.15s;
}
.team-social-btn:hover { color: var(--text); border-color: rgba(255,255,255,0.28); background: rgba(255,255,255,0.08); }
.team-social-btn svg { opacity: 0.7; }
@media (max-width: 700px) { .team-grid { grid-template-columns: 1fr; } }
