/* =========================================================
   PANDUAN BERMAIN WAYANGSLOT
========================================================= */

.jd-wayang-guide {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(82px, 9vw, 132px);
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(21, 151, 255, 0.11),
      transparent 30%
    ),
    radial-gradient(
      circle at 88% 75%,
      rgba(7, 87, 217, 0.13),
      transparent 32%
    ),
    linear-gradient(
      155deg,
      #020817 0%,
      #061126 48%,
      #07182f 100%
    );
}

.jd-wayang-guide::before,
.jd-wayang-guide::after {
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(70, 184, 255, 0.35),
      transparent
    );
}

.jd-wayang-guide::before {
  top: 0;
}

.jd-wayang-guide::after {
  bottom: 0;
}

/* Background */

.jd-wayang-guide__background {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.jd-wayang-guide__grid {
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background-image:
    linear-gradient(
      rgba(70, 184, 255, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(70, 184, 255, 0.05) 1px,
      transparent 1px
    );
  background-size: 68px 68px;
  mask-image:
    linear-gradient(
      to bottom,
      transparent,
      #000 18%,
      #000 82%,
      transparent
    );
  -webkit-mask-image:
    linear-gradient(
      to bottom,
      transparent,
      #000 18%,
      #000 82%,
      transparent
    );
}

.jd-wayang-guide__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
}

.jd-wayang-guide__glow--left {
  top: 16%;
  left: -270px;
  width: 570px;
  height: 570px;
  border: 1px solid rgba(21, 151, 255, 0.1);
  background: rgba(7, 87, 217, 0.07);
}

.jd-wayang-guide__glow--right {
  right: -260px;
  bottom: 5%;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(70, 184, 255, 0.09);
  background: rgba(21, 151, 255, 0.06);
}

.jd-wayang-guide__orb {
  position: absolute;
  border-radius: 50%;
  background: #46b8ff;
  box-shadow: 0 0 24px rgba(70, 184, 255, 0.65);
}

.jd-wayang-guide__orb--one {
  top: 18%;
  right: 11%;
  width: 5px;
  height: 5px;
}

.jd-wayang-guide__orb--two {
  bottom: 14%;
  left: 8%;
  width: 7px;
  height: 7px;
}

/* Container */

.jd-wayang-guide__container {
  position: relative;
  width: min(100% - 40px, 1240px);
  margin-inline: auto;
}

/* Header */

.jd-wayang-guide__header {
  width: min(100%, 850px);
  margin-inline: auto;
  text-align: center;
}

.jd-wayang-guide__eyebrow {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding-inline: 15px;
  margin-bottom: 21px;
  color: #bfe7ff;
  border: 1px solid rgba(70, 184, 255, 0.23);
  border-radius: 100px;
  background: rgba(21, 151, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.jd-wayang-guide__title {
  margin: 0;
  color: #f5fbff;
  font-size: clamp(2.2rem, 4.7vw, 4.25rem);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.jd-wayang-guide__title span {
  display: block;
  color: transparent;
  background:
    linear-gradient(
      100deg,
      #86daff,
      #1597ff 48%,
      #65c8ff
    );
  background-clip: text;
  -webkit-background-clip: text;
}

.jd-wayang-guide__description {
  max-width: 810px;
  margin: 23px auto 0;
  color: #9db4cd;
  font-size: clamp(0.96rem, 1.3vw, 1.06rem);
  line-height: 1.85;
}

.jd-wayang-guide__description strong {
  color: #dff2ff;
  font-weight: 750;
}

/* Quick Links */

.jd-wayang-guide__quick-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 27px;
}

.jd-wayang-guide__quick-links a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding-inline: 14px;
  color: #a8c7e3;
  border: 1px solid rgba(106, 184, 255, 0.15);
  border-radius: 100px;
  background: rgba(8, 28, 61, 0.48);
  font-size: 0.73rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.jd-wayang-guide__quick-links a:hover {
  color: #ffffff;
  border-color: rgba(70, 184, 255, 0.43);
  background: rgba(21, 151, 255, 0.13);
  transform: translateY(-2px);
}

/* Main Layout */

.jd-wayang-guide__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: start;
  gap: clamp(35px, 5vw, 70px);
  margin-top: clamp(55px, 7vw, 85px);
}

/* Steps */

.jd-wayang-guide__steps {
  position: relative;
  display: grid;
  gap: 17px;
}

.jd-wayang-guide__steps::before {
  position: absolute;
  z-index: -1;
  top: 45px;
  bottom: 45px;
  left: 38px;
  width: 1px;
  content: "";
  background:
    linear-gradient(
      to bottom,
      rgba(70, 184, 255, 0.04),
      rgba(70, 184, 255, 0.35),
      rgba(70, 184, 255, 0.04)
    );
}

.jd-wayang-guide__step {
  position: relative;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 20px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(107, 181, 255, 0.14);
  border-radius: 21px;
  background:
    linear-gradient(
      145deg,
      rgba(12, 36, 74, 0.7),
      rgba(5, 18, 41, 0.82)
    );
  box-shadow:
    0 18px 45px rgba(0, 7, 24, 0.21),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.jd-wayang-guide__step::after {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 180px;
  height: 180px;
  content: "";
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(21, 151, 255, 0.11),
      transparent 68%
    );
  pointer-events: none;
}

.jd-wayang-guide__step:hover {
  border-color: rgba(70, 184, 255, 0.35);
  box-shadow:
    0 24px 55px rgba(0, 8, 28, 0.3),
    0 0 35px rgba(8, 120, 249, 0.07);
  transform: translateY(-3px);
}

/* Step Marker */

.jd-wayang-guide__step-marker {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 9px;
}

.jd-wayang-guide__step-number {
  color: #607e9d;
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.jd-wayang-guide__step-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  color: #76ceff;
  border: 1px solid rgba(70, 184, 255, 0.23);
  border-radius: 17px;
  background:
    linear-gradient(
      145deg,
      rgba(21, 151, 255, 0.17),
      rgba(7, 87, 217, 0.08)
    );
  box-shadow:
    0 12px 27px rgba(8, 120, 249, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.jd-wayang-guide__step-icon svg {
  width: 26px;
  height: 26px;
}

/* Step Content */

.jd-wayang-guide__step-content {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.jd-wayang-guide__step-label {
  display: block;
  margin-bottom: 8px;
  color: #4fbaff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.jd-wayang-guide__step-content h3 {
  margin: 0;
  color: #edf8ff;
  font-size: clamp(1.06rem, 1.5vw, 1.23rem);
  line-height: 1.35;
}

.jd-wayang-guide__step-content p {
  margin: 11px 0 0;
  color: #8fa7c1;
  font-size: 0.87rem;
  line-height: 1.75;
}

.jd-wayang-guide__step-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  color: #75cbff;
  font-size: 0.77rem;
  font-weight: 750;
  text-decoration: none;
}

.jd-wayang-guide__step-link span:last-child {
  transition: transform 0.25s ease;
}

.jd-wayang-guide__step-link:hover {
  color: #ffffff;
}

.jd-wayang-guide__step-link:hover span:last-child {
  transform: translateX(4px);
}

/* Sidebar */

.jd-wayang-guide__aside {
  min-width: 0;
}

.jd-wayang-guide__aside-sticky {
  position: sticky;
  top: calc(var(--ws-header-height) + 25px);
  display: grid;
  gap: 17px;
}

/* Dashboard */

.jd-wayang-guide__dashboard {
  overflow: hidden;
  border: 1px solid rgba(105, 186, 255, 0.21);
  border-radius: 24px;
  background:
    linear-gradient(
      150deg,
      rgba(10, 35, 73, 0.91),
      rgba(3, 13, 32, 0.95)
    );
  box-shadow:
    0 34px 80px rgba(0, 7, 24, 0.4),
    0 0 50px rgba(8, 120, 249, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.jd-wayang-guide__dashboard-header {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  padding-inline: 19px;
  border-bottom: 1px solid rgba(107, 181, 255, 0.12);
  background: rgba(12, 31, 63, 0.58);
  color: #7190af;
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jd-wayang-guide__dashboard-dots {
  display: flex;
  gap: 6px;
}

.jd-wayang-guide__dashboard-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(119, 164, 205, 0.42);
}

.jd-wayang-guide__dashboard-dots span:nth-child(2) {
  background: rgba(21, 151, 255, 0.65);
}

.jd-wayang-guide__dashboard-dots span:nth-child(3) {
  background: rgba(70, 184, 255, 0.85);
}

.jd-wayang-guide__dashboard-body {
  padding: 25px;
}

.jd-wayang-guide__dashboard-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.jd-wayang-guide__dashboard-logo {
  display: grid;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  place-items: center;
  color: #ffffff;
  border: 1px solid rgba(116, 204, 255, 0.35);
  border-radius: 15px;
  background:
    linear-gradient(
      145deg,
      #1597ff,
      #0757d9
    );
  box-shadow:
    0 12px 28px rgba(8, 120, 249, 0.31),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  font-size: 1.1rem;
  font-weight: 900;
}

.jd-wayang-guide__dashboard-brand > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.jd-wayang-guide__dashboard-brand small {
  color: #708dab;
  font-size: 0.65rem;
}

.jd-wayang-guide__dashboard-brand strong {
  color: #edf8ff;
  font-size: 1.02rem;
}

/* Progress */

.jd-wayang-guide__progress {
  padding-block: 22px;
  margin-top: 23px;
  border-top: 1px solid rgba(105, 181, 255, 0.1);
  border-bottom: 1px solid rgba(105, 181, 255, 0.1);
}

.jd-wayang-guide__progress-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  color: #7f9bb8;
  font-size: 0.7rem;
}

.jd-wayang-guide__progress-top strong {
  color: #ccecff;
  font-weight: 750;
}

.jd-wayang-guide__progress-line {
  display: block;
  height: 6px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 100px;
  background: rgba(91, 145, 200, 0.13);
}

.jd-wayang-guide__progress-line span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(
      90deg,
      #0757d9,
      #1597ff,
      #65c8ff
    );
  box-shadow: 0 0 15px rgba(21, 151, 255, 0.55);
}

/* Checklist */

.jd-wayang-guide__checklist {
  display: grid;
  gap: 11px;
  padding: 0;
  margin: 21px 0 0;
  list-style: none;
}

.jd-wayang-guide__checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #9db5cd;
  font-size: 0.79rem;
}

.jd-wayang-guide__checklist li span {
  display: grid;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  place-items: center;
  color: #7dd6ff;
  border: 1px solid rgba(70, 184, 255, 0.2);
  border-radius: 7px;
  background: rgba(21, 151, 255, 0.09);
  font-size: 0.65rem;
  font-weight: 850;
}

/* Tips */

.jd-wayang-guide__tips {
  padding: 22px;
  border: 1px solid rgba(105, 181, 255, 0.15);
  border-radius: 21px;
  background: rgba(7, 24, 51, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 40px rgba(0, 7, 24, 0.2);
}

.jd-wayang-guide__tips-heading {
  display: flex;
  align-items: center;
  gap: 11px;
}

.jd-wayang-guide__tips-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  color: #70cdff;
  border: 1px solid rgba(70, 184, 255, 0.18);
  border-radius: 13px;
  background: rgba(21, 151, 255, 0.09);
}

.jd-wayang-guide__tips-icon svg {
  width: 21px;
  height: 21px;
}

.jd-wayang-guide__tips-heading > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.jd-wayang-guide__tips-heading small {
  color: #6f8ca9;
  font-size: 0.63rem;
}

.jd-wayang-guide__tips-heading strong {
  color: #e8f6ff;
  font-size: 0.91rem;
}

.jd-wayang-guide__tips ul {
  display: grid;
  gap: 9px;
  padding-left: 19px;
  margin: 18px 0 0;
  color: #8fa8c1;
  font-size: 0.77rem;
  line-height: 1.6;
}

.jd-wayang-guide__tips li::marker {
  color: #1597ff;
}

/* Safety Panel */

.jd-wayang-guide__safety {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: clamp(24px, 4vw, 38px);
  margin-top: clamp(45px, 6vw, 70px);
  overflow: hidden;
  border: 1px solid rgba(89, 181, 255, 0.24);
  border-radius: 25px;
  background:
    radial-gradient(
      circle at 90% 20%,
      rgba(21, 151, 255, 0.15),
      transparent 28%
    ),
    linear-gradient(
      130deg,
      rgba(9, 42, 86, 0.88),
      rgba(4, 17, 40, 0.94)
    );
  box-shadow:
    0 28px 70px rgba(0, 8, 27, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.jd-wayang-guide__safety::after {
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 260px;
  height: 260px;
  content: "";
  border: 1px solid rgba(70, 184, 255, 0.13);
  border-radius: 50%;
}

.jd-wayang-guide__safety-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  max-width: 850px;
}

.jd-wayang-guide__safety-icon {
  display: grid;
  width: 57px;
  height: 57px;
  flex: 0 0 57px;
  place-items: center;
  color: #7fd5ff;
  border: 1px solid rgba(70, 184, 255, 0.25);
  border-radius: 17px;
  background:
    linear-gradient(
      145deg,
      rgba(21, 151, 255, 0.18),
      rgba(7, 87, 217, 0.08)
    );
}

.jd-wayang-guide__safety-icon svg {
  width: 27px;
  height: 27px;
}

.jd-wayang-guide__safety-label {
  display: block;
  margin-bottom: 7px;
  color: #58bdff;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.jd-wayang-guide__safety h3 {
  margin: 0;
  color: #f1f9ff;
  font-size: clamp(1.17rem, 2vw, 1.5rem);
  line-height: 1.35;
}

.jd-wayang-guide__safety p {
  margin: 10px 0 0;
  color: #91aac3;
  font-size: 0.84rem;
  line-height: 1.75;
}

.jd-wayang-guide__safety-button {
  position: relative;
  z-index: 2;
  display: inline-flex;
  min-height: 51px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding-inline: 21px;
  color: #ffffff;
  border: 1px solid rgba(116, 207, 255, 0.38);
  border-radius: 14px;
  background:
    linear-gradient(
      135deg,
      #1597ff,
      #0757d9
    );
  box-shadow:
    0 14px 32px rgba(8, 120, 249, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  font-size: 0.8rem;
  font-weight: 780;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.jd-wayang-guide__safety-button svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.jd-wayang-guide__safety-button:hover {
  box-shadow:
    0 18px 40px rgba(8, 120, 249, 0.39),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.jd-wayang-guide__safety-button:hover svg {
  transform: translateX(4px);
}

/* Focus Accessibility */

.jd-wayang-guide a:focus-visible {
  outline: 3px solid rgba(70, 184, 255, 0.4);
  outline-offset: 4px;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {
  .jd-wayang-guide__layout {
    grid-template-columns: 1fr;
  }

  .jd-wayang-guide__aside {
    width: min(100%, 760px);
    margin-inline: auto;
  }

  .jd-wayang-guide__aside-sticky {
    position: static;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .jd-wayang-guide__tips {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 720px) {
  .jd-wayang-guide {
    padding-block: 72px;
  }

  .jd-wayang-guide__container {
    width: min(100% - 28px, 1240px);
  }

  .jd-wayang-guide__eyebrow {
    min-height: 31px;
    padding-inline: 12px;
    margin-bottom: 17px;
    font-size: 0.62rem;
  }

  .jd-wayang-guide__title {
    font-size: clamp(2rem, 10vw, 3rem);
    letter-spacing: -0.043em;
  }

  .jd-wayang-guide__description {
    margin-top: 19px;
    font-size: 0.9rem;
    line-height: 1.75;
  }

  .jd-wayang-guide__quick-links {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 330px);
    margin-inline: auto;
    margin-top: 23px;
  }

  .jd-wayang-guide__quick-links a {
    justify-content: center;
  }

  .jd-wayang-guide__layout {
    gap: 33px;
    margin-top: 48px;
  }

  .jd-wayang-guide__steps {
    gap: 13px;
  }

  .jd-wayang-guide__steps::before {
    display: none;
  }

  .jd-wayang-guide__step {
    grid-template-columns: 52px 1fr;
    gap: 14px;
    padding: 18px 16px;
    border-radius: 18px;
  }

  .jd-wayang-guide__step-marker {
    gap: 7px;
  }

  .jd-wayang-guide__step-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .jd-wayang-guide__step-icon svg {
    width: 22px;
    height: 22px;
  }

  .jd-wayang-guide__step-content h3 {
    font-size: 1rem;
  }

  .jd-wayang-guide__step-content p {
    font-size: 0.81rem;
    line-height: 1.68;
  }

  .jd-wayang-guide__step-link {
    font-size: 0.72rem;
  }

  .jd-wayang-guide__aside-sticky {
    grid-template-columns: 1fr;
  }

  .jd-wayang-guide__dashboard {
    border-radius: 20px;
  }

  .jd-wayang-guide__dashboard-body {
    padding: 21px;
  }

  .jd-wayang-guide__safety {
    align-items: stretch;
    flex-direction: column;
    gap: 23px;
    padding: 22px 18px;
    border-radius: 21px;
  }

  .jd-wayang-guide__safety-content {
    gap: 13px;
  }

  .jd-wayang-guide__safety-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    border-radius: 14px;
  }

  .jd-wayang-guide__safety-icon svg {
    width: 23px;
    height: 23px;
  }

  .jd-wayang-guide__safety h3 {
    font-size: 1.08rem;
  }

  .jd-wayang-guide__safety p {
    font-size: 0.8rem;
    line-height: 1.68;
  }

  .jd-wayang-guide__safety-button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .jd-wayang-guide__step {
    grid-template-columns: 1fr;
  }

  .jd-wayang-guide__step-marker {
    align-items: center;
    flex-direction: row;
  }

  .jd-wayang-guide__step-number {
    order: 2;
  }

  .jd-wayang-guide__safety-content {
    flex-direction: column;
  }
}

/* Reduced Motion */

@media (prefers-reduced-motion: reduce) {
  .jd-wayang-guide *,
  .jd-wayang-guide *::before,
  .jd-wayang-guide *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}