@font-face {
  font-family: 'Gambarino';
  src: url('fonts/Gambarino_Complete/Gambarino_Complete/Fonts/WEB/fonts/Gambarino-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Boska';
  src: url('fonts/Boska_Complete/Fonts/WEB/fonts/Boska-Light.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Boska';
  src: url('fonts/Boska_Complete/Fonts/WEB/fonts/Boska-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Boska';
  src: url('fonts/Boska_Complete/Fonts/WEB/fonts/Boska-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Boska';
  src: url('fonts/Boska_Complete/Fonts/WEB/fonts/Boska-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Boska';
  src: url('fonts/Boska_Complete/Fonts/WEB/fonts/Boska-Black.woff2') format('woff2');
  font-weight: 900; font-style: normal; font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('fonts/Satoshi_Complete/Fonts/WEB/fonts/Satoshi-Light.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('fonts/Satoshi_Complete/Fonts/WEB/fonts/Satoshi-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('fonts/Satoshi_Complete/Fonts/WEB/fonts/Satoshi-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('fonts/Satoshi_Complete/Fonts/WEB/fonts/Satoshi-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('fonts/Satoshi_Complete/Fonts/WEB/fonts/Satoshi-Black.woff2') format('woff2');
  font-weight: 900; font-style: normal; font-display: swap;
}

@font-face {
  font-family: 'Spline Sans';
  src: url('fonts/SplineSans_Complete/Fonts/WEB/fonts/SplineSans-Light.woff2') format('woff2');
  font-weight: 300; font-display: swap;
}
@font-face {
  font-family: 'Spline Sans';
  src: url('fonts/SplineSans_Complete/Fonts/WEB/fonts/SplineSans-Regular.woff2') format('woff2');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'Spline Sans';
  src: url('fonts/SplineSans_Complete/Fonts/WEB/fonts/SplineSans-Medium.woff2') format('woff2');
  font-weight: 500; font-display: swap;
}
@font-face {
  font-family: 'Spline Sans';
  src: url('fonts/SplineSans_Complete/Fonts/WEB/fonts/SplineSans-SemiBold.woff2') format('woff2');
  font-weight: 600; font-display: swap;
}
@font-face {
  font-family: 'Spline Sans';
  src: url('fonts/SplineSans_Complete/Fonts/WEB/fonts/SplineSans-Bold.woff2') format('woff2');
  font-weight: 700; font-display: swap;
}

@font-face {
  font-family: 'Sentient';
  src: url('fonts/Sentient_Complete/Fonts/WEB/fonts/Sentient-Extralight.woff2') format('woff2');
  font-weight: 200; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Sentient';
  src: url('fonts/Sentient_Complete/Fonts/WEB/fonts/Sentient-Light.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Sentient';
  src: url('fonts/Sentient_Complete/Fonts/WEB/fonts/Sentient-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Sentient';
  src: url('fonts/Sentient_Complete/Fonts/WEB/fonts/Sentient-Italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Sentient';
  src: url('fonts/Sentient_Complete/Fonts/WEB/fonts/Sentient-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Sentient';
  src: url('fonts/Sentient_Complete/Fonts/WEB/fonts/Sentient-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

@font-face {
  font-family: 'Telma';
  src: url('fonts/Telma_Complete/Fonts/WEB/fonts/Telma-Light.woff2') format('woff2');
  font-weight: 300; font-display: swap;
}
@font-face {
  font-family: 'Telma';
  src: url('fonts/Telma_Complete/Fonts/WEB/fonts/Telma-Regular.woff2') format('woff2');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'Telma';
  src: url('fonts/Telma_Complete/Fonts/WEB/fonts/Telma-Medium.woff2') format('woff2');
  font-weight: 500; font-display: swap;
}
@font-face {
  font-family: 'Telma';
  src: url('fonts/Telma_Complete/Fonts/WEB/fonts/Telma-Bold.woff2') format('woff2');
  font-weight: 700; font-display: swap;
}
@font-face {
  font-family: 'Telma';
  src: url('fonts/Telma_Complete/Fonts/WEB/fonts/Telma-Black.woff2') format('woff2');
  font-weight: 900; font-display: swap;
}

@font-face {
  font-family: 'Telma';
  src: url('fonts/Charlie Zonk.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Recia';
  src: url('fonts/Recia_Complete/Fonts/WEB/fonts/Recia-Light.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Recia';
  src: url('fonts/Recia_Complete/Fonts/WEB/fonts/Recia-LightItalic.woff2') format('woff2');
  font-weight: 300; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Recia';
  src: url('fonts/Recia_Complete/Fonts/WEB/fonts/Recia-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Recia';
  src: url('fonts/Recia_Complete/Fonts/WEB/fonts/Recia-Italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Recia';
  src: url('fonts/Recia_Complete/Fonts/WEB/fonts/Recia-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Recia';
  src: url('fonts/Recia_Complete/Fonts/WEB/fonts/Recia-MediumItalic.woff2') format('woff2');
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Recia';
  src: url('fonts/Recia_Complete/Fonts/WEB/fonts/Recia-Semibold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Recia';
  src: url('fonts/Recia_Complete/Fonts/WEB/fonts/Recia-SemiboldItalic.woff2') format('woff2');
  font-weight: 600; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Recia';
  src: url('fonts/Recia_Complete/Fonts/WEB/fonts/Recia-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Recia';
  src: url('fonts/Recia_Complete/Fonts/WEB/fonts/Recia-BoldItalic.woff2') format('woff2');
  font-weight: 700; font-style: italic; font-display: swap;
}

@font-face {
  font-family: 'Prociono';
  src: url('fonts/prociono-master/Prociono.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Cabin';
  src: url('fonts/Cabin-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cabin';
  src: url('fonts/Cabin-Italic.ttf') format('truetype');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Cabin';
  src: url('fonts/Cabin-Medium.ttf') format('truetype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cabin';
  src: url('fonts/Cabin-MediumItalic.ttf') format('truetype');
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Cabin';
  src: url('fonts/Cabin-SemiBold.ttf') format('truetype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cabin';
  src: url('fonts/Cabin-SemiBoldItalic.ttf') format('truetype');
  font-weight: 600; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Cabin';
  src: url('fonts/Cabin-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cabin';
  src: url('fonts/Cabin-BoldItalic.ttf') format('truetype');
  font-weight: 700; font-style: italic; font-display: swap;
}

@font-face {
  font-family: 'Clemente PD';
  src: url('fonts/ClementePDaa-Hairline.ttf') format('truetype');
  font-weight: 100; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Clemente PD';
  src: url('fonts/ClementePDab-HairlineItalic.ttf') format('truetype');
  font-weight: 100; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Clemente PD';
  src: url('fonts/ClementePDac-ExtraLight.ttf') format('truetype');
  font-weight: 200; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Clemente PD';
  src: url('fonts/ClementePDad-ExtraLightItal.ttf') format('truetype');
  font-weight: 200; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Clemente PD';
  src: url('fonts/ClementePDae-Light.ttf') format('truetype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Clemente PD';
  src: url('fonts/ClementePDaf-LightItalic.ttf') format('truetype');
  font-weight: 300; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Clemente PD';
  src: url('fonts/ClementePDag-Book.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Clemente PD';
  src: url('fonts/ClementePDah-BookItalic.ttf') format('truetype');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Clemente PD';
  src: url('fonts/ClementePDai-Regular.ttf') format('truetype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Clemente PD';
  src: url('fonts/ClementePDaj-RegularItalic.ttf') format('truetype');
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Clemente PD';
  src: url('fonts/ClementePDak-SemiBold.ttf') format('truetype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Clemente PD';
  src: url('fonts/ClementePDal-SemiBoldItalic.ttf') format('truetype');
  font-weight: 600; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Clemente PD';
  src: url('fonts/ClementePDam-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Clemente PD';
  src: url('fonts/ClementePDan-BoldItalic.ttf') format('truetype');
  font-weight: 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Clemente PD';
  src: url('fonts/ClementePDao-Heavy.ttf') format('truetype');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Clemente PD';
  src: url('fonts/ClementePDap-HeavyItalic.ttf') format('truetype');
  font-weight: 800; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Clemente PD';
  src: url('fonts/ClementePDaq-UltraBold.ttf') format('truetype');
  font-weight: 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Clemente PD';
  src: url('fonts/ClementePDar-UltraBoldItali.ttf') format('truetype');
  font-weight: 900; font-style: italic; font-display: swap;
}

@font-face {
  font-family: 'Butler';
  src: url('fonts/Butler FREE/Webfont formats/Woff2/Butler-Free-Lgt.woff2') format('woff2');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'Butler';
  src: url('fonts/Butler FREE/Webfont formats/Woff2/Butler-Free-Rmn.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Butler';
  src: url('fonts/Butler FREE/Webfont formats/Woff2/Butler-Free-Med.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Butler';
  src: url('fonts/Butler FREE/Webfont formats/Woff2/Butler-Free-SBd.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Butler';
  src: url('fonts/Butler FREE/Webfont formats/Woff2/Butler-Free-Bd.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Butler';
  src: url('fonts/Butler FREE/Webfont formats/Woff2/Butler-Free-XBd.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: 'Butler';
  src: url('fonts/Butler FREE/Webfont formats/Woff2/Butler-Free-Blk.woff2') format('woff2');
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: 'Coolvetica';
  src: url('fonts/Coolvetica Rg.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Coolvetica';
  src: url('fonts/Coolvetica Rg It.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Coolvetica Condensed';
  src: url('fonts/Coolvetica Rg Cond.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Coolvetica Cram';
  src: url('fonts/Coolvetica Rg Cram.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Coolvetica Heavy';
  src: url('fonts/Coolvetica Hv Comp.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'LT Hexagon';
  src: url('fonts/LTHexagon-Light.ttf') format('truetype');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'LT Hexagon';
  src: url('fonts/LTHexagon-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'LT Hexagon';
  src: url('fonts/LTHexagon-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'LT Hexagon';
  src: url('fonts/LTHexagon-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'LT Hexagon';
  src: url('fonts/LTHexagon-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'LT Hexagon';
  src: url('fonts/LTHexagon-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: 'LT Hexagon';
  src: url('fonts/LTHexagon-Black.ttf') format('truetype');
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: 'Stardom';
  src: url('fonts/Stardom_Complete/Fonts/WEB/fonts/Stardom-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Yeseva One';
  src: url('fonts/YesevaOne-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Belgiano Serif';
  src: url('fonts/Belgiano Serif 2.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'LT Carpet';
  src: url('fonts/LTCarpet.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'LT Carpet Shadow';
  src: url('fonts/LT Carpet Shadow.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'LT Carpet Gradient';
  src: url('fonts/LT Carpet Gradient.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'LT Carpet Shadow Gradient';
  src: url('fonts/LT Carpet Shadow Gradient.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

:root {
  --black: #0e0000;
  --surface: rgba(58, 8, 16, 0.55);
  --surface-2: rgba(76, 10, 16, 0.65);
  --maroon: #64090c;
  --carriage: #9c0512;
  --red: #e30600;
  --pink: #fe4a6e;
  --pink-light: #ffd7e9;
  --cream: #efeacd;
  --gold: #f8d794;
  --gold-soft: rgba(248, 215, 148, 0.35);
  --glass-border: rgba(248, 215, 148, 0.15);
  --glass-shine: inset 0 1px 0 rgba(255, 255, 255, 0.10);
  --text-dim: rgba(239, 234, 205, 0.6);
  --radius: 20px;
  --display: "Yeseva One", serif;
  --serif: "Fraunces", serif;
  --sans: "DM Sans", sans-serif;
  --body: "Recia", serif;
  --mono: "Sora", sans-serif;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

button, a, input, select, textarea {
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
button:focus, a:focus, input:focus, select:focus, textarea:focus {
  outline: none;
}

button {
  -webkit-appearance: none;
  cursor: pointer;
  user-select: none;
  transition: transform 0.12s ease, opacity 0.12s ease;
}

/* Smooth press scale for all interactive elements */
button:active { transform: scale(0.96); }

/* Override: elements that define their own active transform */
.card:active,
.row-card:active,
.menu-card:active,
.quick-link:active,
.cta-btn:active,
.tier-card:active,
.category-card:active,
.nav-item:active,
.tab-btn:active,
.topup-amount-btn:active,
.icon-btn:active,
.voucher-claimed-row button:active,
.topup-upload-area:active,
[data-next]:active,
[data-back]:active {
  transform: scale(0.96);
}

/* Twemoji: force consistent cross-platform emoji rendering */
img.emoji {
  height: 1em;
  width: 1em;
  vertical-align: -0.1em;
  display: inline-block;
  pointer-events: none;
}
.card-icon img.emoji { height: 28px; width: 28px; vertical-align: middle; }

body {
  margin: 0;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent 0px, transparent 28px,
      rgba(248, 215, 148, 0.055) 28px, rgba(248, 215, 148, 0.055) 30px
    ),
    repeating-linear-gradient(
      45deg,
      transparent 0px, transparent 28px,
      rgba(248, 215, 148, 0.022) 28px, rgba(248, 215, 148, 0.022) 30px
    ),
    radial-gradient(ellipse 130% 90% at 50% -10%, var(--carriage) 0%, var(--maroon) 42%, var(--black) 85%);
  font-family: var(--sans);
  color: var(--cream);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 32px 12px;
  min-height: 100vh;
}


.phone-frame {
  position: relative;
  width: 390px;
  max-width: 100%;
  border-radius: 42px;
  padding: 14px;
  background: linear-gradient(160deg, var(--carriage), var(--maroon) 55%, #1c0203 100%);
  box-shadow:
    0 0 0 1px rgba(248, 215, 148, 0.2),
    0 30px 80px -20px rgba(227, 6, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    inset 0 0 40px rgba(0, 0, 0, 0.5);
}

.app {
  position: relative;
  height: 720px;
  border-radius: 30px;
  overflow: hidden;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent 0px, transparent 22px,
      rgba(248, 215, 148, 0.045) 22px, rgba(248, 215, 148, 0.045) 24px
    ),
    linear-gradient(180deg, #4e0000 0%, #380000 45%, #1e0000 100%);
}

.app::before {
  content: '';
  position: absolute;
  inset: -30px;
  background:
    radial-gradient(ellipse 120% 65% at 50% -8%, rgba(196, 18, 42, 0.90), transparent 65%),
    radial-gradient(ellipse 80% 70% at -10% 50%, rgba(158, 12, 28, 0.85), transparent 60%),
    radial-gradient(ellipse 75% 60% at 110% 40%, rgba(158, 12, 28, 0.75), transparent 58%),
    radial-gradient(ellipse 70% 55% at 50% 112%, rgba(120, 8, 18, 0.80), transparent 62%),
    radial-gradient(ellipse 50% 35% at 75% 108%, rgba(248, 215, 148, 0.09), transparent 60%);
  filter: blur(26px);
  z-index: 0;
}

.app::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 100% at 50% 50%, transparent 40%, rgba(4, 0, 0, 0.55) 100%);
  z-index: 0;
}

.bottom-glow {
  position: absolute;
  left: 50%;
  bottom: -20px;
  width: 70%;
  height: 40px;
  background: radial-gradient(ellipse, rgba(254, 74, 110, 0.45), transparent 70%);
  filter: blur(8px);
  transform: translateX(-50%);
  pointer-events: none;
}

.app-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 100% 50% at 50% -2%, rgba(196, 18, 42, 0.55), transparent 62%),
    radial-gradient(ellipse 55% 70% at -5% 50%, rgba(158, 12, 28, 0.38), transparent 58%),
    radial-gradient(ellipse 55% 70% at 105% 50%, rgba(158, 12, 28, 0.30), transparent 58%),
    radial-gradient(ellipse 80% 40% at 50% 105%, rgba(120, 8, 18, 0.40), transparent 60%);
}

.screen {
  position: relative;
  z-index: 1;
  display: none;
  flex-direction: column;
  height: 100%;
  padding: 22px 20px 26px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  animation: fadeSlide 0.35s ease both;
  will-change: opacity, transform;
}
.screen.active { display: flex; }

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Topbar ===== */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}
.topbar .icon-btn { flex-shrink: 0; }
.brand { display: flex; align-items: center; gap: 10px; flex: 1; }
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  color: var(--black);
  background: linear-gradient(135deg, var(--gold), var(--cream));
  box-shadow: 0 0 14px var(--gold-soft);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: 'Belgiano Serif', serif; font-weight: 400; font-size: 13px; letter-spacing: 1.5px; color: var(--cream); }
.brand-sub { font-family: 'Belgiano Serif', serif; font-weight: 400; font-size: 10px; letter-spacing: 0.5px; color: var(--text-dim); }

.balance-chip {
  position: relative;
  isolation: isolate;
  display: flex; flex-direction: column; align-items: flex-end;
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(227, 6, 0, 0.18);
  border: 1px solid rgba(255, 140, 120, 0.32);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow:
    inset 0 2px 0 rgba(255, 220, 200, 0.55),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12),
    0 0 14px 2px rgba(227, 6, 0, 0.20),
    0 4px 16px -2px rgba(0, 0, 0, 0.30);
  transition: box-shadow 0.2s ease;
}
.balance-chip::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow:
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.12),
    inset 0 2px 0 rgba(255, 255, 255, 0.40),
    inset 0 -1px 0 rgba(0, 0, 0, 0.10),
    inset 1px 0 0 rgba(255, 255, 255, 0.08),
    inset -1px 0 0 rgba(255, 255, 255, 0.08);
  z-index: -1;
  pointer-events: none;
}
.balance-chip.small { padding: 5px 12px; }

.balance-label { font-family: 'Satoshi', sans-serif; font-size: 8px; color: rgba(255, 255, 255, 0.65); letter-spacing: 0.5px; }
.balance-value { font-family: var(--mono); font-weight: 700; font-size: 11px; color: #ffffff; }

.topbar-nav { gap: 12px; }
.topbar-title { display: flex; flex-direction: column; line-height: 1.15; flex: 1; }
.topbar-eyebrow { font-family: 'Satoshi', sans-serif; font-size: 10.5px; color: rgba(248, 215, 148, 0.70); letter-spacing: 0.4px; }
.topbar-heading { font-family: 'Satoshi', sans-serif; font-weight: 700; font-size: 19px; color: var(--cream); }

.icon-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  background: rgba(10, 2, 3, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--gold);
  font-size: 18px;
  display: grid; place-items: center;
  cursor: pointer;
}
.home-btn { font-size: 14px; margin-left: 6px; flex-shrink: 0; }

/* ===== Hero (continent screen) ===== */
.hero { margin-bottom: 18px; }
.hero-kicker {
  font-family: 'Satoshi', sans-serif; font-size: 10.5px; font-weight: 700;
  letter-spacing: 2px; color: var(--gold);
}
.hero-title {
  font-family: var(--display); font-weight: 600; font-size: 30px;
  line-height: 1.12; margin: 8px 0 10px; color: var(--cream);
}
.hero-title em { font-family: 'Telma', serif; color: var(--gold); font-style: normal; }
.hero-desc { font-family: var(--body); font-weight: 600; font-size: 11px; color: var(--text-dim); line-height: 1.55; letter-spacing: 0.02em; max-width: 300px; }

.section-label {
  display: flex; align-items: center; gap: 10px;
  margin: 4px 0 12px;
  font-size: 11px; letter-spacing: 1px; color: var(--text-dim);
  text-transform: uppercase;
}
.gold-line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold-soft), transparent); }

.active-order-banner {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(156, 5, 18, 0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(227, 6, 0, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.active-order-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
  animation: floaty 1.6s ease-in-out infinite;
}
.active-order-text { flex: 1; }
.active-order-arrow { color: var(--gold); font-size: 18px; }
.ao-badge {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  background: rgba(255, 59, 48, 0.18);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(255, 80, 60, 0.35);
  border-top: 1px solid rgba(255, 140, 120, 0.4);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.12) inset,
    0 0 10px rgba(255, 59, 48, 0.3),
    0 2px 8px rgba(0,0,0,0.4);
  text-shadow: 0 0 8px rgba(255,100,80,0.6);
  flex-shrink: 0;
}

/* ===== Grid / Cards ===== */
.grid { display: grid; gap: 12px; }
.grid-2 { grid-template-columns: 1fr 1fr; }

.card {
  position: relative;
  border: 1px solid rgba(248, 215, 148, 0.15);
  background: rgba(10, 2, 3, 0.40);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -35px 45px -15px rgba(248, 215, 148, 0.10);
  border-radius: 16px;
  padding: 16px 14px;
  display: flex; flex-direction: column; gap: 4px;
  color: var(--cream);
  cursor: pointer;
  text-align: left;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.card:active { transform: scale(0.97); border-color: var(--gold); }
.card-icon { font-size: 22px; margin-bottom: 4px; }
.card-title { font-family: 'Satoshi', sans-serif; font-weight: 700; font-size: 16px; }
.card-meta { font-family: 'Satoshi', sans-serif; font-size: 10.5px; color: var(--text-dim); }
.continent-card .card-title { font-family: 'Gambarino', sans-serif; font-weight: 400; }

.ribbon {
  margin-top: auto;
  display: flex; align-items: center; gap: 8px;
  font-size: 10.5px; color: var(--text-dim);
  padding-top: 16px;
}
.ribbon-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
}

/* ===== Search ===== */
.search-bar {
  display: flex; align-items: center; gap: 8px;
  background: rgba(10, 2, 3, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(248, 215, 148, 0.13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 11px 14px;
  margin-bottom: 14px;
}
.search-icon { color: var(--gold); font-size: 15px; }
.search-bar input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--cream); font-size: 13px; font-family: var(--sans);
}
.search-bar input::placeholder { color: var(--text-dim); }
#voucherCodeInput { font-family: 'Satoshi', sans-serif; font-weight: 600; }

/* ===== Country rows ===== */
.country-list { display: flex; flex-direction: column; gap: 10px; }
.row-card {
  display: flex; align-items: center; gap: 12px;
  background: rgba(10, 2, 3, 0.40);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(248, 215, 148, 0.13);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.07), inset 0 -22px 32px -12px rgba(248, 215, 148, 0.09);
  border-radius: 14px;
  padding: 12px 14px;
  cursor: pointer;
  color: var(--cream);
  text-align: left;
}
.row-card:active { border-color: var(--gold); }
.fi {
  display: inline-block;
  width: 1.4em; height: 1.05em;
  border-radius: 3px;
  background-size: cover;
  background-position: 50%;
  box-shadow:
    0 0 0 1px rgba(248, 215, 148, 0.4),
    0 0 8px rgba(248, 215, 148, 0.45),
    0 0 18px rgba(248, 215, 148, 0.2);
  vertical-align: middle;
}
.flag.fi { width: 26px; height: 19px; flex-shrink: 0; }
.inline-flag { width: 18px; height: 13px; margin-right: 2px; }
.row-main { display: flex; flex-direction: column; flex: 1; }
.row-title { font-family: 'Satoshi', sans-serif; font-weight: 600; font-size: 13.5px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.row-num { font-family: var(--mono); font-size: 10px; color: var(--gold); background: rgba(232,194,114,0.10); border: 1px solid rgba(232,194,114,0.22); border-radius: 6px; padding: 1px 6px; font-weight: 700; }
.row-sub { font-family: 'Satoshi', sans-serif; font-size: 10.5px; color: var(--text-dim); }
.row-price { font-family: var(--mono); font-size: 11.5px; color: var(--gold); font-weight: 700; }

/* ===== Tier ===== */
.note-card {
  background: rgba(10, 2, 3, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(248, 215, 148, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 12px 14px;
  font-family: var(--body);
  font-weight: 400;
  letter-spacing: 0.02em;
  font-size: 11.5px;
  color: var(--cream);
  line-height: 1.6;
  margin-bottom: 16px;
}
.note-card.subtle { background: rgba(10, 2, 3, 0.25); color: var(--text-dim); border-color: rgba(248, 215, 148, 0.09); }
.note-card.warn { background: rgba(227, 6, 0, 0.12); border-color: rgba(227, 6, 0, 0.4); color: var(--cream); }

.tier-list { display: flex; flex-direction: column; gap: 12px; }
.tier-card {
  background: rgba(10, 2, 3, 0.40);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(248, 215, 148, 0.13);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.07), inset 0 -32px 42px -14px rgba(248, 215, 148, 0.10);
  border-radius: 16px;
  padding: 14px 16px;
  text-align: left;
  color: var(--cream);
  cursor: pointer;
  display: flex; flex-direction: column; gap: 8px;
}
.tier-card.featured {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold-soft), 0 10px 30px -10px rgba(232, 194, 114, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.tier-head { display: flex; align-items: center; justify-content: space-between; }
.tier-name { font-family: 'Satoshi', sans-serif; font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.tier-price { font-family: var(--mono); font-weight: 800; font-size: 14px; color: var(--gold); }
.badge {
  font-style: normal; font-size: 9px; font-weight: 700; letter-spacing: 0.3px;
  padding: 2px 7px; border-radius: 20px;
  background: rgba(255,255,255,0.08); color: var(--text-dim);
}
.badge.gold { background: linear-gradient(135deg, var(--gold), var(--cream)); color: var(--black); }
.gauge {
  height: 5px; border-radius: 4px; background: rgba(255,255,255,0.08); overflow: hidden;
}
.gauge span {
  display: block; height: 100%; border-radius: 4px;
  background: linear-gradient(90deg, var(--maroon), var(--carriage), var(--red));
}
.tier-foot { font-family: 'Satoshi', sans-serif; font-size: 10px; color: var(--text-dim); }

/* ===== Confirm ===== */
.confirm-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 14px;
  background: linear-gradient(155deg, rgba(156, 5, 18, 0.5) 0%, rgba(58, 8, 16, 0.65) 55%, rgba(14, 0, 0, 0.8) 100%);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid var(--gold-soft);
}
.confirm-shine {
  position: absolute; top: -60%; left: -20%; width: 70%; height: 220%;
  background: linear-gradient(75deg, transparent, rgba(255,255,255,0.12), transparent);
  transform: rotate(8deg);
}
.confirm-kicker { font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; color: var(--gold); }
.confirm-country { font-family: var(--display); font-size: 24px; font-weight: 600; margin: 6px 0 16px; color: var(--cream); }
.confirm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cg-label { display: block; font-size: 10px; color: var(--text-dim); }
.cg-value { display: block; font-family: var(--mono); font-weight: 700; font-size: 14.5px; color: var(--cream); margin-top: 2px; }

.cta-btn {
  border: none; border-radius: 14px;
  padding: 15px 18px;
  font-family: 'Gambarino', sans-serif; font-weight: 400; font-size: 16px;
  color: var(--black);
  background: linear-gradient(135deg, var(--gold), var(--cream));
  box-shadow: 0 12px 30px -10px rgba(232, 194, 114, 0.55);
  cursor: pointer;
  width: 100%;
}
.cta-btn.ghost {
  background: transparent; color: var(--cream);
  border: 1px solid var(--gold-soft); box-shadow: none;
}
.cta-btn.danger {
  background: linear-gradient(135deg, var(--carriage), var(--red));
  color: var(--cream); box-shadow: 0 12px 26px -10px rgba(227, 6, 0, 0.55);
}
.action-row { display: flex; gap: 10px; margin-top: 6px; }
.action-row .cta-btn { width: auto; flex: 1; }

/* ===== Result / timer ===== */
.timer-wrap {
  position: relative;
  width: 132px; height: 132px;
  margin: 6px auto 18px;
  display: grid; place-items: center;
}
.timer-ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.timer-bg { fill: none; stroke: rgba(255,255,255,0.08); stroke-width: 8; }
.timer-fg {
  fill: none; stroke: url(#none); stroke: var(--gold); stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 326.7;
  stroke-dashoffset: 65;
  filter: drop-shadow(0 0 6px var(--gold-soft));
}
.timer-center { position: absolute; display: flex; flex-direction: column; align-items: center; }
.timer-time { font-family: var(--mono); font-weight: 800; font-size: 24px; color: var(--cream); }
.timer-label { font-size: 9.5px; color: var(--text-dim); letter-spacing: 0.5px; }

.number-card {
  background: rgba(10, 2, 3, 0.40);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(248, 215, 148, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -28px 38px -12px rgba(248, 215, 148, 0.10);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 12px;
  position: relative;
}
.number-card.code { border-color: var(--gold); }
.nc-label { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: 1.5px; color: var(--gold); margin-bottom: 6px; }
.nc-value { display: block; font-family: var(--mono); font-weight: 700; font-size: 19px; color: var(--cream); letter-spacing: 0.5px; }
.nc-flag.fi { width: 22px; height: 16px; margin-right: 4px; }
.nc-value.glow { color: var(--gold); text-shadow: 0 0 16px var(--gold-soft); font-size: 26px; letter-spacing: 4px; }
.copy-btn {
  position: absolute; right: 14px; top: 14px;
  border: 1px solid var(--gold-soft); background: rgba(232,194,114,0.08);
  color: var(--gold); font-size: 10.5px; font-weight: 700;
  border-radius: 10px; padding: 6px 10px; cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.copy-btn.copied {
  background: rgba(93,235,122,0.15); border-color: rgba(93,235,122,0.5);
  color: #5deb7a;
}

/* ===== Cancel button lock + hold-to-cancel ===== */
.cta-btn.danger {
  position: relative; overflow: hidden;
}
.cta-btn.danger.locked {
  background: rgba(100,30,30,0.55); color: rgba(255,200,200,0.5);
  box-shadow: none; cursor: not-allowed;
}
.cta-btn.danger::after {
  content: ''; position: absolute;
  left: 0; top: 0; height: 100%; width: 0%;
  background: rgba(255,255,255,0.22);
  transition: none;
  border-radius: inherit;
}
.cta-btn.danger.holding::after {
  width: 100%;
  transition: width 1.5s linear;
}

/* ===== Selesai sticky footer ===== */
.result-sticky-footer {
  position: sticky; bottom: 0;
  padding: 10px 0 6px;
  background: linear-gradient(to top, rgba(12,2,4,1) 55%, transparent);
  margin-top: 6px;
}
.selesai-reminder {
  font-size: 10px; margin-top: 6px; margin-bottom: 4px;
}

/* ===== Riwayat detail overlay ===== */
.detail-overlay {
  position: absolute; inset: 0; z-index: 20;
  background: rgba(8, 2, 3, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: flex-end;
}
.detail-overlay[hidden] { display: none; }
.detail-sheet {
  width: 100%; padding: 24px 20px 36px;
  background: linear-gradient(160deg, rgba(36,8,8,0.98) 0%, rgba(20,4,4,0.98) 100%);
  border-top: 1px solid rgba(248,215,148,0.18);
  border-radius: 22px 22px 0 0;
  position: relative;
}
.detail-close {
  position: absolute; right: 18px; top: 16px;
  background: rgba(255,255,255,0.08); border: none;
  color: var(--cream); width: 28px; height: 28px;
  border-radius: 50%; font-size: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.detail-type-badge {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: 1px; color: var(--gold);
  font-family: var(--mono); margin-bottom: 14px;
  background: rgba(232,194,114,0.10); border: 1px solid rgba(232,194,114,0.25);
  border-radius: 8px; padding: 4px 10px;
}
.detail-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.detail-row:last-child { border-bottom: none; }
.detail-key { font-size: 10px; color: var(--text-dim); font-family: var(--mono); letter-spacing: 0.5px; }
.detail-val { font-size: 12px; color: var(--cream); font-family: var(--mono); font-weight: 700; text-align: right; max-width: 65%; word-break: break-all; }
.detail-val.gold { color: var(--gold); }
.detail-val.red { color: rgba(227,6,0,0.85); }
.detail-copy-row {
  display: flex; align-items: center; gap: 8px; justify-content: flex-end;
}
.detail-copy-row .copy-btn { position: static; padding: 4px 8px; font-size: 9.5px; }

/* ===== History rows tappable ===== */
#riwayatList .row-card { cursor: pointer; }
#riwayatList .row-card:active { opacity: 0.7; }

/* ===== Ongoing Orders — Glass Morphism Cards ===== */
[data-screen="ongoing-orders"] {
  background: radial-gradient(ellipse at 30% 20%, rgba(120,30,18,0.6) 0%, rgba(28,8,6,0.95) 65%),
              radial-gradient(ellipse at 80% 80%, rgba(80,18,10,0.35) 0%, transparent 60%);
}
#ongoingOrdersList {
  padding: 10px 14px 80px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.oo-card {
  position: relative;
  background: rgba(255, 255, 255, 0.065);
  backdrop-filter: blur(20px) saturate(155%);
  -webkit-backdrop-filter: blur(20px) saturate(155%);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.13) inset,
    0 10px 36px rgba(0,0,0,0.36),
    0 3px 10px rgba(0,0,0,0.20);
  padding: 12px 14px 10px;
  overflow: hidden;
}
/* Fine grain — frosted glass particle texture (sand-blasted glass look) */
.oo-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: 0.045;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 0;
}
.oo-card > * { position: relative; z-index: 1; }
/* Separator line between header and body */
.oo-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.06), transparent);
  margin: 7px 0;
}
.oo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.oo-invoice {
  font-family: var(--mono);
  font-size: 9px;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.4px;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.oo-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.oo-date { font-size: 10px; color: rgba(255,255,255,0.28); }
.oo-timer {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.5px;
  text-shadow: 0 0 12px rgba(232,194,114,0.4);
}
.oo-timer.oo-timer-red {
  color: #ff3b2f;
  text-shadow: 0 0 10px rgba(255,59,47,0.5);
  animation: blink-timer 1.1s ease infinite;
}
@keyframes blink-timer { 0%,100%{opacity:1} 50%{opacity:0.55} }
.oo-phone-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.oo-phone {
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.5px;
  flex: 1;
}
.oo-info-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: rgba(255,255,255,0.38);
  margin-bottom: 8px;
}
.oo-country { color: rgba(255,255,255,0.70); font-size: 11px; }
.oo-price {
  font-family: var(--mono);
  color: var(--gold);
  font-size: 11px;
  margin-left: auto;
  opacity: 0.85;
}
/* OTP box — inner glass panel */
.oo-otp-box {
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.05);
  border-top: 1px solid rgba(255,255,255,0.10);
  border-radius: 11px;
  padding: 7px 12px;
  margin-bottom: 8px;
  min-height: 38px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.oo-otp-empty {
  justify-content: center;
  align-items: center;
  flex-direction: row;
  min-height: 28px;
}
.oo-otp-label {
  font-size: 9px;
  color: rgba(255,255,255,0.28);
  font-family: var(--mono);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.oo-otp-code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.oo-otp-code {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 3px;
  text-shadow: 0 0 16px rgba(232,194,114,0.35);
}
/* Action buttons */
.oo-actions {
  display: flex;
  gap: 6px;
}
.oo-btn {
  flex: 1;
  padding: 8px 4px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--sans);
  transition: transform 0.12s, opacity 0.15s;
  text-align: center;
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.oo-btn:active { transform: scale(0.96); }
.oo-btn:disabled { opacity: 0.35; cursor: not-allowed; transform: none; }
.oo-btn-otp {
  background: rgba(232,194,114,0.08);
  border-color: rgba(232,194,114,0.22);
  color: var(--gold);
  box-shadow: 0 0 0 0 rgba(232,194,114,0);
}
.oo-btn-otp:not(:disabled):active {
  box-shadow: 0 0 12px rgba(232,194,114,0.2);
}
.oo-btn-selesai {
  background: rgba(52,199,89,0.08);
  border-color: rgba(52,199,89,0.22);
  color: #34c759;
}
.oo-btn-cancel {
  background: rgba(255,59,48,0.06);
  border-color: rgba(255,59,48,0.18);
  color: rgba(255,59,48,0.75);
}
.oo-btn-cancel.oo-locked {
  color: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.06);
  cursor: not-allowed;
}
/* Copy icon buttons */
.oo-icon-copy {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.28);
  font-size: 13px;
  cursor: pointer;
  padding: 3px 7px;
  border-radius: 7px;
  flex-shrink: 0;
  transition: color 0.15s, background 0.15s;
  backdrop-filter: blur(4px);
}
.oo-icon-copy:active, .oo-icon-copy.copied {
  color: var(--gold);
  background: rgba(232,194,114,0.10);
  border-color: rgba(232,194,114,0.20);
}

/* ===== Home menu ===== */
.menu-stack { display: flex; flex-direction: column; gap: 12px; }
.menu-card {
  display: flex; align-items: center; gap: 14px;
  background: rgba(10, 2, 3, 0.40);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(248, 215, 148, 0.14);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -35px 45px -15px rgba(248, 215, 148, 0.10);
  border-radius: 16px;
  padding: 14px 16px;
  text-align: left;
  color: var(--cream);
  cursor: pointer;
}
.menu-card:active { border-color: var(--gold); }
.menu-card.disabled { opacity: 0.4; cursor: not-allowed; }
.menu-icon { font-size: 24px; }
.menu-text { display: flex; flex-direction: column; flex: 1; }
.menu-title { font-family: 'Butler', serif; font-weight: 600; font-size: 15.5px; }
.menu-sub { font-family: 'Satoshi', sans-serif; font-size: 10.5px; color: var(--text-dim); }
.menu-arrow { font-size: 20px; color: var(--gold); }

.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quick-link {
  background: rgba(10, 2, 3, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(248, 215, 148, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 12px 10px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--cream);
  text-align: left;
  cursor: pointer;
}
.quick-link:active { border-color: var(--gold); }

/* ===== Quote-style note (mirrors Telegram blockquote) ===== */
.note-card.quote {
  border-left: 3px solid var(--gold);
  border-radius: 4px 14px 14px 4px;
  background: rgba(248, 215, 148, 0.06);
}
.quote-line { display: block; margin-bottom: 4px; }
.quote-line:last-child { margin-bottom: 0; }

/* ===== Category (server) cards ===== */
.category-list { display: flex; flex-direction: column; gap: 12px; }
.category-card {
  position: relative;
  background: rgba(10, 2, 3, 0.40);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(248, 215, 148, 0.14);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -35px 45px -15px rgba(248, 215, 148, 0.10);
  border-radius: 16px;
  padding: 18px 16px;
  text-align: left;
  color: var(--cream);
  cursor: pointer;
  display: flex; flex-direction: column; gap: 6px;
}
.category-card:active { border-color: var(--gold); }
.cat-badge {
  align-self: flex-start;
  font-family: 'Satoshi', sans-serif; font-size: 9px; font-weight: 800; letter-spacing: 1px;
  padding: 3px 8px; border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), var(--cream)); color: var(--black);
}
.cat-title { font-family: 'Boska', serif; font-weight: 700; font-size: 18px; display: flex; align-items: center; gap: 8px; }
.cat-crown { width: 32px; height: 32px; flex-shrink: 0; overflow: visible; }
.cat-meta { font-family: 'Satoshi', sans-serif; font-size: 11px; color: var(--text-dim); }

/* ===== Success badge (Beli Akun result) ===== */
.success-badge {
  align-self: flex-start;
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.3px;
  color: var(--black);
  background: linear-gradient(135deg, var(--gold), var(--cream));
  padding: 6px 12px; border-radius: 20px;
  margin-bottom: 16px;
}
.cta-btn.full { margin-top: 4px; }

/* ===== Splash screen ===== */
[data-screen="splash"] { padding: 26px 20px 30px; position: relative; }

.splash-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 46%, rgba(227, 6, 0, 0.4), transparent 55%),
    radial-gradient(circle at 78% 8%, rgba(248, 215, 148, 0.14), transparent 45%);
  pointer-events: none;
}

.splash-eyebrow {
  position: relative;
  display: block;
  font-family: 'Belgiano Serif', serif; font-size: 10.5px; font-weight: 400;
  letter-spacing: 2.5px; color: var(--gold);
  text-align: center;
}

.car-stage {
  position: relative;
  margin: 18px 0 6px;
  height: 210px;
  display: flex; align-items: center; justify-content: center;
}
.car-stage::before {
  content: "";
  position: absolute;
  left: 50%; bottom: 6%;
  width: 78%; height: 36px;
  background: radial-gradient(ellipse, rgba(227, 6, 0, 0.55), transparent 75%);
  filter: blur(4px);
  transform: translateX(-50%);
  z-index: 0;
}
.defs-only { position: absolute; width: 0; height: 0; overflow: hidden; }

.smoke-wisp {
  position: absolute;
  top: 60%;
  width: 120px;
  height: 120px;
  transform: translateY(-50%);
  z-index: 2;
  filter: url(#smokeTurbulence);
  mix-blend-mode: screen;
  opacity: 0.9;
  -webkit-mask-image: radial-gradient(circle, black, transparent 72%);
  mask-image: radial-gradient(circle, black, transparent 72%);
  pointer-events: none;
}
.smoke-left { left: -20px; }
.smoke-right { right: -20px; }

.car-art {
  position: relative;
  z-index: 1;
  width: 94%;
  object-fit: contain;
  filter:
    drop-shadow(0 0 1px rgba(248, 215, 148, 0.7))
    drop-shadow(0 0 2.5px rgba(248, 215, 148, 0.35))
    drop-shadow(0 0 14px rgba(227, 6, 0, 0.4))
    drop-shadow(0 0 26px rgba(227, 6, 0, 0.25));
}

.float-chip {
  position: absolute;
  z-index: 3;
  display: flex; flex-direction: row; align-items: center; gap: 5px;
  font-family: 'Coolvetica', sans-serif;
  font-size: 7.5px; font-weight: 400; letter-spacing: 0.8px; white-space: nowrap;
  isolation: isolate;
  background: linear-gradient(170deg, rgba(242,235,214,0.20) 0%, rgba(230,216,180,0.18) 100%);
  border: 1px solid rgba(255, 252, 238, 0.55);
  border-radius: 999px;
  padding: 5px 10px;
  gap: 5px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.80), 0 0 20px rgba(255, 255, 255, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 245, 0.65),
    inset 0 -2px 4px rgba(160, 120, 40, 0.22),
    0 6px 22px -4px rgba(0, 0, 0, 0.55);
  animation: floaty 3.6s ease-in-out infinite;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}
.float-chip::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  box-shadow:
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.12),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.30),
    inset 0 -1px 0 rgba(0, 0, 0, 0.10),
    inset 1px 0 0 rgba(255, 255, 255, 0.06),
    inset -1px 0 0 rgba(255, 255, 255, 0.06);
  z-index: -1;
  pointer-events: none;
}
.float-chip::after {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 45%;
  border-radius: 999px 999px 60% 60%;
  background: linear-gradient(180deg, rgba(255,255,255,0.38) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}
.float-chip:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 245, 0.80),
    inset 0 -2px 4px rgba(160, 120, 40, 0.18),
    0 6px 24px -3px rgba(0, 0, 0, 0.50);
}
.float-chip:active {
  transform: scale(0.93);
  background: linear-gradient(170deg, rgba(220,210,185,0.22) 0%, rgba(205,190,155,0.20) 100%);
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 2px 8px -2px rgba(0, 0, 0, 0.40);
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.50);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.float-chip.disabled { cursor: not-allowed; opacity: 0.55; }
.chip-dot {
  width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0;
  background: var(--red);
  box-shadow: 0 0 6px var(--red), 0 0 2px var(--red);
}
.chip-1 { top: 2%; left: 0%; animation-delay: 0s; }
.chip-2 { top: 6%; right: 0%; animation-delay: 0.5s; }
.chip-3 { bottom: 4%; left: 2%; animation-delay: 1s; }
.chip-4 { bottom: 0%; right: 0%; animation-delay: 1.5s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.splash-body { text-align: center; margin-top: 4px; }
.splash-title {
  font-family: var(--display); font-weight: 600; font-size: 28px;
  color: var(--cream); line-height: 0.95; margin: 0 0 10px;
}
.splash-title em {
  font-family: 'Telma', serif; font-style: normal;
  background: linear-gradient(105deg, #BF953F 0%, #FCF6BA 30%, #e8c060 50%, #FBF5B7 70%, #AA771C 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 3s linear infinite;
  filter: drop-shadow(0 0 6px rgba(232, 192, 96, 0.55));
}
@keyframes goldShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 250% center; }
}
.splash-desc {
  font-family: 'Sentient', serif; font-weight: 400; font-size: 12px; color: var(--text-dim); line-height: 1.6; letter-spacing: 0.02em;
  max-width: 290px; margin: 0 auto 16px;
}

.trust-row {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  flex-wrap: wrap;
  font-family: 'Spline Sans', sans-serif; font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.4px; color: var(--gold);
  margin-bottom: 16px;
}
.trust-dot { color: var(--gold-soft); }

.tg-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Satoshi', sans-serif; font-size: 12px; font-weight: 600; color: var(--cream);
  text-decoration: none;
  border: 1px solid var(--gold-soft);
  background: rgba(248, 215, 148, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 8px 16px;
  margin-bottom: 18px;
}
.tg-icon { color: var(--gold); }

.splash-cta { width: 100%; font-size: 15px; padding: 16px 18px; margin-top: 14px; }

.testimoni-link {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-family: 'Satoshi', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
}

.quick-link.id-card-link {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 100%;
  text-align: center;
  margin-top: 10px;
  padding: 11px 16px;
  font-family: 'Satoshi', sans-serif;
  font-size: 12.5px;
}

.loading-note {
  padding: 18px 4px;
  text-align: center;
  font-size: 11.5px;
  color: var(--text-dim);
}

/* ===== Kartu Identitas ===== */
.id-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 16px 22px;
  margin: 8px 0 18px;
  min-height: 150px;
  background: linear-gradient(155deg, var(--carriage) 0%, var(--maroon) 55%, var(--black) 100%);
  backdrop-filter: blur(30px) saturate(150%);
  -webkit-backdrop-filter: blur(30px) saturate(150%);
  border: 1px solid var(--gold-soft);
  box-shadow: 0 0 18px 3px rgba(248, 215, 148, 0.18), 0 20px 50px -20px rgba(227, 6, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.10);
}
.id-card-pattern {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.id-card-top {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
}
.id-card-brand { font-family: 'Boska', serif; font-weight: 500; font-size: 18px; color: var(--gold); letter-spacing: 1px; }
.id-card-tier { font-family: 'Satoshi', sans-serif; font-size: 8.5px; font-weight: 800; letter-spacing: 1px; color: var(--cream); opacity: 0.75; }
.id-card-photo-row {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 10px;
  margin-top: 4px;
}
.id-card-avatar-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.id-card-crown {
  width: 26px;
  height: auto;
  margin-bottom: -4px;
  pointer-events: none;
  overflow: visible;
}
.id-card-avatar-wrap {
  position: relative;
  width: 56px;
  height: 56px;
}
.id-card-photo {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
  display: block;
  background: rgba(248, 215, 148, 0.08);
}
.id-card-photo.placeholder {
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold);
}
.id-card-name-block { display: flex; flex-direction: column; }
.id-card-name { font-family: 'Boska', serif; font-weight: 500; font-size: 20px; color: var(--cream); }
.id-card-username { font-family: 'Satoshi', sans-serif; font-size: 11px; color: var(--text-dim); }
.id-card-divider { position: relative; z-index: 1; height: 1px; background: rgba(248, 215, 148, 0.2); margin-top: 6px; margin-bottom: 10px; }
.id-card-row { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 6px; padding: 0 2px; }
.id-card-label { font-family: 'Satoshi', sans-serif; font-size: 10.5px; color: var(--text-dim); letter-spacing: 0.4px; }
.id-card-value { font-family: var(--mono); font-weight: 700; font-size: 13px; color: var(--cream); }
.id-card-balance-chip {
  font-family: var(--mono);
  font-weight: 800;
  font-size: 11px;
  color: #6b3a00;
  background: linear-gradient(135deg, #F8D794 0%, #e8c060 100%);
  border-radius: 5px;
  padding: 2px 7px;
  white-space: nowrap;
  display: inline-block;
  border: 1px solid rgba(184, 120, 10, 0.4);
}

/* ===== Elysian-style Line-Art Icon System ===== */
.line-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  stroke: var(--gold);
  stroke-width: 1.75;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: filter 0.25s ease, stroke 0.2s ease;
  filter:
    drop-shadow(0 0 3px rgba(248, 215, 148, 0.65))
    drop-shadow(0 0 9px rgba(248, 215, 148, 0.22));
}

.line-icon.icon-sm {
  width: 17px;
  height: 17px;
  stroke-width: 2;
  filter: drop-shadow(0 0 2px rgba(248, 215, 148, 0.5));
}

.line-icon.icon-red {
  stroke: var(--red);
  filter:
    drop-shadow(0 0 3px rgba(227, 6, 0, 0.7))
    drop-shadow(0 0 9px rgba(227, 6, 0, 0.35));
}

.menu-card:active .line-icon {
  filter:
    drop-shadow(0 0 6px rgba(248, 215, 148, 1))
    drop-shadow(0 0 15px rgba(248, 215, 148, 0.6))
    drop-shadow(0 0 26px rgba(248, 215, 148, 0.25));
}

.quick-link:active .line-icon {
  filter:
    drop-shadow(0 0 4px rgba(248, 215, 148, 0.95))
    drop-shadow(0 0 10px rgba(248, 215, 148, 0.5));
}

.menu-card.disabled .line-icon {
  filter: none;
  opacity: 0.35;
}

/* menu-icon wrapper for SVG */
.menu-icon {
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: rgba(248, 215, 148, 0.06);
  border: 1px solid rgba(248, 215, 148, 0.15);
  border-radius: 12px;
}

.menu-card:active .menu-icon {
  background: rgba(248, 215, 148, 0.10);
  border-color: rgba(248, 215, 148, 0.40);
}

.menu-card.disabled .menu-icon {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.07);
}

/* Quick link icon+text column layout */
.quick-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.quick-link > span.ql-label {
  font-size: 10.5px;
  line-height: 1.2;
}

.quick-link .line-icon {
  filter: drop-shadow(0 0 2px rgba(248, 215, 148, 0.45));
}

/* 3D star img for Stars button */
.ql-star-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(255,220,0,1)) drop-shadow(0 0 12px rgba(255,180,0,0.7));
  display: block;
}

/* ===== Bottom Navigation ===== */
.bottom-nav {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 10px 4px 20px;
  background:
    linear-gradient(to top,
      rgba(6, 0, 0, 0.99) 0%,
      rgba(22, 2, 3, 0.97) 55%,
      transparent 100%
    );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(248, 215, 148, 0.1);
  z-index: 50;
}

.bottom-nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 100% at 50% 100%, rgba(227, 6, 0, 0.1), transparent 70%);
  pointer-events: none;
}

.nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: none;
  border: none;
  color: rgba(239, 234, 205, 0.35);
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 12px;
  transition: color 0.2s ease, transform 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}

.nav-item .line-icon {
  stroke: rgba(239, 234, 205, 0.3);
  filter: none;
  width: 22px;
  height: 22px;
  transition: stroke 0.2s ease, filter 0.2s ease;
}

.nav-item.active .line-icon {
  stroke: var(--gold);
  filter:
    drop-shadow(0 0 5px rgba(248, 215, 148, 0.9))
    drop-shadow(0 0 13px rgba(248, 215, 148, 0.45));
}

.nav-item.active {
  color: var(--gold);
}

.nav-item.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 2px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  box-shadow: 0 0 10px var(--gold);
}

.nav-item:active .line-icon {
  stroke: var(--cream);
  filter: drop-shadow(0 0 4px rgba(248, 215, 148, 0.7));
}

.nav-label {
  font-family: 'Satoshi', sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

/* Extra bottom padding so content doesn't hide behind nav */
[data-screen="splash"],
[data-screen="home"],
[data-screen="continent"],
[data-screen="country"],
[data-screen="tier"],
[data-screen="akun-continent"],
[data-screen="akun-category"],
[data-screen="akun-country"],
[data-screen="bantuan"],
[data-screen="aturan"],
[data-screen="voucher"],
[data-screen="jagain"],
[data-screen="identitas"],
[data-screen="obral-murah"],
[data-screen="voucher-diskon"],
[data-screen="refund-saldo"],
[data-screen="leaderboard"] {
  padding-bottom: 82px;
}

/* Riwayat: only the list scrolls, header+stats+tabs stay fixed */
[data-screen="riwayat"] {
  overflow: hidden;
  padding-bottom: 0;
}
[data-screen="riwayat"] .stat-grid {
  flex-shrink: 0;
}
[data-screen="riwayat"] .riwayat-tabs {
  flex-shrink: 0;
}
#riwayatList {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 82px;
}

/* ===== Force Subscribe Overlay ===== */
.subscribe-overlay {
  position: absolute;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 0, 0, 0.72);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
}

.subscribe-modal {
  margin: 20px;
  padding: 28px 22px 22px;
  background: rgba(20, 3, 4, 0.82);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(248, 215, 148, 0.22);
  border-radius: 24px;
  box-shadow:
    0 8px 48px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    inset 0 -40px 50px -16px rgba(248, 215, 148, 0.09);
  text-align: center;
}

.subscribe-icon {
  font-size: 36px;
  margin-bottom: 10px;
}

.subscribe-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 10px;
}

.subscribe-text {
  font-family: var(--body);
  font-weight: 400;
  letter-spacing: 0.02em;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.65;
  margin: 0 0 20px;
}

.subscribe-channel-btn {
  display: block;
  text-align: center;
  text-decoration: none;
}

/* ===== Voucher Discount Badge ===== */
.voucher-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  margin: 0 0 10px;
  border-radius: 12px;
  background: rgba(93, 235, 122, 0.10);
  border: 1px solid rgba(93, 235, 122, 0.25);
  font-size: 12.5px;
  color: #5deb7a;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.voucher-badge-clear {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: rgba(93, 235, 122, 0.18);
  color: #5deb7a;
  font-size: 11px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.voucher-badge::before {
  content: '🎟';
  font-size: 15px;
  flex-shrink: 0;
}

/* ===== Chip dot fire variant ===== */
.chip-dot-fire {
  background: linear-gradient(135deg, #ff8c00, #e30600);
  box-shadow: 0 0 6px rgba(227, 6, 0, 0.8);
  animation: pulse-fire 1.8s ease-in-out infinite;
}

@keyframes pulse-fire {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.3); }
}

/* ===== Top Up mini button (inside balance chip) ===== */
.topup-mini-btn {
  position: relative;
  isolation: isolate;
  margin-top: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(110, 21, 26, 0.75);
  border: 1px solid rgba(180, 60, 70, 0.35);
  color: #ffe880;
  font-size: 7px;
  font-weight: 800;
  font-family: 'Satoshi', sans-serif;
  letter-spacing: 0.4px;
  cursor: pointer;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow:
    inset 0 1.5px 0 rgba(255, 200, 180, 0.32),
    inset 0 -1px 0 rgba(0, 0, 0, 0.06),
    0 2px 8px -2px rgba(0, 0, 0, 0.25);
  transition: box-shadow 0.15s, transform 0.12s ease;
  white-space: nowrap;
}
.topup-mini-btn:active { transform: scale(0.95); box-shadow: inset 0 0 8px 2px rgba(255, 200, 40, 0.45); }

/* ===== Riwayat tabs ===== */
.riwayat-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.riwayat-tabs::-webkit-scrollbar { display: none; }
.tab-btn {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.70);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.tab-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #1a0808;
}

/* ===== Statistics grid (Riwayat screen) ===== */
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}
.stat-card {
  display: flex; flex-direction: column; align-items: center;
  gap: 3px;
  padding: 13px 10px;
  border-radius: 14px;
  background: rgba(10, 2, 3, 0.38);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(248, 215, 148, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.stat-val {
  font-family: var(--mono); font-weight: 800; font-size: 16px; color: var(--gold);
}
.stat-lbl {
  font-size: 9.5px; color: var(--text-dim); letter-spacing: 0.3px;
}

/* ===== Voucher claimed list ===== */
.voucher-claimed-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(10, 2, 3, 0.38);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(248, 215, 148, 0.13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  margin-bottom: 8px;
}
.vcr-info { display: flex; flex-direction: column; gap: 2px; }
.vcr-code { font-family: var(--mono); font-weight: 800; font-size: 13px; letter-spacing: 1px; color: var(--cream); }
.vcr-pct { font-size: 10px; color: var(--gold); font-weight: 700; }

/* ===== Top Up screen ===== */
.topup-amount-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 8px; margin-bottom: 4px;
}
.topup-amount-btn {
  padding: 11px 4px;
  border-radius: 12px;
  border: 1px solid rgba(248, 215, 148, 0.15);
  background: rgba(10, 2, 3, 0.40);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--cream); font-family: var(--mono); font-weight: 700; font-size: 11px;
  cursor: pointer; transition: border-color 0.15s, background 0.15s, transform 0.12s ease;
}
.topup-amount-btn:active,
.topup-amount-btn.selected {
  border-color: var(--gold);
  background: rgba(248, 215, 148, 0.10);
  color: var(--gold);
}
.topup-qris-amount {
  font-family: var(--mono); font-size: 22px; font-weight: 800; color: var(--gold);
  margin: 8px 0 14px;
}
.topup-qris-box {
  width: 240px; height: 240px;
  border-radius: 14px;
  border: 2px solid rgba(248, 215, 148, 0.3);
  overflow: hidden; display: flex; align-items: center; justify-content: center;
  background: #fff;
  margin: 0 auto 14px;
}
.topup-qris-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.topup-qris-img img, .topup-qris-img canvas, .topup-qris-img table { max-width: 100%; max-height: 100%; }
.topup-qris-fallback {
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  font-size: 12px; color: #999; text-align: center; padding: 8px;
}
.topup-upload-area {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 28px 16px;
  border-radius: 16px;
  border: 2px dashed rgba(248, 215, 148, 0.25);
  background: rgba(10, 2, 3, 0.30);
  cursor: pointer; transition: border-color 0.15s, transform 0.12s ease;
}
.topup-upload-area:active { border-color: var(--gold); }
.topup-upload-icon { font-size: 32px; }
.topup-upload-label { font-size: 12px; color: var(--text-dim); text-align: center; }
.topup-preview-img {
  width: 100%; max-height: 200px; object-fit: contain;
  border-radius: 10px; margin-top: 6px;
}

/* ===== Leaderboard ===== */
[data-screen="leaderboard"],
[data-screen="ready-on-hand"],
[data-screen="topup"] { padding-bottom: 90px; }

.lb-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(156,5,18,0.35) 0%, rgba(58,8,16,0.55) 100%);
  border: 1px solid var(--gold-soft);
}
.lb-crown-hero {
  width: 80px;
  height: auto;
  flex-shrink: 0;
  overflow: visible;
}
.lb-header-text { display: flex; flex-direction: column; }
.lb-title {
  font-family: 'Boska', serif; font-weight: 700; font-size: 30px; color: var(--cream); line-height: 1.1;
}
.lb-month-badge {
  font-family: 'Satoshi', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 1px;
  color: var(--gold); margin-top: 3px;
}

.lb-top5 { display: flex; flex-direction: column; gap: 10px; }

.lb-card {
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; gap: 12px;
  border-radius: 16px;
  padding: 13px 15px;
  background: rgba(10, 2, 3, 0.38);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(248,215,148,0.13);
  box-shadow: 0 4px 24px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.08), inset 0 -30px 40px -14px rgba(248,215,148,0.07);
}
.lb-card.rank-1 {
  background: linear-gradient(135deg, rgba(156,5,18,0.48) 0%, rgba(58,8,16,0.65) 55%, rgba(14,0,0,0.78) 100%);
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold-soft), 0 8px 36px -8px rgba(232,194,114,0.50), 0 0 18px -4px rgba(248,215,148,0.30), inset 0 1px 0 rgba(255,255,255,0.14);
  animation: lb-glow-1 2.6s ease-in-out infinite;
}
.lb-card.rank-2 {
  border-color: rgba(210,210,210,0.40);
  box-shadow: 0 0 0 1px rgba(210,210,210,0.15), 0 6px 24px -8px rgba(200,200,200,0.28), inset 0 1px 0 rgba(255,255,255,0.10);
  animation: lb-glow-2 3s ease-in-out infinite;
}
.lb-card.rank-3 {
  border-color: rgba(184,115,51,0.45);
  box-shadow: 0 0 0 1px rgba(184,115,51,0.18), 0 6px 24px -8px rgba(184,115,51,0.30), inset 0 1px 0 rgba(255,255,255,0.09);
  animation: lb-glow-3 3.4s ease-in-out infinite;
}

@keyframes lb-glow-1 {
  0%, 100% { box-shadow: 0 0 0 1px var(--gold-soft), 0 8px 36px -8px rgba(232,194,114,0.50), 0 0 18px -4px rgba(248,215,148,0.30), inset 0 1px 0 rgba(255,255,255,0.14); }
  50% { box-shadow: 0 0 0 1px rgba(248,215,148,0.55), 0 8px 48px -4px rgba(232,194,114,0.70), 0 0 32px 0px rgba(248,215,148,0.45), inset 0 1px 0 rgba(255,255,255,0.18); }
}
@keyframes lb-glow-2 {
  0%, 100% { box-shadow: 0 0 0 1px rgba(210,210,210,0.15), 0 6px 24px -8px rgba(200,200,200,0.28), inset 0 1px 0 rgba(255,255,255,0.10); }
  50% { box-shadow: 0 0 0 1px rgba(230,230,230,0.35), 0 6px 32px -4px rgba(200,200,200,0.45), inset 0 1px 0 rgba(255,255,255,0.14); }
}
@keyframes lb-glow-3 {
  0%, 100% { box-shadow: 0 0 0 1px rgba(184,115,51,0.18), 0 6px 24px -8px rgba(184,115,51,0.30), inset 0 1px 0 rgba(255,255,255,0.09); }
  50% { box-shadow: 0 0 0 1px rgba(214,145,81,0.38), 0 6px 32px -4px rgba(184,115,51,0.50), inset 0 1px 0 rgba(255,255,255,0.13); }
}

.lb-card-shine {
  position: absolute; top: -60%; left: -20%; width: 60%; height: 200%;
  background: linear-gradient(75deg, transparent, rgba(255,255,255,0.07), transparent);
  transform: rotate(8deg); pointer-events: none;
}
.lb-card.rank-1 .lb-card-shine,
.lb-card.rank-2 .lb-card-shine,
.lb-card.rank-3 .lb-card-shine {
  animation: lb-sweep 3s ease-in-out infinite;
}
@keyframes lb-sweep {
  0% { left: -40%; opacity: 0; }
  30% { opacity: 1; }
  70% { opacity: 1; }
  100% { left: 120%; opacity: 0; }
}

.lb-rank {
  flex-shrink: 0;
  display: grid; place-items: center;
  font-family: var(--mono); font-weight: 900;
}

/* Rank 1 — large gold circle with crosshatch pattern and inner glow ring */
.lb-rank.r1 {
  width: 44px; height: 44px;
  border-radius: 50%;
  background:
    repeating-linear-gradient( 45deg, transparent, transparent 3px, rgba(0,0,0,0.09) 3px, rgba(0,0,0,0.09) 4px),
    repeating-linear-gradient(-45deg, transparent, transparent 3px, rgba(0,0,0,0.09) 3px, rgba(0,0,0,0.09) 4px),
    linear-gradient(135deg, #fff9d6 0%, #f8d794 35%, #e8a820 68%, #c47800 100%);
  color: #1a0800;
  font-size: 16px;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.60),
    inset 0 0 0 5px rgba(248, 215, 148, 0.22),
    0 0 22px rgba(248, 215, 148, 0.70),
    0 5px 18px rgba(0, 0, 0, 0.50);
}

/* Rank 2 — rounded square rotated 45° (diamond jewel), silver with horizontal lines */
.lb-rank.r2 {
  width: 34px; height: 34px;
  border-radius: 9px;
  transform: rotate(45deg);
  background:
    repeating-linear-gradient(90deg, transparent, transparent 4px, rgba(255,255,255,0.10) 4px, rgba(255,255,255,0.10) 5px),
    linear-gradient(135deg, #f4f4f4 0%, #c8c8c8 40%, #989898 78%, #d4d4d4 100%);
  color: #1a1a1a;
  font-size: 11px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -1px 0 rgba(0, 0, 0, 0.20),
    0 4px 12px rgba(0, 0, 0, 0.45);
}
.lb-rank.r2 .lb-rank-num { transform: rotate(-45deg); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 900; }

/* Rank 3 — pentagon/shield via clip-path, bronze with diagonal lines */
.lb-rank.r3 {
  width: 38px; height: 42px;
  clip-path: polygon(50% 0%, 100% 22%, 100% 76%, 50% 100%, 0% 76%, 0% 22%);
  background:
    repeating-linear-gradient(-45deg, transparent, transparent 3px, rgba(255,255,255,0.09) 3px, rgba(255,255,255,0.09) 4px),
    linear-gradient(150deg, #e8b07a 0%, #b87333 42%, #7a4010 80%, #c07840 100%);
  color: #1a0800;
  font-size: 13px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 6px rgba(184, 115, 51, 0.40));
}

/* Rank 4-5 — subtle gold circle */
.lb-rank.r45 {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(248, 215, 148, 0.10);
  color: var(--gold);
  font-size: 13px;
  border: 1px solid var(--gold-soft);
}

.lb-info { display: flex; flex-direction: column; flex: 1; }
.lb-name { font-weight: 700; font-size: 13px; font-family: var(--serif); letter-spacing: 0.2px; }
.lb-id { font-size: 9.5px; color: var(--text-dim); font-family: var(--mono); margin-top: 1px; }
.lb-amount { font-family: var(--mono); font-weight: 800; font-size: 12.5px; color: var(--gold); flex-shrink: 0; }

.lb-rest { display: flex; flex-direction: column; gap: 7px; }
.lb-mini {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 13px;
  border-radius: 12px;
  background: rgba(10,2,3,0.28);
  border: 1px solid rgba(248,215,148,0.08);
}
.lb-mini-rank {
  width: 20px; text-align: center;
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  color: var(--text-dim);
}
.lb-mini-name { flex: 1; font-weight: 600; font-size: 12px; }
.lb-mini-amount { font-family: var(--mono); font-size: 11px; color: var(--gold); font-weight: 700; }

/* Voucher Inc Prem */
.voucher-type-list { display: flex; flex-direction: column; gap: 10px; }
.voucher-type-card {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(10,2,3,0.38);
  border: 1.5px solid rgba(248,215,148,0.13);
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
  width: 100%; text-align: left;
  color: var(--cream);
}
.voucher-type-card:active { border-color: var(--gold); background: rgba(248,215,148,0.06); }
.voucher-type-name { font-weight: 700; font-size: 14px; font-family: var(--serif); }
.voucher-type-price { font-family: var(--mono); font-size: 12px; color: var(--gold); font-weight: 700; }
.voucher-type-price.unset { color: var(--text-dim); font-style: italic; font-size: 11px; }
.topup-upload-text { font-size: 13px; color: var(--text-dim); text-align: center; }
