/* Website publik DryuStore */

body {
  background: var(--grad-page);
  background-attachment: fixed;
}
.wrap {
  width: min(100% - var(--gutter) * 2, var(--wrap));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 2000;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  background: var(--sky);
  color: var(--ink);
  font-weight: 800;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 12px;
  color: var(--ink);
}
#route-progress {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1500;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--royal), var(--sky), #fff);
  box-shadow: 0 0 12px var(--sky);
  transition: width 0.4s var(--ease), opacity 0.3s;
  pointer-events: none;
}
#app {
  min-height: 60vh;
  outline: none;
  animation: page-in 0.5s var(--ease) both;
}
#app.is-leaving {
  opacity: 0.35;
  transition: opacity 0.15s;
}
@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* ---------- Bar pengumuman ---------- */
.topbar {
  position: relative;
  z-index: 60;
  background: linear-gradient(90deg, #0a1c4a, #0f2a6b 50%, #0a1c4a);
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ice);
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 36px;
}
.topbar p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.topbar .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulse 2s infinite;
  flex: none;
}
@keyframes pulse {
  70% {
    box-shadow: 0 0 0 9px rgba(52, 211, 153, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
  }
}
.topbar a {
  color: var(--sky-2);
  white-space: nowrap;
}
@media (max-width: 720px) {
  .topbar .hide-sm {
    display: none;
  }
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 70;
  height: var(--header-h);
  background: rgba(3, 8, 24, 0.55);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, height 0.3s;
}
.header.is-stuck {
  background: rgba(3, 8, 24, 0.88);
  border-color: var(--line);
}
.header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  font-family: var(--f-display);
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1;
}
.brand:hover {
  color: #fff;
}
.brand img,
.brand .mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  object-fit: cover;
}
.brand b {
  color: var(--sky);
  font-weight: 900;
}
.nav {
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
}
.nav a {
  position: relative;
  padding: 0.5rem 0.9rem;
  border-radius: 10px;
  color: var(--text-2);
  font-weight: 700;
  font-size: var(--fs-sm);
  transition: color 0.2s, background 0.2s;
}
.nav a:hover {
  color: #fff;
  background: rgba(56, 189, 248, 0.1);
}
.nav a.is-active {
  color: #fff;
}
.nav a.is-active::after {
  content: '';
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 2px;
  height: 3px;
  border-radius: 3px;
  background: var(--sky);
  box-shadow: 0 0 12px var(--sky);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(10, 28, 74, 0.5);
  color: var(--text);
  transition: all 0.2s;
}
.icon-btn:hover {
  border-color: var(--sky);
  color: #fff;
  background: rgba(56, 189, 248, 0.15);
}
.icon-btn svg {
  width: 19px;
  height: 19px;
}
.icon-btn .dot {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--sky);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 19px;
  text-align: center;
}
.burger {
  display: none;
}
@media (max-width: 960px) {
  .nav,
  .header-actions .hide-md {
    display: none;
  }
  .burger {
    display: grid;
  }
  .header .wrap {
    gap: 0.75rem;
  }
  .header-actions {
    margin-left: auto;
  }
}
.mobile-nav {
  position: fixed;
  inset: calc(var(--header-h) + 36px) 0 0 0;
  z-index: 65;
  display: grid;
  align-content: start;
  gap: 0.35rem;
  padding: 1rem var(--gutter) 2rem;
  background: rgba(3, 8, 24, 0.97);
  backdrop-filter: blur(14px);
  overflow-y: auto;
  animation: fade-in 0.2s;
}
.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--glass);
  color: #fff;
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 800;
}
.mobile-nav a svg {
  width: 20px;
  height: 20px;
  color: var(--sky);
}

/* ---------- Section ---------- */
.section {
  padding-block: clamp(3rem, 6vw, 6rem);
  position: relative;
}
.section-tight {
  padding-block: clamp(2rem, 4vw, 3.5rem);
}
.sec-head {
  display: flex;
  align-items: flex-end;
  gap: 1.25rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.4rem);
}
.sec-head h2 {
  font-size: var(--fs-3xl);
  max-width: 18ch;
}
.sec-head p {
  margin-top: 0.7rem;
  max-width: 56ch;
  color: var(--text-2);
}
.sec-head .rule {
  flex: 1;
  align-self: center;
  position: relative;
  height: 2px;
  min-width: 40px;
  background: linear-gradient(90deg, var(--line-2), transparent);
}
.sec-head .rule::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 14px;
  translate: -50% -50%;
  border-radius: 50%;
  border: 2px solid var(--sky);
  background: var(--ink);
}
@media (max-width: 720px) {
  .sec-head {
    flex-wrap: wrap;
  }
  .sec-head .rule {
    display: none;
  }
}

/* Reveal: dipakai hemat, hanya untuk kartu dalam grid */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: calc(var(--i, 0) * 60ms);
}
[data-reveal].in {
  opacity: 1;
  transform: none;
}

/* ---------- Kartu akun (kartu pemain) ---------- */
.grid-cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 285px), 1fr));
}
.pcard {
  --tx: 0deg;
  --ty: 0deg;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 20px 20px 18px 18px;
  background: var(--grad-card);
  border: 1px solid var(--line);
  overflow: hidden;
  transform: perspective(900px) rotateX(var(--tx)) rotateY(var(--ty));
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.3s;
  will-change: transform;
}
.pcard:hover {
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 30px 60px -28px rgba(56, 189, 248, 0.55), 0 0 0 1px rgba(56, 189, 248, 0.15);
}
.pcard.is-tilting {
  transition: transform 0.08s linear, border-color 0.3s, box-shadow 0.3s;
}
.pcard .glare {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(260px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, 0.22), transparent 60%);
  transition: opacity 0.3s;
}
.pcard:hover .glare {
  opacity: 1;
}
.pcard-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--navy);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%);
  overflow: hidden;
}
.pcard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.pcard:hover .pcard-media img {
  transform: scale(1.06);
}
.pcard-media::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  background: linear-gradient(0deg, rgba(7, 18, 46, 0.95), transparent);
  pointer-events: none;
}
.ts-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  display: grid;
  justify-items: center;
  align-content: center;
  width: 66px;
  padding: 8px 0 12px;
  background: linear-gradient(170deg, #e6f7ff, #38bdf8 70%, #1d8fe0);
  color: #04163d;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%);
  font-family: var(--f-display);
  line-height: 1;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.4));
}
.ts-badge b {
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.ts-badge span {
  margin-top: 2px;
  font-family: var(--f-body);
  font-size: 0.56rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.1;
  padding-inline: 4px;
}
.pcard-tags {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 2;
  display: flex;
  gap: 0.4rem;
}
.tag {
  padding: 0.18rem 0.6rem;
  border-radius: 99px;
  background: rgba(3, 8, 24, 0.78);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(6px);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--ice);
}
.tag.sale {
  background: var(--sky);
  border-color: var(--sky);
  color: var(--ink);
}
.fav-btn {
  position: absolute;
  right: 44px;
  top: 8px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgba(3, 8, 24, 0.7);
  backdrop-filter: blur(6px);
  color: #fff;
  transition: transform 0.3s var(--ease-spring), background 0.2s;
}
.fav-btn svg {
  width: 17px;
  height: 17px;
}
.fav-btn:hover {
  transform: scale(1.12);
  background: rgba(56, 189, 248, 0.35);
}
.fav-btn.is-on {
  color: #ff7a9c;
}
.fav-btn.is-on svg {
  fill: currentColor;
}
.pcard-state {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  background: rgba(3, 8, 24, 0.62);
  backdrop-filter: grayscale(0.8) blur(1px);
  font-family: var(--f-display);
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.02em;
}
.pcard-state span {
  padding: 0.1rem 1.1rem;
  border: 3px solid currentColor;
  border-radius: 10px;
  transform: rotate(-8deg);
}
.pcard-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.4rem 1.1rem 1.1rem;
}
.pcard-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--muted);
}
.pcard-title {
  font-family: var(--f-body);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
.pcard-title a {
  color: inherit;
}
.pcard-title a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
}
.pcard-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}
.spec-mini {
  display: grid;
  gap: 1px;
  padding: 0.5rem 0.4rem;
  border-radius: 10px;
  background: rgba(3, 8, 24, 0.5);
  border: 1px solid var(--line);
  text-align: center;
}
.spec-mini b {
  font-family: var(--f-display);
  font-size: 1.2rem;
  color: #fff;
  line-height: 1.1;
}
.spec-mini small {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 600;
}
.pcard-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
}
.price {
  font-family: var(--f-display);
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1;
  color: #fff;
  letter-spacing: 0.005em;
}
.price small {
  font-size: 0.55em;
  margin-right: 0.15em;
  color: var(--sky-2);
}
.old-price {
  display: block;
  margin-bottom: 0.2rem;
  font-size: var(--fs-xs);
  color: var(--muted);
  text-decoration: line-through;
}
.pcard .go {
  position: relative;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-cta);
  color: #fff;
  transition: transform 0.3s var(--ease-spring);
}
.pcard:hover .go {
  transform: translateX(3px) rotate(-45deg);
}
.pcard .go svg {
  width: 20px;
  height: 20px;
}
.pcard.is-sold {
  filter: saturate(0.6);
}

.skel-card {
  height: 400px;
  border-radius: 20px;
}

/* ---------- Pita pemain unggulan ---------- */
.lineup {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}
.player {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.8rem 0.6rem 0.6rem;
  border-radius: 14px;
  background: rgba(3, 8, 24, 0.55);
  border: 1px solid var(--line);
}
.player .ovr {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 52px;
  clip-path: polygon(0 0, 100% 0, 100% 76%, 50% 100%, 0 76%);
  background: linear-gradient(170deg, #7aa7ff, #1d4fd8);
  font-family: var(--f-display);
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
  padding-bottom: 6px;
}
.player.legend .ovr {
  background: linear-gradient(170deg, #e6f7ff, #38bdf8);
  color: #04163d;
}
.player b {
  display: block;
  font-size: var(--fs-sm);
  line-height: 1.25;
}
.player small {
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 600;
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  margin-top: 4rem;
  padding-top: 4rem;
  background: linear-gradient(180deg, transparent, rgba(7, 18, 46, 0.9) 30%, #020617);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  padding-bottom: 3rem;
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer h4 {
  font-size: 1.15rem;
  margin-bottom: 0.9rem;
  color: #fff;
}
.footer li + li {
  margin-top: 0.5rem;
}
.footer a {
  color: var(--text-2);
  font-size: var(--fs-sm);
}
.footer a:hover {
  color: var(--sky-2);
}
.footer p {
  color: var(--muted);
  font-size: var(--fs-sm);
  max-width: 42ch;
  margin-top: 1rem;
}
.socials {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.2rem;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: var(--fs-xs);
  color: var(--muted);
}

/* ---------- Floater ---------- */
.fab-wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #17a34a, #25d366);
  color: #04210f;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.7);
  transition: transform 0.3s var(--ease-spring);
}
.fab-wa:hover {
  transform: scale(1.1) rotate(-6deg);
  color: #04210f;
}
.fab-wa svg {
  width: 30px;
  height: 30px;
}
.fab-top {
  position: fixed;
  right: 24px;
  bottom: 88px;
  z-index: 80;
  width: 46px;
  height: 46px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: all 0.3s var(--ease);
}
.fab-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

/* ---------- Halaman umum ---------- */
.page-head {
  position: relative;
  padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem);
  overflow: hidden;
}
.page-head::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 240px at 10% 0%, rgba(56, 189, 248, 0.16), transparent 70%), repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 80px, transparent 80px 160px);
  mask-image: linear-gradient(180deg, #000, transparent);
  pointer-events: none;
}
.page-head h1 {
  position: relative;
  font-size: var(--fs-3xl);
}
.page-head p {
  position: relative;
  margin-top: 0.8rem;
  max-width: 60ch;
  color: var(--text-2);
}
.crumbs {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.crumbs a {
  color: var(--text-2);
}
.crumbs span[aria-hidden] {
  opacity: 0.5;
}

/* ---------- Katalog ---------- */
.catalog {
  display: grid;
  gap: 2rem;
  grid-template-columns: 290px minmax(0, 1fr);
  align-items: start;
}
@media (max-width: 1020px) {
  .catalog {
    grid-template-columns: 1fr;
  }
}
.filters {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  display: grid;
  gap: 1.3rem;
  padding: 1.3rem;
  border-radius: var(--r);
  background: var(--grad-card);
  border: 1px solid var(--line);
  max-height: calc(100vh - var(--header-h) - 32px);
  overflow-y: auto;
}
.filters h3 {
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
  font-family: var(--f-body);
  font-weight: 800;
  color: #fff;
}
.filters .rangeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
}
.filter-toggle {
  display: none;
}
@media (max-width: 1020px) {
  .filters {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 950;
    width: min(360px, 92vw);
    max-height: none;
    border-radius: 0 var(--r-lg) var(--r-lg) 0;
    background: #07122e;
    transform: translateX(-105%);
    transition: transform 0.4s var(--ease);
    box-shadow: var(--shadow-2);
  }
  .filters.is-open {
    transform: none;
  }
  .filter-toggle {
    display: inline-flex;
  }
}
.filters-scrim {
  position: fixed;
  inset: 0;
  z-index: 940;
  background: rgba(2, 6, 20, 0.7);
  animation: fade-in 0.2s;
}
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.toolbar .count {
  color: var(--text-2);
  font-weight: 600;
}
.search-box {
  position: relative;
  flex: 1 1 260px;
  max-width: 420px;
}
.search-box svg {
  position: absolute;
  left: 14px;
  top: 50%;
  translate: 0 -50%;
  width: 18px;
  height: 18px;
  color: var(--sky);
  pointer-events: none;
}
.search-box .input {
  padding-left: 2.7rem;
}
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.active-filters button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  border-radius: 99px;
  border: 1px solid var(--line-2);
  background: rgba(56, 189, 248, 0.12);
  color: var(--ice);
  font-size: var(--fs-xs);
  font-weight: 700;
}
.active-filters button svg {
  width: 12px;
  height: 12px;
}
.active-filters button:hover {
  background: rgba(248, 113, 113, 0.2);
}

/* ---------- Detail akun ---------- */
.detail {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr);
  align-items: start;
}
@media (max-width: 980px) {
  .detail {
    grid-template-columns: 1fr;
  }
}
.gallery-main {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--navy);
  border: 1px solid var(--line-2);
  cursor: zoom-in;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-main .zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
}
.gallery-main img.swap {
  animation: swap-in 0.4s var(--ease);
}
@keyframes swap-in {
  from {
    opacity: 0;
    transform: scale(1.04);
  }
}
.gallery-thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 112px;
  gap: 0.6rem;
  margin-top: 0.75rem;
  overflow-x: auto;
  padding-bottom: 6px;
}
.gallery-thumbs button {
  aspect-ratio: 16 / 10;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--navy);
  opacity: 0.65;
  transition: all 0.25s;
}
.gallery-thumbs button:hover {
  opacity: 1;
}
.gallery-thumbs button.is-active {
  border-color: var(--sky);
  opacity: 1;
}
.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.buybox {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  display: grid;
  gap: 1.1rem;
  padding: 1.5rem;
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, rgba(15, 42, 107, 0.85), rgba(7, 18, 46, 0.95));
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-2);
}
.buybox h1 {
  font-family: var(--f-body);
  font-size: 1.35rem;
  line-height: 1.3;
  font-weight: 800;
}
.buybox .price {
  font-size: 3rem;
}
.buybox .save {
  display: inline-flex;
  margin-left: 0.5rem;
  vertical-align: middle;
}
.assure {
  display: grid;
  gap: 0.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
  color: var(--text-2);
}
.assure li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}
.assure svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--sky);
}
.spec-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
.spec {
  display: grid;
  gap: 0.2rem;
  padding: 1rem;
  border-radius: 16px;
  background: var(--grad-card);
  border: 1px solid var(--line);
}
.spec svg {
  width: 20px;
  height: 20px;
  color: var(--sky);
}
.spec b {
  font-family: var(--f-display);
  font-size: 1.9rem;
  line-height: 1;
}
.spec small {
  color: var(--muted);
  font-weight: 600;
  font-size: var(--fs-xs);
}
.prose {
  color: var(--text-2);
  line-height: 1.75;
  max-width: 70ch;
}
.prose p + p {
  margin-top: 1rem;
}
.prose h3 {
  font-family: var(--f-body);
  font-size: 1.15rem;
  color: #fff;
  margin: 1.8rem 0 0.7rem;
}
.prose ol {
  list-style: decimal;
  padding-left: 1.3rem;
  display: grid;
  gap: 0.5rem;
}
.block-title {
  font-size: var(--fs-2xl);
  margin-bottom: 1.1rem;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 980;
  display: grid;
  place-items: center;
  background: rgba(2, 6, 20, 0.94);
  animation: fade-in 0.2s;
}
.lightbox img {
  max-width: min(94vw, 1400px);
  max-height: 86vh;
  border-radius: 14px;
  box-shadow: var(--shadow-2);
  animation: pop-in 0.3s var(--ease);
}
.lightbox .lb-btn {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
}
.lightbox .lb-prev {
  left: 16px;
}
.lightbox .lb-next {
  right: 16px;
}
.lightbox .lb-close {
  position: absolute;
  right: 16px;
  top: 16px;
}
.lightbox .lb-count {
  position: absolute;
  bottom: 18px;
  left: 50%;
  translate: -50% 0;
  padding: 0.3rem 0.9rem;
  border-radius: 99px;
  background: rgba(10, 28, 74, 0.8);
  font-size: var(--fs-sm);
  font-weight: 700;
}
.mobile-buy {
  display: none;
}
@media (max-width: 980px) {
  .buybox {
    position: static;
  }
  .mobile-buy {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 85;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom));
    background: rgba(3, 8, 24, 0.95);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--line-2);
  }
  .mobile-buy .price {
    font-size: 1.7rem;
  }
  .fab-wa {
    bottom: 86px;
  }
  .fab-top {
    bottom: 154px;
  }
}

/* ---------- Checkout dan pesanan ---------- */
.checkout {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr);
  align-items: start;
}
@media (max-width: 980px) {
  .checkout {
    grid-template-columns: 1fr;
  }
}
.steps-col {
  display: grid;
  gap: 1.25rem;
}
.step-card {
  padding: clamp(1.1rem, 2.4vw, 1.7rem);
  border-radius: var(--r-lg);
  background: var(--grad-card);
  border: 1px solid var(--line);
}
.step-card > h2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
  font-size: 1.6rem;
}
.step-card > h2 i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--grad-cta);
  font-style: normal;
  font-family: var(--f-display);
  font-size: 1.15rem;
}
.pay-options {
  display: grid;
  gap: 0.7rem;
}
.pay-option {
  position: relative;
}
.pay-option input {
  position: absolute;
  opacity: 0;
}
.pay-option > span {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: rgba(3, 8, 24, 0.5);
  cursor: pointer;
  transition: all 0.2s;
}
.pay-option > span:hover {
  border-color: var(--line-2);
}
.pay-option input:checked + span {
  border-color: var(--sky);
  background: rgba(56, 189, 248, 0.12);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12);
}
.pay-option input:focus-visible + span {
  outline: 2px solid var(--sky);
  outline-offset: 2px;
}
.pay-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.14);
  color: var(--sky-2);
}
.pay-ico svg {
  width: 22px;
  height: 22px;
}
.pay-option b {
  display: block;
}
.pay-option small {
  color: var(--muted);
}
.pay-option .check {
  margin-left: auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--line-2);
  display: grid;
  place-items: center;
  color: transparent;
  flex: none;
}
.pay-option input:checked + span .check {
  background: var(--sky);
  border-color: var(--sky);
  color: var(--ink);
}
.pay-option .check svg {
  width: 13px;
  height: 13px;
  stroke-width: 3.5;
}
.summary {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, rgba(15, 42, 107, 0.85), rgba(7, 18, 46, 0.95));
  border: 1px solid var(--line-2);
}
@media (max-width: 980px) {
  .summary {
    position: static;
  }
}
.summary-item {
  display: flex;
  gap: 0.9rem;
}
.summary-item img {
  width: 96px;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  object-fit: cover;
  flex: none;
}
.summary-item b {
  display: block;
  line-height: 1.3;
  font-size: var(--fs-sm);
}
.sum-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: var(--fs-sm);
  color: var(--text-2);
}
.sum-row.total {
  padding-top: 0.9rem;
  border-top: 1px dashed var(--line-2);
  color: #fff;
  font-weight: 800;
  align-items: baseline;
}
.sum-row.total .price {
  font-size: 2.2rem;
}
.sum-row .disc {
  color: var(--ok);
  font-weight: 700;
}
.voucher-row {
  display: flex;
  gap: 0.5rem;
}
.notice {
  display: flex;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  font-size: var(--fs-sm);
  color: var(--ice);
}
.notice svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--sky);
  margin-top: 1px;
}
.notice.warn {
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.4);
}
.notice.warn svg {
  color: var(--warn);
}
.notice.bad {
  background: rgba(248, 113, 113, 0.1);
  border-color: rgba(248, 113, 113, 0.4);
}
.notice.bad svg {
  color: var(--bad);
}
.notice.ok {
  background: rgba(52, 211, 153, 0.1);
  border-color: rgba(52, 211, 153, 0.4);
}
.notice.ok svg {
  color: var(--ok);
}

.order-hero {
  display: grid;
  gap: 1rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(29, 79, 216, 0.4), rgba(7, 18, 46, 0.9));
  border: 1px solid var(--line-2);
}
.order-hero .code {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 0.4rem;
}
.stepper li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  text-align: center;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--muted);
}
.stepper li::before {
  content: '';
  position: absolute;
  top: 17px;
  left: -50%;
  width: 100%;
  height: 3px;
  background: var(--line);
}
.stepper li:first-child::before {
  display: none;
}
.stepper li.done::before,
.stepper li.now::before {
  background: var(--sky);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}
.stepper .dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--line-2);
}
.stepper .dot svg {
  width: 16px;
  height: 16px;
}
.stepper li.done .dot {
  background: var(--sky);
  border-color: var(--sky);
  color: var(--ink);
}
.stepper li.now .dot {
  border-color: var(--sky);
  color: #fff;
  box-shadow: 0 0 0 5px rgba(56, 189, 248, 0.2);
  animation: pulse-ring 2s infinite;
}
.stepper li.done,
.stepper li.now {
  color: #fff;
}
@keyframes pulse-ring {
  50% {
    box-shadow: 0 0 0 9px rgba(56, 189, 248, 0.05);
  }
}
.timeline {
  display: grid;
  gap: 0;
}
.timeline li {
  position: relative;
  padding: 0 0 1.2rem 1.6rem;
  border-left: 2px solid var(--line);
  margin-left: 6px;
}
.timeline li::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.18);
}
.timeline li:last-child {
  border-color: transparent;
  padding-bottom: 0;
}
.timeline small {
  color: var(--muted);
}
.cred-box {
  display: grid;
  gap: 0.75rem;
  padding: 1.1rem;
  border-radius: 16px;
  background: rgba(3, 8, 24, 0.7);
  border: 1.5px solid var(--sky);
  box-shadow: var(--glow);
}
.cred-box pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #fff;
  transition: filter 0.3s;
}
.cred-box.is-hidden pre {
  filter: blur(7px);
  user-select: none;
}
.pay-detail {
  display: grid;
  gap: 0.8rem;
}
.countdown {
  font-family: var(--f-display);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--warn);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--warn);
}
.stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.stars .off {
  color: #2a3f78;
}
.star-input {
  display: flex;
  gap: 4px;
}
.star-input button {
  padding: 2px;
  border: 0;
  background: transparent;
  color: #2a3f78;
  transition: transform 0.2s var(--ease-spring), color 0.15s;
}
.star-input button.on {
  color: var(--warn);
}
.star-input button:hover {
  transform: scale(1.2);
}
.star-input svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}
.preview-img {
  max-height: 220px;
  width: auto;
  border-radius: 12px;
  border: 1px solid var(--line-2);
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 0.7rem;
  max-width: 860px;
}
.faq details {
  border-radius: 16px;
  background: var(--grad-card);
  border: 1px solid var(--line);
  transition: border-color 0.2s, background 0.2s;
}
.faq details[open] {
  border-color: var(--line-2);
  background: linear-gradient(170deg, rgba(15, 42, 107, 0.7), rgba(7, 18, 46, 0.9));
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--sky);
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary svg {
  transform: rotate(180deg);
}
.faq .ans {
  padding: 0 1.3rem 1.2rem;
  color: var(--text-2);
  line-height: 1.7;
}

/* ---------- Testimoni ---------- */
.t-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr));
}
.tcard {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.3rem;
  border-radius: 20px;
  background: var(--grad-card);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.tcard:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
}
.tcard q {
  color: var(--text);
  quotes: none;
  line-height: 1.65;
}
.tcard .who {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: auto;
}
.avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--grad-cta);
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.3rem;
  flex: none;
}
.tcard .who b {
  display: block;
  line-height: 1.2;
}
.tcard .who small {
  color: var(--muted);
}
.tcard .shot {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  object-position: top;
  border-radius: 12px;
  border: 1px solid var(--line);
  cursor: zoom-in;
}

/* ---------- Pilihan / bentuk ---------- */
.drop-previews {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  margin-top: 0.8rem;
}
.drop-previews .thumb {
  cursor: default;
}
.sell-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
  align-items: start;
}
@media (max-width: 980px) {
  .sell-grid {
    grid-template-columns: 1fr;
  }
}
.how-list {
  display: grid;
  gap: 1rem;
}
.how-list li {
  display: flex;
  gap: 0.9rem;
}
.how-list i {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.16);
  color: var(--sky-2);
  font-style: normal;
  font-family: var(--f-display);
  font-weight: 800;
}
.how-list b {
  display: block;
}
.how-list p {
  color: var(--muted);
  font-size: var(--fs-sm);
}

.notfound {
  display: grid;
  justify-items: center;
  gap: 1.2rem;
  padding-block: 5rem;
  text-align: center;
}
.notfound h1 {
  font-size: clamp(5rem, 22vw, 14rem);
  line-height: 0.85;
  background: linear-gradient(180deg, #fff, var(--sky) 70%, var(--royal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.notfound img {
  width: 92px;
  animation: roll 6s linear infinite;
}
@keyframes roll {
  to {
    transform: rotate(360deg);
  }
}
.maint {
  display: grid;
  place-items: center;
  min-height: 80vh;
  text-align: center;
  padding: 2rem;
}
.maint img {
  width: 110px;
  margin: 0 auto 1.5rem;
  animation: roll 8s linear infinite;
}

/* Konfeti gol */
.confetti {
  position: fixed;
  inset: 0;
  z-index: 990;
  pointer-events: none;
}
.goal-banner {
  position: fixed;
  left: 50%;
  top: 38%;
  z-index: 991;
  translate: -50% -50%;
  font-family: var(--f-display);
  font-size: clamp(5rem, 22vw, 15rem);
  font-weight: 900;
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 40px var(--sky), 0 8px 0 var(--royal);
  pointer-events: none;
  animation: goal 2.4s var(--ease) forwards;
}
@keyframes goal {
  0% {
    opacity: 0;
    scale: 0.3;
    rotate: -8deg;
  }
  18% {
    opacity: 1;
    scale: 1.1;
    rotate: 2deg;
  }
  30% {
    scale: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    scale: 1.2;
  }
}
