/* Zombie Services — Setup Guide */

:root {
  --bg-deep: #080808;
  --bg-card: rgba(18, 18, 18, 0.78);
  --bg-card-hover: rgba(26, 26, 26, 0.9);
  --purple-muted: #4a4a4a;
  --purple-soft: #9a9a9a;
  --purple-accent: #c8c8c8;
  --purple-glow: rgba(255, 255, 255, 0.12);
  --purple-border: rgba(255, 255, 255, 0.08);
  --purple-border-hover: rgba(255, 255, 255, 0.16);
  --text-primary: #f2f2f2;
  --text-secondary: #8a8a8a;
  --text-muted: #5a5a5a;
  --radius: 12px;
  --radius-lg: 16px;
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Background */
.bg-streaks {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 120% 70% at 50% -10%, rgba(255, 255, 255, 0.05) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse 40% 35% at 100% 80%, rgba(255, 255, 255, 0.025) 0%, transparent 45%),
    #080808;
}

.bg-streaks::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(ellipse 45% 35% at 20% 30%, rgba(40, 40, 40, 0.55) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 80% 70%, rgba(28, 28, 28, 0.5) 0%, transparent 68%);
  filter: blur(48px);
  animation: bg-aurora-drift 28s ease-in-out infinite alternate;
}

.bg-streaks::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, #000 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, #000 20%, transparent 100%);
  animation: bg-grid-drift 90s linear infinite;
}

.bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 42%,
    rgba(200, 200, 200, 0.04) 48%,
    rgba(210, 210, 210, 0.07) 50%,
    rgba(200, 200, 200, 0.04) 52%,
    transparent 58%,
    transparent 100%
  );
  background-size: 220% 100%;
  animation: bg-sweep 14s ease-in-out infinite;
  opacity: 0.85;
}

body::after {
  content: "";
  position: fixed;
  width: min(70vmax, 900px);
  height: min(70vmax, 900px);
  border-radius: 50%;
  right: -18%;
  bottom: -22%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle, rgba(160, 160, 160, 0.1) 0%, transparent 68%);
  filter: blur(60px);
  animation: bg-orb-float 24s ease-in-out infinite alternate;
}

@keyframes bg-aurora-drift {
  0% {
    transform: translate(-4%, -3%) rotate(0deg) scale(1);
  }
  100% {
    transform: translate(6%, 5%) rotate(8deg) scale(1.08);
  }
}

@keyframes bg-grid-drift {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(52px, 52px);
  }
}

@keyframes bg-sweep {
  0% {
    background-position: 120% 0;
  }
  100% {
    background-position: -120% 0;
  }
}

@keyframes bg-orb-float {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.65;
  }
  100% {
    transform: translate(-6%, -8%) scale(1.12);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-streaks::before,
  .bg-streaks::after,
  body::before,
  body::after {
    animation: none;
  }
}

/* Home page */
.home-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2.5rem 1.25rem 4rem;
}

.center-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 820px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (min-width: 900px) {
  .center-shell {
    max-width: 900px;
  }
}

.center-shell--games {
  max-width: 1180px;
}

@media (min-width: 900px) {
  .center-shell--games {
    max-width: 1280px;
  }
}

/* Home game selection grid */
.game-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0.25rem auto 0;
}

@media (min-width: 700px) {
  .game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 1100px) {
  .game-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

.game-grid--spoofers {
  width: 100%;
  max-width: 920px;
  margin: 0.35rem auto 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

@media (min-width: 700px) {
  .game-grid--spoofers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

.game-grid--spoofers .game-tile {
  aspect-ratio: auto;
  height: auto;
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.game-grid--spoofers .game-tile:hover {
  border-color: rgba(255, 255, 255, 0.45);
}

.game-grid--spoofers .game-tile__media {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.game-grid--spoofers .game-tile__media img {
  position: static;
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
  transform: none;
  filter: none;
  background: #080808;
}

.game-grid--spoofers .game-tile:hover .game-tile__media img {
  transform: scale(1.02);
}

/* Chooser pages (Fortnite / Spoofers) — centered like home */
.home-page--chooser {
  align-items: center;
  justify-content: center;
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}

.home-page--chooser .progress-steps {
  margin-bottom: 0.85rem;
}

.home-page--chooser .brand-logo {
  width: min(100%, 280px);
  margin-bottom: 0.85rem;
}

.home-page--chooser .hero-title {
  margin-bottom: 0.3rem;
}

.home-page--chooser .hero-subtitle {
  margin-bottom: 1rem;
}

.home-page--chooser .home-back-link {
  margin-top: 1.25rem;
}

.game-tile {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0c0a12;
  isolation: isolate;
  padding: 0;
  font: inherit;
  cursor: pointer;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

button.game-tile {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
}

.game-tile__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.game-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  transform: scale(1.02);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
  filter: saturate(1.05) contrast(1.04);
}

.game-tile__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 2.4rem 0.75rem 0.85rem;
  font-size: clamp(0.72rem, 1.4vw, 0.92rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.35) 55%, transparent 100%);
  pointer-events: none;
}

/* Shine sweep — every tile */
.game-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 255, 255, 0.08) 45%,
    rgba(255, 255, 255, 0.42) 50%,
    rgba(255, 255, 255, 0.08) 55%,
    transparent 62%,
    transparent 100%
  );
  transform: translateX(-130%) skewX(-12deg);
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  mix-blend-mode: screen;
}

.game-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.12) 0%,
    transparent 35%,
    transparent 65%,
    rgba(0, 0, 0, 0.25) 100%
  );
  opacity: 0.55;
  transition: opacity 0.35s ease;
}

.game-tile:hover {
  transform: translateY(-6px) scale(1.035);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 18px 48px rgba(0, 0, 0, 0.55),
    0 0 32px rgba(255, 255, 255, 0.06);
}

.game-tile:hover::before {
  transform: translateX(130%) skewX(-12deg);
}

.game-tile:hover::after {
  opacity: 0.9;
}

.game-tile:hover .game-tile__media img {
  transform: scale(1.1);
  filter: saturate(1.15) contrast(1.08) brightness(1.06);
}

.game-tile:focus-visible {
  outline: 2px solid var(--purple-accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .game-tile,
  .game-tile__media img,
  .game-tile::before {
    transition: none;
  }

  .game-tile:hover {
    transform: none;
  }
}

.progress-steps {
  display: flex;
  align-items: center;
  margin-bottom: 1.75rem;
}

.step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  transition: var(--transition);
}

.step-dot.active {
  background: var(--purple-soft);
  box-shadow: 0 0 14px var(--purple-glow), 0 0 28px rgba(160, 160, 160, 0.2);
  transform: scale(1.15);
}

.step-dot.done {
  background: var(--purple-muted);
  box-shadow: 0 0 8px rgba(160, 160, 160, 0.15);
}

.step-line {
  width: 52px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1px;
  transition: var(--transition);
}

.step-line.done {
  background: linear-gradient(90deg, var(--purple-muted), var(--purple-soft));
  opacity: 0.7;
}

.brand-logo {
  display: block;
  width: min(100%, 420px);
  height: auto;
  object-fit: contain;
  object-position: center;
  margin: 0 auto 1.5rem;
  border: none;
  background: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.08));
}

.brand-logo--small {
  width: min(100%, 360px);
  height: auto;
}

.hero-title {
  font-size: clamp(1.55rem, 4vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.45rem;
}

.hero-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  max-width: 36rem;
}

.home-credit {
  position: static;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.home-credit a {
  color: var(--purple-accent);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.home-credit a:hover {
  color: var(--purple-soft);
  text-decoration: underline;
}

.home-fixes-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin: 3rem auto 0;
  padding: 1.15rem 1.75rem 1.25rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(18, 18, 18, 0.85);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.home-fixes-btn:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(28, 28, 28, 0.95);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.home-fixes-btn__icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 14px;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.45));
}

.home-fixes-btn__label {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.option-grid {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
  min-width: 0;
}

@media (min-width: 600px) {
  .option-grid {
    max-width: 580px;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.65rem;
  }
}

.option-grid--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 320px;
}

@media (min-width: 600px) {
  .option-grid--two {
    max-width: 360px;
  }
}

.home-back-link {
  margin-top: 1.75rem;
  align-self: center;
}

.option-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.option-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0.5rem 0.4rem 0.55rem;
  overflow: hidden;
  background: rgba(14, 14, 14, 0.92);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.option-card__media {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  overflow: hidden;
}

.option-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.option-card__media:has(img[src*="hwid-spoofers"]) {
  padding: 0.15rem;
}

.option-card__media img[src*="hwid-spoofers"] {
  transform: scale(1.35);
  transform-origin: center center;
}

.option-card__label {
  margin-top: 0.4rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-secondary);
  line-height: 1.2;
  text-align: center;
}

.option-card:hover .option-card__label {
  color: var(--text-primary);
}

.option-card--fixes .option-card__media {
  color: var(--purple-soft);
}

.option-card:hover {
  background: rgba(20, 20, 20, 0.98);
  border-color: var(--purple-border-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.35);
}

button.option-card {
  font: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.service-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.service-modal[hidden] {
  display: none;
}

body.modal-open {
  overflow: hidden;
}

.service-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.service-modal__panel {
  position: relative;
  width: min(100%, 420px);
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(248, 113, 113, 0.28);
  background: linear-gradient(160deg, rgba(24, 24, 24, 0.98) 0%, rgba(12, 12, 12, 0.98) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 24px 64px rgba(0, 0, 0, 0.45);
  text-align: center;
}

.service-modal__badge,
.service-error__badge {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: rgba(127, 29, 29, 0.35);
  color: #fca5a5;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-modal__title,
.service-error__title {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
  color: #fecaca;
}

.service-modal__desc,
.service-error__desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.35rem;
}

.service-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.service-modal__support,
.service-error__support {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(150, 150, 150, 0.28);
  background: linear-gradient(135deg, rgba(160, 160, 160, 0.18) 0%, rgba(55, 55, 55, 0.12) 100%);
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.service-modal__support:hover,
.service-error__support:hover {
  border-color: rgba(200, 200, 200, 0.4);
  background: linear-gradient(135deg, rgba(160, 160, 160, 0.26) 0%, rgba(55, 55, 55, 0.18) 100%);
}

.service-modal__close {
  padding: 0.65rem 1rem;
  border: 1px solid rgba(150, 150, 150, 0.14);
  border-radius: 10px;
  background: rgba(16, 16, 16, 0.65);
  color: var(--text-secondary);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.service-modal__close:hover {
  color: var(--text-primary);
  border-color: rgba(150, 150, 150, 0.28);
}

.welcome-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.welcome-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 6, 12, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.welcome-modal__panel {
  position: relative;
  width: min(100%, 440px);
  max-height: min(90vh, 560px);
  overflow-y: auto;
  padding: 1.75rem 1.65rem 1.35rem;
  border-radius: 18px;
  border: 1px solid rgba(200, 200, 200, 0.16);
  background:
    linear-gradient(180deg, rgba(22, 17, 32, 0.98) 0%, rgba(12, 9, 18, 0.98) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 32px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.2);
}

.welcome-modal__panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.25rem;
  right: 1.25rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 200, 200, 0.45), transparent);
  pointer-events: none;
}

.welcome-modal__x {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 1.85rem;
  height: 1.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
}

.welcome-modal__x:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

.welcome-modal__header {
  padding-right: 2rem;
  margin-bottom: 1.15rem;
  text-align: center;
}

.welcome-modal__alert {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: rgba(127, 29, 29, 0.28);
  color: #fca5a5;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.welcome-modal__title {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.35;
  color: var(--text-primary);
}

.welcome-modal__body {
  color: rgba(228, 224, 236, 0.82);
  font-size: 0.9rem;
  line-height: 1.7;
  text-align: left;
}

.welcome-modal__body p {
  margin-bottom: 0.9rem;
}

.welcome-modal__body p:last-child {
  margin-bottom: 0;
}

.welcome-modal__body a {
  color: #d0d0d0;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(210, 210, 210, 0.25);
  transition: var(--transition);
}

.welcome-modal__body a:hover {
  color: #e9d5ff;
  border-bottom-color: rgba(233, 213, 255, 0.45);
}

.welcome-modal__signoff {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(150, 150, 150, 0.1);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
}

.welcome-modal__remember {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  cursor: pointer;
  user-select: none;
}

.welcome-modal__remember input {
  width: 0.95rem;
  height: 0.95rem;
  accent-color: var(--purple-soft);
  flex-shrink: 0;
  cursor: pointer;
}

.service-error {
  width: 100%;
  max-width: 480px;
  padding: 1.75rem 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(248, 113, 113, 0.28);
  background: linear-gradient(160deg, rgba(24, 24, 24, 0.95) 0%, rgba(12, 12, 12, 0.98) 100%);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.service-error__support {
  width: 100%;
}

.option-card--fixes {
  background: rgba(55, 55, 55, 0.15);
  border-color: rgba(150, 150, 150, 0.22);
}

.option-card--fixes:hover {
  background: rgba(55, 55, 55, 0.22);
}

.common-fixes-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.75rem;
  padding: 0.6rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border: 1px solid var(--purple-border);
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.5);
  transition: var(--transition);
}

.common-fixes-link:hover {
  color: var(--purple-accent);
  border-color: var(--purple-border-hover);
  background: rgba(28, 23, 40, 0.7);
}

/* Inner pages */
.inner-page .page {
  position: relative;
  z-index: 1;
  max-width: 520px;
  width: 100%;
  min-width: 0;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
  min-height: 100vh;
  overflow-x: clip;
}

.inner-page .page.center-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.inner-page .back-link {
  align-self: flex-start;
  width: 100%;
  text-align: left;
}

.inner-page .content-card,
.inner-page .fix-list,
.inner-page .placeholder-note,
.inner-page .fixes-columns,
.inner-page .fix-nav,
.inner-page .fix-section,
.inner-page .fix-content,
.inner-page .fixes-back-link,
.inner-page .fix-detail-page h1,
.inner-page .fix-lead {
  width: 100%;
  text-align: left;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.back-link:hover {
  color: var(--purple-accent);
}

.back-link svg {
  transition: var(--transition);
}

.back-link:hover svg {
  transform: translateX(-3px);
}

.product-header {
  margin-bottom: 2rem;
  text-align: center;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--purple-soft);
  margin-bottom: 0.75rem;
}

.product-header h1 {
  font-size: clamp(1.35rem, 3.5vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 0.45rem;
}

.product-header p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.product-icon {
  width: 80px;
  height: 80px;
  border-radius: 14px;
  object-fit: cover;
  padding: 0;
  background: rgba(0, 0, 0, 0.35);
  border: none;
  margin: 0 auto 1rem;
  display: block;
  transform: scale(1.05);
}

.content-card {
  background: var(--bg-card);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.content-card h2 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--purple-soft);
}

.steps {
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 2.5rem;
  padding-bottom: 1.1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.steps li:last-child {
  padding-bottom: 0;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 8px;
  background: rgba(55, 55, 55, 0.3);
  border: 1px solid var(--purple-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--purple-accent);
}

.placeholder-note {
  padding: 1rem 1.25rem;
  background: rgba(55, 55, 55, 0.12);
  border: 1px dashed var(--purple-border);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
}

.footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* Common fixes */
.inner-page .page.fixes-index,
.inner-page .page.fixes-detail-shell {
  max-width: 920px;
  align-items: stretch;
  text-align: left;
}

.inner-page .page.fixes-index .product-header,
.inner-page .page.fixes-detail-shell .product-header {
  text-align: center;
}

.fixes-intro {
  color: var(--text-secondary);
  font-size: 0.92rem;
  max-width: 36rem;
  margin: 0 auto;
}

.fix-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--purple-border);
}

.fix-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--purple-border);
  background: rgba(20, 20, 20, 0.55);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.fix-nav a:hover {
  color: var(--purple-accent);
  border-color: var(--purple-border-hover);
  background: var(--bg-card-hover);
}

.fixes-columns {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.fix-section {
  scroll-margin-top: 1.5rem;
}

.fix-section-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.fix-section-title h2 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: rgba(55, 55, 55, 0.3);
  border: 1px solid var(--purple-border);
  color: var(--purple-accent);
  flex-shrink: 0;
}

.section-icon svg {
  width: 1rem;
  height: 1rem;
}

.fixes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.fix-link-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.15rem 1.25rem;
  min-height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.fix-link-card:hover {
  border-color: var(--purple-border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-1px);
}

.fix-link-card h3 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

.fix-link-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
}

.fix-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--purple-accent);
}

.fix-cta svg {
  width: 0.9rem;
  height: 0.9rem;
  transition: transform var(--transition);
}

.fix-link-card:hover .fix-cta svg {
  transform: translateX(3px);
}

.fix-section-help {
  margin-top: 0.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--purple-border);
}

.fixes-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  text-decoration: none;
  transition: var(--transition);
}

.fixes-back-link:hover {
  color: var(--purple-accent);
}

.fix-detail-page h1 {
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.fix-lead {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  max-width: 42rem;
}

.fix-lead a {
  color: var(--purple-accent);
  text-decoration: none;
}

.fix-lead a:hover {
  text-decoration: underline;
}

.fix-content {
  padding: 1.35rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.fix-content p {
  margin-bottom: 0.85rem;
}

.fix-content p:last-child {
  margin-bottom: 0;
}

.fix-content ol,
.fix-content ul {
  margin: 0.5rem 0 1rem 1.25rem;
}

.fix-content li {
  margin-bottom: 0.45rem;
}

.fix-content li:last-child {
  margin-bottom: 0;
}

.fix-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

.fix-content a {
  color: var(--purple-accent);
  text-decoration: none;
}

.fix-content a:hover {
  text-decoration: underline;
}

.fix-content code {
  display: block;
  margin: 0.75rem 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  background: rgba(10, 8, 16, 0.65);
  border: 1px solid var(--purple-border);
  color: #e9d5ff;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.8rem;
  line-height: 1.5;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.fix-content p code,
.fix-content li code {
  display: inline;
  margin: 0;
  padding: 0.15rem 0.45rem;
  font-size: 0.85em;
  white-space: normal;
}

.fix-content pre {
  margin: 0.75rem 0 1rem;
}

.fix-content pre code {
  margin: 0;
}

.fix-content kbd {
  display: inline-block;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  border: 1px solid var(--purple-border);
  background: rgba(55, 55, 55, 0.25);
  font-size: 0.82em;
  color: var(--text-primary);
}

.fix-image {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 1rem 0;
  border-radius: var(--radius);
  border: 1px solid var(--purple-border);
}

.fix-figure {
  margin: 1rem 0;
}

.fix-figure img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--purple-border);
}

.fix-figure figcaption {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.fix-step {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(150, 150, 150, 0.12);
}

.fix-step:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.fix-step h3 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.45;
}

.fix-alt-section {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px dashed rgba(150, 150, 150, 0.2);
}

.fix-source,
.discord-note {
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  background: rgba(55, 55, 55, 0.15);
  border: 1px solid var(--purple-border);
  font-size: 0.85rem;
}

@media (max-width: 700px) {
  .fixes-grid {
    grid-template-columns: 1fr;
  }

  .fix-nav {
    gap: 0.4rem;
  }

  .fix-content {
    padding: 1.1rem 1.15rem;
  }
}

.fix-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.fix-item {
  padding: 1.15rem 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
}

.fix-item:hover {
  border-color: var(--purple-border-hover);
  background: var(--bg-card-hover);
}

.fix-item h3 {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.fix-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Guide layout */
.guide-page {
  min-height: 100vh;
}

.guide-layout {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100vh;
  width: 100%;
}

.guide-sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 300px;
  height: 100vh;
  padding: 1.35rem 1rem 2rem;
  border-right: 1px solid rgba(150, 150, 150, 0.14);
  background:
    linear-gradient(180deg, rgba(14, 14, 14, 0.98) 0%, rgba(10, 8, 16, 0.97) 100%);
  box-shadow:
    inset -1px 0 0 rgba(200, 200, 200, 0.05),
    12px 0 48px rgba(0, 0, 0, 0.28);
  overflow-y: auto;
  overflow-x: hidden;
  flex-shrink: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(160, 160, 160, 0.35) transparent;
}

.guide-sidebar::-webkit-scrollbar {
  width: 5px;
}

.guide-sidebar::-webkit-scrollbar-thumb {
  background: rgba(160, 160, 160, 0.35);
  border-radius: 999px;
}

.guide-sidebar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(200, 200, 200, 0.45) 50%, transparent 100%);
  pointer-events: none;
}

.sidebar-brand {
  display: block;
  margin-bottom: 1.25rem;
  padding: 0 0.25rem;
}

.sidebar-brand img {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.sidebar-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 1.5rem;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(150, 150, 150, 0.12);
  background: rgba(16, 16, 16, 0.65);
  transition: var(--transition);
}

.sidebar-back:hover {
  color: var(--text-primary);
  border-color: rgba(150, 150, 150, 0.28);
  background: rgba(160, 160, 160, 0.1);
}

.guide-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(200, 200, 200, 0.75);
  margin: 1.5rem 0 0.65rem;
  padding: 0 0.5rem;
  white-space: nowrap;
}

.nav-group:first-of-type {
  margin-top: 0;
}

.nav-group::before,
.nav-group::after {
  content: "";
  flex: 1;
  height: 1px;
  min-width: 0.5rem;
}

.nav-group::before {
  background: linear-gradient(90deg, transparent, rgba(150, 150, 150, 0.22));
}

.nav-group::after {
  background: linear-gradient(90deg, rgba(150, 150, 150, 0.22), transparent);
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.7rem 0.85rem 0.7rem 1rem;
  margin-bottom: 0;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: rgba(240, 237, 245, 0.72);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-align: left;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.nav-item:hover {
  color: var(--text-primary);
  background: rgba(160, 160, 160, 0.08);
  border-color: rgba(150, 150, 150, 0.12);
}

.nav-item.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(160, 160, 160, 0.16) 0%, rgba(55, 55, 55, 0.1) 100%);
  border-color: rgba(200, 200, 200, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 4px 20px rgba(160, 160, 160, 0.08);
}

.nav-item.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 55%;
  min-height: 18px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, #d0d0d0 0%, #b8b8b8 50%, #8a8a8a 100%);
  box-shadow: 0 0 12px rgba(200, 200, 200, 0.45);
}

a.nav-item {
  text-decoration: none;
}

.nav-item--link::after {
  content: "↗";
  margin-left: auto;
  font-size: 0.72rem;
  opacity: 0.4;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-item--link:hover::after {
  opacity: 0.85;
  transform: translate(1px, -1px);
}

.nav-group--important {
  color: #fcd34d;
}

.nav-group--important::before {
  background: linear-gradient(90deg, transparent, rgba(252, 211, 77, 0.28));
}

.nav-group--important::after {
  background: linear-gradient(90deg, rgba(252, 211, 77, 0.28), transparent);
}

.nav-item--important:hover,
.nav-item--important.active {
  border-color: rgba(245, 158, 11, 0.35);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(160, 160, 160, 0.08) 100%);
}

.nav-item--important.active::before {
  background: linear-gradient(180deg, #fde68a 0%, #f59e0b 55%, #d97706 100%);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

.section-header-important {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fcd34d;
  margin-bottom: 0.5rem;
  margin-top: 1.5rem;
}

.section-header-important:first-child,
.inject-subheading:first-of-type {
  margin-top: 0;
}

.inject-subheading {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}

.guide-section .inject-subheading + .guide-steps {
  margin-top: 0;
}

.inject-desc {
  margin-bottom: 1rem;
}

.guide-steps li.guide-steps-divider {
  display: block;
  counter-increment: gstep 0;
  padding: 1.35rem 0 0.35rem;
  margin-top: 0.35rem;
  border-top: 1px solid rgba(150, 150, 150, 0.16);
  border-bottom: none;
  color: var(--text-secondary);
}

.guide-steps li.guide-steps-divider::before {
  content: none;
  display: none;
}

.guide-steps li.guide-steps-divider .step-text {
  display: block;
  width: 100%;
  padding: 0;
}

.guide-steps--inject > li:last-child {
  padding-bottom: 0;
}

.path-card--important {
  border-color: rgba(245, 158, 11, 0.25);
}

.path-card--important:hover {
  border-color: rgba(245, 158, 11, 0.4);
}

.guide-content {
  flex: 1;
  margin-left: 300px;
  padding: 2.75rem 3.5rem 4rem;
  min-height: 100vh;
  min-width: 0;
  width: 0;
  flex-grow: 1;
  overflow-x: clip;
  background: rgba(10, 8, 16, 0.28);
}

.guide-section {
  display: none;
  max-width: 720px;
  width: 100%;
  animation: fadeIn 0.25s ease;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.guide-section.active {
  display: block;
}

.guide-section:not(.active) {
  display: none !important;
}

.guide-section:has(.guide-tabs-wrap) {
  max-width: 780px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.guide-section h1 {
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.guide-section h1 .accent {
  color: var(--purple-accent);
}

.guide-lead {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.guide-lead a {
  color: var(--purple-accent);
}

.callout {
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid rgba(96, 165, 250, 0.25);
  background: rgba(30, 58, 95, 0.25);
  margin-bottom: 2rem;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.callout h3 {
  font-size: 0.9rem;
  color: #93c5fd;
  margin-bottom: 0.4rem;
}

.callout--important {
  border-color: rgba(200, 200, 200, 0.35);
  background: rgba(55, 55, 55, 0.2);
}

.callout--important h3 {
  color: var(--purple-accent);
}

.callout--warning {
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(127, 29, 29, 0.22);
}

.callout--warning h3 {
  color: #fca5a5;
}

.cpu-setup-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.85rem;
}

.cpu-setup-title:not(:first-child) {
  margin-top: 2rem;
}

.guide-tabs-wrap {
  margin-bottom: 1.75rem;
  min-width: 0;
  max-width: 100%;
}

.guide-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  max-width: 100%;
}

.guide-tab {
  padding: 0.5rem 0.9rem;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.guide-tab:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.guide-tab.active {
  background: #f4f4f5;
  color: #18181b;
}

.guide-tab-panel {
  display: none;
  min-width: 0;
  max-width: 100%;
  padding: 1.15rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--purple-border);
  border-radius: 12px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.guide-tab-panel.active {
  display: block;
  animation: fadeIn 0.2s ease;
}

.guide-tab-panel[hidden] {
  display: none !important;
}

.guide-tab-panel > *:first-child {
  margin-top: 0;
}

.guide-tab-panel .guide-video + .guide-steps,
.guide-tab-panel .guide-video + .sub-note,
.guide-video + .guide-steps {
  margin-top: 1.15rem;
}

.guide-tab-panel .callout {
  margin-bottom: 1rem;
}

.guide-tab-panel .callout:last-child {
  margin-bottom: 0;
}

.bios-steps {
  list-style: none;
  counter-reset: bstep;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.bios-steps li {
  display: grid;
  grid-template-columns: 1.65rem minmax(0, 1fr);
  gap: 0.75rem 0.9rem;
  align-items: start;
  counter-increment: bstep;
  padding: 0.8rem 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(228, 224, 236, 0.88);
  border-bottom: 1px solid rgba(150, 150, 150, 0.08);
}

.bios-steps li:last-child {
  border-bottom: none;
  padding-bottom: 0.15rem;
}

.bios-steps li::before {
  content: counter(bstep);
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  width: 1.65rem;
  height: 1.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: rgba(200, 200, 200, 0.14);
  border: 1px solid rgba(200, 200, 200, 0.22);
  color: #d0d0d0;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

.bios-steps li .step-text {
  grid-column: 2;
  min-width: 0;
  overflow-wrap: anywhere;
}

.bios-steps li strong {
  color: var(--text-primary);
  font-weight: 600;
}

.bios-path {
  display: block;
  margin-top: 0.35rem;
  line-height: 1.75;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.bios-path code,
.bios-steps code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  padding: 0.12rem 0.38rem;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  color: #e4e4e7;
  word-break: break-word;
  overflow-wrap: anywhere;
  white-space: normal;
}

.bios-steps code.bios-val {
  background: rgba(200, 200, 200, 0.18);
  color: #ddd6fe;
}

.callout p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.path-cards {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.path-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
  font-family: inherit;
  width: 100%;
}

.path-card:hover {
  border-color: var(--purple-border-hover);
  background: var(--bg-card-hover);
  transform: translateX(3px);
}

.path-num {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: rgba(160, 160, 160, 0.2);
  border: 1px solid var(--purple-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--purple-accent);
  flex-shrink: 0;
}

.path-card-text {
  flex: 1;
  min-width: 0;
}

.path-card-text strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}

.path-card-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.path-arrow {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 1rem;
}

.guide-section h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.guide-section .section-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

/* Stay Undetected — accordion */
.undetected-intro {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  max-width: 46rem;
}

.undetected-heading {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.guide-accordion {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2rem;
}

.guide-accordion__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.guide-accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 0.35rem;
  border: none;
  background: transparent;
  color: var(--text-primary);
  font: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.guide-accordion__trigger:hover {
  color: #fff;
}

.guide-accordion__chevron {
  flex-shrink: 0;
  width: 0.7rem;
  height: 0.7rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.22s ease;
  opacity: 0.7;
}

.guide-accordion__item.is-open .guide-accordion__chevron {
  transform: rotate(-135deg);
  opacity: 1;
}

.guide-accordion__panel {
  display: none;
  padding: 0 0.35rem 1.15rem 1.55rem;
}

.guide-accordion__item.is-open .guide-accordion__panel {
  display: block;
}

.guide-accordion__panel p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
  max-width: 42rem;
}

.guide-accordion__panel p + p {
  margin-top: 0.85rem;
}

.undetected-block {
  margin-bottom: 2rem;
  max-width: 46rem;
}

.undetected-block h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.undetected-block p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.undetected-block p + p {
  margin-top: 0.85rem;
}

.undetected-block a {
  color: var(--purple-accent);
  text-decoration: none;
}

.undetected-block a:hover {
  text-decoration: underline;
}

.guide-section .sub-note + .guide-steps {
  margin-top: 1.15rem;
}

.guide-steps {
  list-style: none;
  counter-reset: gstep;
  margin: 0;
  padding: 0.35rem 1rem 0.5rem;
  background: rgba(14, 14, 14, 0.45);
  border: 1px solid rgba(150, 150, 150, 0.14);
  border-radius: 12px;
  min-width: 0;
}

.guide-tab-panel .guide-steps {
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.guide-steps li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  counter-increment: gstep;
  padding: 0.8rem 0;
  color: rgba(228, 224, 236, 0.88);
  font-size: 0.9rem;
  line-height: 1.6;
  border-bottom: 1px solid rgba(150, 150, 150, 0.08);
  min-width: 0;
}

.guide-steps li:last-child {
  padding-bottom: 0.15rem;
  border-bottom: none;
}

.guide-steps li::before {
  content: counter(gstep);
  flex: 0 0 1.65rem;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 7px;
  background: rgba(200, 200, 200, 0.14);
  border: 1px solid rgba(200, 200, 200, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #d0d0d0;
  line-height: 1;
}

.guide-steps li .step-text {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: break-word;
}

.guide-steps li strong {
  color: var(--text-primary);
  font-weight: 600;
}

.guide-steps h3 {
  font-size: 0.92rem;
  color: var(--text-primary);
  margin: 1.25rem 0 0.75rem;
}

.guide-steps h3:first-child {
  margin-top: 0;
}

.sub-note {
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  background: rgba(55, 55, 55, 0.12);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--text-secondary);
  border: 1px solid rgba(150, 150, 150, 0.1);
  line-height: 1.55;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

.guide-tab-panel > .sub-note:first-child {
  margin-top: 0;
}

.sub-note + .guide-steps,
.sub-note + .bios-steps {
  margin-top: 1.15rem;
}

.guide-section .callout + .cpu-setup-title,
.guide-tabs-wrap + .callout {
  margin-top: 0.5rem;
}

.guide-video {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 0.25rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--purple-border);
  background: rgba(10, 8, 16, 0.6);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.guide-youtube-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.35rem 0 0.75rem;
  padding: 0.85rem 1.35rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.guide-youtube-btn:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.07) 100%);
  transform: translateY(-1px);
  color: #fff;
}

.guide-youtube-btn::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #ff2a2a;
  margin-right: 0.15rem;
}

.guide-youtube-btn--gold {
  border-color: rgba(212, 175, 55, 0.45);
  background: linear-gradient(135deg, rgba(234, 199, 98, 0.28) 0%, rgba(180, 130, 40, 0.18) 100%);
  color: #f5e6b8;
}

.guide-youtube-btn--gold:hover {
  border-color: rgba(245, 215, 120, 0.7);
  background: linear-gradient(135deg, rgba(234, 199, 98, 0.4) 0%, rgba(180, 130, 40, 0.28) 100%);
  color: #fff8e0;
}

.guide-youtube-btn--gold::before {
  border-color: transparent transparent transparent #e8c36a;
}

.guide-youtube-btn--download::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 6px 0 6px;
  border-color: var(--purple-soft) transparent transparent transparent;
  margin-right: 0.35rem;
}

.nav-item--gold {
  color: #e8c36a !important;
  border-color: rgba(212, 175, 55, 0.28) !important;
  background: rgba(212, 175, 55, 0.08) !important;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.nav-item--gold:hover,
.nav-item--gold.active {
  color: #f5e6b8 !important;
  border-color: rgba(234, 199, 98, 0.5) !important;
  background: rgba(212, 175, 55, 0.16) !important;
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.15);
}

.video-guide-panel {
  max-width: 36rem;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: linear-gradient(160deg, rgba(50, 40, 18, 0.95) 0%, rgba(18, 14, 8, 0.98) 100%);
  box-shadow:
    inset 0 1px 0 rgba(245, 230, 184, 0.12),
    0 16px 48px rgba(0, 0, 0, 0.4),
    0 0 28px rgba(212, 175, 55, 0.12);
}

.video-guide-panel__badge {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.15);
  color: #e8c36a;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.video-guide-panel__title {
  margin: 0 0 0.55rem;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #f5e6b8;
  text-shadow: 0 0 24px rgba(212, 175, 55, 0.35);
}

.video-guide-panel__desc {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  color: rgba(245, 230, 184, 0.72);
  line-height: 1.6;
}

.guide-image {
  display: block;
  width: 100%;
  max-width: min(520px, 100%);
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--purple-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.guide-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.guide-figure {
  margin-top: 1.5rem;
  max-width: 100%;
}

.guide-figure figcaption {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 520px;
}

.guide-section .guide-steps + .sub-note,
.guide-section .guide-steps + .guide-figure {
  margin-top: 1.15rem;
}

.sub-note a,
.guide-steps a {
  color: #b794f6;
  text-decoration: none;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.sub-note a:hover,
.guide-steps a:hover {
  color: #d6bcfa;
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .guide-content {
    padding: 2rem 1.75rem 3rem;
  }

  .guide-section,
  .guide-section:has(.guide-tabs-wrap) {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .guide-layout {
    flex-direction: column;
  }

  .guide-sidebar {
    position: relative;
    width: 100%;
    height: auto;
    max-height: none;
    padding: 1.25rem 1rem 1.5rem;
    box-shadow: none;
    border-right: none;
    border-bottom: 1px solid rgba(150, 150, 150, 0.14);
  }

  .guide-sidebar::before {
    display: none;
  }

  .sidebar-brand {
    margin-bottom: 1rem;
  }

  .sidebar-back {
    margin-bottom: 1.25rem;
  }

  .nav-group {
    margin-top: 1.25rem;
  }

  .guide-content {
    margin-left: 0;
    width: 100%;
    padding: 1.5rem 1.25rem 3.5rem;
  }

  .guide-steps {
    padding: 0.35rem 0.75rem 0.5rem;
  }

  .home-page {
    padding-bottom: 4.5rem;
  }
}
