html {
	height: 100%;
	background:#08080f;
	background-color:#08080f;
	font-size: 100%;
	text-size-adjust: 100%;
}

body {
	min-height: 100%;
	font-size: 1rem;
	font-weight: 400;
	display: flex;
	flex-direction: column;
	position: relative;
	color: #cbd5e1;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	overflow-x: hidden;
	padding-top: 60px;
	background-color: #08060f;
	background:
	radial-gradient(ellipse at 20% 15%, rgba(124, 58, 237, 0.10) 0%, transparent 55%),
	radial-gradient(ellipse at 80% 85%, rgba(0, 255, 200, 0.08) 0%, transparent 55%),
	radial-gradient(ellipse at 50% 50%, rgba(255, 0, 128, 0.04) 0%, transparent 70%),
	linear-gradient(160deg, #0a0a14 0%, #0f0f1e 50%, #08080f 100%);
	background-repeat: no-repeat;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }

* { box-sizing: border-box; margin: 0; padding: 0; }

.ff-main { flex: 1 0 auto; padding: 20px; }

.ff-main-wrap { max-width: 1200px; margin: 0 auto; }

/* ==================================================================
   FOOTER
   ================================================================== */
.footer {
	flex-shrink: none;
	margin-top: 40px;
	padding: 20px;;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-align: center;
	background: rgba(15, 12, 28, 0.6);
	border-top: 1px solid rgba(167, 139, 250, 0.15);
	color: #94a3b8;
}
.footer-link {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #a78bfa;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}
.footer-link:hover {
  color: #22d3ee;
  text-shadow: 0 0 14px rgba(34, 211, 238, 0.45);
}
.footer-copy {
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

img { max-width: 100%; height: auto; vertical-align: middle; border-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: inherit; }

.cf-turnstile { margin: 0 auto; }

/* ==================================================================
   NAVBAR — Glassmorphism
   ================================================================== */
.ff-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 60px;
  background: rgba(15, 12, 28, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(167, 139, 250, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 2;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03), 0 8px 32px rgba(0, 0, 0, 0.4);
}
/* ==================================================================
   BRAND / LOGO NAVBAR — moving gradient
   ================================================================== */
.ff-brand-text {
  font-size: clamp(1.25rem, 4vw, 1.7rem);
  background: linear-gradient(90deg, #a78bfa, #22d3ee, #f472b6, #a78bfa);
  background-size: 300% 100%;
  animation: ffBrandGradient 30s linear infinite;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 900;
  filter: drop-shadow(0 8px 32px rgba(167, 139, 250, 0.35));
}

@keyframes ffBrandGradient {
  to { background-position: 300% 0; }
}

/* ==================================================================
   USER MENU — tombol akun + dropdown
   ================================================================== */
.ff-user-menu { position: relative; }

.ff-user-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(167, 139, 250, 0.08);
  border: 1px solid rgba(167, 139, 250, 0.15);
  border-radius: 12px;
  color: #f1f5f9;
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ff-user-toggle:hover {
  border-color: rgba(236, 72, 153, 0.5);
  box-shadow: 0 0 24px rgba(236, 72, 153, 0.25);
  transform: translateY(-1px);
}

.ff-user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 190px;
  padding: 8px;
  background: rgba(20, 16, 38, 0.95);
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: 16px;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(167, 139, 250, 0.1), 0 0 40px rgba(167, 139, 250, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.ff-user-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

.ff-user-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ff-user-dropdown a:hover {
  background-color: rgba(167, 139, 250, 0.14);
  color: #f1f5f9;
}

.ff-user-dropdown a.ff-danger:hover {
  background-color: rgba(251, 113, 133, 0.12);
  color: #fb7185;
}

/* ==================================================================
   HERO 
   ================================================================== */
.ff-hero {
  padding: 40px 20px 24px;
  text-align: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.ff-hero::before {
  content: '';
  position: absolute;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 120px;
  background: radial-gradient(ellipse, rgba(167, 139, 250, 0.25), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
}
.ff-hero h1 {
  font-size: clamp(28px, 5vw, 46px);
  margin: 0 0 5px;
  color: #22d3ee;
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.3;
  padding-bottom: 0.08em;
  filter: drop-shadow(0 8px 32px rgba(167, 139, 250, 0.35));
}

.ff-hero p {
  color: #94a3b8;
  font-size: clamp(13px, 1.5vw, 16px);
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.2px;
}
.ff-hero-badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}
.ff-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: rgba(167, 139, 250, 0.06);
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: 999px;
  font-size: 12px;
  color: #cbd5e1;
  font-weight: 600;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.ff-hero-badge i { color: #34d399; font-size: 13px; }
.ff-hero-badge:hover {
  border-color: rgba(236, 72, 153, 0.5);
  background: rgba(236, 72, 153, 0.08);
  transform: translateY(-2px);
  box-shadow: inset 0 0 16px rgba(236, 72, 153, 0.18);
}

/* ==================================================================
   SECTION TITLE — Gradient Pill
   ================================================================== */
.ff-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 22px;
  background: rgba(20, 16, 38, 0.6);
  border: 1px solid rgba(167, 139, 250, 0.15);
  border-radius: 16px;
  margin: 36px 0 18px;
  position: relative;
  overflow: hidden;
  transition: 0.3s;
}

.ff-section-title .ff-crown-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px currentColor);
}

.ff-section-title.ff-stars {
  color: #60a5fa;
  box-shadow: 0 0 40px rgba(96, 165, 250, 0.08);
}
.ff-section-title.ff-diamonds {
  color: #c084fc;
  box-shadow: 0 0 40px rgba(192, 132, 252, 0.08);
}
.ff-section-title.ff-crowns {
  color: #fbbf24;
  box-shadow: 0 0 40px rgba(251, 191, 36, 0.08);
}
.ff-section-title.ff-flames {
  color: #f87171;
  box-shadow: 0 0 40px rgba(248, 113, 113, 0.08);
}
.ff-section-title.ff-premium {
  color: #22d3ee;
  box-shadow: 0 0 40px rgba(34, 211, 238, 0.08);
}

/* ==================================================================
   PRODUK-GRID
   ================================================================== */
.ff-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 20px;
}

.ff-item-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 34px 16px 28px;
  text-decoration: none;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  contain: paint;
  box-shadow: inset 0 0 0 0 rgba(0, 0, 0, 0);
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.ff-item-card:hover {
  transform: translateY(-1px);
}

.ff-item-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ff-item-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ff-item-card:nth-child(6n+1):hover {
  border-color: rgba(167, 139, 250, 0.6);
  background-color: rgba(167, 139, 250, 0.08);
  box-shadow: inset 0 0 22px rgba(167, 139, 250, 0.18);
}
.ff-item-card:nth-child(6n+2):hover {
  border-color: rgba(34, 211, 238, 0.6);
  background-color: rgba(34, 211, 238, 0.08);
  box-shadow: inset 0 0 22px rgba(34, 211, 238, 0.18);
}
.ff-item-card:nth-child(6n+3):hover {
  border-color: rgba(244, 114, 182, 0.6);
  background-color: rgba(244, 114, 182, 0.08);
  box-shadow: inset 0 0 22px rgba(244, 114, 182, 0.18);
}
.ff-item-card:nth-child(6n+4):hover {
  border-color: rgba(52, 211, 153, 0.6);
  background-color: rgba(52, 211, 153, 0.08);
  box-shadow: inset 0 0 22px rgba(52, 211, 153, 0.18);
}
.ff-item-card:nth-child(6n+5):hover {
  border-color: rgba(251, 191, 36, 0.6);
  background-color: rgba(251, 191, 36, 0.08);
  box-shadow: inset 0 0 22px rgba(251, 191, 36, 0.18);
}
.ff-item-card:nth-child(6n+6):hover {
  border-color: rgba(96, 165, 250, 0.6);
  background-color: rgba(96, 165, 250, 0.08);
  box-shadow: inset 0 0 22px rgba(96, 165, 250, 0.18);
}

.ff-item-card:nth-child(6n+1):active { box-shadow: inset 0 0 18px rgba(167, 139, 250, 0.14); }
.ff-item-card:nth-child(6n+2):active { box-shadow: inset 0 0 18px rgba(34, 211, 238, 0.14); }
.ff-item-card:nth-child(6n+3):active { box-shadow: inset 0 0 18px rgba(244, 114, 182, 0.14); }
.ff-item-card:nth-child(6n+4):active { box-shadow: inset 0 0 18px rgba(52, 211, 153, 0.14); }
.ff-item-card:nth-child(6n+5):active { box-shadow: inset 0 0 18px rgba(251, 191, 36, 0.14); }
.ff-item-card:nth-child(6n+6):active { box-shadow: inset 0 0 18px rgba(96, 165, 250, 0.14); }

.ff-item-card:nth-child(6n+1) .ff-item-icon img { filter: drop-shadow(0 4px 16px rgba(167, 139, 250, 0.9)); }
.ff-item-card:nth-child(6n+2) .ff-item-icon img { filter: drop-shadow(0 4px 16px rgba(34, 211, 238, 0.9)); }
.ff-item-card:nth-child(6n+3) .ff-item-icon img { filter: drop-shadow(0 4px 16px rgba(244, 114, 182, 0.9)); }
.ff-item-card:nth-child(6n+4) .ff-item-icon img { filter: drop-shadow(0 4px 16px rgba(52, 211, 153, 0.9)); }
.ff-item-card:nth-child(6n+5) .ff-item-icon img { filter: drop-shadow(0 4px 16px rgba(251, 191, 36, 0.9)); }
.ff-item-card:nth-child(6n+6) .ff-item-icon img { filter: drop-shadow(0 4px 16px rgba(96, 165, 250, 0.9)); }

.ff-item-label {
  font-size: 13px;
  color: #cbd5e1;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.ff-item-price {
  font-size: 16px;
  font-weight: 900;
  background: linear-gradient(90deg, #34d399, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: -0.3px;
  filter: drop-shadow(0 0 12px rgba(52, 211, 153, 0.4));
}
.ff-item-badge {
  position: absolute;
  top: 8px; right: 8px;
  background: linear-gradient(135deg, #fbbf24, #f472b6, #a78bfa);
  color: #0f0a1e;
  font-size: 9px;
  font-weight: 900;
  padding: 5px 10px;
  border-radius: 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(251, 191, 36, 0.5), 0 0 24px rgba(244, 114, 182, 0.3);
}

/* ==================================================================
   GRID GIFTS — Bento Glass
   ================================================================== */
.ff-gift-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 22px;
  contain: paint;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.ff-gift-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  border-radius: 10px;
  overflow: hidden;
}

.ff-gift-card img {
  width: 50px; height: 44px;
  object-fit: contain;
  margin-bottom: 5px;
  filter: drop-shadow(0 2px 8px rgba(167, 139, 250, 0.3));
}

.ff-gift-points {
  font-size: 11px;
  color: #22d3ee;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

/* ==================================================================
   MODAL — Glassmorphism + Neon
   ================================================================== */
.ff-loading-modal { display: none; position: fixed; inset: 0; z-index: 10; }
.ff-modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 6, 15, 0.55);
  z-index: 9;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 100px 20px 40px;
  overflow-y: auto;
  animation: ffModalFade 0.3s ease;
}
@keyframes ffModalFade { from { opacity: 0; } to { opacity: 1; } }

.ff-modal-content {
  width: 100%;
  max-width: 460px;
  /* warna solid senada halaman (tanpa gradient) */
  background: rgba(20, 16, 38, 0.94);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(167, 139, 250, 0.18);
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(167, 139, 250, 0.1),
    0 0 80px rgba(167, 139, 250, 0.2);
  animation: ffModalSlide 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}
.ff-modal-content::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(167, 139, 250, 0.45);
}
@keyframes ffModalSlide {
  from { opacity: 0; transform: translateY(-30px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.ff-modal-sm { max-width: 420px; }

.ff-modal-header {
  display: flex;
  align-items: center;
  background: rgba(20, 16, 38, 0.6); /* sama dengan .ff-section-title */
  border-bottom: 1px solid rgba(167, 139, 250, 0.12);
  padding: 0 8px;
  position: relative;
}
.ff-modal-header-center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 28px 28px;
  background: rgba(167, 139, 250, 0.06);
}
.ff-tab {
  padding: 18px 22px;
  font-size: 14px;
  font-weight: 700;
  color: #94a3b8;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
  user-select: none;
  letter-spacing: 0.3px;
}
.ff-tab:hover { color: #f1f5f9; }
.ff-tab-active { color: #f1f5f9; }
.ff-tab-active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 22px; right: 22px;
  height: 2px;
  background: #a78bfa;
  border-radius: 3px 3px 0 0;
  box-shadow: 0 0 16px rgba(167, 139, 250, 0.7);
  /* animasi tabGlow dihapus: opacity berulang membuat garis tab berkedip */
}
.ff-modal-close {
  margin-left: auto;
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #94a3b8;
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ff-modal-close:hover {
  background: rgba(251, 113, 133, 0.12);
  color: #fb7185;
  transform: rotate(90deg) scale(1.1);
}
.ff-modal-body { padding: 28px 28px 32px; }

/* Field & input */
.ff-field { position: relative; margin-bottom: 14px; }
.ff-field-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 16px;
  pointer-events: none;
  transition: color 0.3s ease;
}
.ff-field:focus-within .ff-field-icon {
  color: #a78bfa;
  filter: drop-shadow(0 0 8px rgba(167, 139, 250, 0.6));
}
.ff-input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  background: rgba(8, 6, 15, 0.6);
  border: 1px solid rgba(167, 139, 250, 0.15);
  border-radius: 14px;
  color: #f1f5f9;
  font-size: 14px;
  transition: all 0.3s ease;
  outline: none;
}
.ff-input::placeholder { color: #64748b; }
.ff-input:hover { border-color: rgba(167, 139, 250, 0.35); }
.ff-input:focus {
  border-color: #a78bfa;
  box-shadow:
    0 0 0 4px rgba(167, 139, 250, 0.12),
    0 0 24px rgba(167, 139, 250, 0.2);
  background: rgba(15, 12, 28, 0.8);
}

/* Password field */
.ff-field input[name="password"] { padding-right: 42px; }
.ff-toggle-password {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #64748b;
  font-size: 16px;
  transition: color 0.25s ease;
  z-index: 2;
}
.ff-toggle-password:hover { color: #fbbf24; filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.6)); }

/* Forgot link */
.ff-forgot-wrap { display: flex; justify-content: flex-end; margin: -4px 0 20px; }
.ff-forgot {
  font-size: 13px;
  font-weight: 600;
  color: #a78bfa;
  cursor: pointer;
  border-bottom: 1px dashed rgba(167, 139, 250, 0.5);
  padding-bottom: 1px;
  transition: all 0.3s ease;
}
.ff-forgot:hover {
  color: #c4b5fd;
  border-bottom-color: #a78bfa;
  filter: drop-shadow(0 0 8px rgba(167, 139, 250, 0.55));
}

/* Buttons */
.ff-btn-primary {
  width: 100%;
  padding: 15px 24px;
  background: #a78bfa;
  color: #0f0a1e;
  border: none;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 8px 24px rgba(167, 139, 250, 0.4),
    0 4px 12px rgba(167, 139, 250, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  letter-spacing: 0.4px;
  position: relative;
  overflow: hidden;
}
.ff-btn-primary:hover {
  transform: translateY(-3px);
  background: #b9a3ff;
  box-shadow:
    0 16px 40px rgba(167, 139, 250, 0.55),
    0 8px 20px rgba(167, 139, 250, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.ff-btn-primary:active { transform: translateY(-1px) scale(0.99); }

.ff-btn-ghost {
  width: 100%;
  padding: 13px 20px;
  background: transparent;
  color: #94a3b8;
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 12px;
}
.ff-btn-ghost:hover {
  background: rgba(251, 113, 133, 0.08);
  border-color: rgba(251, 113, 133, 0.45);
  color: #fb7185;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(251, 113, 133, 0.15);
}

/* Lost password view */
.ff-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #94a3b8;
  cursor: pointer;
  margin-bottom: 16px;
  padding: 6px 10px;
  margin-left: -10px;
  border-radius: 8px;
  transition: all 0.25s ease;
}
.ff-back:hover {
  color: #a78bfa;
  background-color: rgba(167, 139, 250, 0.08);
}
.ff-lost-title { font-size: 18px; font-weight: 800; color: #f1f5f9; margin-bottom: 8px; }
.ff-lost-desc { font-size: 13px; color: #94a3b8; line-height: 1.6; margin-bottom: 20px; }

/* Verify modal */
.ff-verify-badge {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: #a78bfa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #0f0a1e;
  margin-bottom: 16px;
  box-shadow:
    0 12px 40px rgba(167, 139, 250, 0.5),
    0 0 0 8px rgba(167, 139, 250, 0.1),
    0 0 60px rgba(167, 139, 250, 0.3);
  animation: ffBadgePop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes ffBadgePop {
  from { transform: scale(0) rotate(-180deg); opacity: 0; }
  to   { transform: scale(1) rotate(0deg); opacity: 1; }
}
.ff-verify-title { margin: 0 0 6px; font-size: 20px; font-weight: 800; color: #f1f5f9; }
.ff-verify-subtitle { margin: 0; font-size: 13px; color: #94a3b8; }
.ff-field-code { margin-bottom: 20px; }
.ff-input-code {
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 8px;
  font-family: 'Courier New', monospace;
  padding: 16px 44px;
  text-indent: 8px;
  background: rgba(8, 6, 15, 0.7);
  color: #a78bfa;
  text-transform: uppercase;
}

.ff-input-code::placeholder { color: #3a4a5e; letter-spacing: 8px; }
.ff-input-code:focus { border-color: #a78bfa; box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.15), 0 0 32px rgba(167, 139, 250, 0.25); }
.ff-turnstile { margin: 16px 0 20px; display: flex; justify-content: center; }

/* ==================================================================
   WHATSAPP FLOAT
   ================================================================== */
.ff-wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 58px; height: 58px;
  background: linear-gradient(135deg, #34d399, #10b981, #059669);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 27px;
  box-shadow:
    0 12px 32px rgba(52, 211, 153, 0.5),
    0 0 0 1px rgba(52, 211, 153, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 5;
}
.ff-wa-float:hover {
  box-shadow:
    0 12px 32px rgba(52, 211, 153, 0.5),
    0 0 0 1px rgba(52, 211, 153, 0.4),
    0 0 60px rgba(52, 211, 153, 0.4);
}

/* ==================================================================
   RESPONSIVE
   ================================================================== */
@media (max-width: 640px) {
  .ff-navbar { padding: 0 12px; }
  .ff-user-toggle { padding: 8px 12px; font-size: 13px; }

  .ff-hero { padding: 28px 16px 16px; }
  .ff-main-wrap { padding: 16px 12px 36px; }
  .footer { padding: 22px 16px 26px; gap: 7px; }
  .ff-item-badge { top: 8px; right: 8px; font-size: 8px; padding: 4px 7px; letter-spacing: 0.4px; }
  .ff-item-icon { width: 46px; height: 46px; }
  .ff-item-label { font-size: 12px; }
  .ff-item-price { font-size: 14px; }
  .ff-gift-grid { grid-template-columns: repeat(auto-fill, minmax(85px, 1fr)); padding: 16px; gap: 8px; }
  .ff-gift-card img { width: 38px; height: 38px; }
  .ff-gift-points { font-size: 10px; }
  .ff-section-title { font-size: 12px; padding: 12px 16px; }
  .ff-wa-float { width: 52px; height: 52px; font-size: 23px; bottom: 16px; right: 16px; }
  .ff-modal { padding: 60px 12px 20px; }
  .ff-modal-body { padding: 22px 20px 26px; }
  .ff-tab { padding: 16px 16px; font-size: 13px; }
  .ff-tab-active::after { left: 16px; right: 16px; }
  .ff-input { padding: 13px 14px 13px 42px; font-size: 13px; }
  .ff-field-icon { left: 14px; font-size: 15px; }
  .ff-btn-primary { padding: 14px 20px; font-size: 14px; }
}

/* Breakpoint grid produk disamakan dengan kartu Praya */
@media (max-width: 600px) {
  .ff-product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 360px) {
  .ff-product-grid { grid-template-columns: 1fr; }
}


/* ==================================================================
   LOADER — Neon Dots
   ================================================================== */
.loader {
  height: 20px;
  width: 250px;
  position: absolute;
  top: 0; bottom: 0; left: 0; right: 0;
  margin: auto;
}
.loader--dot {
  animation-name: loader;
  animation-timing-function: ease-in-out;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  height: 20px;
  width: 20px;
  border-radius: 100%;
  background-color: black;
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.9);
}
.loader--dot:first-child   { background-color: #34d399; animation-delay: 0.5s; box-shadow: 0 0 16px #34d399; }
.loader--dot:nth-child(2)  { background-color: #a78bfa; animation-delay: 0.4s; box-shadow: 0 0 16px #a78bfa; }
.loader--dot:nth-child(3)  { background-color: #ec4899; animation-delay: 0.3s; box-shadow: 0 0 16px #ec4899; }
.loader--dot:nth-child(4)  { background-color: #fbbf24; animation-delay: 0.2s; box-shadow: 0 0 16px #fbbf24; }
.loader--dot:nth-child(5)  { background-color: #22d3ee; animation-delay: 0.1s; box-shadow: 0 0 16px #22d3ee; }
.loader--dot:nth-child(6)  { background-color: #fde047; animation-delay: 0s;   box-shadow: 0 0 16px #fde047; }

.loader--text {
  position: absolute;
  top: 200%; left: 0; right: 0;
  margin: auto;
  text-align: center;
  white-space: nowrap;
  color: #d1c8ec;
  font-weight: 700;
  text-shadow: 0 0 12px rgba(167, 139, 250, 0.6);
}
.loader--text:after {
  content: "Loading";
  animation-name: loading-text;
  animation-duration: 3s;
  animation-iteration-count: infinite;
}

@keyframes loader {
  15% { transform: translateX(0); }
  45% { transform: translateX(230px); }
  65% { transform: translateX(230px); }
  95% { transform: translateX(0); }
}
@keyframes loading-text {
  0%  { content: "Loading"; }
  25% { content: "Loading."; }
  50% { content: "Loading.."; }
  75% { content: "Loading..."; }
}