:root {
  --red: #e8001a; --gold: #f0b400; --cyan: #00d4ff;
  --dark: #080b10; --panel: #0d1220; --panel2: #111827;
  --border: #1e2d45; --text: #c8d8ea; --muted: #5a7090;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--dark); color: var(--text); font-family: 'Rajdhani', sans-serif; font-size: 16px; line-height: 1.6; overflow-x: hidden; }
body::before { content: ''; position: fixed; inset: 0; background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,.06) 2px, rgba(0,0,0,.06) 4px); pointer-events: none; z-index: 1000; }

/* NAV */
nav { position: sticky; top: 0; z-index: 900; background: rgba(8,11,16,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; padding: 0 2rem; height: 56px; }
.nav-logo { font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; letter-spacing: 3px; color: #fff; text-decoration: none; }
.nav-logo span { color: var(--red); }
.nav-links { display: flex; list-style: none; }
.nav-links a { display: block; padding: .4rem 1.1rem; font-family: 'Share Tech Mono', monospace; font-size: .78rem; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); text-decoration: none; border-left: 1px solid var(--border); transition: color .2s, background .2s; }
.nav-links a:last-child { border-right: 1px solid var(--border); }
.nav-links a:hover { color: var(--cyan); background: rgba(0,212,255,.05); }
.nav-links a.active { color: var(--cyan); }

/* BREADCRUMB */
.breadcrumb { max-width: 1100px; margin: 1.5rem auto 0; padding: 0 2rem; font-family: 'Share Tech Mono', monospace; font-size: .7rem; letter-spacing: 2px; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb span { color: var(--red); margin: 0 .4rem; }

/* PAGE */
.page { max-width: 1100px; margin: 0 auto; padding: 2rem 2rem 6rem; }

/* HERO */
.char-hero { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; border: 1px solid var(--border); background: var(--panel); padding: 2rem; margin-bottom: 2rem; position: relative; overflow: hidden; }
.char-hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--red), var(--gold)); }
@media (max-width: 600px) { .char-hero { grid-template-columns: 1fr; } }
.char-photo { width: 220px; background: var(--dark); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.char-photo img { width: 100%; height: auto; object-fit: contain; display: block; }
.char-meta { display: flex; flex-direction: column; justify-content: center; gap: .6rem; }
.char-name { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: 3px; color: #fff; line-height: 1; }
.char-variant { color: var(--red); font-size: clamp(1.4rem, 3vw, 2rem); }
.char-stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 2px; margin-top: .2rem; }
.meta-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .5rem; margin-top: .5rem; }
.meta-item { background: var(--dark); border: 1px solid var(--border); padding: .5rem .8rem; }
.meta-item .lbl { font-family: 'Share Tech Mono', monospace; font-size: .6rem; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: .1rem; }
.meta-item .val { font-weight: 700; font-size: 1rem; color: var(--text); }

/* TAGS */
.tag { display: inline-block; padding: .15rem .5rem; font-family: 'Share Tech Mono', monospace; font-size: .65rem; letter-spacing: 1px; text-transform: uppercase; border: 1px solid; margin-right: .2rem; }
.tag-attacker  { color: var(--red);    border-color: #8a0010; background: rgba(232,0,26,.1); }
.tag-defender  { color: #4d9fff;       border-color: #1a4080; background: rgba(0,80,200,.1); }
.tag-supporter { color: #40d080;       border-color: #0a5030; background: rgba(0,180,80,.1); }
.tag-slash     { color: #c8a0ff;       border-color: #5a3080; background: rgba(160,64,240,.1); }
.tag-shot      { color: var(--gold);   border-color: #806000; background: rgba(240,180,0,.1); }
.tag-blunt     { color: #ff9060;       border-color: #804020; background: rgba(255,120,60,.1); }
.tag-fire      { color: #ff6040;       border-color: #802010; background: rgba(255,80,40,.1); }
.tag-ice       { color: #80e8ff;       border-color: #206080; background: rgba(100,220,255,.1); }
.tag-wind      { color: #80ffb0;       border-color: #207040; background: rgba(80,255,140,.1); }
.tag-lightning { color: #ffe060;       border-color: #806010; background: rgba(255,210,40,.1); }

/* SECTION BLOCKS */
.section-block { border: 1px solid var(--border); background: var(--panel); margin-bottom: 1.5rem; overflow: hidden; }
.section-block-header { display: flex; align-items: center; gap: 1rem; padding: .8rem 1.4rem; border-bottom: 1px solid var(--border); background: var(--dark); }
.section-block-header h2 { font-family: 'Bebas Neue', sans-serif; font-size: 1.3rem; letter-spacing: 2px; color: #fff; }
.section-tag { font-family: 'Share Tech Mono', monospace; font-size: .6rem; letter-spacing: 2px; color: var(--red); text-transform: uppercase; }
.section-body { padding: 1.4rem; }

/* WEAPONS */
.weapon-list { display: flex; flex-direction: column; gap: .5rem; }
.weapon-item { display: flex; align-items: center; gap: 1rem; padding: .7rem 1rem; background: var(--dark); border: 1px solid var(--border); }
.weapon-rank { font-family: 'Bebas Neue', sans-serif; font-size: 1rem; letter-spacing: 2px; min-width: 60px; color: var(--muted); }
.weapon-rank.best { color: var(--gold); }
.weapon-rank.second { color: var(--text); }
.weapon-name { font-weight: 600; font-size: 1rem; color: var(--text); }

/* TWO COL */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .two-col { grid-template-columns: 1fr; } }
.info-box { background: var(--dark); border: 1px solid var(--border); padding: 1rem; }
.info-box .lbl { font-family: 'Share Tech Mono', monospace; font-size: .65rem; letter-spacing: 2px; color: var(--red); text-transform: uppercase; margin-bottom: .4rem; display: block; }
.info-box .val { font-size: 1rem; font-weight: 600; color: var(--text); }
.priority-chain { font-size: 1rem; font-weight: 700; color: var(--cyan); letter-spacing: 1px; }
.priority-chain span { color: var(--muted); margin: 0 .3rem; }

/* SKILL PRIORITY */
.skill-priority-list { display: flex; flex-direction: column; gap: .4rem; }
.skill-priority-item { display: flex; align-items: center; justify-content: space-between; padding: .6rem 1rem; background: var(--dark); border: 1px solid var(--border); }
.skill-priority-item .skill-name { font-weight: 600; font-size: .95rem; }
.skill-priority-item .skill-stars { color: var(--gold); font-size: .85rem; letter-spacing: 1px; }
.skill-priority-item .skill-stars .empty { color: var(--muted); }

/* SKILLS */
.skill-block { margin-bottom: 1.2rem; border: 1px solid var(--border); background: var(--dark); }
.skill-block:last-child { margin-bottom: 0; }
.skill-header { padding: .6rem 1rem; background: rgba(255,255,255,.03); border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: .8rem; }
.skill-type { font-family: 'Share Tech Mono', monospace; font-size: .65rem; letter-spacing: 2px; text-transform: uppercase; color: var(--red); }
.skill-header h3 { font-family: 'Bebas Neue', sans-serif; font-size: 1.1rem; letter-spacing: 2px; color: #fff; }
.skill-body { padding: 1rem; }
.skill-desc { font-size: .97rem; color: var(--text); margin-bottom: .8rem; line-height: 1.6; }
.skill-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .4rem; margin-top: .6rem; padding-top: .6rem; border-top: 1px solid var(--border); }
.skill-stat { font-family: 'Share Tech Mono', monospace; font-size: .7rem; letter-spacing: 1px; color: var(--muted); }
.skill-stat strong { color: var(--text); }
.sub-skill { margin-top: .8rem; padding: .8rem 1rem; border-left: 3px solid var(--gold); background: rgba(240,180,0,.04); }
.sub-skill-name { font-family: 'Bebas Neue', sans-serif; font-size: 1rem; letter-spacing: 1px; color: var(--gold); margin-bottom: .3rem; }

/* BULLETS */
.bullet-list { list-style: none; display: flex; flex-direction: column; gap: .4rem; padding-left: .5rem; }
.bullet-list li { position: relative; padding-left: 1.2rem; font-size: .95rem; color: var(--muted); }
.bullet-list li::before { content: '›'; position: absolute; left: 0; color: var(--red); }
.bullet-list li strong { color: var(--text); }

/* ASCENSION */
.ascension-list { display: flex; flex-direction: column; gap: .5rem; }
.ascension-item { display: grid; grid-template-columns: 80px 1fr; border: 1px solid var(--border); background: var(--dark); }
.ascension-label { display: flex; flex-direction: column; align-items: center; justify-content: center; border-right: 1px solid var(--border); padding: .8rem .5rem; text-align: center; background: rgba(255,255,255,.02); }
.a-id { font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; letter-spacing: 2px; color: var(--red); }
.a-stars { color: var(--gold); font-size: .6rem; letter-spacing: 1px; }
.a-stars .empty { color: #2a3a4a; }
.ascension-content { padding: .8rem 1rem; }
.a-name { font-family: 'Bebas Neue', sans-serif; font-size: 1rem; letter-spacing: 1px; color: #fff; margin-bottom: .3rem; }
.ascension-content p { font-size: .93rem; color: var(--muted); }

/* SPECIAL STATUS */
.special-status-list { display: flex; flex-direction: column; gap: .5rem; }
.special-status-item { padding: .8rem 1rem; background: var(--dark); border: 1px solid var(--border); border-left: 3px solid var(--cyan); }
.ss-name { font-family: 'Bebas Neue', sans-serif; font-size: 1rem; letter-spacing: 2px; color: var(--cyan); margin-bottom: .2rem; }
.special-status-item p { font-size: .93rem; color: var(--muted); }

/* FOOTER */
footer { text-align: center; padding: 3rem 2rem; border-top: 1px solid var(--border); font-family: 'Share Tech Mono', monospace; font-size: .7rem; letter-spacing: 2px; color: var(--muted); }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--cyan); }

/* ── DROPDOWN NAV ─────────────────────────────── */
.nav-dropdown { position: relative; list-style: none; }
.nav-dropdown > a {
  display: block; padding: .4rem 1.1rem;
  font-family: 'Share Tech Mono', monospace; font-size: .78rem; letter-spacing: 1px; text-transform: uppercase;
  color: var(--muted); text-decoration: none; border-left: 1px solid var(--border);
  transition: color .2s, background .2s; cursor: pointer; white-space: nowrap;
}
.nav-dropdown > a:hover, .nav-dropdown:hover > a { color: var(--cyan); background: rgba(0,212,255,.05); }
.nav-dropdown > a.active { color: var(--cyan); }

.dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: rgba(8,11,16,.97); border: 1px solid var(--border);
  border-top: 2px solid var(--red); min-width: 200px; list-style: none; z-index: 999;
  backdrop-filter: blur(12px);
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li a {
  display: block; padding: .6rem 1.2rem;
  font-family: 'Share Tech Mono', monospace; font-size: .72rem; letter-spacing: 1px; text-transform: uppercase;
  color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--border);
  transition: color .2s, background .2s; white-space: nowrap;
}
.dropdown-menu li:last-child a { border-bottom: none; }
.dropdown-menu li a:hover { color: var(--cyan); background: rgba(0,212,255,.05); padding-left: 1.6rem; }
