:root {
  --bg: #080b17;
  --surface: #0e1427;
  --surface-2: #141d34;
  --text: #f6fbff;
  --muted: #b7c3d7;
  --line: rgba(255, 255, 255, 0.12);
  --gold: #f8c64b;
  --gold-2: #ff8f1f;
  --blue: #00d4ff;
  --green: #68f27c;
  --danger: #ff4267;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 8%, rgba(0, 212, 255, 0.24), transparent 28rem),
    radial-gradient(circle at 78% 3%, rgba(248, 198, 75, 0.20), transparent 30rem),
    linear-gradient(180deg, #070a14 0%, #0b1020 45%, #060812 100%);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -50px;
  left: 16px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--gold);
  color: #101010;
  font-weight: 800;
}

.skip-link:focus {
  top: 16px;
}

.topline {
  border-bottom: 1px solid var(--line);
  background: rgba(3, 6, 16, 0.88);
  color: var(--muted);
  font-size: 0.9rem;
}

.topline__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.topline a {
  color: var(--blue);
  font-weight: 800;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(8, 11, 23, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand img {
  width: 178px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 8px;
  color: #e9f5ff;
  font-weight: 800;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav__login {
  border: 1px solid rgba(0, 212, 255, 0.5);
}

.nav__daftar {
  color: #111 !important;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  padding: 34px 0 66px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumbs a {
  color: #eaf9ff;
  font-weight: 800;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
  gap: 42px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 99px;
  background: var(--blue);
  box-shadow: 0 0 22px rgba(0, 212, 255, 0.8);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  max-width: 760px;
  font-size: clamp(2.25rem, 5vw, 4.65rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.65rem, 3vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.lead {
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.hero__actions,
.buy-row,
.popup__actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.hero__actions {
  margin: 26px 0 20px;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 950;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--gold {
  color: #150e03;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 14px 28px rgba(255, 143, 31, 0.28);
}

.btn--blue {
  color: #061018;
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 14px 28px rgba(0, 212, 255, 0.22);
}

.btn--outline {
  color: #fff;
  border-color: rgba(0, 212, 255, 0.52);
  background: rgba(255, 255, 255, 0.06);
}

.hero__badges,
.voucher-row,
.variant-row,
.breadcrumb-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero__badges span,
.voucher-row span,
.variant-row button,
.breadcrumb-chips a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.07);
  color: #e9f6ff;
  font-weight: 800;
  font-size: 0.88rem;
}

.product-card {
  overflow: hidden;
  border: 1px solid rgba(0, 212, 255, 0.24);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(20, 29, 52, 0.96), rgba(9, 13, 27, 0.96));
  box-shadow: var(--shadow);
}

.product-card__media {
  position: relative;
  background: #030711;
}

.product-card__media img {
  width: 100%;
}

.product-card__badge {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.68);
  color: var(--gold);
  border: 1px solid rgba(248, 198, 75, 0.45);
  font-weight: 900;
}

.product-card__body {
  padding: 22px;
}

.rating {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  color: var(--gold);
}

.rating em {
  color: var(--muted);
  font-style: normal;
}

.price {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 2rem;
  font-weight: 950;
}

.price span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.voucher-row {
  padding: 14px;
  margin-bottom: 14px;
  border: 1px dashed rgba(248, 198, 75, 0.42);
  border-radius: 8px;
  background: rgba(248, 198, 75, 0.08);
}

.voucher-row strong {
  color: var(--gold);
}

.variant-row {
  margin-bottom: 18px;
}

.variant-row button {
  color: #fff;
  cursor: pointer;
}

.variant-row button:hover,
.variant-row button:focus {
  border-color: var(--blue);
  outline: none;
}

.market-band {
  margin-top: -28px;
  position: relative;
  z-index: 2;
}

.market-band__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.market-band article {
  padding: 22px;
  background: rgba(14, 20, 39, 0.98);
}

.market-band strong {
  color: #fff;
  font-size: 1.05rem;
}

.market-band p {
  margin-bottom: 0;
  color: var(--muted);
}

.section {
  padding: 78px 0;
}

.section--dark {
  background: rgba(0, 0, 0, 0.22);
  border-block: 1px solid var(--line);
}

.section__head {
  max-width: 780px;
  margin-bottom: 30px;
}

.section__head p {
  color: var(--muted);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: start;
}

.article,
.seller-box,
.feature-grid article,
.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(14, 20, 39, 0.84);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.article,
.seller-box {
  padding: 28px;
}

.article p,
.article li,
.seller-box li,
.faq p {
  color: var(--muted);
}

.spec-table {
  overflow: hidden;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.spec-table div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}

.spec-table div:last-child {
  border-bottom: 0;
}

.spec-table strong {
  color: var(--gold);
}

.seller-box__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.seller-box__head img {
  width: 52px;
  height: 52px;
}

.seller-box__head strong,
.seller-box__head span {
  display: block;
}

.seller-box__head span {
  color: var(--green);
  font-size: 0.92rem;
}

.seller-box ul {
  padding: 0;
  margin: 0 0 20px;
  list-style: none;
}

.seller-box li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.seller-box li strong {
  color: #fff;
}

.seller-box .btn {
  width: 100%;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid article {
  padding: 22px;
}

.feature-grid span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #111;
  font-weight: 950;
}

.feature-grid p {
  color: var(--muted);
  margin-bottom: 0;
}

.breadcrumb-panel {
  background:
    linear-gradient(135deg, rgba(248, 198, 75, 0.08), rgba(0, 212, 255, 0.08)),
    rgba(255, 255, 255, 0.02);
}

.breadcrumb-chips {
  margin-top: 22px;
}

.breadcrumb-chips a:hover {
  border-color: var(--gold);
}

.faq__list {
  display: grid;
  gap: 12px;
}

.faq details {
  padding: 18px 20px;
}

.faq summary {
  cursor: pointer;
  color: #fff;
  font-weight: 950;
}

.footer {
  padding: 54px 0 90px;
  border-top: 1px solid var(--line);
  background: #050711;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.7fr;
  gap: 28px;
}

.footer__logo {
  width: 170px;
  margin-bottom: 16px;
}

.footer p {
  color: var(--muted);
}

.footer h3 {
  margin-bottom: 12px;
}

.footer a {
  display: block;
  padding: 4px 0;
  color: var(--muted);
}

.footer a:hover {
  color: var(--gold);
}

.footer__bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.popup {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(5px);
}

.popup.is-hidden {
  display: none;
}

.popup__dialog {
  position: relative;
  width: min(420px, 100%);
  overflow: hidden;
  border: 1px solid rgba(248, 198, 75, 0.42);
  border-radius: 8px;
  background: linear-gradient(180deg, #11182d, #070b16);
  box-shadow: var(--shadow), 0 0 60px rgba(248, 198, 75, 0.18);
  text-align: center;
  animation: pop-in 0.36s ease;
}

.popup__image {
  width: 100%;
  background: #030711;
}

.popup__dialog h2,
.popup__dialog p {
  padding-inline: 22px;
}

.popup__dialog p {
  color: var(--muted);
}

.popup__actions {
  padding: 0 22px 22px;
}

.popup__actions .btn {
  flex: 1;
}

.popup__close {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.62);
  cursor: pointer;
}

.popup__close::before,
.popup__close::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 16px;
  width: 15px;
  height: 2px;
  background: #fff;
}

.popup__close::before {
  transform: rotate(45deg);
}

.popup__close::after {
  transform: rotate(-45deg);
}

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 110;
  display: none;
  grid-template-columns: 0.8fr 1.2fr;
  background: #050711;
  border-top: 1px solid var(--line);
}

.mobile-cta a {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
}

.mobile-cta a:first-child {
  color: #fff;
  background: rgba(0, 212, 255, 0.16);
}

.mobile-cta a:last-child {
  color: #111;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
}

.fx-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.spark {
  position: absolute;
  top: -10vh;
  width: 2px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.95), var(--blue), transparent);
  box-shadow: 0 0 14px var(--blue);
  opacity: 0.75;
  animation: rain var(--dur) linear var(--delay) infinite;
}

@keyframes rain {
  to {
    transform: translate3d(var(--drift), 115vh, 0);
  }
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(8, 11, 23, 0.98);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    width: 100%;
  }

  .hero__grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .market-band__grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .topline__inner {
    padding: 8px 0;
  }

  .brand img {
    width: 146px;
  }

  .hero {
    padding-top: 24px;
  }

  .hero__actions .btn,
  .buy-row .btn {
    width: 100%;
  }

  .section {
    padding: 58px 0;
  }

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

  .spec-table div {
    grid-template-columns: 1fr;
  }

  .footer {
    padding-bottom: 98px;
  }

  .mobile-cta {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .spark,
  .popup__dialog,
  .btn {
    animation: none;
    transition: none;
  }
}
