@import url("https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@500;600;700&family=Noto+Sans+SC:wght@400;500;700;800&display=swap");

:root {
  --bg: #091017;
  --bg-layer: #0d1620;
  --bg-panel: rgba(14, 24, 34, 0.9);
  --bg-card: rgba(17, 29, 41, 0.94);
  --bg-soft: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(92, 144, 255, 0.34);
  --text: #f3f7fb;
  --muted: #a1b2c4;
  --accent: #5c90ff;
  --accent-strong: #7aa6ff;
  --accent-cyan: #58c9df;
  --accent-gold: #d7ba78;
  --danger: #ff807f;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --header-height: 92px;
  --content-width: 1360px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 12%, rgba(88, 201, 223, 0.1), transparent 26%),
    radial-gradient(circle at 86% 14%, rgba(92, 144, 255, 0.14), transparent 22%),
    linear-gradient(180deg, #091017 0%, #0a131d 36%, #091017 100%);
  font-family: "Chakra Petch", "Noto Sans SC", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72) 18%, #000 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  appearance: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 2.8vw, 2.4rem);
  background: linear-gradient(180deg, rgba(4, 8, 12, 0.96), rgba(4, 8, 12, 0.82));
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  min-width: 0;
}

.brand-mark {
  display: block;
  flex: 0 0 auto;
  width: 98px;
  height: 56px;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 16px 38px rgba(92, 144, 255, 0.22);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
  min-width: 0;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.28rem;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header[data-open="true"] .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header[data-open="true"] .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header[data-open="true"] .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.header-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex: 1;
  min-width: 0;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.nav-link {
  padding: 0.78rem 1rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  background: rgba(92, 144, 255, 0.16);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(122, 166, 255, 0.2);
  outline: none;
}

.nav-link:hover {
  transform: translateY(-1px);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.select-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.48rem 0.74rem 0.48rem 0.88rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.tool-label {
  color: var(--muted);
  font-size: 0.82rem;
}

.select-wrap select {
  min-width: 6.2rem;
  border: 0;
  background: transparent;
  color: var(--text);
  outline: none;
  cursor: pointer;
}

.select-wrap option {
  color: #091017;
}

.search-shell {
  position: relative;
  min-width: min(34vw, 340px);
}

.search-shell input {
  width: 100%;
  padding: 0.84rem 3rem 0.84rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.search-shell input::placeholder {
  color: rgba(161, 178, 196, 0.9);
}

.search-shell input:focus {
  border-color: rgba(92, 144, 255, 0.44);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(92, 144, 255, 0.08);
}

.search-button {
  position: absolute;
  top: 50%;
  right: 0.38rem;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(92, 144, 255, 0.24), rgba(88, 201, 223, 0.22));
  color: var(--text);
  cursor: pointer;
}

.search-results {
  position: absolute;
  top: calc(100% + 0.7rem);
  left: 0;
  right: 0;
  padding: 0.45rem;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(8, 14, 20, 0.98);
  box-shadow: var(--shadow);
}

.search-result,
.search-empty {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 16px;
}

.search-result {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: background-color 140ms ease, transform 140ms ease;
}

.search-result:hover,
.search-result:focus-visible {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
  outline: none;
}

.search-result strong {
  font-size: 0.96rem;
}

.search-result small,
.search-empty {
  color: var(--muted);
}

.page-shell {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
  padding: calc(var(--header-height) + 3rem) 0 4rem;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 1.25rem;
  align-items: stretch;
}

.hero-copy,
.hero-visual,
.advantage-section,
.quick-tools-section,
.database-section,
.builds-section,
.news-section,
.starter-section,
.footer-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(16, 27, 38, 0.92), rgba(10, 18, 26, 0.96));
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(1.6rem, 4vw, 3rem);
}

.eyebrow,
.section-label,
.visual-kicker,
.card-label,
.news-kicker {
  margin: 0;
  color: var(--accent-cyan);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0.9rem 0 0;
  max-width: 11ch;
  font-size: clamp(2.8rem, 5vw, 5.3rem);
  line-height: 0.95;
}

.hero-subtitle {
  margin: 1.15rem 0 0;
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.3rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.52rem 0.88rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.88rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.7rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.92rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
  cursor: pointer;
}

.button:hover,
.button:focus-visible,
.tail-link:hover,
.tail-link:focus-visible,
.build-action:hover,
.build-action:focus-visible,
.starter-link:hover,
.starter-link:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #f8fbff;
  box-shadow: 0 18px 40px rgba(92, 144, 255, 0.24);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.hero-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 1rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  background:
    radial-gradient(circle at 54% 30%, rgba(92, 144, 255, 0.12), transparent 24%),
    radial-gradient(circle at 22% 16%, rgba(88, 201, 223, 0.1), transparent 18%),
    linear-gradient(180deg, rgba(18, 30, 44, 0.96), rgba(10, 17, 26, 0.98));
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 34%, rgba(255, 255, 255, 0.02));
  pointer-events: none;
}

.visual-orbit {
  position: relative;
  min-height: 360px;
  display: grid;
  gap: 1rem;
  align-content: start;
}

.visual-banner {
  position: relative;
  overflow: hidden;
  min-height: 142px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(6, 11, 16, 0.86);
}

.visual-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  filter: saturate(1.02) contrast(1.04);
}

.visual-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 14, 20, 0.18), rgba(8, 14, 20, 0.5));
  pointer-events: none;
}

.visual-roster {
  position: relative;
  min-height: 200px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.2rem 0.6rem 0.2rem;
}

.roster-card {
  position: relative;
  width: 92px;
  margin: 0;
  text-align: center;
}

.roster-card img {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: pixelated;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.36));
}

.roster-card figcaption {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.roster-card-knight,
.roster-card-priest {
  transform: translateY(8px);
}

.roster-card-sorcerer,
.roster-card-slayer {
  transform: translateY(16px);
}

.visual-core {
  position: relative;
  display: grid;
  place-items: center;
  width: 126px;
  height: 46px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(92, 144, 255, 0.22), rgba(88, 201, 223, 0.12)),
    rgba(7, 13, 20, 0.88);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  margin-top: -1.1rem;
}

.visual-core::before,
.visual-core::after {
  display: none;
}

.core-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  min-height: 44px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(5, 10, 14, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
}

.orbit-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.58rem 0.84rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 13, 20, 0.88);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
  color: var(--text);
  font-size: 0.85rem;
}

.orbit-chip-top {
  top: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
}

.orbit-chip-left {
  left: 0;
  bottom: 2rem;
}

.orbit-chip-right {
  right: 0;
  top: 2.8rem;
}

.visual-window {
  position: relative;
  z-index: 1;
  padding: 1.15rem 1.2rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(8, 13, 20, 0.86);
}

.visual-window h2 {
  margin: 0.72rem 0 0;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.visual-bars {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.visual-bar {
  display: grid;
  gap: 0.38rem;
}

.visual-bar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.visual-bar-track {
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.visual-bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-cyan) 100%);
}

.visual-footnote {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.advantage-section,
.quick-tools-section,
.database-section,
.builds-section,
.news-section,
.starter-section {
  padding: clamp(1.4rem, 3vw, 2rem);
  margin-top: 1.2rem;
}

.section-intro h2 {
  margin: 0.72rem 0 0;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.section-intro p:last-child {
  margin: 0.95rem 0 0;
  max-width: 68ch;
  color: var(--muted);
  line-height: 1.72;
}

.advantage-grid,
.quick-tools-grid,
.database-grid,
.featured-build-grid,
.starter-grid,
.footer-grid {
  display: grid;
  gap: 1rem;
}

.media-showcase-section {
  padding: clamp(1.4rem, 3vw, 2rem);
  margin-top: 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(16, 27, 38, 0.92), rgba(10, 18, 26, 0.96));
  box-shadow: var(--shadow);
}

.user-path-section {
  padding: clamp(1.4rem, 3vw, 2rem);
  margin-top: 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(16, 27, 38, 0.92), rgba(10, 18, 26, 0.96));
  box-shadow: var(--shadow);
}

.faq-section {
  padding: clamp(1.4rem, 3vw, 2rem);
  margin-top: 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(16, 27, 38, 0.92), rgba(10, 18, 26, 0.96));
  box-shadow: var(--shadow);
}

.media-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.intro-video-slot {
  margin-top: 1.25rem;
}

.intro-video-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 16% 18%, rgba(92, 144, 255, 0.18), transparent 26%),
    linear-gradient(135deg, rgba(20, 32, 46, 0.98), rgba(10, 18, 26, 0.98));
  box-shadow: var(--shadow);
}

.intro-video-media {
  position: relative;
  min-height: 280px;
  background: rgba(6, 11, 17, 0.92);
}

.intro-video-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.03);
}

.intro-video-player {
  display: block;
  width: 100%;
  height: 100%;
  background: #05080c;
}

.intro-video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(6, 11, 17, 0.18), rgba(6, 11, 17, 0.72));
}

.intro-video-overlay-compact {
  justify-content: flex-start;
  background: linear-gradient(180deg, rgba(6, 11, 17, 0.52), rgba(6, 11, 17, 0) 32%);
  pointer-events: none;
}

.intro-video-badge,
.intro-video-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 0.24rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.intro-video-badge {
  background: rgba(92, 144, 255, 0.18);
  color: #dce8ff;
}

.intro-video-status {
  margin-top: 0.55rem;
  background: rgba(255, 255, 255, 0.12);
  color: #eff5ff;
}

.intro-video-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 88px;
  height: 88px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(8, 14, 20, 0.56);
  color: #f6fbff;
  font-size: 2rem;
  backdrop-filter: blur(10px);
}

.intro-video-copy {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.2rem 1.2rem 1.25rem;
}

.intro-video-copy h3 {
  margin: 0;
}

.intro-video-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.intro-video-list {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding-left: 1.1rem;
}

.intro-video-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: auto;
}

.intro-video-route,
.intro-video-helper {
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.82rem;
}

.intro-video-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.58rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(92, 144, 255, 0.24), rgba(88, 201, 223, 0.18));
  color: #eef6ff;
  font-size: 0.84rem;
  white-space: nowrap;
}

.intro-video-action.is-disabled {
  border: 1px dashed rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.6);
}

.user-path-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.showcase-card {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(19, 31, 44, 0.94), rgba(11, 19, 28, 0.96));
  transition: transform 180ms ease, border-color 180ms ease;
}

.showcase-link {
  color: var(--text);
}

.showcase-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.showcase-link:hover,
.showcase-link:focus-visible {
  text-decoration: none;
  outline: none;
  box-shadow: 0 0 0 1px rgba(122, 166, 255, 0.2), 0 18px 34px rgba(0, 0, 0, 0.22);
}

.showcase-image {
  overflow: hidden;
  background: rgba(7, 12, 18, 0.88);
}

.showcase-image img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
  object-position: center;
  image-rendering: pixelated;
}

.showcase-copy {
  padding: 1rem 1rem 1.1rem;
}

.showcase-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(92, 144, 255, 0.14);
  color: #dce8ff;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}

.showcase-copy h3 {
  margin: 0.8rem 0 0;
}

.showcase-copy p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  line-height: 1.66;
}

.showcase-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 1rem;
}

.showcase-route {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.78rem;
}

.showcase-action {
  color: #dce8ff;
  font-size: 0.84rem;
}

.user-path-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 310px;
  padding: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(19, 31, 44, 0.94), rgba(11, 19, 28, 0.96));
  transition: transform 180ms ease, border-color 180ms ease;
}

.user-path-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.user-path-card h3 {
  margin: 0;
}

.user-path-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.66;
}

.user-path-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(92, 144, 255, 0.24), rgba(88, 201, 223, 0.12));
  color: #dfeaff;
  font-size: 1rem;
  font-weight: 700;
}

.user-path-list {
  display: grid;
  gap: 0.52rem;
  margin: 0;
  padding-left: 1.1rem;
}

.user-path-list li {
  color: var(--muted);
  line-height: 1.58;
}

.user-path-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  margin-top: auto;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.user-path-link:hover,
.user-path-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(92, 144, 255, 0.34);
  background: rgba(92, 144, 255, 0.1);
  outline: none;
}

.faq-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 280px;
  padding: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(19, 31, 44, 0.94), rgba(11, 19, 28, 0.96));
  transition: transform 180ms ease, border-color 180ms ease;
}

.faq-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.faq-card h3 {
  margin: 0;
}

.faq-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.66;
}

.faq-list {
  display: grid;
  gap: 0.52rem;
  margin: 0;
  padding-left: 1.1rem;
}

.faq-list li {
  color: var(--muted);
  line-height: 1.58;
}

.faq-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  margin-top: auto;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.faq-link:hover,
.faq-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(92, 144, 255, 0.34);
  background: rgba(92, 144, 255, 0.1);
  outline: none;
}

.advantage-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.25rem;
}

.quick-tools-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.25rem;
}

.database-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.25rem;
}

.database-media {
  overflow: hidden;
  margin-top: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(7, 12, 18, 0.88);
}

.database-media img {
  display: block;
  width: 100%;
  height: clamp(180px, 26vw, 280px);
  object-fit: cover;
  object-position: center;
  opacity: 0.82;
}

.featured-build-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.25rem;
}

.starter-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.25rem;
}

.advantage-card,
.tool-card,
.db-card,
.build-card,
.starter-card,
.news-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(19, 31, 44, 0.94), rgba(11, 19, 28, 0.96));
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.advantage-card::before,
.tool-card::before,
.db-card::before,
.build-card::before,
.starter-card::before,
.news-card::before {
  content: "";
  position: absolute;
  inset: auto -10% -38% auto;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 144, 255, 0.16), transparent 64%);
}

.advantage-card:hover,
.tool-card:hover,
.db-card:hover,
.build-card:hover,
.starter-card:hover,
.news-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.advantage-card {
  padding: 1.25rem;
}

.advantage-card h3,
.tool-card h3,
.db-card h3,
.build-card h3,
.starter-card h3,
.news-card h3 {
  position: relative;
  z-index: 1;
  margin: 0.7rem 0 0;
  font-size: 1.22rem;
}

.advantage-card p,
.tool-card p,
.db-card p,
.build-card p,
.starter-card p {
  position: relative;
  z-index: 1;
  margin: 0.85rem 0 0;
  color: var(--muted);
  line-height: 1.68;
}

.advantage-foot {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-top: 1rem;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #dbe6ff;
  font-size: 0.82rem;
}

.tool-card,
.db-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  min-height: 220px;
  padding: 1.2rem;
  border-width: 1px;
  text-align: left;
  cursor: pointer;
}

.db-visual {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 100%;
  min-height: 128px;
  border-radius: 18px;
  background: rgba(7, 12, 18, 0.88);
}

.db-visual img {
  display: block;
  width: 100%;
  height: 128px;
  object-fit: cover;
  object-position: center;
  image-rendering: pixelated;
  opacity: 0.88;
}

.tool-card-head,
.db-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  width: 100%;
}

.tool-head-copy {
  display: grid;
  justify-items: end;
  gap: 0.35rem;
}

.tool-icon,
.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 700;
}

.tool-icon img,
.card-icon img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
  image-rendering: auto;
}

.tool-icon[data-tone="blue"],
.card-icon[data-tone="blue"],
.build-chip-role[data-tone="blue"] {
  background: linear-gradient(135deg, rgba(92, 144, 255, 0.22), rgba(122, 166, 255, 0.16));
  color: #d8e6ff;
}

.tool-icon[data-tone="cyan"],
.card-icon[data-tone="cyan"],
.build-chip-role[data-tone="cyan"] {
  background: linear-gradient(135deg, rgba(88, 201, 223, 0.22), rgba(88, 201, 223, 0.12));
  color: #dafaff;
}

.tool-icon[data-tone="gold"],
.card-icon[data-tone="gold"],
.build-chip-role[data-tone="gold"] {
  background: linear-gradient(135deg, rgba(215, 186, 120, 0.22), rgba(215, 186, 120, 0.12));
  color: #ffefc7;
}

.db-arrow {
  color: var(--muted);
  font-size: 1.1rem;
}

.db-meta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.34rem 0.62rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #dce8ff;
  font-size: 0.78rem;
}

.tool-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: rgba(92, 144, 255, 0.12);
  color: #dce8ff;
  font-size: 0.76rem;
}

.detail-list,
.build-detail-list,
.starter-checklist {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.55rem;
  margin: 0.2rem 0 0;
  padding-left: 1.1rem;
}

.detail-list li,
.build-detail-list li,
.starter-checklist li {
  color: var(--muted);
  line-height: 1.6;
}

.card-route {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  padding: 0.42rem 0.68rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.82rem;
}

.build-card {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  min-height: 260px;
  padding: 1.2rem;
}

.build-party {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  gap: 0.65rem;
}

.party-member {
  margin: 0;
  width: 64px;
  text-align: center;
}

.party-member img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.32));
}

.party-member figcaption {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.build-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.build-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.42rem 0.68rem;
  border-radius: 999px;
  font-size: 0.82rem;
}

.build-chip-phase {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.build-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: auto;
}

.build-likes {
  color: var(--muted);
  font-size: 0.88rem;
}

.build-action,
.starter-link,
.tail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.build-action:hover,
.starter-link:hover,
.tail-link:hover {
  border-color: rgba(92, 144, 255, 0.34);
  background: rgba(92, 144, 255, 0.1);
}

.section-tail {
  margin-top: 1rem;
}

.news-card {
  padding: 1.35rem;
  margin-top: 1.25rem;
}

.news-media {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(7, 12, 18, 0.88);
}

.news-media img {
  display: block;
  width: 100%;
  height: clamp(180px, 22vw, 240px);
  object-fit: cover;
  object-position: center;
  opacity: 0.8;
}

.news-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.news-date {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 34px;
  padding: 0.45rem 0.68rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

.news-summary {
  position: relative;
  z-index: 1;
  margin-top: 0.95rem;
  color: var(--muted);
  line-height: 1.72;
}

.news-tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.95rem;
}

.news-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.42rem 0.68rem;
  border-radius: 999px;
  background: rgba(92, 144, 255, 0.12);
  color: #dce8ff;
  font-size: 0.8rem;
}

.news-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--text);
}

.news-list li {
  color: var(--muted);
  line-height: 1.68;
}

.news-alert {
  position: relative;
  z-index: 1;
  margin: 1rem 0 0;
  color: var(--danger);
  line-height: 1.72;
}

.news-card .tail-link {
  position: relative;
  z-index: 1;
  margin-top: 1rem;
}

.starter-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 230px;
  padding: 1.2rem;
}

.starter-visual {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 100%;
  height: 110px;
  border-radius: 18px;
  background:
    radial-gradient(circle at top, rgba(92, 144, 255, 0.12), transparent 38%),
    rgba(7, 12, 18, 0.88);
}

.starter-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  image-rendering: pixelated;
  padding: 0.3rem 0.5rem 0;
  filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.34));
}

.starter-step {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(92, 144, 255, 0.24), rgba(88, 201, 223, 0.12));
  color: #dfeaff;
  font-size: 1rem;
  font-weight: 700;
}

.starter-link {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin-top: auto;
}

.site-footer {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto 2.4rem;
}

.footer-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.footer-card {
  padding: 1.2rem;
}

.footer-card h3 {
  margin: 0;
  font-size: 1.02rem;
}

.footer-card p {
  margin: 0.8rem 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.9rem;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.5rem 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.86rem;
}

.footer-link:hover,
.footer-link:focus-visible {
  border-color: rgba(92, 144, 255, 0.32);
  background: rgba(92, 144, 255, 0.1);
  outline: none;
}

.pulse-target.is-pulsed {
  animation: pulse-card 1.45s ease;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 680ms ease, transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse-card {
  0% {
    box-shadow: 0 0 0 0 rgba(92, 144, 255, 0.18);
    border-color: rgba(92, 144, 255, 0.22);
  }

  30% {
    box-shadow: 0 0 0 12px rgba(92, 144, 255, 0.08);
    border-color: rgba(122, 166, 255, 0.5);
  }

  100% {
    box-shadow: none;
    border-color: var(--border);
  }
}

@media (max-width: 1180px) {
  .page-shell {
    width: min(calc(100% - 1.6rem), var(--content-width));
  }

  .hero-section {
    grid-template-columns: 1fr;
  }

  .visual-orbit {
    min-height: 300px;
  }

  .media-showcase-grid,
  .user-path-grid,
  .faq-grid,
  .advantage-grid,
  .database-grid,
  .featured-build-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-tools-grid,
  .starter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-video-card {
    grid-template-columns: 1fr;
  }

  .intro-video-media {
    min-height: 240px;
  }
}

@media (max-width: 960px) {
  .menu-toggle {
    display: inline-flex;
  }

  .header-panel {
    position: absolute;
    top: calc(100% + 0.85rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(8, 14, 20, 0.98);
    box-shadow: var(--shadow);
  }

  .site-header[data-open="true"] .header-panel {
    display: flex;
  }

  .primary-nav,
  .header-tools {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-link,
  .select-wrap {
    width: 100%;
  }

  .search-shell {
    min-width: 0;
  }

  .news-head,
  .build-foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .visual-orbit {
    min-height: auto;
  }

  .visual-roster {
    display: grid;
    grid-template-columns: repeat(5, minmax(56px, 1fr));
    justify-items: center;
    align-items: end;
    gap: 0.55rem 0.3rem;
    padding: 0.95rem 0.25rem 0.2rem;
  }

  .roster-card {
    width: min(100%, 78px);
  }

  .orbit-chip-left,
  .orbit-chip-right,
  .visual-core {
    position: static;
    grid-column: 1 / -1;
    justify-self: center;
    margin-top: 0.2rem;
  }

  .orbit-chip-left {
    order: 6;
  }

  .orbit-chip-right {
    order: 7;
  }

  .visual-core {
    order: 8;
    margin-top: 0.35rem;
  }
}

@media (max-width: 720px) {
  .site-header {
    gap: 1rem;
    padding: 0.9rem 1rem;
  }

  .brand-copy span {
    display: none;
  }

  .brand-mark {
    width: 84px;
    height: 48px;
    border-radius: 16px;
  }

  .page-shell {
    padding-top: calc(var(--header-height) + 2.5rem);
  }

  .hero-copy,
  .hero-visual,
  .advantage-section,
  .quick-tools-section,
  .database-section,
  .builds-section,
  .news-section,
  .starter-section,
  .footer-card {
    border-radius: 24px;
  }

  .hero-copy h1 {
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .orbit-chip-top {
    top: 4%;
  }

  .visual-orbit {
    min-height: 260px;
  }

  .intro-video-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .intro-video-action {
    width: 100%;
  }

  .roster-card {
    width: 76px;
  }

  .visual-core {
    width: 112px;
  }

  .media-showcase-grid,
  .user-path-grid,
  .faq-grid,
  .advantage-grid,
  .quick-tools-grid,
  .database-grid,
  .featured-build-grid,
  .starter-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-direction: column;
  }

  .footer-link {
    justify-content: center;
  }
}
