:root {
  --bg-page: #ffe6f2;
  --surface: rgba(255, 250, 253, 0.9);
  --surface-soft: #fff2f8;
  --pink-50: #ffeef6;
  --pink-100: #ffd6ea;
  --pink-200: #f9add2;
  --pink-300: #f47cb7;
  --pink-400: #ec539f;
  --pink-500: #df3488;
  --pink-600: #be1e6d;
  --lilac-100: #f1e4ff;
  --lilac-300: #d4b2ff;
  --lilac-600: #7c3aed;
  --sky-100: #e0f4ff;
  --sky-300: #99dcff;
  --peach-100: #ffedd5;
  --plum-900: #421a2f;
  --plum-700: #6c3b55;
  --plum-500: #96637e;
  --mint-bg: #dcfce7;
  --mint-border: #6ee7b7;
  --mint-text: #0f764a;
  --peach-bg: #fef3c7;
  --peach-border: #fcd34d;
  --peach-text: #a15c07;
  --rose-bg: #ffe2e8;
  --rose-border: #fda4af;
  --rose-text: #be123c;
  --gray-bg: #f3f4f6;
  --gray-text: #6b7280;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 13px;
  --radius-pill: 999px;
  --shadow-card:
    0 0 0 4px rgba(255, 255, 255, 0.86),
    0 16px 36px -10px rgba(223, 52, 136, 0.28);
  --shadow-soft: 0 8px 20px -6px rgba(223, 52, 136, 0.18);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

/* Rich Multi-Pastel Candy & Gingham Background (Pink + Lilac + Cotton Candy Sky + Peach) */
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  font-family: 'Quicksand', 'Nunito', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--plum-900);
  background-color: var(--bg-page);
  background-image:
    radial-gradient(circle at 10% 12%, rgba(255, 145, 200, 0.55) 0%, transparent 42%),
    radial-gradient(circle at 90% 15%, rgba(196, 155, 255, 0.52) 0%, transparent 42%),
    radial-gradient(circle at 15% 85%, rgba(153, 224, 255, 0.48) 0%, transparent 42%),
    radial-gradient(circle at 85% 82%, rgba(255, 185, 150, 0.45) 0%, transparent 42%),
    radial-gradient(rgba(236, 83, 159, 0.24) 1.75px, transparent 1.75px),
    linear-gradient(90deg, rgba(255, 182, 219, 0.35) 1px, transparent 1px),
    linear-gradient(rgba(255, 182, 219, 0.35) 1px, transparent 1px);
  background-size:
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%,
    22px 22px,
    44px 44px,
    44px 44px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(230, 62, 141, 0.12);
}

a {
  color: var(--pink-600);
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

/* Living Animated Aurora & Falling Sakura Background */
.kawaii-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.55;
  animation: auroraDrift 14s ease-in-out infinite alternate;
}

.aurora-blob--1 {
  width: 320px;
  height: 320px;
  top: -60px;
  left: -80px;
  background: linear-gradient(135deg, #ff8ac4, #ffc2e2);
}

.aurora-blob--2 {
  width: 340px;
  height: 340px;
  top: 18%;
  right: -90px;
  background: linear-gradient(135deg, #d8b4fe, #a5f3fc);
  animation-delay: -4s;
}

.aurora-blob--3 {
  width: 300px;
  height: 300px;
  bottom: -70px;
  left: 15%;
  background: linear-gradient(135deg, #fbcfe8, #fde68a);
  animation-delay: -8s;
}

@keyframes auroraDrift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(28px, -22px) scale(1.12);
  }
  100% {
    transform: translate(-20px, 24px) scale(0.94);
  }
}

.kawaii-deco {
  position: absolute;
  user-select: none;
  filter: drop-shadow(0 4px 10px rgba(236, 72, 153, 0.22));
  animation: kawaiiFloat 5.5s ease-in-out infinite;
}

.kawaii-cloud {
  position: absolute;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 232, 245, 0.92));
  border: 2px solid var(--pink-200);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--pink-600);
  box-shadow: 0 8px 18px rgba(244, 114, 182, 0.22);
  animation: kawaiiFloat 7s ease-in-out infinite;
}

.sakura-petal {
  position: absolute;
  top: -30px;
  user-select: none;
  opacity: 0.75;
  animation: petalFall linear infinite;
}

@keyframes petalFall {
  0% {
    transform: translateY(-5vh) translateX(0) rotate(0deg);
    opacity: 0;
  }
  15% {
    opacity: 0.8;
  }
  85% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(105vh) translateX(45px) rotate(360deg);
    opacity: 0;
  }
}

@keyframes kawaiiFloat {
  0%, 100% {
    transform: translateY(0) rotate(-3deg) scale(1);
  }
  50% {
    transform: translateY(-12px) rotate(5deg) scale(1.06);
  }
}

/* Interactive Click Burst Particles */
.burst-particle {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  font-size: 16px;
  user-select: none;
  animation: burstFly 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes burstFly {
  0% {
    transform: translate(-50%, -50%) scale(0.4);
    opacity: 1;
  }
  100% {
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1.25) rotate(var(--rot));
    opacity: 0;
  }
}

.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: clamp(320px, 94vw, 760px);
  margin: 0 auto;
  padding: 20px 14px calc(48px + env(safe-area-inset-bottom, 0px));
}

.container--wide {
  max-width: clamp(320px, 95vw, 940px);
}

/* Profile Hero Card with Candy Pastel Gradient & Animated Avatar */
.hero-card {
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 200, 230, 0.55) 0%, transparent 50%),
    radial-gradient(circle at 100% 0%, rgba(224, 195, 255, 0.55) 0%, transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(255, 224, 240, 0.65) 0%, transparent 60%),
    rgba(255, 250, 253, 0.94);
  backdrop-filter: blur(10px);
  border: 2.5px solid var(--pink-300);
  border-radius: var(--radius-xl);
  padding: 0 0 18px;
  text-align: center;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  animation: cardPopIn 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-window-bar {
  background: linear-gradient(90deg, #ffb6da, #f3c6ff, #bae6fd, #ffc2e2);
  background-size: 300% 100%;
  animation: candyGradientSlide 8s ease infinite;
  border-bottom: 2px dashed var(--pink-300);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--plum-900);
}

@keyframes candyGradientSlide {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.window-hearts {
  display: inline-flex;
  gap: 5px;
  color: var(--pink-600);
  font-size: 0.85rem;
  animation: heartBeat 2.2s ease-in-out infinite;
}

@keyframes heartBeat {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
  }
}

.window-pill {
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid var(--pink-300);
  border-radius: var(--radius-pill);
  padding: 2px 11px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--pink-600);
  box-shadow: 0 2px 6px rgba(230, 62, 141, 0.15);
}

/* Cute Scrolling Marquee Ribbon inside Hero */
.kawaii-ticker {
  background: rgba(255, 232, 245, 0.85);
  border-bottom: 1px solid var(--pink-200);
  overflow: hidden;
  white-space: nowrap;
  padding: 5px 0;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--pink-600);
}

.kawaii-ticker__track {
  display: inline-block;
  padding-left: 100%;
  animation: tickerScroll 22s linear infinite;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.hero-body {
  padding: 16px 20px 0;
}

.hero-avatar-wrap {
  position: relative;
  width: 92px;
  height: 92px;
  margin: 4px auto 12px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #ff66b2, #c084fc, #38bdf8, #ff85c0);
  background-size: 250% 250%;
  animation: candyGradientSlide 4s ease infinite, avatarBob 3.8s ease-in-out infinite;
  box-shadow:
    0 0 0 3px #fff,
    0 10px 24px -4px rgba(223, 52, 136, 0.48);
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-avatar-wrap:hover {
  transform: scale(1.06);
}

/* Cute Speech Bubble Attached to Profile Avatar Border */
.avatar-speech-bubble {
  position: absolute;
  top: -8px;
  left: calc(100% - 14px);
  z-index: 4;
  white-space: nowrap;
  background: linear-gradient(135deg, #ffffff 0%, #ffe6f3 100%);
  color: var(--pink-600);
  border: 2px solid var(--pink-400);
  border-radius: 16px 16px 16px 4px;
  padding: 4px 11px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow:
    0 0 0 2px #fff,
    0 6px 14px -3px rgba(223, 52, 136, 0.38);
  transform-origin: bottom left;
  animation: bubbleWiggle 2.4s ease-in-out infinite;
  pointer-events: auto;
}

.avatar-speech-bubble::before {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 6px;
  width: 10px;
  height: 10px;
  background: #ffeaf5;
  border-left: 2px solid var(--pink-400);
  border-bottom: 2px solid var(--pink-400);
  transform: skewX(-18deg) rotate(-14deg);
}

@keyframes bubbleWiggle {
  0%, 100% {
    transform: rotate(-3deg) scale(1);
  }
  50% {
    transform: rotate(4deg) scale(1.07) translateY(-2px);
  }
}

/* Facebook-style Cute Profile Bio Modal */
.bio-cover {
  height: 78px;
  margin: -18px -18px 0;
  border-radius: 21px 21px 0 0;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.25),
      rgba(255, 255, 255, 0.25) 12px,
      transparent 12px,
      transparent 24px
    ),
    linear-gradient(135deg, #ff7eb6, #c084fc, #7dd3fc);
  position: relative;
}

.bio-close-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid var(--pink-300);
  color: var(--plum-900);
  border-radius: var(--radius-pill);
  padding: 4px 11px;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
}

.bio-header-center {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: -42px;
  padding-bottom: 12px;
  border-bottom: 1.5px dashed var(--pink-200);
}

.bio-avatar {
  position: relative;
  z-index: 2;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 6px 18px rgba(223, 52, 136, 0.35);
  background: var(--pink-50);
}

.bio-quote-pill {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #ffe4f2, #f3e8ff);
  border: 1px solid var(--pink-200);
  color: var(--pink-600);
  font-size: 0.75rem;
  font-weight: 800;
}

.bio-desc-box {
  margin-top: 12px;
  background: rgba(255, 240, 248, 0.75);
  border: 1.5px solid var(--pink-200);
  border-radius: 14px;
  padding: 11px 13px;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--plum-700);
  text-align: center;
}

.bio-info-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bio-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1.5px solid var(--pink-100);
  border-radius: 12px;
  padding: 9px 12px;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--plum-900);
}

.bio-info-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffe0f0, #f3e8ff);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  flex: none;
}

.bio-group-box {
  margin-top: 12px;
  background: linear-gradient(135deg, #ffe4f2, #ede9fe);
  border: 2px dashed var(--pink-300);
  border-radius: 15px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  text-align: center;
}

.bio-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

@keyframes avatarBob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.hero-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2.5px solid #fff;
  display: block;
  background: var(--pink-50);
}

.hero-avatar-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--pink-300);
  display: grid;
  place-items: center;
  font-size: 0.92rem;
  box-shadow: 0 3px 8px rgba(230, 62, 141, 0.28);
  animation: heartBeat 2.4s ease-in-out infinite;
}

.store-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.store-title {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 800;
  background: linear-gradient(135deg, #421a2f 10%, #be1e6d 55%, #7c3aed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.trusted-badge {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #ffd1e8, #e9d5ff);
  color: var(--pink-600);
  border: 1.5px solid var(--pink-300);
  border-radius: var(--radius-pill);
  padding: 3px 12px;
  font-size: 0.74rem;
  font-weight: 800;
  box-shadow: 0 3px 10px rgba(223, 52, 136, 0.16);
}

.trusted-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  animation: shineSweep 3.5s ease-in-out infinite;
}

@keyframes shineSweep {
  0% {
    left: -120%;
  }
  50%, 100% {
    left: 160%;
  }
}

.store-tagline {
  margin: 5px auto 14px;
  max-width: 500px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--plum-700);
}

.hero-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1.5px dashed var(--pink-200);
}

/* Status & Pills with Pulsing Live Dot */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 800;
  border: 1.5px solid transparent;
}

.pill--pink {
  background: linear-gradient(135deg, #ffe0f0, #f3e8ff);
  color: var(--pink-600);
  border-color: var(--pink-300);
}

.status-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}

.status--available .status-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid currentColor;
  animation: pulseRing 1.8s ease-out infinite;
}

@keyframes pulseRing {
  0% {
    transform: scale(0.7);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.75);
    opacity: 0;
  }
}

.status--available {
  background: var(--mint-bg);
  color: var(--mint-text);
  border-color: var(--mint-border);
}

.status--near_limit {
  background: var(--peach-bg);
  color: var(--peach-text);
  border-color: var(--peach-border);
}

.status--limit_full {
  background: var(--rose-bg);
  color: var(--rose-text);
  border-color: var(--rose-border);
}

.status--maintenance {
  background: var(--gray-bg);
  color: var(--gray-text);
  border-color: #d1d5db;
}

/* Cute Multi-Pastel Announcement */
.announcement {
  margin-top: 14px;
  background: linear-gradient(135deg, #ffeaf5 0%, #f3e8ff 50%, #e6f6ff 100%);
  border: 2px dashed var(--pink-300);
  border-radius: var(--radius-lg);
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--plum-900);
  box-shadow: var(--shadow-soft);
  animation: cardPopIn 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Main Navigation Tabs (Pastel Candy Pill Bar) */
.main-nav {
  margin: 16px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: linear-gradient(135deg, rgba(255, 232, 245, 0.95), rgba(243, 232, 255, 0.95));
  border: 2px solid var(--pink-300);
  border-radius: var(--radius-pill);
  padding: 5px;
  box-shadow: var(--shadow-soft);
}

.nav-pill-btn {
  border: none;
  background: transparent;
  color: var(--plum-700);
  padding: 9px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
  white-space: nowrap;
}

.nav-pill-btn:hover {
  color: var(--pink-600);
  background: rgba(255, 255, 255, 0.65);
  transform: translateY(-1px);
}

.nav-pill-btn.is-active {
  background: linear-gradient(135deg, #ff66b2, #df3488, #a855f7);
  background-size: 200% 200%;
  animation: candyGradientSlide 5s ease infinite;
  color: #fff;
  transform: scale(1.02);
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.5),
    0 6px 16px -3px rgba(223, 52, 136, 0.55);
}

/* Section Card Container (Tinted Pastel Candy Surface, NOT Plain White!) */
.section-box {
  margin-top: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(243, 224, 255, 0.65) 0%, transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(255, 214, 236, 0.6) 0%, transparent 45%),
    linear-gradient(180deg, rgba(255, 244, 250, 0.96) 0%, rgba(255, 250, 253, 0.96) 100%);
  border: 2.5px solid var(--pink-300);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: var(--shadow-card);
  position: relative;
  animation: cardPopIn 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes cardPopIn {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
  padding: 10px 14px;
  background: linear-gradient(90deg, rgba(255, 216, 236, 0.75), rgba(240, 226, 255, 0.75));
  border: 1.5px solid var(--pink-200);
  border-radius: 15px;
}

.section-title {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 800;
  color: var(--plum-900);
}

.section-sub {
  margin: 2px 0 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--plum-700);
}

/* Filter Pills Bar */
.tabs-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.tab-btn {
  border: 1.5px solid var(--pink-200);
  background: rgba(255, 255, 255, 0.85);
  color: var(--plum-700);
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tab-btn:hover {
  border-color: var(--pink-400);
  background: var(--pink-100);
  transform: translateY(-2px);
}

.tab-btn.is-active {
  background: linear-gradient(135deg, #ff66b2, var(--pink-500));
  color: #fff;
  border-color: transparent;
  transform: scale(1.04);
  box-shadow:
    inset 0 2px 2px rgba(255, 255, 255, 0.45),
    0 5px 12px -3px rgba(223, 52, 136, 0.45);
}

/* Payment Method List & QRIS Grid with Colorful Pastel Tints */
.wallet-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.qris-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.pay-card {
  background:
    linear-gradient(135deg, #ffeaf4 0%, #fff7fb 55%, #f5ecff 100%);
  border: 2px solid var(--pink-200);
  border-radius: var(--radius-lg);
  padding: 15px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 6px 16px -6px rgba(223, 52, 136, 0.16);
  transition:
    transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  animation: cardPopIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.pay-card:nth-child(1) {
  animation-delay: 0.04s;
  background: linear-gradient(135deg, #ffe8f3 0%, #f0f9ff 100%);
  border-color: #f9b4d6;
}

.pay-card:nth-child(2) {
  animation-delay: 0.1s;
  background: linear-gradient(135deg, #ffeaf5 0%, #ecfdf5 100%);
  border-color: #f9b4d6;
}

.pay-card:nth-child(3) {
  animation-delay: 0.16s;
  background: linear-gradient(135deg, #ffe8f3 0%, #fff7ed 100%);
  border-color: #f9b4d6;
}

.qris-grid .pay-card:nth-child(1) {
  animation-delay: 0.2s;
  background: linear-gradient(145deg, #ffe4f1 0%, #f6edff 100%);
}

.qris-grid .pay-card:nth-child(2) {
  animation-delay: 0.26s;
  background: linear-gradient(145deg, #f3e8ff 0%, #ffe6f3 100%);
}

.pay-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: var(--pink-400);
  box-shadow: 0 14px 26px -10px rgba(223, 52, 136, 0.32);
}

.pay-card:hover .brand-icon {
  transform: rotate(-6deg) scale(1.08);
}

.is-highlighted {
  border-color: var(--pink-500) !important;
  box-shadow:
    0 0 0 3px rgba(230, 62, 141, 0.28),
    0 10px 24px -6px rgba(230, 62, 141, 0.35) !important;
  animation: pulseHighlight 1.6s ease-in-out 2;
}

@keyframes pulseHighlight {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.015);
  }
}

.shortcut-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  background: linear-gradient(135deg, #ffe6f3, #f3e8ff);
  border: 2px dashed var(--pink-300);
  border-radius: var(--radius-lg);
  padding: 12px 14px;
  margin-bottom: 16px;
}

.pay-card--disabled {
  opacity: 0.72;
  background: #fafafa !important;
}

.pay-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex: none;
  font-weight: 800;
  color: #fff;
  border: 2px solid #fff;
  box-shadow: 0 5px 12px -2px rgba(223, 52, 136, 0.28);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #fff;
}

.brand-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--plum-900);
}

.brand-holder {
  margin: 1px 0 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--plum-700);
}

.number-box {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(255, 240, 248, 0.95));
  border: 1.5px dashed var(--pink-300);
  border-radius: var(--radius-md);
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: inset 0 1px 4px rgba(236, 72, 153, 0.08);
}

.account-number {
  font-family: ui-monospace, 'Cascadia Mono', 'Segoe UI Mono', monospace;
  font-size: 1.04rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--plum-900);
}

.account-number--muted {
  color: var(--plum-500);
  text-decoration: line-through;
}

/* Animated Candy-Stripe Progress Bar for Limits */
.limit-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.limit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--plum-700);
}

.limit-numbers {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--pink-600);
}

.progress-track {
  height: 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--pink-200);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  background-color: #10b981;
  background-image: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.28) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0.28) 75%,
    transparent 75%,
    transparent
  );
  background-size: 18px 18px;
  animation: stripeMove 1.2s linear infinite;
}

.progress-fill--warn {
  background-color: #f59e0b;
}

.progress-fill--full {
  background-color: #e11d48;
}

@keyframes stripeMove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 18px 0;
  }
}

.method-note {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--plum-700);
}

/* QRIS Frame */
.qris-frame {
  position: relative;
  background: linear-gradient(180deg, #ffffff, #fff5fa);
  border: 1.5px dashed var(--pink-300);
  border-radius: 14px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.qris-thumb {
  width: 100%;
  max-width: 175px;
  aspect-ratio: 6 / 7;
  object-fit: contain;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.qris-thumb:hover {
  transform: scale(1.04);
}

.qris-thumb--blocked {
  filter: blur(4px) grayscale(0.4);
  opacity: 0.5;
  cursor: not-allowed;
}

.qris-blocked-overlay {
  position: absolute;
  inset: 10px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 12px;
  background: rgba(255, 241, 247, 0.78);
}

.qris-actions {
  display: flex;
  gap: 6px;
  width: 100%;
}

.nmid-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  background: var(--pink-100);
  border-radius: 8px;
  padding: 5px 8px;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--plum-900);
}

/* Multi-Pastel Product Catalog Bento Groups */
.search-bar-wrap {
  margin-bottom: 10px;
}

.search-input {
  width: 100%;
  border: 2px solid var(--pink-200);
  background: rgba(255, 255, 255, 0.9);
  color: var(--plum-900);
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  font-size: 0.86rem;
  font-weight: 700;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-input:focus {
  background: #fff;
  border-color: var(--pink-400);
  box-shadow: 0 0 0 4px rgba(244, 124, 183, 0.22);
}

.catalog-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.cat-group-card {
  background: linear-gradient(160deg, #ffe8f4 0%, #fff7fb 55%, #f3e8ff 100%);
  border: 2px solid var(--pink-200);
  border-radius: var(--radius-lg);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 6px 16px -6px rgba(223, 52, 136, 0.14);
  animation: cardPopIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cat-group-card:nth-child(2n) {
  background: linear-gradient(160deg, #f3e8ff 0%, #fff7fb 55%, #e0f4ff 100%);
}

.cat-group-card:nth-child(3n) {
  background: linear-gradient(160deg, #ffe8f3 0%, #fff9f5 55%, #fef3c7 100%);
}

.cat-group-card--full {
  grid-column: 1 / -1;
}

.cat-group-title {
  margin: 0;
  font-size: 0.93rem;
  font-weight: 800;
  color: var(--pink-600);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 10px;
  border: 1px solid var(--pink-200);
}

.prod-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.prod-item {
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid var(--pink-200);
  border-radius: 11px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition:
    border-color 0.16s ease,
    transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.16s ease;
}

.prod-item:hover {
  border-color: var(--pink-400);
  background: #fff;
  transform: translateX(4px) scale(1.01);
}

.prod-item__info {
  min-width: 0;
  flex: 1;
}

.prod-item__name {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--plum-900);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.prod-item__sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--plum-700);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}

.prod-badge {
  display: inline-block;
  padding: 1px 8px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #ffd9ec, #ede9fe);
  color: var(--pink-600);
  border: 1px solid var(--pink-300);
  font-size: 0.68rem;
  font-weight: 800;
}

/* Admin Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 10px;
}

.prod-card {
  background: linear-gradient(145deg, #ffeef7, #f8f2ff);
  border: 1.5px solid var(--pink-200);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  transition: transform 0.18s ease;
}

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

.prod-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.prod-cat-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--pink-100);
  display: grid;
  place-items: center;
  font-size: 0.92rem;
  flex: none;
}

.prod-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--plum-900);
}

.prod-desc {
  margin: 0;
  font-size: 0.77rem;
  font-weight: 600;
  color: var(--plum-700);
}

.prod-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 6px;
  border-top: 1px dashed var(--pink-200);
}

.prod-price {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--pink-600);
}

.prod-actions {
  display: flex;
  gap: 5px;
}

/* Candy / Jelly Cute Buttons with Hover Bounce */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: none;
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1),
    filter 0.15s ease,
    box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn:hover:not(:disabled) {
  transform: translateY(-1.5px);
}

.btn:active:not(:disabled) {
  transform: scale(0.94);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn--primary {
  background: linear-gradient(135deg, #ff6bb5, var(--pink-500), #c026d3);
  background-size: 200% 200%;
  color: #fff;
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.48),
    0 5px 14px -3px rgba(223, 52, 136, 0.5);
}

.btn--primary:hover:not(:disabled) {
  filter: brightness(1.06);
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.55),
    0 8px 18px -4px rgba(223, 52, 136, 0.65);
}

.btn--soft {
  background: linear-gradient(135deg, #ffe3f1, #f3e8ff);
  color: var(--pink-600);
  border: 1.5px solid var(--pink-300);
}

.btn--soft:hover:not(:disabled) {
  background: linear-gradient(135deg, #ffd2e9, #e9d5ff);
}

.btn--outline {
  background: rgba(255, 255, 255, 0.9);
  color: var(--plum-700);
  border: 1.5px solid var(--pink-200);
}

.btn--outline:hover:not(:disabled) {
  border-color: var(--pink-400);
  background: #fff;
}

.btn--danger {
  background: var(--rose-bg);
  color: var(--rose-text);
  border: 1.5px solid var(--rose-border);
}

.btn--sm {
  padding: 5px 11px;
  font-size: 0.76rem;
}

.btn--block {
  width: 100%;
  padding: 11px 16px;
  font-size: 0.88rem;
}

/* Form */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--plum-700);
}

.input,
.select,
.textarea {
  width: 100%;
  border: 1.5px solid var(--pink-200);
  background: rgba(255, 255, 255, 0.92);
  color: var(--plum-900);
  border-radius: 11px;
  padding: 9px 11px;
  font-size: 0.86rem;
  font-weight: 600;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.input:focus,
.select:focus,
.textarea:focus {
  background: #fff;
  border-color: var(--pink-400);
  box-shadow: 0 0 0 3px rgba(244, 124, 183, 0.22);
}

.textarea {
  min-height: 70px;
  resize: vertical;
}

/* Footer */
.site-footer {
  margin-top: 22px;
  padding: 16px;
  background: rgba(255, 245, 251, 0.88);
  border: 1.5px dashed var(--pink-200);
  border-radius: var(--radius-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.footer-store-line {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--plum-900);
}

.footer-wa-line {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--pink-600);
}

.admin-entry {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #fff0f7, #f5ebff);
  border: 1.5px solid var(--pink-300);
  color: var(--pink-600);
  font-size: 0.76rem;
  font-weight: 800;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(66, 28, 48, 0.52);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-panel {
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(180deg, #fff4fa 0%, #ffffff 100%);
  border: 2.5px solid var(--pink-300);
  border-radius: var(--radius-xl);
  padding: 18px;
  box-shadow: var(--shadow-card);
  animation: cardPopIn 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal-panel--wide {
  max-width: 560px;
}

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

.modal-header h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
}

.modal-qris-img {
  width: 100%;
  max-height: 60vh;
  object-fit: contain;
  border-radius: 12px;
  background: var(--pink-50);
  border: 1px solid var(--pink-100);
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%) translateY(20px);
  z-index: 100;
  background: linear-gradient(135deg, #421a2f, #831843);
  color: #fff;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.83rem;
  font-weight: 700;
  box-shadow: 0 10px 24px -6px rgba(61, 29, 45, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast--error {
  background: var(--rose-text);
}

/* Admin Specific */
.admin-topbar {
  background: linear-gradient(135deg, #ffeaf5, #f5ebff);
  border: 2.5px solid var(--pink-300);
  border-radius: var(--radius-xl);
  padding: 14px 18px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.admin-panel-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(243, 224, 255, 0.6) 0%, transparent 45%),
    linear-gradient(180deg, #fff5fa 0%, #fffbfd 100%);
  border: 2.5px solid var(--pink-300);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-card);
  margin-bottom: 16px;
}

.admin-method-card {
  background: linear-gradient(135deg, #ffeef7 0%, #faf5ff 100%);
  border: 1.5px solid var(--pink-200);
  border-radius: var(--radius-lg);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-method-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.quick-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.85);
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--pink-200);
}

.alert-banner {
  background: var(--peach-bg);
  border: 1.5px solid var(--peach-border);
  color: var(--peach-text);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.83rem;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.login-shell {
  max-width: 400px;
  margin: 48px auto;
  background: linear-gradient(180deg, #ffeef7 0%, #ffffff 100%);
  border: 2.5px solid var(--pink-300);
  border-radius: var(--radius-xl);
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.store-avatar {
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--pink-400), var(--pink-500));
  display: grid;
  place-items: center;
  color: #fff;
}

.upload-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.upload-preview {
  width: 60px;
  height: 70px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--pink-200);
  background: var(--pink-50);
}

.empty-state {
  text-align: center;
  padding: 28px 14px;
  background: var(--surface-soft);
  border: 1.5px dashed var(--pink-300);
  border-radius: var(--radius-md);
  color: var(--plum-500);
  font-size: 0.85rem;
  font-weight: 700;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--plum-700);
  cursor: pointer;
}

.checkbox-row input {
  width: 16px;
  height: 16px;
  accent-color: var(--pink-500);
}

.admin-prod-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.admin-search-input {
  width: 210px;
  padding: 6px 12px;
  font-size: 0.82rem;
}

/* Tablet & Intermediate Screens */
@media (max-width: 768px) {
  .kawaii-cloud {
    display: none;
  }
}

/* Android Mobile & Smartphones */
@media (max-width: 640px) {
  .container {
    max-width: 100%;
    padding: 12px 10px calc(40px + env(safe-area-inset-bottom, 0px));
  }
  .hero-card {
    border-radius: 20px;
    padding-bottom: 16px;
  }
  .hero-window-bar {
    padding: 7px 12px;
    font-size: 0.7rem;
  }
  .hero-body {
    padding: 14px 12px 0;
  }
  .hero-avatar-wrap {
    width: 78px;
    height: 78px;
    margin-bottom: 8px;
  }
  .store-title {
    font-size: 1.38rem;
  }
  .store-tagline {
    font-size: 0.82rem;
    margin-bottom: 10px;
  }
  .main-nav {
    margin: 12px 0;
    padding: 4px;
    gap: 4px;
  }
  .nav-pill-btn {
    padding: 9px 6px;
    font-size: clamp(0.75rem, 3.3vw, 0.84rem);
  }
  .section-box {
    margin-top: 12px;
    padding: 14px 12px;
    border-radius: 20px;
  }
  .section-header {
    padding: 9px 11px;
  }
  .section-title {
    font-size: 0.98rem;
  }
  .tabs-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    margin-bottom: 12px;
  }
  .tabs-bar::-webkit-scrollbar {
    display: none;
  }
  .tab-btn {
    flex: none;
    padding: 7px 13px;
    font-size: 0.79rem;
  }
  .qris-grid,
  .catalog-groups,
  .form-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }
  .pay-card {
    padding: 13px;
  }
  .number-box {
    padding: 8px 10px;
    flex-wrap: wrap;
  }
  .account-number {
    font-size: 0.96rem;
  }
  .qris-thumb {
    max-width: 190px;
  }
  .prod-item {
    padding: 9px 10px;
  }
  .input,
  .select,
  .textarea,
  .search-input {
    font-size: 16px;
  }
  .modal-backdrop {
    align-items: flex-end;
    padding: 0;
  }
  .modal-panel,
  .modal-panel--wide {
    max-width: 100%;
    max-height: 90dvh;
    border-radius: 22px 22px 0 0;
    border-bottom: none;
    padding: 16px 14px calc(20px + env(safe-area-inset-bottom, 0px));
  }
  .admin-topbar {
    padding: 12px 14px;
  }
  .admin-prod-toolbar {
    width: 100%;
  }
  .admin-search-input {
    flex: 1;
    min-width: 140px;
  }
  .quick-controls {
    gap: 6px;
  }
  .quick-controls .select {
    width: 100% !important;
  }
  .toast {
    width: calc(100% - 28px);
    max-width: 360px;
    text-align: center;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }
}

/* Compact Android Phones (320px - 375px) */
@media (max-width: 375px) {
  .store-title {
    font-size: 1.24rem;
  }
  .nav-pill-btn {
    font-size: 0.73rem;
    padding: 8px 4px;
  }
  .number-box .btn {
    width: 100%;
    justify-content: center;
  }
  .prod-item {
    flex-direction: column;
    align-items: stretch;
  }
  .prod-item > div:last-child {
    justify-content: flex-end;
  }
}
