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

:root {
  --blue:    #54c8ff;
  --pink:    #ff6eb4;
  --gold:    #ffd060;
  --dark:    #0b0c1a;
  --darker:  #070810;
  --mid:     #12152a;
  --light:   #e8eeff;
  --muted:   #8892b0;
  --white:   #ffffff;
  --radius:  14px;
  --shadow:  0 8px 32px rgba(0,0,0,.45);
  --trans:   .35s cubic-bezier(.4,0,.2,1);
  --font:    'Segoe UI', 'Noto Sans TC', sans-serif;
}

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

body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--light);
  overflow-x: hidden;
  line-height: 1.7;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ═══════════════════════════════════════════
   SCROLLBAR
═══════════════════════════════════════════ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--darker); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

/* ═══════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  transition: background var(--trans), backdrop-filter var(--trans);
}
#navbar.scrolled {
  background: rgba(7,8,16,.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.1rem; font-weight: 700; letter-spacing: .04em;
  color: var(--white);
}
.slime-dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #a0e8ff, var(--blue) 60%, #1a7fcc);
  box-shadow: 0 0 12px var(--blue);
  flex-shrink: 0;
}
.slime-dot.large { width: 32px; height: 32px; }

.nav-links {
  display: flex; gap: 36px;
}
.nav-links a {
  font-size: .9rem; font-weight: 500; letter-spacing: .06em;
  color: var(--muted); transition: color var(--trans);
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--blue);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--trans);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-burger span {
  display: block; width: 24px; height: 2px;
  background: var(--light); border-radius: 2px;
  transition: transform var(--trans), opacity var(--trans);
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
#hero {
  position: relative; height: 100vh; min-height: 640px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-parallax {
  position: absolute; inset: -20%; z-index: 0;
  background: url('hero_bg.png') center/cover no-repeat;
  will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(7,8,16,.3) 0%,
    rgba(7,8,16,.55) 60%,
    rgba(7,8,16,.92) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 0 20px;
  animation: heroFadeIn 1.2s ease both;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-sub {
  font-size: .85rem; letter-spacing: .25em; color: var(--blue);
  text-transform: uppercase; margin-bottom: 16px;
}
.hero-title {
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 900; line-height: 1.15;
  color: var(--white);
  text-shadow: 0 4px 30px rgba(84,200,255,.35);
  margin-bottom: 20px;
}
.hero-title .accent {
  color: var(--blue);
  text-shadow: 0 0 40px rgba(84,200,255,.7);
}
.hero-desc {
  font-size: 1rem; color: var(--muted); margin-bottom: 36px;
  line-height: 1.9;
}
.btn-primary {
  display: inline-block;
  padding: 14px 40px; border-radius: 50px;
  background: linear-gradient(135deg, var(--blue), #1a7fcc);
  color: var(--white); font-weight: 700; font-size: .95rem;
  letter-spacing: .08em;
  box-shadow: 0 6px 24px rgba(84,200,255,.4);
  transition: transform var(--trans), box-shadow var(--trans);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(84,200,255,.55);
}
.hero-scroll-hint {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--muted); font-size: .7rem; letter-spacing: .2em;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: .5; transform: translateX(-50%) translateY(0); }
  50%      { opacity: 1;  transform: translateX(-50%) translateY(6px); }
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--muted), transparent);
}

/* ═══════════════════════════════════════════
   SHARED SECTION STYLES
═══════════════════════════════════════════ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

.section-header {
  text-align: center; margin-bottom: 60px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; color: var(--white);
}
.section-header.light h2 { color: var(--white); }
.section-tag {
  display: inline-block;
  font-size: .7rem; letter-spacing: .3em; font-weight: 700;
  color: var(--blue); margin-bottom: 10px;
}
.section-sub {
  margin-top: 8px; font-size: .85rem; color: var(--muted);
}

/* reveal animation */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════ */
.section-about {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--dark) 0%, var(--mid) 100%);
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.about-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(84,200,255,.12);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: transform var(--trans), border-color var(--trans), box-shadow var(--trans);
}
.about-card:hover {
  transform: translateY(-6px);
  border-color: rgba(84,200,255,.4);
  box-shadow: 0 16px 40px rgba(84,200,255,.12);
}
.about-icon { font-size: 2.4rem; margin-bottom: 16px; }
.about-card h3 { font-size: 1.1rem; color: var(--blue); margin-bottom: 12px; }
.about-card p  { font-size: .88rem; color: var(--muted); line-height: 1.8; }

/* ═══════════════════════════════════════════
   CHARACTERS
═══════════════════════════════════════════ */
.section-characters {
  background: var(--darker);
  padding: 120px 0 80px;
}
.section-characters .section-header { padding: 0 32px; }

.char-row {
  display: flex; align-items: center;
  gap: 0; overflow: hidden;
  min-height: 560px;
  position: relative;
}
.char-row-reverse { flex-direction: row-reverse; }

.char-img-wrap {
  flex: 0 0 38%;
  position: relative;
  display: flex; align-items: flex-end; justify-content: center;
  overflow: hidden;
  min-height: 560px;
}
.char-img {
  width: 100%; max-width: 420px;
  object-fit: contain;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,.7));
  transition: transform .6s ease;
}
.char-row:hover .char-img { transform: scale(1.04) translateY(-8px); }

/* slide-in animations */
.slide-in-left  { opacity: 0; transform: translateX(-60px); transition: opacity .8s ease, transform .8s ease; }
.slide-in-right { opacity: 0; transform: translateX(60px);  transition: opacity .8s ease, transform .8s ease; }
.slide-in-left.visible, .slide-in-right.visible { opacity: 1; transform: translateX(0); }

.char-info {
  flex: 1;
  padding: 60px 56px;
}
.char-row-reverse .char-info { padding-left: 56px; padding-right: 56px; }

.char-tag {
  display: inline-block;
  padding: 4px 14px; border-radius: 20px;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--c, var(--blue));
  color: var(--c, var(--blue));
  margin-bottom: 14px;
}
.char-name {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900; color: var(--white);
  margin-bottom: 4px;
}
.char-name-jp {
  font-size: .85rem; color: var(--muted); margin-bottom: 24px;
  letter-spacing: .1em;
}
.char-stats {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 22px;
}
.stat {
  display: flex; gap: 12px; font-size: .85rem;
}
.stat-label {
  color: var(--blue); font-weight: 600;
  min-width: 44px;
}
.char-desc {
  font-size: .9rem; color: var(--muted); line-height: 1.9;
  margin-bottom: 22px;
}
.char-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.tag {
  padding: 4px 12px; border-radius: 20px;
  font-size: .75rem; font-weight: 600;
  background: rgba(84,200,255,.1);
  border: 1px solid rgba(84,200,255,.25);
  color: var(--blue);
}

/* alternating bg strips */
.char-row:nth-child(odd)  { background: rgba(255,255,255,.015); }
.char-row:nth-child(even) { background: rgba(84,200,255,.025); }

/* ═══════════════════════════════════════════
   GALLERY
═══════════════════════════════════════════ */
.section-gallery {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--mid) 0%, var(--dark) 100%);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 16px;
}
.gallery-item {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.gallery-item:hover img { transform: scale(1.07); }

.gallery-wide {
  grid-column: span 3;
  grid-row: span 1;
}

.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 14px 18px;
  background: linear-gradient(to top, rgba(0,0,0,.75), transparent);
  font-size: .85rem; font-weight: 600; color: var(--white);
  transform: translateY(100%);
  transition: transform var(--trans);
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }

/* ═══════════════════════════════════════════
   FAN SECTIONS (MERCH + FIGURES)
═══════════════════════════════════════════ */
.section-fan {
  padding: 120px 0;
  background: var(--darker);
}
.section-fan-alt {
  background: linear-gradient(180deg, var(--darker) 0%, var(--mid) 100%);
}

.fan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.fan-item {
  display: flex; flex-direction: column; gap: 12px;
}

/* 1:1 縮圖容器 */
.fan-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;          /* ← 1:1 正方形 */
  overflow: hidden;
  border-radius: var(--radius);
  cursor: zoom-in;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  transition: border-color var(--trans), box-shadow var(--trans);
}
.fan-thumb-wrap:hover {
  border-color: rgba(84,200,255,.4);
  box-shadow: 0 12px 40px rgba(84,200,255,.18);
}
.fan-thumb {
  width: 100%; height: 100%;
  object-fit: cover;            /* 裁切填滿 1:1 */
  transition: transform .5s ease;
}
.fan-thumb-wrap:hover .fan-thumb { transform: scale(1.05); }

.fan-zoom-icon {
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(0,0,0,.55);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  opacity: 0; transition: opacity var(--trans);
}
.fan-thumb-wrap:hover .fan-zoom-icon { opacity: 1; }

.fan-caption {
  font-size: .85rem; color: var(--muted);
  text-align: center; font-weight: 500;
  padding: 0 4px;
}

/* ═══════════════════════════════════════════
   LIGHTBOX
═══════════════════════════════════════════ */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
  padding: 20px;
}
.lightbox.open { opacity: 1; pointer-events: all; }

.lb-content {
  position: relative;
  max-width: min(90vw, 1200px);
  max-height: 90vh;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  transform: scale(.92);
  transition: transform .3s ease;
}
.lightbox.open .lb-content { transform: scale(1); }

#lbImg {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 80px rgba(0,0,0,.8);
}
#lbCaption {
  color: var(--light); font-size: .9rem; text-align: center;
  max-width: 700px; line-height: 1.7;
}
.lb-close {
  position: fixed; top: 24px; right: 32px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white); font-size: 1.1rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background var(--trans), transform var(--trans);
  z-index: 10000;
}
.lb-close:hover { background: rgba(255,255,255,.25); transform: rotate(90deg); }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer {
  background: var(--darker);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 60px 32px;
}
.footer-inner {
  max-width: 800px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  text-align: center;
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.1rem; font-weight: 700;
}
.footer-note { font-size: .8rem; color: var(--muted); line-height: 1.8; }
.footer-copy { font-size: .75rem; color: rgba(136,146,176,.5); }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; top: 64px; left: 0; right: 0;
    background: rgba(7,8,16,.97);
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav-links.open li a {
    display: block; padding: 14px 32px;
    font-size: 1rem;
  }

  .char-row, .char-row-reverse {
    flex-direction: column;
    min-height: auto;
  }
  .char-img-wrap { flex: none; width: 100%; min-height: 320px; }
  .char-info { padding: 36px 28px; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 200px;
  }
  .gallery-wide { grid-column: span 2; }

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

@media (max-width: 560px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .gallery-wide { grid-column: span 1; }
  .fan-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .char-info { padding: 28px 20px; }
}

/* ═══════════════════════════════════════════
   SKILLS ENCYCLOPEDIA
═══════════════════════════════════════════ */
.section-skills {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--darker) 0%, #0d0f20 50%, var(--darker) 100%);
  position: relative;
  overflow: hidden;
}

.section-skills::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 30%, rgba(84,200,255,.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 35% at 80% 70%, rgba(255,208,96,.05) 0%, transparent 70%);
  pointer-events: none;
}

.section-desc {
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: .5rem;
}

/* Tier Legend */
.skill-tier-legend {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 2rem 0 3rem;
}

.tier-item {
  padding: .4rem 1.2rem;
  border-radius: 20px;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .05em;
}

.tier-ultimate { background: linear-gradient(135deg, #7b2fff, #ff6eb4); color: #fff; }
.tier-unique    { background: linear-gradient(135deg, #1a6fff, #54c8ff); color: #fff; }
.tier-extra     { background: linear-gradient(135deg, #0f9e6e, #54ffb4); color: #fff; }
.tier-common    { background: rgba(255,255,255,.1); color: var(--light); border: 1px solid rgba(255,255,255,.15); }

/* Category */
.skill-category { margin-bottom: 4rem; }

.skill-cat-title {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: .8rem;
}

.skill-cat-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,.15), transparent);
}

.cat-badge {
  padding: .35rem 1rem;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .08em;
  white-space: nowrap;
}

.cat-badge.ultimate { background: linear-gradient(135deg, #7b2fff, #ff6eb4); color: #fff; }
.cat-badge.unique   { background: linear-gradient(135deg, #1a6fff, #54c8ff); color: #fff; }
.cat-badge.extra    { background: linear-gradient(135deg, #0f9e6e, #54ffb4); color: #fff; }

/* Skill Cards Grid */
.skill-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 1.5rem;
}

.skill-cards-3col {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Skill Card */
.skill-card {
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
  transition: transform var(--trans), box-shadow var(--trans);
}

.skill-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,.5);
}

.skill-ultimate {
  border-color: rgba(123,47,255,.35);
  background: linear-gradient(135deg, rgba(123,47,255,.08) 0%, rgba(255,110,180,.05) 100%);
}

.skill-ultimate:hover {
  box-shadow: 0 16px 48px rgba(123,47,255,.25);
}

.skill-unique {
  border-color: rgba(26,111,255,.3);
  background: linear-gradient(135deg, rgba(26,111,255,.07) 0%, rgba(84,200,255,.04) 100%);
}

.skill-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.4rem 1.4rem 0;
}

.skill-icon-wrap {
  flex-shrink: 0;
}

.skill-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.skill-icon-wisdom  { background: linear-gradient(135deg, #7b2fff, #a855f7); }
.skill-icon-covenant{ background: linear-gradient(135deg, #ff6eb4, #ffd060); }
.skill-icon-predator{ background: linear-gradient(135deg, #1a6fff, #54c8ff); }
.skill-icon-sage    { background: linear-gradient(135deg, #0f9e6e, #54ffb4); }
.skill-icon-storm   { background: linear-gradient(135deg, #0066cc, #00ccff); }

.skill-title-wrap {
  flex: 1;
}

.skill-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .2rem;
}

.skill-name-jp {
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: .5rem;
}

.skill-badge {
  display: inline-block;
  padding: .2rem .7rem;
  border-radius: 4px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
}

.badge-ultimate { background: rgba(123,47,255,.3); color: #c084fc; border: 1px solid rgba(123,47,255,.4); }
.badge-unique   { background: rgba(26,111,255,.25); color: #60a5fa; border: 1px solid rgba(26,111,255,.35); }

/* Skill Body */
.skill-body {
  padding: 1rem 1.4rem 1.4rem;
}

.skill-origin {
  font-size: .88rem;
  color: var(--muted);
  margin-bottom: 1rem;
  padding-left: .8rem;
  border-left: 2px solid rgba(255,255,255,.15);
  font-style: italic;
}

.skill-effects {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  margin-bottom: 1.2rem;
}

.skill-effect {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: .6rem;
  align-items: baseline;
}

.effect-label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  padding: .15rem .5rem;
  background: rgba(255,208,96,.1);
  border-radius: 4px;
  text-align: center;
}

.effect-desc {
  font-size: .88rem;
  color: var(--light);
  line-height: 1.6;
}

.skill-quote {
  margin-top: 1rem;
  padding: .8rem 1rem;
  background: rgba(255,255,255,.04);
  border-left: 3px solid var(--pink);
  border-radius: 0 8px 8px 0;
  font-size: .88rem;
  color: var(--light);
  font-style: italic;
}

.quote-src {
  display: block;
  margin-top: .3rem;
  font-size: .78rem;
  color: var(--muted);
  font-style: normal;
}

/* Skill List (Extra Skills) */
.skill-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.skill-list-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.2rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  transition: background var(--trans), border-color var(--trans);
}

.skill-list-item:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(84,200,255,.2);
}

.skill-list-icon {
  font-size: 1.1rem;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: .15rem;
}

.skill-list-content h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .3rem;
}

.skill-list-content p {
  font-size: .87rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Evolution Tree */
.skill-evolution {
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
}

.skill-evo-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1.5rem;
  text-align: center;
  letter-spacing: .05em;
}

.evo-tree {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.evo-branch {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.evo-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  padding: .8rem 1.5rem;
  border-radius: 10px;
  min-width: 140px;
  text-align: center;
}

.evo-start {
  background: rgba(26,111,255,.15);
  border: 1px solid rgba(26,111,255,.3);
}

.evo-end {
  background: linear-gradient(135deg, rgba(123,47,255,.2), rgba(255,110,180,.15));
  border: 1px solid rgba(123,47,255,.4);
}

.evo-icon {
  font-size: 1.5rem;
}

.evo-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.evo-type {
  font-size: .75rem;
  color: var(--muted);
}

.evo-arrow {
  font-size: 1.8rem;
  color: var(--gold);
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .skill-cards {
    grid-template-columns: 1fr;
  }
  .skill-cards-3col {
    grid-template-columns: 1fr;
  }
  .skill-effect {
    grid-template-columns: 90px 1fr;
  }
  .evo-branch {
    justify-content: center;
  }
  .skill-tier-legend {
    gap: .6rem;
  }
}
