/* ═══════════════════════════════════════════════════════════════════
   Rivals Cheats — Marvel Rivals cosmic multiverse aesthetic
   palette: dark cosmic + magenta + cyan + deep purple + gold
   typography: Saira Condensed display + Inter body + JetBrains Mono
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --bg:          #0A0E1A;
  --bg-2:        #11172B;
  --bg-3:        #1A2140;
  --panel:       #161E36;
  --panel-2:     #1F2748;
  --magenta:     #FF1A6B;
  --magenta-2:   #C9105A;
  --magenta-dk:  #6A0833;
  --cyan:        #00E5FF;
  --cyan-2:      #00A8C8;
  --cyan-dk:     #005A6E;
  --purple:      #7B2FF7;
  --purple-2:    #5A1FAA;
  --purple-dk:   #2A0F50;
  --gold:        #FFD23F;
  --gold-2:      #C9A724;
  --marvel-red:  #ED1D24;
  --text:        #F0F2F8;
  --text-2:      #9097A8;
  --text-3:      #4A5066;
  --border:      #2A3354;
  --border-2:    #404C75;
  --glow-mag:    0 0 24px rgba(255, 26, 107, .45), 0 0 60px rgba(255, 26, 107, .15);
  --glow-cyan:   0 0 24px rgba(0, 229, 255, .4), 0 0 60px rgba(0, 229, 255, .12);
  --glow-purple: 0 0 22px rgba(123, 47, 247, .4);
  --shadow-deep: 0 24px 60px rgba(0, 0, 0, .7);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
::selection { background: var(--magenta); color: #fff; }

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  background-image:
    /* multiverse cosmic glows */
    radial-gradient(ellipse 50% 40% at 80% -10%, rgba(255, 26, 107, .12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 50%, rgba(0, 229, 255, .08) 0%, transparent 55%),
    radial-gradient(ellipse 70% 40% at 50% 100%, rgba(123, 47, 247, .12) 0%, transparent 55%),
    /* subtle starfield dots */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Ccircle cx='30' cy='40' r='.7' fill='%23FFFFFF' opacity='.3'/%3E%3Ccircle cx='150' cy='80' r='.5' fill='%2300E5FF' opacity='.4'/%3E%3Ccircle cx='80' cy='130' r='.8' fill='%23FFFFFF' opacity='.2'/%3E%3Ccircle cx='170' cy='160' r='.5' fill='%23FF1A6B' opacity='.35'/%3E%3Ccircle cx='50' cy='180' r='.6' fill='%23FFFFFF' opacity='.25'/%3E%3Ccircle cx='120' cy='20' r='.4' fill='%237B2FF7' opacity='.4'/%3E%3C/svg%3E"),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  background-attachment: fixed;
  background-repeat: no-repeat, no-repeat, no-repeat, repeat, no-repeat;
}

a { color: var(--cyan); text-decoration: none; transition: color .2s, text-shadow .2s; }
a:hover { color: var(--magenta); text-shadow: var(--glow-mag); }

/* ═══════ TYPOGRAPHY ═══════ */
h1, h2, h3 {
  font-family: "Saira Condensed", "Oswald", "Bebas Neue", "Arial Narrow", sans-serif;
  font-weight: 700;
  letter-spacing: .005em;
  line-height: 1.05;
  color: var(--text);
  text-transform: uppercase;
}
h1 { font-size: 4.4rem; font-weight: 800; }
h2 { font-size: 2.2rem; margin-bottom: 1.2rem; }
h3 { font-size: 1.1rem; letter-spacing: .04em; }
h4 { font-family: "Saira Condensed", sans-serif; font-size: .85rem; text-transform: uppercase; letter-spacing: .22em; color: var(--magenta); font-weight: 700; }

.mag-grad {
  background: linear-gradient(95deg, var(--magenta) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cyan-grad {
  background: linear-gradient(95deg, var(--cyan) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gold-text { color: var(--gold); text-shadow: 0 0 14px rgba(255, 210, 63, .35); }

code {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  background: var(--panel);
  border: 1px solid var(--border-2);
  color: var(--cyan);
  padding: 1px 6px;
  font-size: .85em;
  border-radius: 2px;
}

/* ═══════ UTILITY ═══════ */
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; padding: .5rem 1rem; background: var(--magenta); color: #fff; z-index: 9999; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .45rem 1.1rem;
  background: rgba(255, 26, 107, .08);
  border: 1px solid var(--magenta-2);
  color: var(--magenta);
  font-family: "Saira Condensed", sans-serif;
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 600;
  clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%);
}
.eyebrow .pulse {
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.3;} }

/* energy beam divider */
.beam {
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--magenta) 30%, var(--cyan) 50%, var(--purple) 70%, transparent 100%);
  margin: 2rem auto;
  max-width: 300px;
  box-shadow: 0 0 20px rgba(255, 26, 107, .35);
}

/* ═══════ SECTION ═══════ */
.section { padding: 4rem 1.5rem; position: relative; }
.section-inner { max-width: 1180px; margin: 0 auto; }
.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
  max-width: 760px;
  margin-left: auto; margin-right: auto;
}
.section-label {
  display: inline-block;
  font-family: "Saira Condensed", sans-serif;
  font-size: .78rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: .9rem;
  padding-bottom: .55rem;
  position: relative;
  font-weight: 700;
}
.section-label::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 36px; height: 2px;
  background: var(--magenta);
  box-shadow: 0 0 10px var(--magenta);
}
.section-head h2 { margin-bottom: .9rem; }
.section-head p { color: var(--text-2); font-size: 1rem; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head.left .section-label::after { left: 0; transform: none; }

/* ═══════ HEADER ═══════ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 14, 26, .92);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--border);
}
.header::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--magenta) 30%, var(--cyan) 70%, transparent);
  opacity: .45;
}
.header-inner {
  max-width: 1280px; margin: 0 auto;
  padding: .85rem 1.5rem;
  display: flex; align-items: center; gap: 1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: "Saira Condensed", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--text);
  text-transform: uppercase;
}
.brand-mark {
  display: inline-block;
  background: var(--marvel-red);
  color: #fff;
  font-family: "Saira Condensed", sans-serif;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .14em;
  padding: .35rem .65rem;
  line-height: 1;
  border: 1px solid #fff;
  box-shadow: 0 0 0 1px var(--marvel-red), 2px 2px 0 0 #000;
  text-transform: uppercase;
}
.brand em {
  font-style: normal;
  background: linear-gradient(90deg, var(--magenta) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav { display: flex; margin-left: auto; }
.nav a {
  padding: .6rem 1.1rem;
  font-family: "Saira Condensed", sans-serif;
  font-size: .9rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-2);
  position: relative;
}
.nav a:hover, .nav a.active { color: var(--cyan); text-shadow: var(--glow-cyan); }
.nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 80%; height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.cta-pill {
  margin-left: .6rem;
  padding: .6rem 1.4rem;
  font-family: "Saira Condensed", sans-serif;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--magenta) 0%, var(--purple) 100%);
  border: 1px solid var(--magenta);
  cursor: pointer;
  clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%);
  transition: box-shadow .25s, transform .15s;
}
.cta-pill:hover {
  color: #fff;
  box-shadow: var(--glow-mag);
  transform: translateY(-1px);
}

.hamburger {
  display: none; margin-left: auto;
  background: none; border: 1px solid var(--border-2);
  width: 38px; height: 38px;
  cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 4px;
}
.hamburger span { display: block; width: 18px; height: 1.8px; background: var(--cyan); }
.mobile-nav { display: none; }

/* ═══════ HERO ═══════ */
.hero {
  padding: 5rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    /* portal-style cosmic burst */
    radial-gradient(circle 600px at 50% 30%, rgba(255, 26, 107, .14) 0%, transparent 50%),
    radial-gradient(circle 800px at 50% 80%, rgba(123, 47, 247, .12) 0%, transparent 60%),
    radial-gradient(circle 500px at 80% 50%, rgba(0, 229, 255, .08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1080px; margin: 0 auto;
  position: relative; z-index: 1;
  text-align: center;
}
.hero-inner > .eyebrow { margin-bottom: 2rem; }
.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 5.4rem);
  margin-bottom: 1.4rem;
  letter-spacing: -.005em;
}
.hero h1 .glow-mag { color: var(--magenta); text-shadow: var(--glow-mag); }
.hero h1 .glow-cyan { color: var(--cyan); text-shadow: var(--glow-cyan); }
.hero .tagline {
  font-size: 1.12rem;
  color: var(--text-2);
  max-width: 680px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}
.hero .tagline strong { color: var(--text); font-weight: 600; }
.hero-actions {
  display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center;
  margin-bottom: 2.5rem;
}

.btn-mag {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: 1.05rem 2rem;
  font-family: "Saira Condensed", sans-serif;
  font-size: .98rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--magenta) 0%, var(--purple) 100%);
  border: 1px solid var(--magenta);
  cursor: pointer;
  clip-path: polygon(6% 0%, 100% 0%, 94% 100%, 0% 100%);
  transition: box-shadow .25s, transform .15s, background .3s;
}
.btn-mag::after { content: '→'; font-size: 1.1em; }
.btn-mag:hover {
  color: #fff;
  box-shadow: var(--glow-mag);
  transform: translateY(-2px);
}

.btn-cyan {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: 1rem 1.7rem;
  font-family: "Saira Condensed", sans-serif;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
  background: transparent;
  border: 1px solid var(--cyan);
  clip-path: polygon(6% 0%, 100% 0%, 94% 100%, 0% 100%);
  transition: background .2s, box-shadow .2s;
}
.btn-cyan:hover {
  background: rgba(0, 229, 255, .1);
  box-shadow: var(--glow-cyan);
  color: var(--cyan);
}

/* ═══════ HEX-PORTAL CENTERPIECE ═══════ */
.portal {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto 2.5rem;
}
.portal svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 30px rgba(255, 26, 107, .5)) drop-shadow(0 0 60px rgba(0, 229, 255, .25));
  animation: portalSpin 24s linear infinite;
}
@keyframes portalSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.portal::before {
  content: '';
  position: absolute;
  inset: -20px;
  border: 1px dashed var(--cyan-dk);
  border-radius: 50%;
  animation: orbit 40s linear infinite reverse;
  opacity: .5;
}
@keyframes orbit { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ═══════ STATS HEX-BANNER ═══════ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid var(--border-2);
  background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
  position: relative;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}
.stat-cell {
  padding: 1.4rem 1rem;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-cell:last-child { border-right: none; }
.stat-cell .v {
  font-family: "Saira Condensed", sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  text-shadow: 0 0 14px rgba(0, 229, 255, .25);
}
.stat-cell .v.mag { color: var(--magenta); text-shadow: 0 0 14px rgba(255, 26, 107, .35); }
.stat-cell .v.cyan { color: var(--cyan); text-shadow: 0 0 14px rgba(0, 229, 255, .35); }
.stat-cell .v.gold { color: var(--gold); text-shadow: 0 0 14px rgba(255, 210, 63, .35); }
.stat-cell .l {
  display: block;
  font-family: "Saira Condensed", sans-serif;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: .4rem;
  font-weight: 600;
}

/* ═══════ ABOUT GRID ═══════ */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: start;
}
.about-grid p {
  color: var(--text-2);
  font-size: 1.02rem;
  margin-bottom: 1rem;
  line-height: 1.7;
}
.about-grid p strong { color: var(--text); font-weight: 600; }
.spec-card {
  background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border-2);
  padding: 1.4rem 1.5rem;
  font-family: "JetBrains Mono", monospace;
  font-size: .85rem;
  position: relative;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  box-shadow: var(--shadow-deep);
}
.spec-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--cyan) 50%, transparent 100%);
}
.spec-card .head {
  color: var(--magenta);
  font-family: "Saira Condensed", sans-serif;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: .9rem;
  padding-bottom: .6rem;
  border-bottom: 1px dashed var(--border);
  font-weight: 700;
}
.spec-card .row {
  display: flex; justify-content: space-between;
  padding: .45rem 0;
  border-bottom: 1px dotted rgba(64, 76, 117, .35);
  color: var(--text-2);
}
.spec-card .row:last-child { border-bottom: none; }
.spec-card .row .v { color: var(--cyan); font-weight: 600; }
.spec-card .row .v.mag { color: var(--magenta); }
.spec-card .row .v.gold { color: var(--gold); }

/* ═══════ CHEAT CARDS — role-coded ═══════ */
.cheat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.cheat {
  position: relative;
  background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border-2);
  padding: 1.5rem 1.4rem 1.3rem;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
.cheat:hover {
  border-color: var(--magenta);
  transform: translateY(-3px);
  box-shadow: var(--glow-mag);
}
.cheat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--magenta) 50%, transparent 100%);
}
.cheat.cyan::before { background: linear-gradient(90deg, transparent, var(--cyan), transparent); }
.cheat.cyan:hover { border-color: var(--cyan); box-shadow: var(--glow-cyan); }
.cheat.purple::before { background: linear-gradient(90deg, transparent, var(--purple), transparent); }
.cheat.purple:hover { border-color: var(--purple); box-shadow: var(--glow-purple); }
.cheat.gold::before { background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.cheat.gold:hover { border-color: var(--gold); }

.cheat-tag {
  display: inline-block;
  font-family: "Saira Condensed", sans-serif;
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--magenta);
  padding: .25rem .65rem;
  background: rgba(255, 26, 107, .08);
  border: 1px solid var(--magenta-dk);
  margin-bottom: .9rem;
  font-weight: 700;
}
.cheat.cyan .cheat-tag { color: var(--cyan); background: rgba(0, 229, 255, .06); border-color: var(--cyan-dk); }
.cheat.purple .cheat-tag { color: var(--purple); background: rgba(123, 47, 247, .08); border-color: var(--purple-dk); }
.cheat.gold .cheat-tag { color: var(--gold); background: rgba(255, 210, 63, .08); border-color: #5C4A14; }
.cheat h3 {
  font-family: "Saira Condensed", sans-serif;
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: .6rem;
  letter-spacing: .02em;
  font-weight: 700;
}
.cheat p {
  color: var(--text-2);
  font-size: .92rem;
  line-height: 1.6;
}
.cheat .stat-line {
  margin-top: .9rem;
  padding-top: .8rem;
  border-top: 1px dashed var(--border);
  display: flex; gap: 1rem;
  font-family: "JetBrains Mono", monospace;
  font-size: .72rem;
  color: var(--text-3);
}
.cheat .stat-line strong { color: var(--cyan); font-weight: 600; }

/* ═══════ HERO ROSTER (Marvel Rivals heroes) ═══════ */
.roster {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .9rem;
}
.hero-card {
  position: relative;
  padding: 1.2rem 1.1rem;
  background: linear-gradient(135deg, var(--panel) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border-2);
  transition: border-color .25s, transform .25s;
}
.hero-card:hover { transform: translateY(-2px); }
.hero-card .role {
  display: inline-block;
  font-family: "Saira Condensed", sans-serif;
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 2px 7px;
  margin-bottom: .55rem;
  border: 1px solid currentColor;
}
.hero-card .role.vanguard { color: var(--cyan); }
.hero-card .role.duelist { color: var(--magenta); }
.hero-card .role.strategist { color: var(--gold); }
.hero-card h3 {
  font-family: "Saira Condensed", sans-serif;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: .3rem;
  font-weight: 700;
}
.hero-card .ability {
  font-size: .82rem;
  color: var(--text-2);
}
.hero-card.vanguard:hover { border-color: var(--cyan); box-shadow: var(--glow-cyan); }
.hero-card.duelist:hover { border-color: var(--magenta); box-shadow: var(--glow-mag); }
.hero-card.strategist:hover { border-color: var(--gold); }

/* Hero character portrait (raster) */
.hero-portrait {
  height: 160px;
  position: relative;
  overflow: hidden;
  margin: -1.2rem -1.1rem 1rem -1.1rem;
  display: flex; align-items: center; justify-content: center;
  background: #0a0e1a;
}
.hero-portrait::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .55;
  z-index: 0;
}
.hero-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 14, 26, .85) 100%);
  z-index: 2;
  pointer-events: none;
}
.hero-card.h1 .hero-portrait::before { background: radial-gradient(ellipse at 50% 40%, #ED1D24 0%, #6B0E12 60%, #0a0e1a 100%); }
.hero-card.h2 .hero-portrait::before { background: radial-gradient(ellipse at 50% 40%, #C9105A 0%, #4A0825 60%, #0a0e1a 100%); }
.hero-card.h3 .hero-portrait::before { background: radial-gradient(ellipse at 50% 40%, #3DA13B 0%, #1A4818 60%, #0a0e1a 100%); }
.hero-card.h4 .hero-portrait::before { background: radial-gradient(ellipse at 50% 40%, #7B2FF7 0%, #2A0F50 60%, #0a0e1a 100%); }
.hero-card.h5 .hero-portrait::before { background: radial-gradient(ellipse at 50% 40%, #FFD23F 0%, #7E5816 60%, #0a0e1a 100%); }
.hero-card.h6 .hero-portrait::before { background: radial-gradient(ellipse at 50% 40%, #C9105A 0%, #2A0F50 60%, #0a0e1a 100%); }
.hero-card.h7 .hero-portrait::before { background: radial-gradient(ellipse at 50% 40%, #00E5FF 0%, #005A6E 60%, #0a0e1a 100%); }
.hero-card.h8 .hero-portrait::before { background: radial-gradient(ellipse at 50% 40%, #3DFF7A 0%, #1F8F40 60%, #0a0e1a 100%); }
.hero-img {
  position: relative;
  z-index: 1;
  width: 138px;
  height: 138px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.7));
  transition: transform .35s ease;
}
.hero-card:hover .hero-img { transform: scale(1.05); }

/* ═══════ SKIN SHOWCASE — CAROUSEL (skinchanger page) ═══════ */
.skin-carousel {
  position: relative;
  margin-top: 1.5rem;
}
.skin-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: .5rem .25rem 1.25rem;
  scroll-padding-left: .25rem;
}
.skin-track::-webkit-scrollbar { display: none; }

.skin-card {
  flex: 0 0 calc((100% - 3rem) / 4);
  min-width: 220px;
  position: relative;
  background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border-2);
  padding: 0;
  scroll-snap-align: start;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.skin-card.rare { border-color: var(--cyan-dk); }
.skin-card.epic { border-color: var(--purple-dk); }
.skin-card.legendary { border-color: var(--magenta-dk); }
.skin-card.mythic { border-color: #5C4A14; }
.skin-card:hover { transform: translateY(-4px); box-shadow: var(--glow-mag); border-color: var(--magenta); }
.skin-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  z-index: 3;
}
.skin-card.legendary::before { background: linear-gradient(90deg, transparent, var(--magenta), transparent); }
.skin-card.mythic::before { background: linear-gradient(90deg, transparent, var(--gold), transparent); }

.skin-art {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(255, 26, 107, .22) 0%, rgba(10, 14, 26, 0) 65%),
    linear-gradient(180deg, #181d2e 0%, #0a0e1a 100%);
}
.skin-art::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 14, 26, .85) 100%);
  pointer-events: none;
}
.skin-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  display: block;
  transition: transform .5s ease;
}
.skin-card:hover .skin-art img { transform: scale(1.06); }

.skin-meta {
  padding: .9rem 1rem 1rem;
}
.skin-card .rarity {
  display: inline-block;
  font-family: "Saira Condensed", sans-serif;
  font-size: .58rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 800;
  padding: 2px 7px;
  margin-bottom: .55rem;
  border: 1px solid currentColor;
  color: var(--cyan);
}
.skin-card.epic .rarity { color: var(--purple); }
.skin-card.legendary .rarity { color: var(--magenta); }
.skin-card.mythic .rarity { color: var(--gold); }
.skin-card .champ {
  font-family: "Saira Condensed", sans-serif;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 600;
}
.skin-card .skin-name {
  font-family: "Saira Condensed", sans-serif;
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 700;
  margin-top: .25rem;
  line-height: 1.2;
}

/* Carousel navigation */
.skin-nav {
  position: absolute;
  top: calc(50% - 1.25rem);
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(10, 14, 26, .82);
  border: 1px solid var(--border-2);
  color: var(--text);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 5;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.skin-nav:hover { background: var(--magenta); border-color: var(--magenta); color: #fff; }
.skin-nav:active { transform: translateY(-50%) scale(.94); }
.skin-nav svg { width: 22px; height: 22px; }
.skin-nav.prev { left: -8px; }
.skin-nav.next { right: -8px; }
.skin-nav[disabled] { opacity: .35; cursor: not-allowed; }

.skin-dots {
  display: flex;
  justify-content: center;
  gap: .4rem;
  margin-top: .25rem;
}
.skin-dots button {
  width: 22px;
  height: 4px;
  background: var(--border-2);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background .2s, width .2s;
}
.skin-dots button[aria-selected="true"] { background: var(--magenta); width: 36px; }

@media (max-width: 960px) {
  .skin-card { flex-basis: calc((100% - 1rem) / 2); }
}
@media (max-width: 600px) {
  .skin-card { flex-basis: 78%; min-width: 220px; }
  .skin-nav.prev { left: 4px; }
  .skin-nav.next { right: 4px; }
}

/* ═══════ INSTALL STEPS (download page) ═══════ */
.steps {
  list-style: none;
  display: grid;
  gap: .85rem;
  counter-reset: stp;
}
.steps li {
  counter-increment: stp;
  background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border-2);
  border-left: 3px solid var(--magenta);
  padding: 1.1rem 1.4rem;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1rem;
  align-items: start;
}
.steps li:nth-child(2n) { border-left-color: var(--cyan); }
.steps li:nth-child(3n) { border-left-color: var(--purple); }
.steps li::before {
  content: counter(stp);
  font-family: "Saira Condensed", sans-serif;
  font-size: 1.9rem;
  color: var(--magenta);
  font-weight: 900;
  text-align: center;
  padding-top: 4px;
  border-right: 1px solid var(--border);
  padding-right: 1rem;
  text-shadow: var(--glow-mag);
}
.steps li:nth-child(2n)::before { color: var(--cyan); text-shadow: var(--glow-cyan); }
.steps li:nth-child(3n)::before { color: var(--purple); text-shadow: var(--glow-purple); }
.steps li h3 {
  font-family: "Saira Condensed", sans-serif;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: .35rem;
  font-weight: 700;
}
.steps li p { color: var(--text-2); font-size: .9rem; line-height: 1.6; }
.steps li code { font-size: .82em; }

/* ═══════ DMA INFO PANEL ═══════ */
.dma-panel {
  background:
    radial-gradient(ellipse 60% 80% at 20% 0%, rgba(123, 47, 247, .15) 0%, transparent 60%),
    linear-gradient(180deg, var(--panel) 0%, var(--bg-3) 100%);
  border: 1px solid var(--purple);
  padding: 2rem 2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  box-shadow: var(--shadow-deep);
}
.dma-panel .dma-content h3 {
  font-family: "Saira Condensed", sans-serif;
  font-size: 1.7rem;
  margin-bottom: .7rem;
  color: var(--text);
  font-weight: 800;
}
.dma-panel .dma-content h3 .mag { color: var(--magenta); }
.dma-panel .dma-content p {
  color: var(--text-2);
  font-size: .98rem;
  line-height: 1.7;
}
.dma-panel .dma-content strong { color: var(--purple); }
.dma-panel .dma-specs {
  font-family: "JetBrains Mono", monospace;
  font-size: .8rem;
}
.dma-panel .dma-specs .row {
  display: flex; justify-content: space-between;
  padding: .5rem 0;
  border-bottom: 1px dashed var(--border);
}
.dma-panel .dma-specs .row:last-child { border-bottom: none; }
.dma-panel .dma-specs .v { color: var(--cyan); font-weight: 600; }

/* ═══════ FAQ — speech bubble style ═══════ */
.faq {
  display: grid;
  gap: .9rem;
}
.faq details {
  background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border-2);
  border-left: 3px solid var(--cyan);
  position: relative;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}
.faq details[open] { border-left-color: var(--magenta); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 3.2rem 1.1rem 1.5rem;
  font-family: "Saira Condensed", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .02em;
  position: relative;
  text-transform: uppercase;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 1.4rem; top: 50%;
  transform: translateY(-50%);
  font-family: "Saira Condensed", sans-serif;
  font-size: 1.6rem;
  color: var(--cyan);
  font-weight: 400;
}
.faq details[open] summary::after { content: '−'; color: var(--magenta); }
.faq .a {
  padding: 0 1.5rem 1.2rem 1.5rem;
  color: var(--text-2);
  font-size: .95rem;
  font-family: "Inter", sans-serif;
  line-height: 1.7;
  border-top: 1px dashed var(--border);
  padding-top: 1rem;
  margin: 0 1.4rem;
}

/* ═══════ CTA BANNER ═══════ */
.cta {
  margin: 4rem 1.5rem;
  max-width: 1080px;
  margin-left: auto; margin-right: auto;
  padding: 3rem 2rem;
  background:
    radial-gradient(circle at 30% 50%, rgba(255, 26, 107, .14) 0%, transparent 60%),
    radial-gradient(circle at 70% 50%, rgba(0, 229, 255, .1) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg-3) 100%);
  border: 1px solid var(--magenta);
  text-align: center;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}
.cta::before, .cta::after {
  content: '';
  position: absolute;
  left: 5%; right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--cyan) 50%, transparent 100%);
}
.cta::before { top: 12px; }
.cta::after { bottom: 12px; box-shadow: 0 0 12px var(--cyan); }
.cta h2 {
  font-size: 2.4rem;
  margin-bottom: .8rem;
  letter-spacing: .02em;
}
.cta p {
  color: var(--text-2);
  font-size: 1.05rem;
  margin-bottom: 1.8rem;
}

/* ═══════ FOOTER ═══════ */
.footer {
  margin-top: 4rem;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem 1.5rem;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px dashed var(--border);
}
.footer-brand .brand { margin-bottom: 1rem; font-size: 1.15rem; }
.footer-brand p { color: var(--text-2); font-size: .9rem; line-height: 1.65; max-width: 360px; }
.footer-col h4 {
  margin-bottom: 1rem;
  font-family: "Saira Condensed", sans-serif;
  font-size: .82rem;
  letter-spacing: .26em;
  font-weight: 700;
}
.footer-col a {
  display: block;
  color: var(--text-2);
  font-size: .9rem;
  padding: .3rem 0;
  font-family: "Inter", sans-serif;
}
.footer-col a:hover { color: var(--cyan); }
.footer-bot {
  padding-top: 1.4rem;
  display: flex; justify-content: space-between; gap: 1rem;
  font-size: .78rem;
  color: var(--text-3);
  flex-wrap: wrap;
}
.footer-bot strong { color: var(--marvel-red); font-weight: 600; }

/* ═══════ INTERNAL PAGE HERO ═══════ */
.page-hero {
  padding: 4rem 1.5rem 3rem;
  position: relative;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(255, 26, 107, .08) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 30% 100%, rgba(0, 229, 255, .06) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-hero-inner { max-width: 980px; margin: 0 auto; }
.page-hero .eyebrow { margin-bottom: 1.6rem; }
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  margin: 0 0 1.1rem;
}
.page-hero p {
  color: var(--text-2);
  font-size: 1.08rem;
  max-width: 700px;
  margin: 0 auto 1.8rem;
  line-height: 1.65;
}
.page-hero .hero-actions { justify-content: center; margin-bottom: 0; }

/* ═══════ MOBILE ═══════ */
@media (max-width: 900px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 1.8rem; }
  .hero { padding: 3rem 1rem 3.5rem; }
  .hero h1 { font-size: 2.6rem; }
  .portal { width: 200px; height: 200px; margin-bottom: 2rem; }
  .stats-row { grid-template-columns: repeat(2, 1fr); border-bottom: 1px solid var(--border); }
  .stat-cell { border-bottom: 1px solid var(--border); }
  .stat-cell:nth-child(2n) { border-right: none; }
  .stat-cell:nth-last-child(-n+2) { border-bottom: none; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cheat-grid { grid-template-columns: repeat(2, 1fr); }
  .roster { grid-template-columns: repeat(2, 1fr); }
  .skin-grid { grid-template-columns: repeat(2, 1fr); }
  .steps li { grid-template-columns: 40px 1fr; gap: .8rem; padding: 1rem; }
  .steps li::before { font-size: 1.4rem; padding-right: .7rem; }
  .dma-panel { grid-template-columns: 1fr; gap: 1.4rem; padding: 1.6rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .cta-pill { display: none; }
  .hamburger { display: flex; }
  .mobile-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    padding: .5rem 1rem 1rem;
  }
  .mobile-nav.open { display: block; }
  .mobile-nav a {
    display: block;
    padding: .75rem 1rem;
    font-family: "Saira Condensed", sans-serif;
    font-size: .95rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text);
    border-bottom: 1px solid var(--border);
  }
  .mobile-nav a.active { color: var(--cyan); }
}

@media (max-width: 600px) {
  .section { padding: 3rem 1rem; }
  .hero h1 { font-size: 2.2rem; }
  .cheat-grid { grid-template-columns: 1fr; }
  .roster { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .stat-cell { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-cell:last-child { border-bottom: none; }
  .footer-top { grid-template-columns: 1fr; }
  .cta { margin: 2rem 1rem; padding: 2.2rem 1.4rem; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 1.8rem; }
  .btn-mag, .btn-cyan { padding: .85rem 1.3rem; font-size: .82rem; }
  .roster { grid-template-columns: 1fr; }
}
