/* =========================================================================
   V2 VISUAL LAYER — mega menu, image page heroes, spec dashboard,
   guide timeline, rule cards, promo banners, powerbook cards
   ========================================================================= */

/* ---- Header & mega menu ---- */
.site-header { transition: background 0.25s ease, box-shadow 0.25s ease; }
.site-header::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent) 25%, #dcfce7 50%, var(--secondary) 75%, transparent);
  opacity: 0.85;
}
.site-header.is-scrolled {
  background: rgba(5, 18, 10, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
.header-inner { transition: height 0.25s ease; }
.site-header.is-scrolled .header-inner { height: 60px; }

.main-nav { position: relative; align-self: stretch; align-items: stretch; }
.nav-item { position: static; display: flex; align-items: center; }
.nav-link {
  position: relative;
  padding: 10px 14px;
  border-radius: 4px;
  font-weight: 700;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
  box-shadow: 0 0 10px var(--accent);
}
.nav-item:hover .nav-link::after,
.nav-link.is-active::after { transform: scaleX(1); }
.nav-link:hover,
.nav-link.is-active { background: transparent; }
.nav-item:hover .nav-link { color: var(--text); }
.nav-caret {
  width: 14px; height: 14px;
  fill: none; stroke: currentColor; stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
  opacity: 0.6;
  transition: transform 0.2s ease;
}
.nav-item:hover .nav-caret { transform: rotate(180deg); opacity: 1; }

.nav-dropdown.mega-panel {
  left: 50%;
  top: 100%;
  width: min(680px, 92vw);
  min-width: 0;
  padding: 14px;
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 14px;
  border-radius: 6px;
  background:
    linear-gradient(var(--accent), var(--accent)) top left / 18px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) top left / 2px 18px no-repeat,
    linear-gradient(var(--secondary), var(--secondary)) bottom right / 18px 2px no-repeat,
    linear-gradient(var(--secondary), var(--secondary)) bottom right / 2px 18px no-repeat,
    linear-gradient(180deg, rgba(10, 32, 18, 0.98), rgba(5, 16, 9, 0.98));
  border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
  transform: translate(-50%, 8px);
}
.nav-item:hover .nav-dropdown.mega-panel,
.nav-item:focus-within .nav-dropdown.mega-panel { transform: translate(-50%, 0); }

.mega-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  min-height: 220px;
  padding: 16px;
  border-radius: 4px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.mega-feature::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--mega-img) center / cover no-repeat;
  transition: transform 0.6s ease;
}
.mega-feature::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(5, 9, 20, 0.05) 20%, rgba(5, 9, 20, 0.92) 85%);
}
.mega-feature:hover::before { transform: scale(1.08); }
.mega-feature-tag {
  align-self: flex-start;
  padding: 3px 8px;
  border-radius: 2px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #fff;
  background: color-mix(in srgb, var(--secondary) 75%, transparent);
}
.mega-feature strong { font-size: 15px; line-height: 1.35; color: #fff; }
.mega-feature small { font-size: 12px; color: #cbd5e1; }
.mega-feature-cta { margin-top: 6px; font-size: 12px; font-weight: 800; color: var(--accent); }

.mega-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  align-content: start;
}
.nav-dropdown a.mega-link {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.nav-dropdown a.mega-link:hover,
.nav-dropdown a.mega-link.is-current {
  background: color-mix(in srgb, var(--accent) 9%, transparent);
  border-color: color-mix(in srgb, var(--accent) 24%, transparent);
  transform: translateX(2px);
}
.mega-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: var(--accent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 18%, transparent), color-mix(in srgb, var(--accent) 5%, transparent));
  border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
  transition: background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}
.mega-icon svg,
.header-icon-btn svg,
.header-download-btn svg,
.mobile-nav-links svg,
.spec-tile-icon svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.mega-link:hover .mega-icon,
.mega-link.is-current .mega-icon {
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 45%, transparent), color-mix(in srgb, var(--accent) 10%, transparent));
  box-shadow: 0 0 14px color-mix(in srgb, var(--accent) 36%, transparent);
  color: #ecfdf5;
}
.mega-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

.header-icon-btn {
  width: 36px; height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 4px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.18s ease;
}
.header-icon-btn:hover {
  color: var(--accent);
  border-color: var(--accent-border);
  box-shadow: 0 0 14px color-mix(in srgb, var(--accent) 28%, transparent);
}
.header-download-btn svg { width: 15px; height: 15px; }

.mobile-download-btn { width: 100%; margin-bottom: 18px; }
.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 4px;
}
.mobile-nav-links a svg { color: var(--accent); flex-shrink: 0; }
.mobile-nav-links a.is-current { border-color: var(--accent-border); color: var(--accent); }

/* ---- Image page hero ---- */
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 64px 0 54px;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
}
.page-hero-bg {
  position: absolute;
  inset: -4%;
  z-index: -3;
  background: var(--hero-img) center 35% / cover no-repeat;
  animation: heroDrift 26s ease-in-out infinite alternate;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 18, 10, 0.95) 0%, rgba(5, 18, 10, 0.78) 38%, rgba(5, 18, 10, 0.25) 75%, rgba(5, 18, 10, 0.5) 100%),
    linear-gradient(180deg, transparent 55%, var(--bg) 100%);
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(color-mix(in srgb, var(--accent) 7%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 7%, transparent) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 60%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 60%);
}
.page-hero-scan {
  position: absolute;
  left: 0; right: 0;
  height: 120px;
  z-index: -1;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--accent) 9%, transparent), transparent);
  animation: heroScan 7s linear infinite;
  pointer-events: none;
}
.page-hero-edge {
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent 40%, transparent 60%, var(--secondary));
}
@keyframes heroDrift {
  from { transform: scale(1.02) translateX(0); }
  to { transform: scale(1.1) translateX(-1.5%); }
}
@keyframes heroScan {
  from { top: -120px; }
  to { top: 100%; }
}
.page-hero-inner { position: relative; animation: heroIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.page-hero-crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.page-hero-crumbs a:hover { color: var(--accent); }
.page-hero-crumbs strong { color: #dcfce7; }
.page-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--accent);
  text-shadow: 0 0 12px color-mix(in srgb, var(--accent) 60%, transparent);
}
.page-hero-kicker::before {
  content: '';
  width: 22px; height: 2px;
  background: var(--secondary);
  box-shadow: 0 0 8px var(--secondary);
}
.page-hero h1 {
  margin: 10px 0 10px;
  max-width: 760px;
  font-size: clamp(30px, 4.4vw, 50px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.12;
  background: linear-gradient(180deg, #ffffff 30%, #bbf7d0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.8));
}
.page-hero p {
  margin: 0;
  max-width: 620px;
  font-size: 15.5px;
  color: #cbd5e1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}
.page-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.page-hero-stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 3px;
  background: rgba(5, 18, 10, 0.68);
  border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
  border-left: 2px solid var(--secondary);
  backdrop-filter: blur(8px);
}
.page-hero-stat strong { font-size: 20px; font-weight: 900; color: #dcfce7; }
.page-hero-stat span { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; color: var(--text-muted); }

/* ---- Tabs ---- */
.tab-pill { border-radius: 3px; }
.tab-pill.is-active { box-shadow: inset 0 -2px 0 var(--accent), 0 0 18px color-mix(in srgb, var(--accent) 20%, transparent); }

/* ---- Tone helpers ---- */
.tone-cyan { --tone: var(--accent, #22c55e); --tone-soft: color-mix(in srgb, var(--accent, #22c55e) 14%, transparent); }
.tone-red { --tone: var(--secondary, #a3e635); --tone-soft: color-mix(in srgb, var(--secondary, #a3e635) 14%, transparent); }
.tone-gold { --tone: #f59e0b; --tone-soft: rgba(245, 158, 11, 0.14); }

/* ---- Spec dashboard: rate gauges ---- */
.rate-gauges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}
.rate-gauge {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border-radius: 6px;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 50%, var(--tone-soft), transparent 60%),
    linear-gradient(180deg, rgba(20, 30, 52, 0.9), rgba(8, 13, 26, 0.95));
  border: 1px solid color-mix(in srgb, var(--tone) 30%, transparent);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.rate-gauge:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 26px color-mix(in srgb, var(--tone) 25%, transparent);
}
.rate-ring {
  grid-row: 1;
  grid-column: 1;
  width: 120px; height: 120px;
  transform: rotate(-90deg);
}
.rate-ring circle { fill: none; stroke-width: 8; }
.rate-ring-track { stroke: rgba(148, 163, 184, 0.12); }
.rate-ring-fill {
  stroke: var(--tone);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  filter: drop-shadow(0 0 6px var(--tone));
  transition: stroke-dashoffset 1.6s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--delay, 0ms) + 200ms);
}
.rate-gauge.is-visible .rate-ring-fill { stroke-dashoffset: calc(100 - var(--pct) * 100); }
.rate-gauge-core {
  grid-row: 1;
  grid-column: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.rate-gauge-key { font-size: 10.5px; font-weight: 800; letter-spacing: 0.18em; color: var(--tone); }
.rate-gauge-core strong { font-size: 34px; font-weight: 900; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.rate-gauge-core em { font-style: normal; font-size: 18px; color: var(--tone); margin-left: 1px; }
.rate-gauge-meta { display: flex; flex-direction: column; gap: 4px; }
.rate-gauge-meta strong { font-size: 17px; }
.rate-gauge-meta small { font-size: 13px; color: var(--text-secondary); }

/* ---- Spec tiles ---- */
.spec-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.spec-tile {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(18, 27, 47, 0.88), rgba(9, 14, 28, 0.92));
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease, opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.spec-tile::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--secondary));
  transform: scaleY(0.35);
  transform-origin: top;
  transition: transform 0.3s ease;
}
.spec-tile:hover { border-color: var(--accent-border); transform: translateY(-2px); }
.spec-tile:hover::after { transform: scaleY(1); }
.spec-tile-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
}
.spec-tile-icon svg { width: 20px; height: 20px; }
.spec-tile small { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 4px; }
.spec-tile strong { font-size: 14.5px; line-height: 1.45; }

/* ---- Weapon evolution flow ---- */
.evo-flow {
  padding: 22px;
  border-radius: 6px;
  margin-bottom: 18px;
  background:
    radial-gradient(circle at 85% 50%, color-mix(in srgb, var(--secondary) 12%, transparent), transparent 50%),
    linear-gradient(180deg, rgba(11, 36, 21, 0.9), rgba(5, 18, 10, 0.96));
  border: 1px solid var(--border);
}
.evo-flow-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 18px;
}
.evo-flow-head h3 { margin: 6px 0 0; font-size: 20px; }
.evo-flow-track { display: flex; align-items: stretch; }
.evo-flow-node {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  border-radius: 4px;
  background: rgba(5, 18, 10, 0.6);
  border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
  text-align: center;
}
.evo-flow-node strong { font-size: 16px; }
.evo-flow-node.is-final {
  border-color: color-mix(in srgb, var(--secondary) 55%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--secondary) 16%, transparent), rgba(5, 18, 10, 0.7));
  box-shadow: 0 0 24px color-mix(in srgb, var(--secondary) 22%, transparent);
}
.evo-flow-stage { font-size: 10.5px; font-weight: 800; letter-spacing: 0.16em; color: var(--accent); }
.evo-flow-node.is-final .evo-flow-stage { color: #bef264; }
.evo-flow-link {
  position: relative;
  flex: 0 0 56px;
  align-self: center;
  height: 2px;
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  overflow: hidden;
}
.evo-flow-link span {
  position: absolute;
  top: 0; left: -40%;
  width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent), #fff);
  box-shadow: 0 0 10px var(--accent);
  animation: evoPulse 1.8s linear infinite;
}
@keyframes evoPulse { to { left: 100%; } }

/* ---- Schedule band ---- */
.schedule-band {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 26px;
  border-radius: 6px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}
.schedule-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('/images/hulk_popup_banner.jpg') center / cover no-repeat;
}
.schedule-band::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(5, 18, 10, 0.95) 0%, rgba(5, 18, 10, 0.72) 55%, rgba(5, 18, 10, 0.85) 100%);
}
.schedule-band h3 { margin: 8px 0 6px; font-size: 22px; }
.schedule-band p { margin: 0 0 16px; color: var(--text-secondary); }
.schedule-band-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---- Guide timeline ---- */
.guide-timeline { display: flex; flex-direction: column; gap: 18px; }
.guide-step { display: grid; grid-template-columns: 84px 1fr; gap: 18px; }
.guide-step-rail { position: relative; display: flex; justify-content: center; }
.guide-step-rail::after {
  content: '';
  position: absolute;
  top: 78px; bottom: -22px;
  width: 2px;
  background: linear-gradient(180deg, var(--tone), transparent);
}
.guide-step:last-child .guide-step-rail::after { display: none; }
.guide-step-no {
  position: relative;
  width: 68px; height: 68px;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  border-radius: 50%;
  background: radial-gradient(circle, var(--tone-soft), rgba(5, 9, 20, 0.95) 70%);
  border: 2px solid var(--tone);
  box-shadow: 0 0 24px color-mix(in srgb, var(--tone) 45%, transparent), inset 0 0 18px var(--tone-soft);
}
.guide-step-no::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px dashed color-mix(in srgb, var(--tone) 55%, transparent);
  animation: spinSlow 14s linear infinite;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
.guide-step-card {
  position: relative;
  padding: 22px 24px;
  border-radius: 6px;
  background:
    radial-gradient(circle at 100% 0%, var(--tone-soft), transparent 45%),
    linear-gradient(180deg, rgba(18, 27, 47, 0.9), rgba(8, 13, 26, 0.95));
  border: 1px solid color-mix(in srgb, var(--tone) 28%, transparent);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.guide-step-card:hover {
  transform: translateX(4px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45), 0 0 22px color-mix(in srgb, var(--tone) 20%, transparent);
}
.guide-step-kicker { font-size: 11px; font-weight: 800; letter-spacing: 0.18em; color: var(--tone); }
.guide-step-card h3 { margin: 6px 0 8px; font-size: 20px; }
.guide-step-card p { margin: 0 0 14px; color: var(--text-secondary); }
.guide-checks {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.guide-checks li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 3px;
  font-size: 12.5px;
  font-weight: 700;
  background: rgba(5, 9, 20, 0.55);
  border: 1px solid var(--border);
}
.guide-checks li::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--tone);
  box-shadow: 0 0 8px var(--tone);
}

/* ---- Rules ---- */
.rules-intro {
  margin-bottom: 18px;
  padding: 22px 24px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.12), rgba(10, 18, 34, 0.8) 60%);
  border: 1px solid rgba(239, 68, 68, 0.25);
}
.rules-intro h2 { margin: 0 0 6px; font-size: 22px; }
.rules-intro p { margin: 0 0 14px; color: var(--text-secondary); }
.rules-legend { display: flex; flex-wrap: wrap; gap: 8px; }
.rule-level {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--tone);
  background: var(--tone-soft);
  border: 1px solid color-mix(in srgb, var(--tone) 45%, transparent);
}
.rule-level::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--tone);
  box-shadow: 0 0 8px var(--tone);
}
.rules-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.rule-card {
  position: relative;
  padding: 20px 22px;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(18, 27, 47, 0.9), rgba(8, 13, 26, 0.95));
  border: 1px solid var(--border);
  border-top: 2px solid var(--tone);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.rule-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 26px color-mix(in srgb, var(--tone) 22%, transparent);
}
.rule-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.rule-index { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; color: var(--text-muted); }
.rule-card h3 { margin: 0 0 6px; font-size: 18px; }
.rule-text { margin: 0 0 14px; color: var(--text-secondary); font-size: 14px; }
.rule-penalty {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 3px;
  background: var(--tone-soft);
  border-left: 2px solid var(--tone);
}
.rule-penalty span { font-size: 10.5px; font-weight: 800; letter-spacing: 0.12em; color: var(--tone); }
.rule-penalty strong { font-size: 13.5px; }

/* ---- Promotion flow ---- */
.promo-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}
.promo-flow-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px;
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.12), rgba(8, 13, 26, 0.9));
  border: 1px solid rgba(168, 85, 247, 0.28);
}
.promo-flow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -10px; top: 50%;
  width: 8px; height: 8px;
  border-top: 2px solid #d8b4fe;
  border-right: 2px solid #d8b4fe;
  transform: translateY(-50%) rotate(45deg);
  z-index: 1;
}
.promo-flow-no { font-size: 24px; font-weight: 900; color: #d8b4fe; }
.promo-flow-step strong { font-size: 15px; }
.promo-flow-step small { font-size: 12.5px; color: var(--text-secondary); }
.promo-copy-box {
  margin: 14px 0;
  padding: 14px;
  border-radius: 4px;
  font-size: 13.5px;
  color: var(--text-secondary);
  background: rgba(5, 9, 20, 0.6);
  border: 1px dashed rgba(168, 85, 247, 0.4);
}

/* ---- Powerbook cards ---- */
.hunt-card { position: relative; overflow: hidden; isolation: isolate; }
.hunt-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--card-img) center / cover no-repeat;
  opacity: 0.22;
  filter: blur(2px) saturate(1.3);
  transform: scale(1.1);
  transition: opacity 0.35s ease, transform 0.6s ease;
}
.hunt-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(8, 13, 26, 0.95) 30%, rgba(8, 13, 26, 0.7));
}
.hunt-card:hover::before { opacity: 0.4; transform: scale(1.16); }
.hunt-card,
.boss-card,
.item-card {
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.hunt-card.is-visible:hover,
.boss-card.is-visible:hover,
.item-card.is-visible:hover {
  transform: translateY(-3px);
  border-color: var(--accent-border);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45), 0 0 18px color-mix(in srgb, var(--accent) 18%, transparent);
}
.boss-card { position: relative; overflow: hidden; }
.boss-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--secondary), transparent);
  opacity: 0;
  transition: opacity 0.22s ease;
}
.boss-card:hover::before { opacity: 1; }
.boss-card img { transition: transform 0.3s ease; }
.boss-card:hover img { transform: scale(1.12); }

.system-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.system-card {
  position: relative;
  padding: 24px;
  border-radius: 6px;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 45%),
    linear-gradient(180deg, rgba(11, 36, 21, 0.9), rgba(5, 18, 10, 0.95));
  border: 1px solid var(--border);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.system-card.is-visible:hover {
  transform: translateY(-4px);
  border-color: var(--accent-border);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.5), 0 0 24px color-mix(in srgb, var(--accent) 18%, transparent);
}
.system-card-no {
  position: absolute;
  right: 14px; top: 2px;
  font-size: 88px;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--accent) 24%, transparent);
  pointer-events: none;
  transition: -webkit-text-stroke-color 0.25s ease;
}
.system-card:hover .system-card-no { -webkit-text-stroke-color: color-mix(in srgb, var(--secondary) 52%, transparent); }
.system-card h3 { position: relative; margin: 12px 0 6px; font-size: 19px; }
.system-card-sub { margin: 0 0 14px; color: var(--accent); font-size: 14px; font-weight: 700; }
.system-card-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.system-card-points li {
  position: relative;
  padding: 9px 12px 9px 30px;
  border-radius: 3px;
  font-size: 13.5px;
  color: var(--text-secondary);
  background: rgba(5, 9, 20, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.08);
}
.system-card-points li::before {
  content: '';
  position: absolute;
  left: 12px; top: 50%;
  width: 7px; height: 7px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

/* ---- Download center: one box per type, many channel buttons ---- */
.dl-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
.dl-box {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: 6px;
  background:
    linear-gradient(var(--tone), var(--tone)) top left / 22px 2px no-repeat,
    linear-gradient(var(--tone), var(--tone)) top left / 2px 22px no-repeat,
    radial-gradient(circle at 100% 0%, var(--tone-soft), transparent 50%),
    linear-gradient(180deg, rgba(18, 27, 47, 0.92), rgba(7, 12, 24, 0.96));
  border: 1px solid color-mix(in srgb, var(--tone) 30%, transparent);
}
.dl-box-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.dl-box-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: var(--tone);
  background: var(--tone-soft);
  border: 1px solid color-mix(in srgb, var(--tone) 45%, transparent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--tone) 25%, transparent);
}
.dl-box-icon svg,
.dl-btn-arrow {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dl-box-title { flex: 1; min-width: 0; }
.dl-box-tag {
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--tone);
}
.dl-box-title h2 { margin: 3px 0 0; font-size: 21px; font-weight: 900; }
.dl-box-count {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 800;
  color: var(--text-secondary);
  background: rgba(5, 9, 20, 0.6);
  border: 1px solid var(--border-strong);
}
.dl-box-desc { margin: 0 0 16px; font-size: 13.5px; line-height: 1.65; color: var(--text-secondary); }

.dl-buttons { display: flex; flex-direction: column; gap: 8px; }
.dl-btn {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-radius: 4px;
  color: var(--text);
  background: linear-gradient(180deg, rgba(31, 42, 63, 0.85), rgba(7, 12, 24, 0.92));
  border: 1px solid rgba(148, 163, 184, 0.18);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.dl-btn:hover {
  transform: translateX(3px);
  border-color: var(--tone);
  box-shadow: 0 0 18px color-mix(in srgb, var(--tone) 25%, transparent);
}
.dl-btn-ch {
  padding: 4px 8px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: var(--tone);
  background: var(--tone-soft);
  border: 1px solid color-mix(in srgb, var(--tone) 40%, transparent);
}
.dl-btn-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dl-btn-text strong { font-size: 14.5px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-btn-text small { font-size: 12px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-btn-arrow { width: 18px; height: 18px; color: var(--text-muted); transition: color 0.18s ease, transform 0.18s ease; }
.dl-btn:hover .dl-btn-arrow { color: var(--tone); transform: translateY(2px); }
.dl-btn.is-primary {
  background: linear-gradient(180deg, color-mix(in srgb, var(--tone) 34%, #0b1a33), #08142a);
  border-color: var(--tone);
  box-shadow: inset 0 0 18px color-mix(in srgb, var(--tone) 22%, transparent);
}
.dl-btn.is-primary .dl-btn-ch { color: #fff; background: var(--tone); border-color: var(--tone); }
.dl-btn.is-primary .dl-btn-text small { color: var(--text-secondary); }
.dl-btn.is-primary .dl-btn-arrow { color: #fff; }
.dl-empty { margin: 0; padding: 18px; text-align: center; color: var(--text-muted); border: 1px dashed var(--border-strong); border-radius: 4px; }
.dl-box-foot { margin: 14px 0 0; font-size: 12.5px; color: var(--text-muted); }
.dl-box-foot a { color: var(--tone); font-weight: 700; }

/* ---- Support: Telegram consultation hero ---- */
.tg-support {
  --tg: #2aabee;
  position: relative;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(42, 171, 238, 0.4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(42, 171, 238, 0.12);
}
.tg-support-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(5, 9, 20, 0.5) 0%, rgba(5, 9, 20, 0.15) 45%, rgba(5, 9, 20, 0.7) 90%),
    linear-gradient(180deg, rgba(5, 9, 20, 0.1), rgba(5, 9, 20, 0.75)),
    url('/images/page_bg/bg_page_support.jpg') center 40% / cover no-repeat;
  transform: scale(1.04);
  transition: transform 6s ease;
}
.tg-support:hover .tg-support-bg { transform: scale(1.08); }
.tg-support-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  word-break: keep-all;
  padding: 52px 24px 40px;
  max-width: 680px;
}
.tg-support-emblem {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #2aabee, #1a8cd8);
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 0 8px rgba(42, 171, 238, 0.15), 0 14px 34px rgba(42, 171, 238, 0.45);
  animation: tgPulse 2.6s ease-in-out infinite;
}
.tg-support-emblem svg { width: 42px; height: 42px; fill: #fff; transform: translateX(-2px); }
@keyframes tgPulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(42, 171, 238, 0.15), 0 14px 34px rgba(42, 171, 238, 0.45); }
  50% { box-shadow: 0 0 0 16px rgba(42, 171, 238, 0.06), 0 14px 40px rgba(42, 171, 238, 0.6); }
}
.tg-support-kicker {
  margin-top: 22px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: #7dd3fc;
}
.tg-support-body h2 {
  margin: 8px 0 12px;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.7);
}
.tg-support-desc {
  margin: 0 0 28px;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text-secondary);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}
.tg-support-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: min(100%, 420px);
  padding: 22px 40px;
  border-radius: 999px;
  font-size: 21px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, #36b6f5, #1a8cd8);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 14px 34px rgba(42, 171, 238, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.tg-support-cta:hover {
  transform: translateY(-3px);
  filter: brightness(1.08);
  box-shadow: 0 20px 44px rgba(42, 171, 238, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.tg-support-cta svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.tg-support-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.tg-support-points li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 8px;
  border-radius: 6px;
  background: rgba(5, 9, 20, 0.6);
  border: 1px solid rgba(42, 171, 238, 0.22);
  backdrop-filter: blur(4px);
}
.tg-support-points strong { font-size: 17px; font-weight: 900; color: #7dd3fc; }
.tg-support-points span { font-size: 12.5px; color: var(--text-secondary); }

/* ---- Support: connection FAQ ---- */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
  word-break: keep-all;
}
.faq-banner {
  position: relative;
  overflow: hidden;
  padding: 34px 30px;
  margin-bottom: 16px;
  border-radius: 8px;
  border: 1px solid rgba(52, 211, 153, 0.3);
  background:
    linear-gradient(90deg, rgba(5, 9, 20, 0.96) 0%, rgba(5, 9, 20, 0.82) 45%, rgba(5, 9, 20, 0.2) 100%),
    url('/images/banners/security_shield_core.jpg') right 30% / cover no-repeat;
}
.faq-banner-kicker { font-size: 11.5px; font-weight: 900; letter-spacing: 0.2em; color: #6ee7b7; }
.faq-banner h2 { margin: 8px 0 6px; font-size: clamp(22px, 3vw, 30px); font-weight: 900; }
.faq-banner p { margin: 0; max-width: 420px; font-size: 14px; color: var(--text-secondary); }

.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  --tone: var(--accent);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(18, 27, 47, 0.92), rgba(7, 12, 24, 0.96));
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--tone);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.faq-item.tone-red { --tone: #f87171; }
.faq-item.tone-cyan { --tone: var(--accent, #22c55e); }
.faq-item.tone-gold { --tone: var(--secondary, #a3e635); }
.faq-item:hover,
.faq-item[open] {
  border-color: color-mix(in srgb, var(--tone) 55%, transparent);
  box-shadow: 0 0 22px color-mix(in srgb, var(--tone) 14%, transparent);
}
.faq-item summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-no {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 900;
  color: var(--tone);
  background: color-mix(in srgb, var(--tone) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--tone) 40%, transparent);
}
.faq-q { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.faq-tag { font-size: 11px; font-weight: 900; letter-spacing: 0.06em; color: var(--tone); }
.faq-q strong { font-size: 15.5px; font-weight: 800; line-height: 1.45; }
.faq-chevron {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--text-muted);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease, stroke 0.2s ease;
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); stroke: var(--tone); }
.faq-answer { padding: 0 20px 20px 80px; }
.faq-answer p { margin: 0 0 12px; font-size: 14px; line-height: 1.7; color: var(--text-secondary); }
.faq-steps { margin: 0; padding: 0; list-style: none; counter-reset: faqstep; display: flex; flex-direction: column; gap: 6px; }
.faq-steps li {
  counter-increment: faqstep;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-size: 13.5px;
  border-radius: 4px;
  background: rgba(5, 9, 20, 0.55);
  border: 1px solid var(--border);
}
.faq-steps li::before {
  content: counter(faqstep);
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 11.5px;
  font-weight: 900;
  color: #0b1220;
  background: var(--tone);
}
.faq-steps a { color: var(--tone); font-weight: 700; }

.faq-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 14px; }
.faq-side-card {
  padding: 24px 22px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid rgba(42, 171, 238, 0.4);
  background:
    radial-gradient(circle at 50% 0%, rgba(42, 171, 238, 0.22), transparent 65%),
    linear-gradient(180deg, rgba(14, 23, 42, 0.95), rgba(5, 9, 20, 0.98));
}
.faq-side-kicker { font-size: 11px; font-weight: 900; letter-spacing: 0.2em; color: #7dd3fc; }
.faq-side-card h3 { margin: 8px 0 8px; font-size: 20px; font-weight: 900; }
.faq-side-card p { margin: 0 0 18px; font-size: 13.5px; line-height: 1.65; color: var(--text-secondary); }
.faq-side-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 18px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, #36b6f5, #1a8cd8);
  box-shadow: 0 10px 26px rgba(42, 171, 238, 0.4);
  transition: transform 0.18s ease, filter 0.18s ease;
}
.faq-side-cta:hover { transform: translateY(-2px); filter: brightness(1.08); }
.faq-side-cta svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.faq-side-link { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--text-muted); }
.faq-side-link:hover { color: var(--accent); }
.faq-side-tips {
  padding: 18px 20px;
  border-radius: 8px;
  background: rgba(10, 18, 34, 0.86);
  border: 1px solid var(--border-strong);
}
.faq-side-tips h4 { margin: 0 0 10px; font-size: 14px; font-weight: 900; }
.faq-side-tips ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.faq-side-tips li { position: relative; padding-left: 24px; font-size: 13px; color: var(--text-secondary); }
.faq-side-tips li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 3px;
  width: 12px;
  height: 7px;
  border-left: 2px solid #34d399;
  border-bottom: 2px solid #34d399;
  transform: rotate(-45deg);
}

/* ---- Responsive ---- */
@media (max-width: 1180px) {
  .header-download-btn span { display: none; }
}
@media (max-width: 1024px) {
  .rate-gauges { grid-template-columns: 1fr; }
  .spec-tiles { grid-template-columns: repeat(2, 1fr); }
  .promo-flow { grid-template-columns: repeat(2, 1fr); }
  .promo-flow-step::after { display: none; }
  .schedule-band { grid-template-columns: 1fr; }
  .dl-columns { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-side { position: static; }
}
@media (max-width: 640px) {
  .page-hero { padding: 44px 0 38px; }
  .spec-tiles,
  .rules-grid,
  .system-grid,
  .promo-flow { grid-template-columns: 1fr; }
  .evo-flow-track { flex-direction: column; }
  .evo-flow-link { flex: 0 0 28px; width: 2px; height: 28px; }
  .evo-flow-head { flex-direction: column; align-items: flex-start; }
  .guide-step { grid-template-columns: 54px 1fr; gap: 12px; }
  .guide-step-no { width: 48px; height: 48px; font-size: 17px; }
  .guide-step-rail::after { top: 58px; }
  .tg-support { min-height: 0; }
  .tg-support-body { padding: 40px 18px 28px; }
  .tg-support-desc br { display: none; }
  .tg-support-cta { width: 100%; padding: 18px 20px; font-size: 18px; }
  .faq-banner { padding: 26px 20px; }
  .faq-item summary { gap: 12px; padding: 16px; }
  .faq-no { width: 38px; height: 38px; font-size: 13px; }
  .faq-answer { padding: 0 16px 16px; }
  .tg-support-points { gap: 6px; }
  .tg-support-points li { padding: 10px 4px; }
  .tg-support-points strong { font-size: 15px; }
  .tg-support-points span { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero-bg, .page-hero-scan, .evo-flow-link span, .guide-step-no::before, .promo-banner-shine, .tg-support-emblem { animation: none; }
}
