:root {
  --bg: #070a14; --panel: #0d1226; --panel2: #111836; --line: rgba(120, 140, 220, .2); --ink: #eef1ff; --muted: #8e98bd;
  --red: #ff3d5a; --gold: #ffd23a; --cyan: #2ef0ff; --green: #2ef0a0; --blue: #4aa8ff; --orange: #ff6a2a;
  --title: 'Russo One', 'Chakra Petch', system-ui, sans-serif; --ui: 'Chakra Petch', system-ui, sans-serif
}
* { box-sizing: border-box }
html { scroll-behavior: smooth; scroll-padding-top: 70px }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 15px/1.5 var(--ui); overflow-x: hidden }
a { color: inherit } [hidden] { display: none !important }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px }
.muted { color: var(--muted) }
.btn { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(180deg, #ff4f68, #e0233f); color: #fff; border: 0; border-radius: 12px; padding: 11px 18px; font: 700 15px var(--ui); text-decoration: none; cursor: pointer; box-shadow: 0 8px 28px rgba(255, 40, 70, .35), inset 0 1px 0 rgba(255, 255, 255, .25); white-space: nowrap }
.btn:hover { filter: brightness(1.08) }
.btn.big { padding: 15px 24px; font-size: 17px; border-radius: 14px }
.btn.sm { padding: 8px 14px; font-size: 14px }
.btn.ghost { background: rgba(255, 255, 255, .07); box-shadow: none; border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(6px) }
.tag { display: inline-block; font: 700 11px var(--ui); letter-spacing: .12em; padding: 4px 8px; border-radius: 6px; background: #3a4366; color: #fff }
.tag.rare { background: #1f6fe0 } .tag.legendary { background: linear-gradient(90deg, #ff9a1a, #ffd23a); color: #2a1600 } .tag.world { background: linear-gradient(90deg, #ff3df0, #7a4aff) }
.tag.rage { background: #ff2a3a } .tag.demo { background: rgba(255, 210, 58, .15); color: var(--gold); border: 1px solid rgba(255, 210, 58, .4) }

/* top bar */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 30; background: linear-gradient(180deg, rgba(7, 10, 20, .85), rgba(7, 10, 20, .55)); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .06) }
.top .wrap { display: flex; align-items: center; gap: 14px; height: 62px }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font: 400 22px var(--title); letter-spacing: .06em; text-shadow: 0 0 18px rgba(255, 61, 90, .5) }
.brand img { width: 34px; height: 34px; border-radius: 9px }
.nav { display: flex; gap: 4px; margin-left: 14px }
.nav a { text-decoration: none; color: #c8cff0; padding: 7px 12px; border-radius: 9px; font-weight: 600 }
.nav a:hover { background: rgba(255, 255, 255, .06); color: #fff }
.sp { flex: 1 }
.pill { background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--ink); border-radius: 999px; padding: 7px 13px; font: 600 13px var(--ui); cursor: pointer; white-space: nowrap }
.pill .tk { color: var(--gold) }
.icon-btn { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: #fff }
.icon-btn svg { width: 16px; height: 16px }

/* hero with the live raid world */
.hero { position: relative; height: min(88vh, 820px); min-height: 560px; overflow: hidden; background: #050412; border-bottom: 1px solid var(--line) }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block }
.hero .shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(5, 4, 18, .88) 0%, rgba(5, 4, 18, .5) 30%, transparent 52%), linear-gradient(0deg, rgba(7, 10, 20, 1) 0%, transparent 20%), linear-gradient(180deg, rgba(7, 10, 20, .6) 0%, transparent 18%) }
.hero .copy { position: absolute; left: max(20px, calc((100vw - 1240px) / 2 + 20px)); top: 19%; max-width: 560px; z-index: 3 }
.hero h1 { font: 400 clamp(38px, 5.4vw, 72px)/1.02 var(--title); margin: 18px 0 0; text-shadow: 0 6px 40px rgba(0, 0, 0, .7) }
.hero h1 .r { color: #ff5a72; text-shadow: 0 0 40px rgba(255, 40, 70, .5) }
.hero h1 .g { color: var(--gold); text-shadow: 0 0 40px rgba(255, 190, 40, .4) }
.hero .sub { margin: 20px 0 28px; font-size: 18px; color: #d8dcf6; max-width: 480px; text-shadow: 0 2px 16px rgba(0, 0, 0, .9) }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap }
.hero .formula { margin-top: 26px; font: 600 15px var(--ui); color: #fff; text-shadow: 0 2px 14px #000 }
.formula b, b.g { color: var(--green) } b.b { color: var(--blue) } b.o { color: var(--orange) }
.live-chip { display: inline-flex; align-items: center; gap: 9px; background: rgba(10, 14, 30, .75); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px 7px 12px; text-decoration: none; font-weight: 600; font-size: 14px; backdrop-filter: blur(6px) }
.live-chip i { width: 9px; height: 9px; border-radius: 50%; background: #2ef07a; box-shadow: 0 0 10px #2ef07a; animation: pulse 1s infinite alternate }
@keyframes pulse { to { opacity: .45 } }
.scroll-hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); font-size: 28px; color: rgba(255, 255, 255, .5); text-decoration: none; animation: bob 1.6s infinite ease-in-out; z-index: 3 }
@keyframes bob { 50% { transform: translate(-50%, 6px) } }
#labels { position: absolute; inset: 0; pointer-events: none; z-index: 2 }
.wl { position: absolute; left: 0; top: 0; transform: translate(-50%, -100%); white-space: nowrap; text-align: center; transition: opacity .3s }
.wl .n { display: inline-block; font: 700 12px var(--ui); letter-spacing: .06em; padding: 5px 9px; border-radius: 8px; background: rgba(8, 10, 22, .78); border: 1px solid var(--line) }
.wl .n b { color: var(--c, #fff) }
.wl.live .n { border-color: rgba(46, 240, 122, .5); font-size: 13px }
.wl.live .n::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #2ef07a; box-shadow: 0 0 8px #2ef07a; margin-right: 7px; vertical-align: 1px }
.wl .hpm { height: 5px; border-radius: 3px; background: rgba(0, 0, 0, .6); margin: 5px auto 0; width: 120px; overflow: hidden }
.wl .hpm div { height: 100%; background: linear-gradient(90deg, #ff2a4a, #ff6a7e); transform-origin: left }

/* sections */
.block { padding: 64px 0 8px }
.block .head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 20px }
.block h2 { font: 400 32px var(--title); margin: 0 }
.grid { display: grid; gap: 14px }
.raidcard { display: grid; grid-template-columns: 380px 1fr; gap: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; overflow: hidden }
.portrait { background: #120a1c center/cover no-repeat; min-height: 340px; position: relative }
.portrait::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, var(--panel)) }
.raidcard .info { padding: 24px 26px }
.raidcard h3 { font: 400 34px var(--title); margin: 10px 0 14px }
.row1 { display: flex; gap: 8px }
.hp { position: relative; height: 26px; border-radius: 8px; background: rgba(20, 6, 12, .9); border: 2px solid rgba(255, 255, 255, .12); overflow: hidden }
.hp .fill { position: absolute; inset: 0; background: linear-gradient(180deg, #ff6a7e, #ff2a4a 45%, #b5102a); transform-origin: left; transition: transform .6s }
.hp span { position: absolute; inset: 0; display: grid; place-items: center; font: 700 13px var(--ui); text-shadow: 0 1px 3px #000 }
.stats { display: flex; gap: 28px; margin: 16px 0 }
.stats b { display: block; font: 400 26px var(--title) } .stats span { color: var(--muted); font-size: 13px }
.feed { display: flex; flex-direction: column; gap: 5px; min-height: 120px; margin-bottom: 16px }
.feed div { font-size: 13px; padding: 5px 10px; border-radius: 8px; background: rgba(255, 255, 255, .03); border-left: 3px solid #3a4a80 }
.feed .crit { border-color: var(--gold) } .feed .phase, .feed .defeated { border-color: var(--red) } .feed .unlock { border-color: #ff3df0 } .feed .paid { border-color: var(--green) } .feed .shield, .feed .adds, .feed .weak { border-color: var(--cyan) }
.raidcard .cta { display: flex; gap: 10px; flex-wrap: wrap }
.bosses { grid-template-columns: repeat(5, 1fr) }
.bcard { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; position: relative; transition: transform .2s, border-color .2s }
.bcard:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, .3) }
.bcard .img { aspect-ratio: 1; background: #120a1c center/cover no-repeat }
.bcard .b { padding: 12px 14px 14px }
.bcard h4 { font: 400 19px var(--title); margin: 0 0 6px }
.bcard .atk { font-size: 12px; color: #c8d0ec; line-height: 1.45 }
.bcard .wk { font-size: 12px; color: var(--gold); margin-top: 7px }
.bcard .now { position: absolute; top: 10px; left: 10px; background: var(--red); font: 700 10px var(--ui); letter-spacing: .1em; padding: 4px 7px; border-radius: 6px }
.tiers { grid-template-columns: repeat(5, 1fr) }
.tcard.more { border-style: dashed; background: linear-gradient(160deg, #141a34, #0d1226) }
.tcard.more h4 { color: #cfd6f6 }
.tcard { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px; position: relative; overflow: hidden }
.tcard::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--c) }
.tcard h4 { font: 400 22px var(--title); margin: 4px 0 2px; color: var(--c) }
.tcard .cap { font: 700 15px var(--ui) }
.tcard ul { margin: 10px 0 12px; padding-left: 18px; color: #c8d0ec; font-size: 13px }
.tcard .st { font-size: 12px; font-weight: 700; letter-spacing: .08em }
.tcard .st.on { color: var(--green) } .tcard .st.off { color: var(--muted) }
.tcard .prog { height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .08); margin-top: 8px; overflow: hidden } .tcard .prog div { height: 100%; background: var(--c) }
.steps { grid-template-columns: repeat(4, 1fr) }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px }
.step i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--red); font: 400 17px var(--title); font-style: normal }
.step h4 { font: 400 19px var(--title); margin: 12px 0 6px } .step p { margin: 0; color: #c8d0ec; font-size: 14px }
.note { color: var(--muted); font-size: 14px; margin-top: 16px }
.raids { display: flex; flex-direction: column; gap: 8px }
.rrow { display: grid; grid-template-columns: 64px 1.4fr 1fr 1fr 1.2fr; gap: 12px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-size: 14px }
.rrow .ic { width: 44px; height: 44px; border-radius: 10px; background: #120a1c center/cover no-repeat }
.rrow b { display: block } .rrow small { color: var(--muted) }
.rrow a { color: var(--cyan) }
.soon { display: grid; grid-template-columns: 1fr 260px; gap: 20px; align-items: center; background: linear-gradient(120deg, #1a0e2e, #0d1226); border: 1px dashed rgba(255, 255, 255, .2); border-radius: 20px; padding: 26px 28px }
.soon h3 { font: 400 28px var(--title); margin: 10px 0 8px } .soon p { color: #c8d0ec; margin: 0; max-width: 560px }
.soon-img { aspect-ratio: 1; border-radius: 16px; background: center/cover no-repeat; opacity: .9 }
.foot { margin-top: 70px; padding: 30px 0 40px; border-top: 1px solid var(--line); color: #c8d0ec }
.foot .wrap { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap }
.foot .disclaimer { color: var(--muted); font-size: 13px; max-width: 720px }
.foot .links { display: flex; gap: 18px } .foot a { text-decoration: none; color: #c8d0ec }
#toast { position: fixed; left: 50%; top: 76px; transform: translate(-50%, -140px); z-index: 50; background: #141a34; border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px; transition: transform .3s; max-width: calc(100vw - 32px) }
#toast.on { transform: translate(-50%, 0) }

@media (max-width: 1100px) { .bosses { grid-template-columns: repeat(3, 1fr) } .tiers { grid-template-columns: repeat(3, 1fr) } .steps { grid-template-columns: repeat(2, 1fr) } }
@media (max-width: 760px) {
  .wrap { padding: 0 16px }
  .nav { display: none }
  .top .wrap { gap: 8px; height: 56px }
  .brand span { display: none }
  .pill { max-width: 150px; overflow: hidden; text-overflow: ellipsis; font-size: 12px; padding: 6px 10px }
  .hero { height: 92vh; min-height: 600px }
  .hero .copy { top: auto; bottom: 64px; left: 16px; right: 16px }
  .hero .shade { background: linear-gradient(0deg, rgba(5, 4, 18, .97) 0%, rgba(5, 4, 18, .6) 45%, transparent 68%) }
  .hero .sub { font-size: 15px; margin: 12px 0 18px }
  .hero .formula { font-size: 13px; margin-top: 16px }
  .btn.big { padding: 13px 18px; font-size: 16px }
  .block { padding-top: 44px } .block h2 { font-size: 26px }
  .raidcard { grid-template-columns: 1fr } .portrait { min-height: 220px } .portrait::after { background: linear-gradient(180deg, transparent 55%, var(--panel)) }
  .raidcard .info { padding: 18px } .raidcard h3 { font-size: 26px }
  .stats { gap: 18px }
  .bosses { grid-template-columns: repeat(2, 1fr) } .tiers, .steps { grid-template-columns: 1fr }
  .rrow { grid-template-columns: 48px 1fr auto; } .rrow .hide-m { display: none }
  .soon { grid-template-columns: 1fr } .soon-img { display: none }
  .wl:not(.live) { display: none } .wl .n { font-size: 11px; padding: 4px 8px } .wl .hpm { width: 90px }
}
