.how-page {
  min-height: 100vh;
  --how-accent: #D9AA67;
  --how-accent-strong: #E4B978;
  --how-accent-soft: rgba(217, 170, 103, 0.12);
  --how-border: rgba(120, 88, 52, 0.14);
  --how-card: rgba(255, 252, 247, 0.88);
  --how-card-strong: rgba(255, 255, 255, 0.94);
  --how-text: #171411;
  --how-muted: #62584d;
  --how-faint: #8b8176;
  background:
    radial-gradient(circle at 14% 8%, rgba(217, 170, 103, 0.08), transparent 28%),
    #fbf7f0;
}

body.how-page {
  background:
    radial-gradient(circle at 14% 8%, rgba(217, 170, 103, 0.08), transparent 28%),
    #fbf7f0;
}

[data-theme="dark"] .how-page {
  --how-accent: #d9a761;
  --how-accent-strong: #d39448;
  --how-accent-soft: rgba(217, 167, 97, 0.13);
  --how-border: rgba(217, 167, 97, 0.18);
  --how-card: rgba(28, 25, 21, 0.82);
  --how-card-strong: rgba(34, 30, 25, 0.92);
  --how-text: #f7f2eb;
  --how-muted: #d5cfc7;
  --how-faint: #a99f92;
  background: #161412;
}

.how-header,
.how-main {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
}

.how-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.how-logo {
  min-width: 108px;
  padding: 0;
  background: transparent;
  color: var(--how-text);
  font-size: 1.35rem;
  font-weight: 900;
}

.how-logo:hover {
  background: transparent;
  color: var(--how-accent);
}

.how-catalog-button,
.how-nav-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.how-catalog-button {
  min-width: 128px;
  padding: 0 20px;
  color: #fff;
  background: linear-gradient(180deg, #d19043, #bb7430);
  box-shadow: 0 10px 22px rgba(196, 123, 43, 0.18);
}

.how-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.how-nav-button {
  min-width: 74px;
  padding: 0 16px;
  border: 1px solid var(--how-border);
  color: var(--how-text);
  background: rgba(255, 255, 255, 0.72);
}

[data-theme="dark"] .how-nav-button {
  background: rgba(34, 30, 25, 0.72);
}

.how-main {
  padding: 34px 0 28px;
  display: grid;
  gap: 34px;
}

.how-hero {
  min-height: 480px;
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(470px, 1.05fr);
  gap: 48px;
  align-items: center;
  padding: 24px 20px 28px;
}

.how-hero-copy {
  max-width: 560px;
}

.how-breadcrumbs {
  margin-bottom: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--how-accent);
  font-size: 0.9rem;
  font-weight: 700;
}

.how-breadcrumbs a {
  color: var(--how-accent);
  text-decoration: none;
}

.how-hero h1,
.how-section h2,
.how-cta h2 {
  margin: 0;
  color: var(--how-text);
  line-height: 1.08;
  letter-spacing: 0;
}

.how-hero h1 {
  max-width: 520px;
  font-size: clamp(2.6rem, 4vw, 3rem);
}

.how-hero p {
  max-width: 500px;
  margin: 20px 0 0;
  color: var(--how-muted);
  font-size: 1.08rem;
  line-height: 1.62;
}

.how-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.how-hero-actions .btn,
.how-cta .btn {
  min-width: 176px;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 10px;
  font-weight: 800;
}

.how-hero-actions .btn-primary,
.how-cta .btn-primary {
  border-color: var(--how-accent);
  background: #D9AA67;
  color: #111111;
  box-shadow: 0 16px 34px rgba(196, 123, 43, 0.22);
}

.how-hero-actions .btn-secondary {
  border-color: var(--how-border);
  background: var(--how-card-strong);
  color: var(--how-text);
}

.how-hero-visual {
  position: relative;
  min-height: 430px;
  border-radius: 24px;
  isolation: isolate;
}

.how-hero-visual::before {
  content: "";
  position: absolute;
  inset: 2% 0 0;
  z-index: -1;
  border-radius: 28px;
  background:
    radial-gradient(circle at 64% 46%, rgba(104, 52, 154, 0.24), transparent 40%),
    radial-gradient(circle at 52% 56%, rgba(217, 167, 97, 0.2), transparent 45%),
    linear-gradient(135deg, rgba(17, 15, 13, 0.9), rgba(27, 21, 17, 0.74) 52%, rgba(8, 7, 6, 0.9));
  box-shadow: inset 0 0 0 1px rgba(217, 167, 97, 0.12), 0 28px 70px rgba(20, 12, 5, 0.18);
}

.how-hero-visual::after {
  content: "";
  position: absolute;
  inset: 10% 6% 8%;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 74% 48%, rgba(133, 65, 210, 0.28), transparent 24%),
    radial-gradient(circle at 46% 58%, rgba(217, 167, 97, 0.18), transparent 32%);
  opacity: 0.78;
  pointer-events: none;
}

[data-theme="light"] .how-hero-visual::before {
  background:
    radial-gradient(circle at 64% 46%, rgba(104, 52, 154, 0.18), transparent 40%),
    radial-gradient(circle at 52% 56%, rgba(217, 167, 97, 0.18), transparent 45%),
    linear-gradient(135deg, rgba(255, 250, 242, 0.9), rgba(238, 225, 208, 0.72) 52%, rgba(50, 43, 37, 0.18));
  box-shadow: inset 0 0 0 1px rgba(120, 88, 52, 0.12), 0 24px 58px rgba(94, 64, 29, 0.12);
}

.guide-order-panel {
  position: absolute;
  left: 21%;
  top: 24%;
  width: 330px;
  height: 218px;
  border: 3px solid #171411;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.12), transparent 40%),
    radial-gradient(circle at 86% 18%, rgba(133, 65, 210, 0.16), transparent 36%),
    linear-gradient(180deg, #2e3238 0%, #15181d 100%);
  box-shadow:
    0 30px 58px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.guide-order-panel::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 22px;
  width: 58px;
  height: 58px;
  border: 2px solid rgba(217, 151, 75, 0.72);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(217, 151, 75, 0.24), rgba(217, 151, 75, 0.08)),
    #20242a;
}

.guide-order-panel::after {
  content: "";
  position: absolute;
  left: 42px;
  top: 41px;
  width: 18px;
  height: 18px;
  border-right: 5px solid #d9974b;
  border-bottom: 5px solid #d9974b;
  transform: rotate(45deg);
}

.guide-panel-header {
  position: absolute;
  left: 96px;
  top: 30px;
  width: 156px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d9974b, rgba(154, 88, 214, 0.44), rgba(217, 151, 75, 0.18));
}

.guide-panel-line {
  position: absolute;
  left: 30px;
  right: 30px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.guide-panel-line-a { top: 102px; }
.guide-panel-line-b { top: 132px; right: 74px; }
.guide-panel-line-c { top: 162px; right: 112px; }

.guide-panel-check {
  position: absolute;
  right: 26px;
  bottom: 22px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 3px solid #171411;
  border-radius: 50%;
  color: #171411;
  background: linear-gradient(180deg, #efbd72, #c47b2b);
  font-size: 1.75rem;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(196, 123, 43, 0.22);
}

.guide-gamepad {
  position: absolute;
  left: 10%;
  bottom: 10%;
  width: 138px;
  height: 74px;
  transform: rotate(-8deg);
  border: 3px solid #171411;
  border-radius: 28px 28px 34px 34px;
  background: linear-gradient(180deg, #2b2e32, #17191d);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.3), 0 0 24px rgba(133, 65, 210, 0.12);
}

.guide-gamepad::before,
.guide-gamepad::after {
  content: "";
  position: absolute;
  top: 27px;
  width: 20px;
  height: 6px;
  border-radius: 999px;
  background: #d9974b;
}

.guide-gamepad::before { left: 25px; }
.guide-gamepad::after { right: 25px; transform: rotate(90deg); }

.guide-gamepad span {
  position: absolute;
  right: 30px;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d9974b;
}

.guide-gamepad span:nth-child(2) { right: 18px; top: 30px; }
.guide-gamepad span:nth-child(3) { right: 42px; top: 30px; }
.guide-gamepad span:nth-child(4) { right: 30px; top: 42px; }

.guide-shield {
  position: absolute;
  right: 12%;
  bottom: 9%;
  width: 108px;
  height: 126px;
  display: grid;
  place-items: center;
  border: 4px solid #171411;
  border-radius: 54px 54px 18px 18px;
  color: #171411;
  background: linear-gradient(180deg, #efbd72, #c47b2b);
  font-size: 2.4rem;
  font-weight: 900;
  box-shadow: 0 18px 36px rgba(196, 123, 43, 0.22), 0 0 38px rgba(217, 167, 97, 0.16);
}

.guide-sword {
  position: absolute;
  right: 11%;
  top: 10%;
  width: 198px;
  height: 18px;
  transform: rotate(47deg);
  border-radius: 999px 8px 8px 999px;
  background:
    linear-gradient(90deg, #090807 0 13%, #e8edf2 13% 58%, #9fa8b2 58% 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), transparent);
  box-shadow:
    0 16px 28px rgba(0, 0, 0, 0.22),
    0 0 0 2px rgba(217, 167, 97, 0.22),
    0 0 34px rgba(217, 167, 97, 0.24);
}

.guide-sword::after {
  content: "";
  position: absolute;
  left: 18px;
  top: -15px;
  width: 10px;
  height: 46px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f0bd72, #c47b2b);
  box-shadow: 0 0 18px rgba(217, 167, 97, 0.32);
}

.guide-sword::before {
  content: "";
  position: absolute;
  left: 42px;
  right: 12px;
  top: 4px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
}

.guide-service-pill {
  position: absolute;
  min-width: 58px;
  height: 42px;
  padding: 0 13px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(196, 123, 43, 0.26);
  border-radius: 999px;
  color: #f4d39c;
  background: rgba(23, 20, 17, 0.82);
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22), 0 0 28px rgba(217, 167, 97, 0.13);
}

.guide-service-pill-a { left: 27%; top: 8%; }
.guide-service-pill-b { right: 13%; top: 22%; }

[data-theme="light"] .guide-service-pill {
  color: #9a5c17;
  background: rgba(255, 252, 247, 0.88);
}

.how-section {
  padding: 0;
  border-top: 1px solid var(--how-border);
}

.how-section-heading {
  margin: 0 0 22px;
  padding-top: 28px;
}

.how-section h2 {
  font-size: clamp(1.45rem, 2vw, 1.8rem);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 20px;
}

.step-card,
.info-card {
  border: 1px solid var(--how-border);
  border-radius: 18px;
  background: var(--how-card);
  box-shadow: 0 18px 40px rgba(58, 42, 24, 0.04);
}

.step-card {
  min-height: 210px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.step-number {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 50%;
  color: #fff;
  background: #D9AA67;
  box-shadow: 0 14px 28px rgba(217, 170, 103, 0.18);
  font-size: 1rem;
  font-weight: 900;
}

.step-card h3,
.info-card h3 {
  margin: 0 0 10px;
  color: var(--how-text);
  line-height: 1.25;
}

.step-card h3 {
  font-size: 1rem;
  font-weight: 900;
}

.info-card h3 {
  font-size: 0.98rem;
  font-weight: 900;
}

.step-card p,
.info-card p,
.how-cta p {
  margin: 0;
  color: var(--how-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.step-note {
  display: block;
  margin-top: auto;
  padding: 9px 11px;
  border: 1px solid rgba(217, 170, 103, 0.24);
  border-radius: 999px;
  color: #6e4724;
  background: var(--how-accent-soft);
  font-size: 0.76rem;
  line-height: 1.35;
}

[data-theme="dark"] .step-note {
  color: #e8bc7a;
}

.info-grid {
  display: grid;
  gap: 16px;
}

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

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

.info-card {
  min-height: 150px;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: start;
  padding: 26px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.info-card:hover {
  transform: translateY(-3px);
  border-color: rgba(196, 123, 43, 0.26);
  box-shadow: 0 22px 48px rgba(58, 42, 24, 0.08);
}

.security-card {
  min-height: 138px;
  padding: 22px;
}

.info-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(196, 123, 43, 0.18);
  border-radius: 16px;
  color: var(--how-accent);
  background: var(--how-accent-soft);
  font-size: 1.65rem;
  font-weight: 900;
}

.how-cta {
  position: relative;
  overflow: hidden;
  min-height: 152px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 32px 38px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 80% 50%, rgba(217, 167, 97, 0.26), transparent 34%),
    linear-gradient(135deg, #181613, #090807 76%);
  color: #f7f2eb;
  box-shadow: 0 28px 70px rgba(18, 12, 6, 0.16);
}

.how-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 50%, rgba(217, 167, 97, 0.1), transparent 22%),
    linear-gradient(100deg, transparent, rgba(217, 167, 97, 0.1), transparent);
  pointer-events: none;
}

.how-cta-art {
  display: none;
}

.how-cta-art::before,
.how-cta-art::after {
  content: "";
  position: absolute;
  top: 34px;
  width: 24px;
  height: 8px;
  border-radius: 999px;
  background: #d9974b;
}

.how-cta-art::before { left: 34px; }
.how-cta-art::after { right: 38px; transform: rotate(90deg); }

.how-cta-copy,
.how-cta .btn {
  position: relative;
  z-index: 1;
}

.how-cta h2 {
  color: #fff;
  font-size: clamp(1.7rem, 2.2vw, 2rem);
}

.how-cta p {
  margin-top: 8px;
  color: rgba(247, 242, 235, 0.82);
}

.how-cta .btn-primary {
  background: #D9AA67;
  color: #111111;
  box-shadow: 0 18px 42px rgba(217, 134, 50, 0.3);
}

.how-bottom-note {
  margin: -12px 0 0;
  text-align: center;
  color: var(--how-muted);
  font-size: 0.9rem;
}

/* Unified clean 3D art system for the buying guide. */
.how-hero-visual {
  min-height: 430px;
  overflow: hidden;
  perspective: 1000px;
}

.how-hero-visual::before {
  inset: 4% 2% 1%;
  border-radius: 34px;
  background:
    radial-gradient(circle at 52% 74%, rgba(40, 34, 28, 0.14), transparent 24%),
    radial-gradient(circle at 62% 42%, rgba(196, 123, 43, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(244, 235, 221, 0.78));
  box-shadow: none;
}

.how-hero-visual::after {
  inset: auto 12% 3%;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(43, 35, 27, 0.2), transparent 66%);
  opacity: 0.7;
}

.guide-service-pill,
.guide-sword {
  display: none;
}

.guide-order-panel {
  left: 20%;
  top: 17%;
  width: 360px;
  height: 232px;
  border: 5px solid #171411;
  border-radius: 24px 24px 16px 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 38%),
    linear-gradient(180deg, #343434, #151515);
  box-shadow:
    0 34px 54px rgba(35, 24, 14, 0.2),
    inset 0 0 0 2px rgba(255, 255, 255, 0.05);
  transform: rotateX(4deg) rotateY(-10deg) rotateZ(3deg);
  transform-style: preserve-3d;
}

.guide-order-panel::before {
  left: -24px;
  right: -34px;
  top: auto;
  bottom: -42px;
  width: auto;
  height: 48px;
  border: 4px solid #171411;
  border-radius: 8px 8px 22px 22px;
  background:
    linear-gradient(90deg, transparent 38%, rgba(255, 255, 255, 0.16) 38% 62%, transparent 62%),
    linear-gradient(180deg, #292929, #111);
  box-shadow: 0 22px 36px rgba(35, 24, 14, 0.16);
}

.guide-order-panel::after {
  left: 260px;
  top: 78px;
  width: 64px;
  height: 64px;
  border: 4px solid #171411;
  border-radius: 50%;
  background: linear-gradient(180deg, #efad5c, #c47b2b);
  box-shadow: 0 14px 26px rgba(196, 123, 43, 0.28);
  transform: none;
}

.guide-panel-header {
  left: 34px;
  top: 30px;
  width: 116px;
  height: 16px;
  background: linear-gradient(90deg, #efad5c, #c47b2b);
  box-shadow: 0 5px 12px rgba(196, 123, 43, 0.24);
}

.guide-panel-line {
  left: 64px;
  right: 92px;
  height: 10px;
  background: rgba(255, 255, 255, 0.24);
}

.guide-panel-line::before {
  content: "";
  position: absolute;
  left: -34px;
  top: -4px;
  width: 20px;
  height: 20px;
  border: 3px solid #d9974b;
  border-radius: 50%;
}

.guide-panel-line::after {
  content: "";
  position: absolute;
  left: -27px;
  top: 1px;
  width: 6px;
  height: 10px;
  border-right: 3px solid #d9974b;
  border-bottom: 3px solid #d9974b;
  transform: rotate(45deg);
}

.guide-panel-line-a { top: 82px; }
.guide-panel-line-b { top: 116px; right: 116px; }
.guide-panel-line-c { top: 150px; right: 150px; }

.guide-panel-check {
  right: 44px;
  bottom: 70px;
  width: 0;
  height: 0;
  color: transparent;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.guide-panel-check::before {
  content: "";
  position: absolute;
  left: -14px;
  top: -28px;
  width: 18px;
  height: 36px;
  border-right: 7px solid #171411;
  border-bottom: 7px solid #171411;
  transform: rotate(45deg);
}

.guide-gamepad {
  left: 10%;
  bottom: 10%;
  width: 164px;
  height: 92px;
  border: 5px solid #171411;
  border-radius: 42px 42px 48px 48px;
  background:
    radial-gradient(circle at 28% 42%, #111 0 12px, transparent 13px),
    radial-gradient(circle at 70% 35%, #efad5c 0 7px, transparent 8px),
    radial-gradient(circle at 80% 48%, #d18632 0 7px, transparent 8px),
    linear-gradient(180deg, #343434, #161616);
  box-shadow: 0 24px 38px rgba(35, 24, 14, 0.22);
  transform: rotate(-10deg);
}

.guide-gamepad::before,
.guide-gamepad::after {
  top: 45px;
  width: 24px;
  height: 8px;
  background: #d9974b;
}

.guide-gamepad::before { left: 38px; }
.guide-gamepad::after { right: 34px; }

.guide-shield {
  right: 9%;
  bottom: 11%;
  width: 122px;
  height: 140px;
  border: 5px solid #171411;
  border-radius: 62px 62px 22px 22px;
  color: transparent;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.26), transparent 34%),
    linear-gradient(180deg, #efad5c, #c47b2b);
  box-shadow: 0 26px 42px rgba(196, 123, 43, 0.24);
  transform: rotate(7deg);
}

.guide-shield::before {
  content: "";
  position: absolute;
  inset: 13px 15px 17px;
  border-radius: 48px 48px 16px 16px;
  background: linear-gradient(180deg, #2e2e2e, #151515);
}

.guide-shield::after {
  content: "";
  position: absolute;
  left: 44px;
  top: 48px;
  width: 18px;
  height: 38px;
  border-right: 7px solid #efad5c;
  border-bottom: 7px solid #efad5c;
  transform: rotate(45deg);
}

.how-hero-visual .guide-gamepad span {
  display: none;
}

.how-hero-visual > * {
  z-index: 1;
}

.step-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding-top: 148px;
}

.step-card::before,
.step-card::after,
.step-number::before,
.step-number::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.step-card::before {
  left: 50%;
  top: 44px;
  width: 96px;
  height: 78px;
  border: 4px solid #171411;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff9ef, #e8dac8);
  box-shadow: 0 20px 30px rgba(52, 37, 22, 0.13);
  transform: translateX(-50%) rotate(-7deg);
}

.step-card::after {
  left: 50%;
  top: 126px;
  width: 116px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(42, 31, 20, 0.18), transparent 68%);
  transform: translateX(-50%);
}

.step-number {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 2;
  margin: 0;
}

.step-card:nth-child(1)::before {
  background:
    linear-gradient(#a99078 0 0) 28px 20px / 42px 6px no-repeat,
    linear-gradient(#d7c9b9 0 0) 28px 38px / 50px 6px no-repeat,
    linear-gradient(#d7c9b9 0 0) 28px 56px / 34px 6px no-repeat,
    linear-gradient(180deg, #fff9ef, #e8dac8);
}

.step-card:nth-child(1) .step-number::before {
  left: 60px;
  top: 42px;
  width: 46px;
  height: 46px;
  border: 8px solid #272727;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.46);
  box-shadow: inset 0 0 0 5px rgba(239, 173, 92, 0.15), 0 14px 22px rgba(35, 24, 14, 0.16);
}

.step-card:nth-child(1) .step-number::after {
  left: 100px;
  top: 82px;
  width: 12px;
  height: 44px;
  border-radius: 999px;
  background: #272727;
  transform: rotate(-42deg);
}

.step-card:nth-child(2)::before {
  width: 104px;
  height: 74px;
  border-radius: 12px 12px 20px 20px;
  background:
    linear-gradient(90deg, transparent 30%, rgba(239, 173, 92, 0.7) 30% 38%, transparent 38% 62%, rgba(239, 173, 92, 0.7) 62% 70%, transparent 70%),
    linear-gradient(180deg, #2e2e2e, #151515);
  transform: translateX(-50%) rotate(5deg);
}

.step-card:nth-child(2) .step-number::before {
  left: 66px;
  top: 112px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #171411;
  box-shadow: 66px 0 0 #171411;
}

.step-card:nth-child(2) .step-number::after {
  left: 48px;
  top: 46px;
  width: 24px;
  height: 52px;
  border-left: 6px solid #171411;
  border-top: 6px solid #171411;
  transform: rotate(-10deg);
}

.step-card:nth-child(3)::before {
  background:
    radial-gradient(circle at 50% 42%, #171411 0 13px, transparent 14px),
    linear-gradient(#a99078 0 0) 28px 58px / 42px 6px no-repeat,
    linear-gradient(180deg, #fff9ef, #e8dac8);
  transform: translateX(-50%) rotate(2deg);
}

.step-card:nth-child(3) .step-number::before {
  left: 104px;
  top: 60px;
  width: 18px;
  height: 78px;
  border: 4px solid #171411;
  border-radius: 999px;
  background: linear-gradient(180deg, #efad5c, #c47b2b 58%, #171411 58% 100%);
  transform: rotate(31deg);
  box-shadow: 0 12px 20px rgba(35, 24, 14, 0.14);
}

.step-card:nth-child(4)::before {
  background:
    linear-gradient(#a99078 0 0) 36px 18px / 32px 6px no-repeat,
    linear-gradient(#a99078 0 0) 36px 38px / 38px 6px no-repeat,
    linear-gradient(#a99078 0 0) 36px 58px / 32px 6px no-repeat,
    linear-gradient(180deg, #fff9ef, #e8dac8);
  transform: translateX(-50%) rotate(0);
}

.step-card:nth-child(4) .step-number::before {
  left: 102px;
  top: 72px;
  width: 58px;
  height: 58px;
  border: 5px solid #171411;
  border-radius: 50%;
  background:
    linear-gradient(#171411 0 0) 28px 14px / 4px 18px no-repeat,
    linear-gradient(#171411 0 0) 28px 28px / 18px 4px no-repeat,
    linear-gradient(180deg, #fff9ef, #e8dac8);
}

.step-card:nth-child(5)::before {
  width: 112px;
  height: 72px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 88px 36px, #d9974b 0 7px, transparent 8px),
    linear-gradient(180deg, #343434, #151515);
  transform: translateX(-50%) rotate(-2deg);
}

.step-card:nth-child(5) .step-number::before {
  left: 64px;
  top: 34px;
  width: 82px;
  height: 44px;
  border: 4px solid #171411;
  border-radius: 10px;
  background: linear-gradient(180deg, #efad5c, #c47b2b);
  transform: rotate(-18deg);
}

.step-card:nth-child(6)::before {
  width: 104px;
  height: 78px;
  border-radius: 12px;
  background:
    linear-gradient(90deg, transparent 42%, #d9974b 42% 58%, transparent 58%),
    linear-gradient(180deg, transparent 42%, #d9974b 42% 58%, transparent 58%),
    linear-gradient(180deg, #343434, #151515);
  transform: translateX(-50%) rotate(4deg);
}

.step-card:nth-child(6) .step-number::before {
  left: 112px;
  top: 84px;
  width: 48px;
  height: 48px;
  border: 5px solid #171411;
  border-radius: 50%;
  background: linear-gradient(180deg, #efad5c, #c47b2b);
}

.step-card:nth-child(6) .step-number::after {
  left: 130px;
  top: 98px;
  width: 11px;
  height: 22px;
  border-right: 5px solid #171411;
  border-bottom: 5px solid #171411;
  transform: rotate(45deg);
}

.info-icon {
  position: relative;
  overflow: visible;
  border: 0;
  color: transparent;
  background: transparent;
  font-size: 0;
}

.info-icon::before,
.info-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  pointer-events: none;
}

.four-columns .info-card:nth-child(1) .info-icon::before {
  width: 48px;
  height: 48px;
  border: 4px solid #c47b2b;
  border-radius: 50%;
  background:
    linear-gradient(#171411 0 0) 24px 11px / 4px 16px no-repeat,
    linear-gradient(#171411 0 0) 24px 24px / 14px 4px no-repeat,
    linear-gradient(180deg, #fff9ef, #e8dac8);
  box-shadow: 0 12px 20px rgba(52, 37, 22, 0.12);
  transform: translate(-50%, -50%);
}

.four-columns .info-card:nth-child(2) .info-icon::before {
  width: 54px;
  height: 38px;
  border: 4px solid #c47b2b;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #171411 0 8px, #fff9ef 9px 16px, transparent 17px);
  box-shadow: 0 12px 20px rgba(52, 37, 22, 0.12);
  transform: translate(-50%, -50%);
}

.four-columns .info-card:nth-child(3) .info-icon::before {
  width: 56px;
  height: 42px;
  border: 4px solid #c47b2b;
  border-radius: 22px;
  background: linear-gradient(180deg, #fff9ef, #e8dac8);
  box-shadow: 0 12px 20px rgba(52, 37, 22, 0.12);
  transform: translate(-50%, -50%);
}

.four-columns .info-card:nth-child(3) .info-icon::after {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c47b2b;
  box-shadow: 14px 0 0 #c47b2b, -14px 0 0 #c47b2b;
  transform: translate(-50%, -50%);
}

.four-columns .info-card:nth-child(4) .info-icon::before,
.three-columns .info-card:nth-child(1) .info-icon::before {
  width: 50px;
  height: 58px;
  border: 4px solid #c47b2b;
  border-radius: 26px 26px 10px 10px;
  background: linear-gradient(180deg, #fff9ef, #e8dac8);
  box-shadow: 0 12px 20px rgba(52, 37, 22, 0.12);
  transform: translate(-50%, -50%);
}

.four-columns .info-card:nth-child(4) .info-icon::after,
.three-columns .info-card:nth-child(1) .info-icon::after {
  width: 12px;
  height: 24px;
  border-right: 5px solid #c47b2b;
  border-bottom: 5px solid #c47b2b;
  transform: translate(-50%, -60%) rotate(45deg);
}

.three-columns .info-card:nth-child(2) .info-icon::before {
  width: 52px;
  height: 52px;
  border: 4px solid #c47b2b;
  border-bottom-color: transparent;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff9ef, #e8dac8);
  box-shadow: 0 12px 20px rgba(52, 37, 22, 0.12);
  transform: translate(-50%, -50%);
}

.three-columns .info-card:nth-child(2) .info-icon::after {
  width: 9px;
  height: 16px;
  border-radius: 999px;
  background: #c47b2b;
  box-shadow: 42px 0 0 #c47b2b;
  transform: translate(-26px, -1px);
}

.three-columns .info-card:nth-child(3) .info-icon::before {
  width: 50px;
  height: 50px;
  background: #fff9ef;
  clip-path: polygon(50% 0, 62% 34%, 98% 35%, 69% 56%, 79% 92%, 50% 70%, 21% 92%, 31% 56%, 2% 35%, 38% 34%);
  filter: drop-shadow(0 10px 14px rgba(52, 37, 22, 0.14));
  transform: translate(-50%, -50%);
}

.three-columns .info-card:nth-child(3) .info-icon::after {
  width: 50px;
  height: 50px;
  background: #c47b2b;
  clip-path: polygon(50% 0, 62% 34%, 98% 35%, 69% 56%, 79% 92%, 50% 70%, 21% 92%, 31% 56%, 2% 35%, 38% 34%, 50% 0, 50% 13%, 42% 42%, 14% 43%, 37% 60%, 30% 87%, 50% 69%, 70% 87%, 63% 60%, 86% 43%, 58% 42%, 50% 13%);
  transform: translate(-50%, -50%);
}

@media (max-width: 1100px) {
  .steps-grid,
  .four-columns,
  .three-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .how-hero-visual {
    min-height: 320px;
  }
}

@media (max-width: 820px) {
  .how-header,
  .how-main {
    width: min(100% - 32px, 1280px);
  }

  .how-header {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .how-nav {
    margin-left: 0;
  }

  .how-hero {
    min-height: auto;
    padding: 16px 0 0;
  }

  .how-breadcrumbs {
    margin-bottom: 22px;
  }

  .guide-order-panel {
    left: 50%;
    top: 18%;
    width: 250px;
    height: 166px;
    transform: translateX(-50%);
  }

  .guide-gamepad {
    left: 12%;
    bottom: 10%;
  }

  .guide-shield {
    right: 12%;
    bottom: 8%;
  }

  .how-cta {
    grid-template-columns: 1fr;
  }

  .how-cta-art {
    display: none;
  }
}

@media (max-width: 620px) {
  .how-header,
  .how-main {
    width: min(100% - 24px, 1280px);
  }

  .how-hero h1 {
    font-size: 2.45rem;
  }

  .how-hero-actions,
  .how-cta {
    align-items: stretch;
  }

  .how-hero-actions .btn,
  .how-cta .btn,
  .how-catalog-button,
  .how-nav-button {
    width: 100%;
  }

  .how-nav,
  .how-catalog-button {
    flex: 1 1 100%;
  }

  .steps-grid,
  .four-columns,
  .three-columns {
    grid-template-columns: 1fr;
  }

  .step-card,
  .info-card,
  .security-card {
    min-height: auto;
  }

  .info-card {
    grid-template-columns: 52px 1fr;
    padding: 20px;
  }

  .how-hero-visual {
    display: none;
  }
}

/* Final raster illustration layer: copied from the reference style as one 3D set. */
body.how-page {
  background:
    radial-gradient(circle at 50% 0%, rgba(196, 123, 43, 0.05), transparent 30%),
    #fbf7f0 !important;
  color: #171411 !important;
}

.how-page {
  --how-accent: #c47b2b;
  --how-accent-strong: #b86c22;
  --how-accent-soft: rgba(196, 123, 43, 0.12);
  --how-border: rgba(120, 88, 52, 0.14);
  --how-card: rgba(255, 252, 247, 0.88);
  --how-card-strong: rgba(255, 255, 255, 0.94);
  --how-text: #171411;
  --how-muted: #62584d;
  --how-faint: #8b8176;
}

.how-hero-visual {
  min-height: 430px;
  display: grid;
  place-items: center;
  overflow: visible;
  border-radius: 0;
  isolation: isolate;
  perspective: none;
}

.how-hero-visual::before,
.how-hero-visual::after {
  display: none !important;
}

.how-hero-art {
  width: min(100%, 690px);
  max-height: 430px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 28px 34px rgba(42, 31, 20, 0.16));
}

.guide-service-pill,
.guide-sword,
.guide-order-panel,
.guide-gamepad,
.guide-shield {
  display: none !important;
}

.steps-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.step-card {
  position: relative;
  min-height: 452px;
  overflow: hidden;
  padding: 58px 18px 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 252, 247, 0.9)),
    var(--how-card);
  border-radius: 14px;
}

[data-theme="dark"] body.how-page {
  background:
    radial-gradient(circle at 68% 18%, rgba(196, 123, 43, 0.16), transparent 30%),
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.025), transparent 22%),
    linear-gradient(180deg, #1c1915 0%, #151412 58%, #11100f 100%) !important;
  color: #f7f2eb !important;
}

[data-theme="dark"] .how-page {
  --how-accent: #e29438;
  --how-accent-strong: #f0a64a;
  --how-accent-soft: rgba(226, 148, 56, 0.14);
  --how-border: rgba(226, 148, 56, 0.18);
  --how-card: rgba(34, 31, 27, 0.94);
  --how-card-strong: rgba(42, 38, 32, 0.96);
  --how-text: #f7f2eb;
  --how-muted: #d4c8b8;
  --how-faint: #a99a88;
}

[data-theme="dark"] .how-logo,
[data-theme="dark"] .how-hero h1,
[data-theme="dark"] .how-section h2,
[data-theme="dark"] .step-card h3,
[data-theme="dark"] .info-card h3,
[data-theme="dark"] .how-nav-button {
  color: var(--how-text) !important;
}

[data-theme="dark"] .how-breadcrumbs,
[data-theme="dark"] .how-breadcrumbs a {
  color: var(--how-accent-strong);
}

[data-theme="dark"] .how-hero p,
[data-theme="dark"] .step-card p,
[data-theme="dark"] .info-card p,
[data-theme="dark"] .how-bottom-note {
  color: var(--how-muted) !important;
}

[data-theme="dark"] .how-nav-button,
[data-theme="dark"] .how-hero-actions .btn-secondary {
  border-color: rgba(226, 148, 56, 0.18);
  background: rgba(255, 252, 247, 0.08);
  color: var(--how-text);
}

[data-theme="dark"] .how-section {
  border-top-color: rgba(226, 148, 56, 0.14);
}

[data-theme="dark"] .step-card,
[data-theme="dark"] .info-card {
  border-color: rgba(226, 148, 56, 0.18);
  background:
    linear-gradient(180deg, rgba(43, 39, 33, 0.96), rgba(28, 25, 22, 0.96)),
    var(--how-card);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.18);
}

[data-theme="dark"] .step-art {
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.3));
}

[data-theme="dark"] .how-hero-art {
  filter: drop-shadow(0 30px 38px rgba(0, 0, 0, 0.28));
}

[data-theme="dark"] .info-icon {
  border-color: rgba(226, 148, 56, 0.28);
  color: #f0a64a;
  background: rgba(226, 148, 56, 0.12);
}

[data-theme="dark"] .step-note {
  border-color: rgba(226, 148, 56, 0.34);
  color: #f2bd77;
  background: rgba(226, 148, 56, 0.12);
}

[data-theme="dark"] .how-cta {
  background:
    radial-gradient(circle at 82% 50%, rgba(226, 148, 56, 0.24), transparent 34%),
    linear-gradient(135deg, #181613, #090807 76%);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.26);
}

[data-theme="dark"] .how-cta h2 {
  color: #fff !important;
}

[data-theme="dark"] .how-cta p {
  color: rgba(247, 242, 235, 0.82) !important;
}

.step-card::before,
.step-card::after,
.step-number::before,
.step-number::after {
  display: none !important;
}

.step-number {
  position: absolute;
  left: 16px;
  top: 18px;
  z-index: 2;
  width: 30px;
  height: 30px;
  margin: 0;
  font-size: 0.88rem;
  box-shadow: 0 12px 24px rgba(196, 123, 43, 0.2);
}

.step-art {
  width: 100%;
  height: 152px;
  margin: 0 auto 20px;
  display: block;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 16px 18px rgba(52, 37, 22, 0.12));
}

.step-card h3 {
  margin-top: 0;
}

.step-note {
  border-radius: 8px;
}

.info-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(196, 123, 43, 0.18);
  border-radius: 16px;
  color: var(--how-accent);
  background: var(--how-accent-soft);
  font-size: 1.65rem;
  font-weight: 900;
}

.info-icon::before,
.info-icon::after {
  display: none !important;
}

@media (max-width: 1220px) {
  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .how-hero-visual {
    display: grid;
    min-height: 300px;
  }

  .how-hero-art {
    max-height: 300px;
  }

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

@media (max-width: 620px) {
  .how-hero-visual {
    display: grid;
    min-height: 240px;
  }

  .how-hero-art {
    max-height: 240px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    min-height: auto;
  }
}

body.how-page {
  overflow-x: hidden;
}

.how-hero,
.how-hero-copy,
.how-section,
.step-card,
.info-card {
  min-width: 0;
  max-width: 100%;
}

.how-hero h1,
.how-hero p,
.how-section h2,
.step-card h3,
.step-card p,
.info-card h3,
.info-card p,
.how-bottom-note {
  max-width: 100%;
  overflow-wrap: anywhere;
}

@media (max-width: 620px) {
  body.how-page .how-header,
  body.how-page .how-main {
    width: min(100% - 24px, 1280px) !important;
  }

  .how-hero {
    padding-inline: 0;
    width: 100% !important;
    max-width: calc(100vw - 24px) !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .how-hero-copy,
  .how-hero h1,
  .how-hero p {
    width: 100% !important;
    max-width: calc(100vw - 24px) !important;
    white-space: normal !important;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .how-hero h1 {
    font-size: clamp(1.85rem, 8.5vw, 2.15rem);
  }
}
