/* ==========================================================
   POTO-POTOIN - Halaman utama Fotografer Roblox
   Ringan: SVG background statis, gambar WebP tajam, tanpa blur GPU.
   ========================================================== */

:root {
  --bg: #c9c9c7;
  --ink: #1f2326;
  --ink-soft: #373c41;
  --muted: #5e646a;
  --white: #ffffff;

  --blue: #2f6fd6;
  --cyan: #6fd3cf;
  --red: #f2302a;
  --orange: #f7892b;
  --lime: #e6eb9a;

  --glass: rgba(255, 255, 255, 0.8);
  --glass-hover: rgba(255, 255, 255, 0.92);
  --glass-border: rgba(255, 255, 255, 0.88);

  --radius: 20px;
  --shadow: 0 6px 18px -6px rgba(31, 35, 38, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
* { scrollbar-width: none; }
html, body { margin: 0; padding: 0; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ---------- Latar belakang ----------
   Satu gambar WebP statis (gradasi + grain sudah menyatu di piksel),
   memakai 100lvh agar tidak resize/repaint saat URL bar HP naik-turun. */
.bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  z-index: 0;
  pointer-events: none;
  background: url("../img/bg.webp") center / 100% 100% no-repeat var(--bg);
  transform: translateZ(0);
}

/* ---------- Layout ---------- */
.page {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding:
    max(16px, env(safe-area-inset-top))
    18px
    max(28px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

/* ---------- Topbar ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0 8px;
}

.domain {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.icon-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  background: var(--glass);
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.icon-btn:hover { background: var(--glass-hover); transform: scale(1.06); }
.icon-btn:active { transform: scale(0.95); }

svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Profil / Header ---------- */
.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 14px 0 4px;
}

.avatar {
  position: relative;
  overflow: hidden;
  width: 92px; height: 92px;
  border-radius: 26px;
  background: var(--white);
  padding: 10px;
  box-shadow:
    0 0 0 5px rgba(255, 255, 255, 0.36),
    0 16px 32px -14px rgba(31, 35, 38, 0.38);
  margin-bottom: 14px;
  animation: float-logo 4.6s ease-in-out infinite;
}
.avatar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  transform: translate3d(-160%, 0, 0) skewX(-22deg);
  animation: avatar-glint 6.5s var(--ease) infinite;
  pointer-events: none;
}
@keyframes float-logo {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -4px, 0); }
}
@keyframes avatar-glint {
  0%, 72%, 100% { transform: translate3d(-160%, 0, 0) skewX(-22deg); }
  88% { transform: translate3d(290%, 0, 0) skewX(-22deg); }
}
.avatar img { width: 100%; height: 100%; object-fit: contain; }

.hero-title {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.name {
  display: block;
  font-size: clamp(34px, 10vw, 46px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--white);
  text-shadow: 0 3px 16px rgba(31, 35, 38, 0.2);
}

.subbrand {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.headline {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.bio {
  margin: 4px 0 0;
  max-width: 36ch;
  font-size: 13.5px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink-soft);
}

/* ---------- Sosial ---------- */
/* ---------- Sosial Media Cards ---------- */
.socials {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 16px 0 20px;
}
.socials[hidden] { display: none; }

.social-card {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 10px 13px 10px 10px;
  border-radius: 17px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 20px -14px rgba(24, 27, 30, 0.22);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.24s var(--ease), background 0.24s var(--ease), color 0.24s var(--ease), border-color 0.24s var(--ease);
}
.social-card:hover {
  transform: translateY(-2px);
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.social-card:active {
  transform: scale(0.985);
}

.social-card__icon {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--white);
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 2px 6px rgba(24, 27, 30, 0.08);
  transition: background 0.24s var(--ease), color 0.24s var(--ease);
}
.social-card__icon svg {
  width: 17px;
  height: 17px;
}
.social-card:hover .social-card__icon {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.social-card__body {
  flex: 1;
  min-width: 0;
}
.social-card__name {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.social-card__arrow {
  flex: none;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: transform 0.24s var(--ease), color 0.24s var(--ease);
}
.social-card__arrow svg {
  width: 14px;
  height: 14px;
}
.social-card:hover .social-card__arrow {
  transform: translate(2px, -2px);
  color: var(--white);
}

/* ---------- Showcase: Moving Fan Card + Mode Grid ---------- */
.showcase {
  margin-bottom: 22px;
  padding: 14px;
  border-radius: 24px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.showcase[hidden] { display: none; }

.showcase__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.showcase__title-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.showcase__title-wrap svg {
  width: 18px; height: 18px;
  flex: none;
  color: var(--ink);
}

.showcase__title {
  margin: 0;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.showcase__count {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}

.showcase__mode {
  flex: none;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(31, 35, 38, 0.16);
  background: var(--white);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.showcase__mode:hover {
  background: var(--ink);
  color: var(--white);
}

.showcase__tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
  margin-bottom: 8px;
}
.showcase__tabs::-webkit-scrollbar { display: none; }

.showcase__tab {
  flex: none;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(31, 35, 38, 0.12);
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.showcase__tab:hover { background: var(--white); }
.showcase__tab.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

/* Stage Moving Fan Card */
.fan[hidden] { display: none; }

.fan__deck {
  position: relative;
  width: 100%;
  height: clamp(276px, 74vw, 352px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px 0 8px;
  touch-action: pan-y;
  user-select: none;
}

.fan__card {
  --tx: 0%;
  --ty: 32px;
  --rot: 0deg;
  --sc: 0.72;
  position: absolute;
  width: clamp(142px, 39vw, 180px);
  aspect-ratio: 9 / 16;
  padding: 0;
  border: 3px solid var(--white);
  border-radius: 18px;
  overflow: hidden;
  background: #181a1c;
  box-shadow: 0 8px 18px -6px rgba(15, 18, 22, 0.36);
  transform-origin: 50% 92%;
  transform: translate3d(var(--tx), var(--ty), 0) rotate(var(--rot)) scale(var(--sc));
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  cursor: pointer;
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease;
}

.fan__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.fan__card[data-pos="0"] {
  --tx: 0%;
  --ty: -4px;
  --rot: 0deg;
  --sc: 1;
  opacity: 1;
  z-index: 5;
  pointer-events: auto;
  border-color: var(--white);
}
.fan__card[data-pos="-1"] {
  --tx: -45%;
  --ty: 10px;
  --rot: -9.5deg;
  --sc: 0.9;
  opacity: 0.96;
  z-index: 4;
  pointer-events: auto;
}
.fan__card[data-pos="1"] {
  --tx: 45%;
  --ty: 10px;
  --rot: 9.5deg;
  --sc: 0.9;
  opacity: 0.96;
  z-index: 4;
  pointer-events: auto;
}
.fan__card[data-pos="-2"] {
  --tx: -82%;
  --ty: 28px;
  --rot: -18deg;
  --sc: 0.8;
  opacity: 0.84;
  z-index: 3;
  pointer-events: auto;
}
.fan__card[data-pos="2"] {
  --tx: 82%;
  --ty: 28px;
  --rot: 18deg;
  --sc: 0.8;
  opacity: 0.84;
  z-index: 3;
  pointer-events: auto;
}

/* Efek kipas sedikit lebih mekar saat kursor di atas deck */
@media (hover: hover) {
  .fan__deck:hover .fan__card[data-pos="0"] { --ty: -8px; --sc: 1.02; }
  .fan__deck:hover .fan__card[data-pos="-1"] { --tx: -50%; --rot: -11deg; }
  .fan__deck:hover .fan__card[data-pos="1"] { --tx: 50%; --rot: 11deg; }
  .fan__deck:hover .fan__card[data-pos="-2"] { --tx: -90%; --rot: -21deg; }
  .fan__deck:hover .fan__card[data-pos="2"] { --tx: 90%; --rot: 21deg; }
}

.fan__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 35, 38, 0.08);
}

.fan__nav {
  flex: none;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(31, 35, 38, 0.12);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.fan__nav svg { width: 18px; height: 18px; }
.fan__nav:hover {
  background: var(--ink);
  color: var(--white);
}
.fan__nav:active { transform: scale(0.93); }

.fan__info {
  flex: 1;
  min-width: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.fan__cat {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}
.fan__caption {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.showcase__grid[hidden] { display: none; }

.gcard {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 13px;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: #1b1d1f;
  cursor: pointer;
}
.gcard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ease);
}
.gcard:hover img { transform: scale(1.04); }
.gcard:active { transform: scale(0.98); }

.gcard__badge {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(15, 17, 19, 0.62);
  color: var(--white);
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}
.gcard__badge svg { width: 12px; height: 12px; }
.gcard:hover .gcard__badge { opacity: 1; }

/* ---------- Card Sampel Video (2x2 Grid ringan dengan poster WebP) ---------- */
.videos {
  margin-bottom: 22px;
  padding: 14px;
  border-radius: 24px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  content-visibility: auto;
  contain-intrinsic-size: auto 320px;
}
.videos[hidden] { display: none; }

.videos__hint {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.videos__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}

.vcard {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 15px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: #16181a;
  color: var(--white);
  text-align: left;
  cursor: pointer;
}
.vcard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease), opacity 0.3s ease;
}
.vcard::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), transparent);
  pointer-events: none;
}
.vcard:hover img { transform: scale(1.05); }
.vcard:active { transform: scale(0.98); }
.vcard:focus-visible {
  outline: 2.5px solid var(--blue);
  outline-offset: 2px;
}

.vcard__play {
  position: absolute;
  left: 50%;
  top: 46%;
  z-index: 2;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.36);
  transition: transform 0.25s var(--ease), background 0.2s ease;
}
.vcard__play svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: none;
  margin-left: 2px;
}
.vcard:hover .vcard__play {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--white);
}

.vcard__dur {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(14, 15, 16, 0.68);
  color: var(--white);
  font-size: 10.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.vcard__title {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 9px;
  z-index: 2;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Pricelist: 1 Card per Harga + Mini Photo Fan Preview ---------- */
.pricelist {
  margin-bottom: 24px;
}
.pricelist[hidden] { display: none; }

.pricelist__top {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.pricelist__title {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.pricelist__sub {
  margin: 2px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

.pricelist__tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.pricelist__tabs::-webkit-scrollbar { display: none; }

.pricelist__tab {
  flex: none;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.pricelist__tab:hover { background: var(--white); }
.pricelist__tab.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.pricelist__groups {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pgroup {
  --paccent: var(--blue);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pgroup[hidden] { display: none; }

.pgroup__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 2px;
}
.pgroup__title {
  margin: 0;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.pgroup__line {
  flex: 1;
  border-top: 1.5px dotted rgba(31, 35, 38, 0.34);
}

/* 1 Card per Harga dengan efek 3D Flip bebas crop + kilau halus */
.pkg-flip {
  position: relative;
  z-index: 1;
  perspective: 1300px;
  -webkit-perspective: 1300px;
}
.pkg-flip.is-animating,
.pkg-flip.is-flipped {
  z-index: 8;
}

.pkg-flip__inner {
  position: relative;
  display: grid;
  width: 100%;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
}
.pkg-flip.is-flipped .pkg-flip__inner {
  transform: rotateY(180deg);
}

.pkg-card,
.pkg-back {
  grid-area: 1 / 1;
  width: 100%;
  border-radius: 24px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: var(--shadow);
}

.pkg-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--glass-border);
  transform: rotateY(0deg) translateZ(1px);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.pkg-flip.is-flipped .pkg-card {
  pointer-events: none;
}
@media (hover: hover) {
  .pkg-flip:not(.is-flipped):hover .pkg-card {
    transform: rotateY(0deg) translate3d(0, -3px, 1px);
    box-shadow: 0 14px 28px -10px rgba(31, 35, 38, 0.22);
  }
}

/* Sisi belakang Card Harga (muncul setelah 3D flip + efek kilau) */
.pkg-back {
  position: relative;
  overflow: hidden;
  padding: 18px 20px;
  background: #181b1e;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transform: rotateY(180deg) translateZ(1px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}
.pkg-back::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 48%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.13), transparent);
  transform: translate3d(-150%, 0, 0) skewX(-22deg);
  transition: transform 0.75s var(--ease) 0.18s;
  pointer-events: none;
}
.pkg-flip.is-flipped .pkg-back {
  pointer-events: auto;
}
.pkg-flip.is-flipped .pkg-back::after {
  transform: translate3d(310%, 0, 0) skewX(-22deg);
}

.pkg-back__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.pkg-back__meta {
  min-width: 0;
}
.pkg-back__label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
}
.pkg-back__title {
  display: block;
  margin-top: 2px;
  font-size: 15px;
  font-weight: 800;
  color: var(--white);
}

.pkg-back__close {
  flex: none;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.pkg-back__close svg { width: 14px; height: 14px; }
.pkg-back__close:hover { background: rgba(255, 255, 255, 0.18); }

.pkg-back__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pkg-back__btn {
  width: 100%;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.2s ease;
}
.pkg-back__btn:active { transform: scale(0.98); }
.pkg-back__btn-left {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.pkg-back__btn svg { width: 18px; height: 18px; flex: none; }

.pkg-back__btn--discord {
  background: #5865f2;
  color: var(--white);
}
.pkg-back__btn--discord:hover { background: #4752c4; }

.pkg-back__btn--wa {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--white);
}
.pkg-back__btn--wa:hover {
  background: #25d366;
  border-color: #25d366;
  color: #0d1a11;
}

.pkg-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.pkg-card__name {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
}

.pkg-card__price-wrap {
  margin-top: 6px;
}

.pkg-card__note {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1px;
}

.pkg-card__price {
  display: block;
  font-size: clamp(25px, 6.8vw, 34px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.pkg-card__features {
  list-style: none;
  margin: 12px 0 0;
  padding: 10px 0 0;
  border-top: 1px solid rgba(31, 35, 38, 0.08);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.pkg-card__features li {
  position: relative;
  padding-left: 11px;
  font-size: 12.5px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--ink-soft);
}
.pkg-card__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 3.5px;
  height: 9px;
  border-radius: 99px;
  background: var(--paccent);
}

.pkg-card__action {
  margin-top: 13px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(31, 35, 38, 0.12);
  background: var(--ink);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s ease, gap 0.2s var(--ease);
}
.pkg-card__action svg {
  width: 14px;
  height: 14px;
  transition: transform 0.35s var(--ease);
}
.pkg-card__action:hover {
  background: var(--paccent);
  border-color: var(--paccent);
}
.pkg-card__action:hover svg {
  transform: rotate(180deg);
}
.pkg-card__action:active {
  transform: scale(0.95);
}

/* Mini Photo Fan Preview di dalam setiap Card Harga */
.minifan {
  flex: none;
  width: clamp(128px, 35vw, 170px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.minifan__deck {
  position: relative;
  width: 100%;
  height: clamp(142px, 38vw, 186px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.minifan__card {
  --tx: 0%;
  --ty: 0px;
  --rot: 0deg;
  --sc: 1;
  position: absolute;
  width: clamp(68px, 18.5vw, 92px);
  aspect-ratio: 9 / 16;
  padding: 0;
  border: 2.5px solid var(--white);
  border-radius: 13px;
  overflow: hidden;
  background: #181a1c;
  box-shadow: 0 6px 14px -4px rgba(15, 18, 22, 0.32);
  transform-origin: 50% 90%;
  transform: translate3d(var(--tx), var(--ty), 0) rotate(var(--rot)) scale(var(--sc));
  cursor: pointer;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
.minifan__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.minifan__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}
.minifan__play svg {
  width: 11px;
  height: 11px;
  fill: currentColor;
  stroke: none;
  margin-left: 1.5px;
}

/* Saat belum masuk layar, 3 kartu bertumpuk rapi lalu mekar seperti bagi kartu */
.minifan__card[data-slot="-1"] {
  --tx: -6%;
  --ty: 4px;
  --rot: -2deg;
  --sc: 0.88;
  z-index: 1;
}
.minifan__card[data-slot="0"] {
  --tx: 0%;
  --ty: 0px;
  --rot: 0deg;
  --sc: 0.95;
  z-index: 3;
}
.minifan__card[data-slot="1"] {
  --tx: 6%;
  --ty: 4px;
  --rot: 2deg;
  --sc: 0.88;
  z-index: 2;
}

.pkg-flip.is-dealt .minifan__card[data-slot="-1"] {
  --tx: -34%;
  --ty: 8px;
  --rot: -13deg;
  --sc: 0.86;
}
.pkg-flip.is-dealt .minifan__card[data-slot="0"] {
  --tx: 0%;
  --ty: -2px;
  --rot: 0deg;
  --sc: 1;
}
.pkg-flip.is-dealt .minifan__card[data-slot="1"] {
  --tx: 34%;
  --ty: 8px;
  --rot: 13deg;
  --sc: 0.86;
}

/* Kipas mekar lebih lebar saat kartu disentuh kursor */
@media (hover: hover) {
  .pkg-flip.is-dealt:not(.is-flipped):hover .minifan__card[data-slot="-1"] { --tx: -44%; --ty: 10px; --rot: -18deg; --sc: 0.88; }
  .pkg-flip.is-dealt:not(.is-flipped):hover .minifan__card[data-slot="0"]  { --tx: 0%;   --ty: -6px; --rot: 0deg;   --sc: 1.04; }
  .pkg-flip.is-dealt:not(.is-flipped):hover .minifan__card[data-slot="1"]  { --tx: 44%;  --ty: 10px; --rot: 18deg;  --sc: 0.88; }
}
.minifan__card:focus-visible {
  outline: 2.5px solid var(--blue);
  outline-offset: 2px;
}

.minifan__hint {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted);
}

/* Card Video Quality (elevasi serasi dengan pkg-card) */
.paddon {
  padding: 15px 18px;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
}
.paddon__title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.paddon__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.paddon__item {
  padding: 11px 13px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 35, 38, 0.08);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.paddon__name {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
}
.paddon__price {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* Card Terms & Order */
.pterms {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 22px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  content-visibility: auto;
  contain-intrinsic-size: auto 180px;
}
.pterms[hidden] { display: none; }

.pterms__title {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.pterms__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.pterms__list li {
  position: relative;
  padding-left: 12px;
  font-size: 12.5px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--ink-soft);
}
.pterms__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink-soft);
}

.pterms__foot {
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px dashed rgba(31, 35, 38, 0.16);
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.pterms__closing {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink);
}
.pterms__sig {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
}

/* ---------- Link ---------- */
.links {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 26px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 2px 2px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.section-title::after {
  content: "";
  flex: 1;
  border-top: 1.5px dotted rgba(31, 35, 38, 0.35);
}

.link {
  --accent: var(--ink);
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px 12px 12px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  transition:
    transform 0.3s var(--ease),
    background 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.link:hover {
  transform: translateY(-2px);
  background: var(--glass-hover);
  box-shadow: 0 16px 32px -16px rgba(31, 35, 38, 0.38);
}
.link:active { transform: translateY(-1px) scale(0.99); }
.link:focus-visible,
.social:focus-visible,
.icon-btn:focus-visible,
.gcard:focus-visible,
.showcase__tab:focus-visible,
.showcase__more:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.link__icon {
  flex: none;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--accent);
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.link__icon svg { width: 22px; height: 22px; }

.link__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.link__title {
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.link__sub {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.link__arrow {
  flex: none;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--ink-soft);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.link__arrow svg { width: 18px; height: 18px; }
.link:hover .link__arrow {
  transform: translate(2px, -2px);
  background: var(--ink);
  color: var(--white);
}

/* Link utama (featured, solid tanpa gradasi) */
.link--featured {
  padding: 15px 18px 15px 14px;
  background: var(--ink);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.14);
}
.link--featured:hover {
  background: #282c30;
}
.link--featured .link__icon {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  box-shadow: none;
}
.link--featured .link__title { font-size: 16px; }
.link--featured .link__sub { color: rgba(255, 255, 255, 0.72); }
.link--featured .link__arrow {
  background: var(--white);
  color: var(--ink);
}
.link--featured:hover .link__arrow {
  background: var(--white);
  color: var(--ink);
}

/* ---------- Footer ---------- */
.footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1.5px dotted rgba(31, 35, 38, 0.4);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

/* ---------- Lightbox HD (smooth FLIP open/close) ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(12, 13, 15, 0.94);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding:
    max(14px, env(safe-area-inset-top))
    16px
    max(18px, env(safe-area-inset-bottom));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  transform: translate3d(0, -12px, 0);
  transition: opacity 0.26s ease, transform 0.36s var(--ease);
}
.lightbox.is-open .lightbox__bar {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: 0.06s;
}

.lightbox__counter {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.lightbox__btn,
.lightbox__nav {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.25s var(--ease), opacity 0.26s ease;
}
.lightbox__btn:hover,
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox__btn:active { transform: scale(0.92); }

.lightbox__stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0;
}

.lightbox__img,
.lightbox__video,
.lightbox__embed {
  max-height: 100%;
  max-width: min(100%, 860px);
  width: auto;
  height: auto;
  border-radius: 16px;
  object-fit: contain;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  transform-origin: center center;
}
.lightbox__embed {
  border: 0;
  background: #000;
  width: min(92vw, 820px);
  aspect-ratio: 16 / 9;
}
.lightbox__embed.is-vertical {
  width: min(86vw, 410px);
  aspect-ratio: 9 / 16;
}
.lightbox__img[hidden],
.lightbox__video[hidden],
.lightbox__embed[hidden] { display: none; }
.lightbox__video { background: #000; }

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scale(0.86);
  opacity: 0;
  z-index: 2;
}
.lightbox.is-open .lightbox__nav {
  transform: translateY(-50%) scale(1);
  opacity: 1;
  transition-delay: 0.08s;
}
.lightbox.is-open .lightbox__nav:hover {
  transform: translateY(-50%) scale(1.06);
}
.lightbox.is-open .lightbox__nav:active {
  transform: translateY(-50%) scale(0.93);
}
.lightbox__nav--prev { left: 4px; }
.lightbox__nav--next { right: 4px; }

.lightbox__caption {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: opacity 0.26s ease, transform 0.36s var(--ease);
}
.lightbox.is-open .lightbox__caption {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: 0.08s;
}
.lightbox__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d4ff3a;
}
.lightbox__title {
  font-size: 15px;
  font-weight: 700;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 60;
  transform: translate(-50%, 20px);
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Animasi masuk (hanya di layar desktop, mobile langsung tampil instan) ---------- */
@media (min-width: 640px) {
  .reveal {
    opacity: 0;
    transform: translateY(10px);
    animation: reveal 0.45s var(--ease) forwards;
    animation-delay: calc(var(--i, 0) * 35ms);
  }
}
@keyframes reveal {
  to { opacity: 1; transform: none; }
}

/* ---------- Layar lebih besar ---------- */
@media (min-width: 640px) {
  .page { padding-top: 28px; }
  .avatar { width: 108px; height: 108px; }
  .showcase { padding: 16px; }
  .showcase__grid { gap: 10px; }
}

/* ---------- Aksesibilitas gerak ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}
