:root {
  --bg: #07050a;
  --bg2: #0e0a12;
  --panel: #140f19;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f0ecf2;
  --muted: #9b93a3;
  --crimson: #dc1433;
  --crimson2: #8a0f1e;
  --gold: #ffcc4d;
  --rare: #4099ff;
  --epic: #b34dff;
  --legendary: #ffa61a;
  --mythic: #ff264d;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 Inter, system-ui, sans-serif; }
a { color: inherit; }
h1, h2, h3, .brand, .btn, .tag, .eyebrow { font-family: Rajdhani, Inter, sans-serif; letter-spacing: .04em; }
h2 { font-size: clamp(32px, 5vw, 52px); margin: 0 0 6px; text-transform: uppercase; }
h2::after { content: ""; display: block; width: 90px; height: 4px; background: var(--crimson); margin-top: 8px; }
.sub { color: var(--muted); margin: 10px 0 30px; max-width: 760px; }
code { background: #1c1622; padding: 2px 6px; border-radius: 4px; }

.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(16px, 4vw, 48px); background: rgba(7, 5, 10, .86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { font-weight: 700; font-size: 24px; text-decoration: none; }
.brand span { color: var(--text); }
.brand { color: var(--crimson); }
.nav nav { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.nav nav a { text-decoration: none; color: var(--muted); font-weight: 500; }
.nav nav a:hover { color: var(--text); }

.btn { display: inline-block; background: var(--crimson); color: #fff; text-decoration: none; font-weight: 700; font-size: 18px; text-transform: uppercase;
  padding: 14px 26px; border: 0; cursor: pointer; transition: transform .15s, background .15s; clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
.btn:hover { background: #ff2a4a; transform: translateY(-1px); }
.btn.ghost { background: transparent; box-shadow: inset 0 0 0 2px var(--crimson); }
.btn.ghost:hover { background: rgba(220, 20, 51, .15); }
.btn.small { font-size: 15px; padding: 9px 16px; color: #fff !important; }
.btn.big { font-size: 24px; padding: 20px 40px; }
.btn:disabled { opacity: .35; cursor: default; transform: none; }

.hero { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0;
  background: radial-gradient(1200px 600px at 75% 40%, rgba(220, 20, 51, .35), transparent 60%),
              radial-gradient(900px 500px at 20% 90%, rgba(120, 20, 160, .25), transparent 60%),
              repeating-linear-gradient(115deg, rgba(255,255,255,.025) 0 2px, transparent 2px 22px), var(--bg); }
.hero-inner { position: relative; padding: 60px clamp(16px, 6vw, 96px); max-width: 1100px; }
.eyebrow { color: var(--gold); font-weight: 700; letter-spacing: .2em; }
.hero h1 { font-size: clamp(58px, 11vw, 140px); line-height: .9; margin: 10px 0 18px; }
.hero h1 em { font-style: normal; color: var(--crimson); text-shadow: 0 0 40px rgba(220, 20, 51, .5); }
.lead { font-size: clamp(17px, 2vw, 20px); color: #d8d0dd; max-width: 640px; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0; }
.stats { display: flex; flex-wrap: wrap; gap: 26px; list-style: none; padding: 0; margin: 24px 0 0; color: var(--muted); }
.stats b { display: block; color: var(--text); font: 700 36px Rajdhani, sans-serif; }

.section { padding: 90px clamp(16px, 6vw, 96px); }
.section.alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid { display: grid; gap: 18px; }
.modes { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.maps { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.ops { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.feats { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.store { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.card, .feat { background: var(--panel); border: 1px solid var(--line); padding: 22px; position: relative; }
.card h3, .feat h3 { margin: 0 0 6px; font-size: 24px; text-transform: uppercase; }
.card p, .feat p { margin: 0; color: var(--muted); }
.feat { border-left: 3px solid var(--crimson); }
.mode .icon { font-size: 30px; margin-bottom: 8px; }

.map { padding: 0; overflow: hidden; }
.map .art { height: 150px; position: relative; }
.map .art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, var(--panel)); }
.map .body { padding: 16px 20px 20px; }

.op { overflow: hidden; }
.op .portrait { height: 190px; margin: -22px -22px 16px; position: relative; display: grid; place-items: end center;
  background: radial-gradient(circle at 50% 30%, rgba(255,255,255,.08), transparent 60%); }
.op .fig { width: 90px; height: 170px; position: relative; }
.op .portrait .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.op .portrait.has-photo { height: 300px; }
.op .portrait.has-photo .fig { display: none; }
.op .fig .head { position: absolute; left: 30px; top: 6px; width: 30px; height: 36px; border-radius: 50% 50% 46% 46%; background: #d8ab8f; }
.op .fig .hair { position: absolute; left: 24px; top: 0; width: 42px; height: 26px; border-radius: 20px 20px 6px 6px; }
.op .fig .hairlong { position: absolute; left: 22px; top: 14px; width: 46px; height: 64px; border-radius: 8px; z-index: -1; }
.op .fig .body { position: absolute; left: 14px; top: 44px; width: 62px; height: 126px; border-radius: 18px 18px 4px 4px; }
.op .fig .visor { position: absolute; left: 34px; top: 20px; width: 22px; height: 4px; border-radius: 2px; }
.op .role { color: var(--crimson); font: 600 13px Rajdhani, sans-serif; letter-spacing: .15em; text-transform: uppercase; }
.op .real { color: var(--text); font-size: 14px; margin-bottom: 8px; }
.op .perk { margin-top: 10px; font-size: 14px; }
.op .perk b { color: var(--gold); }
.badge { position: absolute; top: 12px; right: 12px; font: 700 12px Rajdhani, sans-serif; letter-spacing: .12em; padding: 3px 8px; background: rgba(0,0,0,.6); border: 1px solid var(--gold); color: var(--gold); }

.bp-legend { display: flex; gap: 10px; margin-bottom: 14px; }
.tag { font-weight: 700; font-size: 13px; padding: 3px 10px; letter-spacing: .15em; }
.tag.free { background: #2a2530; }
.tag.premium { background: linear-gradient(90deg, #8a6a10, #ffcc4d); color: #1a1205; }
.bp-track { display: grid; grid-auto-flow: column; grid-auto-columns: 150px; gap: 10px; overflow-x: auto; padding-bottom: 14px; scrollbar-color: var(--crimson) #1a141f; }
.tier { display: grid; grid-template-rows: auto 1fr 1fr; gap: 8px; }
.tier .num { text-align: center; font: 700 18px Rajdhani, sans-serif; background: var(--crimson2); padding: 4px; }
.reward { background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--rare); padding: 12px 10px; min-height: 150px; text-align: center; font-size: 13px; cursor: pointer; }
.reward.premium { background: linear-gradient(180deg, rgba(255, 204, 77, .08), var(--panel)); }
.reward .sw { width: 54px; height: 54px; margin: 4px auto 10px; position: relative; display: grid; place-items: center; font: 700 18px Rajdhani, sans-serif; }
.reward .type { color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin-top: 4px; }

.store-bar { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs button { background: #1c1622; color: var(--muted); border: 0; padding: 10px 16px; font: 700 15px Rajdhani, sans-serif; letter-spacing: .1em; cursor: pointer; }
.tabs button.on { background: var(--crimson); color: #fff; }
#store-search { background: #1c1622; border: 1px solid var(--line); color: var(--text); padding: 11px 14px; min-width: 240px; font: inherit; }
.bundle { cursor: pointer; transition: transform .15s, border-color .15s; padding: 0; overflow: hidden; }
.bundle:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.25); }
.bundle .top { height: 6px; }
.bundle .inner { padding: 16px 18px 18px; }
.bundle h3 { font-size: 21px; }
.bundle .rar { font: 700 12px Rajdhani, sans-serif; letter-spacing: .15em; text-transform: uppercase; }
.swatches { display: flex; gap: 6px; margin: 14px 0; flex-wrap: wrap; }
.swatch { width: 34px; height: 34px; position: relative; border: 1px solid rgba(255,255,255,.2); }
.swatch i { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; }
.swatch u { position: absolute; left: 12px; top: 9px; width: 10px; height: 10px; border-radius: 50%; }
.bundle ul { list-style: none; padding: 0; margin: 0 0 14px; font-size: 13px; color: var(--muted); }
.bundle ul li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.price { font: 700 24px Rajdhani, sans-serif; color: var(--gold); text-align: right; }
.pager { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 26px; color: var(--muted); }
.r-Rare { color: var(--rare); } .b-Rare { background: var(--rare); border-top-color: var(--rare) !important; }
.r-Epic { color: var(--epic); } .b-Epic { background: var(--epic); border-top-color: var(--epic) !important; }
.r-Legendary { color: var(--legendary); } .b-Legendary { background: var(--legendary); border-top-color: var(--legendary) !important; }
.r-Mythic { color: var(--mythic); } .b-Mythic { background: var(--mythic); border-top-color: var(--mythic) !important; }

.download { text-align: center; background: radial-gradient(800px 300px at 50% 0, rgba(220,20,51,.25), transparent 70%), var(--bg); }
.download h2::after { margin: 8px auto 0; }
.download .sub { margin: 10px auto 30px; }
.fine { color: var(--muted); font-size: 14px; }
footer { padding: 40px; text-align: center; border-top: 1px solid var(--line); color: var(--muted); }
footer b { color: var(--text); }

.modal { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.75); display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-card { background: var(--panel); border: 1px solid var(--line); max-width: 560px; width: 100%; padding: 28px; position: relative; max-height: 90vh; overflow: auto; }
.modal-card h3 { font-size: 30px; margin: 0; text-transform: uppercase; }
.close { position: absolute; top: 12px; right: 14px; background: none; border: 0; color: var(--muted); font-size: 22px; cursor: pointer; }
.item-row { display: flex; gap: 14px; align-items: center; padding: 10px; background: rgba(255,255,255,.03); margin-top: 8px; border-left: 3px solid var(--rare); }
.item-row .swatch { flex: none; }
.item-row small { color: var(--muted); display: block; }

@media (max-width: 700px) {
  .nav nav a:not(.btn) { display: none; }
  .section { padding: 64px 16px; }
  .hero-inner { padding: 40px 16px; }
}
