/* ==========================================================================
   GASTERUS v3 — PREMIUM MOBILE INTERFACE (Blue/Grey Edition)
   Replika Presisi Layout Mobile Cindototo/Sbototo dengan Skema Biru Abu-abu
   ========================================================================== */

/* --- 1. Global Reset & Box Sizing (Fix Container Overflow) --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: #050b14;
  background-image: url('/assets/bg-main.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #f8fafc;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

.site {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
  background-color: #040814;
  background-image:
    linear-gradient(180deg, rgba(4,8,20,0.68) 0%, rgba(7,18,36,0.78) 40%, rgba(3,6,16,0.84) 100%),
    radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.32) 0%, transparent 58%),
    radial-gradient(circle at 100% 100%, rgba(56, 189, 248, 0.12) 0%, transparent 50%),
    url('/assets/bg-main.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: scroll;
  position: relative;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.95);
  border-left: 1px solid #1e293b;
  border-right: 1px solid #1e293b;
  padding-bottom: 25px;
}

/* --- 2. Top Android App Download Banner --- */
.app-banner {
  background: linear-gradient(180deg, #0f203c 0%, #071120 100%);
  border-bottom: 2px solid #2563eb;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  position: relative;
}

.app-close {
  background: none;
  border: none;
  color: #f87171;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  padding: 2px 4px;
}

.app-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #000000;
  border: 1px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.3);
  overflow: hidden;
}
.app-logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 0 4px rgba(56, 189, 248, 0.5));
}

.app-info {
  flex: 1;
  min-width: 0;
}

.app-title {
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3px;
  line-height: 1.2;
  text-shadow: 0 1px 2px #000;
}

.app-sub {
  color: #93c5fd;
  font-size: 9.5px;
  line-height: 1.2;
}

.app-btn-dl {
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #93c5fd;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 2px 6px rgba(0, 0, 0, 0.4);
  text-decoration: none;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  transition: transform 0.12s ease, background 0.15s ease;
}

.app-btn-dl:hover {
  background: linear-gradient(180deg, #4c9aff 0%, #2b6de0 100%);
}

.app-btn-dl:active {
  transform: translateY(2px);
}

/* --- 3. Brand Bar --- */
.brand-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 10px 16px;
  background: linear-gradient(180deg, #0b1526 0%, #050b14 100%);
  border-bottom: 1px solid #1e3a8a;
  min-height: 62px;
}

.brand-title {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-right: auto;
  flex-shrink: 0;
  background: transparent;
  background-color: transparent;
  border: 0;
  box-shadow: none;
  line-height: 0;
  overflow: visible;
}

.brand-title picture {
  display: contents;
  background: transparent;
  background-color: transparent;
  border: 0;
  line-height: 0;
}

.brand-logo-img {
  /* Logo upload user 626x160px — rasio ~3.9:1 */
  height: 48px;
  width: auto !important;
  max-width: 220px;
  object-fit: contain;
  object-position: left center;
  display: block;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  outline: none;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  transition: transform 0.25s ease;
}

/* ── Efek Berkilau Seperti GIF pada Logo ── */
@keyframes logoShineSweep {
  0% {
    left: -140%;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  35% {
    left: 140%;
    opacity: 1;
  }
  36%, 100% {
    left: 140%;
    opacity: 0;
  }
}

@keyframes logoSparkleGlow {
  0%, 100% {
    filter: drop-shadow(0 0 4px rgba(250, 204, 21, 0.4))
            drop-shadow(0 0 10px rgba(59, 130, 246, 0.35));
  }
  18% {
    filter: drop-shadow(0 0 14px rgba(255, 230, 100, 0.95))
            drop-shadow(0 0 28px rgba(59, 130, 246, 0.8))
            drop-shadow(0 0 38px rgba(255, 215, 0, 0.5));
  }
  35% {
    filter: drop-shadow(0 0 6px rgba(100, 180, 255, 0.6))
            drop-shadow(0 0 14px rgba(250, 204, 21, 0.4));
  }
}

.logo-shine-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border-radius: 4px;
}

/* Berkas kilatan cahaya diagonal yang menyapu berkala */
.logo-shine-wrap::after {
  content: '';
  position: absolute;
  top: -20%;
  left: -140%;
  width: 65%;
  height: 140%;
  background: linear-gradient(
    110deg,
    transparent 15%,
    rgba(255, 255, 255, 0.1) 30%,
    rgba(255, 255, 255, 0.85) 48%,
    rgba(255, 240, 150, 0.9) 52%,
    rgba(255, 255, 255, 0.7) 58%,
    rgba(147, 197, 253, 0.3) 70%,
    transparent 85%
  );
  transform: skewX(-24deg);
  animation: logoShineSweep 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
  z-index: 3;
}

.logo-shine-wrap .brand-logo-img,
.logo-shine-wrap .sb-logo-img,
.logo-shine-wrap img {
  position: relative;
  z-index: 1;
  animation: logoSparkleGlow 3s ease-in-out infinite;
  will-change: filter;
}

/* Scoped per halaman */
.page-home .brand-logo-img {
  height: 48px;
  max-width: 220px;
}

.page-member .brand-logo-img {
  height: 36px;
  max-width: 170px;
}

@media (max-width: 480px) {
  .brand-logo-img {
    height: 38px;
    max-width: 175px;
  }
  .page-home .brand-logo-img {
    height: 38px;
    max-width: 175px;
  }
  .page-member .brand-logo-img {
    height: 32px;
    max-width: 150px;
  }
  .brand-bar {
    padding: 8px 12px;
    min-height: 54px;
    gap: 10px;
  }
}

.btn-livechat {
  background: linear-gradient(180deg, #ffffff 0%, #e2e8f0 60%, #cbd5e1 100%);
  color: #071120;
  font-size: 11.5px;
  font-weight: 900;
  border-radius: 999px;
  padding: 6px 16px;
  border: 1px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: transform 0.12s ease, background 0.15s ease;
}

.btn-livechat:hover {
  background: linear-gradient(180deg, #f5f5f5 0%, #e8edf0 60%, #d1d9e1 100%);
}

.btn-livechat:active {
  transform: translateY(1px);
}

/* --- Marquee Bar (styling defined in Section 22) --- */

.marquee-inner {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: mqScroll 28s linear infinite;
  font-size: 11px;
  font-weight: 700;
  color: #f1f5f9;
  letter-spacing: 0.5px;
}

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

/* --- 5. Hero Banner 3D Smooth Slider --- */
.hero-banner-3d {
  padding: 8px 10px;
  perspective: 1200px;
}

.banner-slider-wrapper {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid rgba(56, 189, 248, 0.7);
  background: #050b14;
  box-shadow: 0 8px 28px rgba(14, 165, 233, 0.35), 0 0 20px rgba(234, 179, 8, 0.2);
  transform-style: preserve-3d;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  user-select: none;
  -webkit-user-select: none;
}

.banner-slider-wrapper:hover {
  border-color: #38bdf8;
  box-shadow: 0 12px 36px rgba(56, 189, 248, 0.55), 0 0 24px rgba(234, 179, 8, 0.3);
}

.banner-slides-track {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background: #050b14;
}

.banner-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%) scale(0.92) rotateY(-8deg);
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.55s ease, visibility 0.65s ease;
  will-change: transform, opacity;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1) rotateY(0deg);
  z-index: 2;
}

.banner-slide.prev-slide {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-100%) scale(0.92) rotateY(8deg);
  z-index: 1;
}

.hero-banner-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  line-height: 0;
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

/* Tombol Navigasi 3D Prev / Next */
.banner-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgba(7, 17, 32, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(56, 189, 248, 0.7);
  border-radius: 50%;
  color: #f1f5f9;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  padding: 0;
  outline: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.banner-nav-btn:hover {
  background: rgba(14, 165, 233, 0.9);
  border-color: #facc15;
  color: #ffffff;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.8), 0 0 10px rgba(250, 204, 21, 0.6);
}

.banner-nav-prev {
  left: 10px;
}

.banner-nav-next {
  right: 10px;
}

/* Dots Indikator 3D */
.banner-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
  padding: 4px 10px;
  background: rgba(5, 11, 20, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 16px;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.banner-dot.active {
  width: 22px;
  border-radius: 6px;
  background: linear-gradient(90deg, #f59e0b 0%, #38bdf8 100%);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.85);
}

.banner-content {
  text-align: center;
  padding: 18px 12px;
}

.banner-badge {
  display: inline-block;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  color: #071120;
  font-size: 10px;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 1px;
  margin-bottom: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.banner-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(56, 189, 248, 0.6);
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.banner-sub {
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 700;
  margin-top: 4px;
}

/* --- 6. Quick Menu (5 Tiles) --- */
.quick-menu {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  padding: 8px 10px 12px;
}

@media (max-width: 320px) {
  .quick-menu {
    grid-template-columns: repeat(3, 1fr);
  }
}

.qm-item {
  background: linear-gradient(180deg, #112240 0%, #08111e 100%);
  border: 1.5px solid rgba(203, 213, 225, 0.35);
  border-radius: 8px;
  padding: 8px 2px 6px;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 4px 10px rgba(0, 0, 0, 0.55);
  min-height: 72px;
  transition: background 0.15s ease, transform 0.12s ease;
  text-decoration: none;
}

.qm-item:hover {
  background: linear-gradient(180deg, #162740 0%, #111c2b 100%);
}

.qm-item:active {
  transform: scale(0.96);
  filter: brightness(1.2);
}

.qm-icon {
  font-size: 22px;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.qm-label {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #f1f5f9;
  text-shadow: 0 1px 2px #000;
  white-space: nowrap;
}

/* --- 7. Login Section (PERBAIKAN TOTAL: RAPI, PRESISI, TIDAK OVERFLOW, TEXT CENTER) --- */
.login-section {
  padding: 14px 16px 18px;
  background: rgba(7, 17, 34, 0.88);
  border-top: 1px solid #1e3a8a;
  border-bottom: 1px solid #1e3a8a;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.login-title {
  text-align: center;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #ffffff;
  margin-bottom: 12px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

/* Input Wrapper: Rounded Pill Container */
.inp-wrap {
  display: flex;
  align-items: stretch;
  background: #ffffff;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
  height: 44px;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.45);
  border: 1.5px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.inp-wrap:focus-within {
  border-color: #38bdf8;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.6);
}

/* Kotak Badge Icon di Kiri */
.inp-icon {
  width: 46px;
  height: 100%;
  background: linear-gradient(180deg, #ffffff 0%, #e2e8f0 100%);
  color: #2563eb;
  border-right: 1px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  box-sizing: border-box;
}

/* Input Box: Text Wajib di Tengah (text-align: center) */
.inp-wrap input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: none;
  outline: none;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  text-align: center !important;
  background: #ffffff;
  box-sizing: border-box;
  font-family: inherit;
}

.inp-wrap input::placeholder {
  color: #888888;
  font-weight: 500;
  text-align: center !important;
}

/* Spacer kanan untuk username agar simetris sempurna dengan tombol eye pada password */
.inp-eye-spacer {
  width: 42px;
  height: 100%;
  flex-shrink: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Tombol Mata Toggle Password di Kanan */
.inp-eye {
  width: 42px;
  height: 100%;
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 17px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
  transition: color 0.15s ease;
}

.inp-eye:hover {
  color: #0f172a;
}

/* Opsi Lite Mode */
.lite-mode {
  font-size: 11.5px;
  color: #cbd5e1;
  margin: 2px 0 10px 8px;
  text-shadow: 1px 1px 2px #000;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
}

.lite-mode input[type="checkbox"] {
  accent-color: #38bdf8;
  width: 14px;
  height: 14px;
  cursor: pointer;
}

/* 3D Gold Pill Button: Log in */
.btn-login {
  width: 100%;
  height: 44px;
  background: linear-gradient(180deg, #ffffff 0%, #e2e8f0 50%, #cbd5e1 100%);
  border: none;
  border-radius: 999px;
  color: #071120;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.6px;
  cursor: pointer;
  box-shadow: 0 3px 0 #94a3b8, 0 6px 16px rgba(0, 0, 0, 0.6);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.12s ease, filter 0.12s ease, background 0.15s ease;
  box-sizing: border-box;
}

.btn-login:hover {
  background: linear-gradient(180deg, #f5f5f5 0%, #e8edf0 50%, #d1d9e1 100%);
}

.btn-login:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #94a3b8, 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* 3D Blue/Slate Pill Button: Daftar */
.btn-daftar {
  width: 100%;
  height: 44px;
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 55%, #1e3a8a 100%);
  border: none;
  border-radius: 999px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.6px;
  cursor: pointer;
  box-shadow: 0 3px 0 #172554, 0 6px 16px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  transition: transform 0.12s ease, filter 0.12s ease, background 0.15s ease;
  box-sizing: border-box;
  text-decoration: none;
}

.btn-daftar:hover {
  background: linear-gradient(180deg, #4c9aff 0%, #2b6de0 55%, #172b53 100%);
}

.btn-daftar:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #172554, 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* --- 8. Search Area & Domain Box --- */
.search-section {
  padding: 14px 16px 8px;
  text-align: center;
}

.sec-label {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 3px #000;
  margin-bottom: 8px;
}

.search-domain-row {
  margin-bottom: 10px;
}

.domain-pill {
  width: 100%;
  height: 42px;
  background: #020610;
  border: 1.5px solid #cbd5e1;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 16px;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 3px 10px rgba(0, 0, 0, 0.6);
  transition: transform 0.12s ease, border-color 0.2s ease;
}

.domain-pill:active {
  transform: translateY(1px);
}

.domain-pill-icon {
  position: absolute;
  left: 5px;
  width: 32px;
  height: 32px;
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #ffffff;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.4);
}

.domain-pill-text {
  color: #38bdf8;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.btn-wide-silver {
  width: 100%;
  height: 42px;
  background: linear-gradient(180deg, #ffffff 0%, #e2e8f0 55%, #cbd5e1 100%);
  border: none;
  border-radius: 999px;
  color: #071120;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 8px;
  cursor: pointer;
  box-shadow: 0 3px 0 #94a3b8, 0 4px 12px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.12s ease, background 0.15s ease;
}

.btn-wide-silver:hover {
  background: linear-gradient(180deg, #f5f5f5 0%, #e8edf0 55%, #d1d9e1 100%);
}

.btn-wide-silver:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 #94a3b8, 0 2px 6px rgba(0, 0, 0, 0.45);
}

/* --- 9. Contact CS Grid (2x2 Metallic Cards) --- */
.contact-section {
  padding: 10px 14px 14px;
}

.contact-title {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 3px #000;
  margin-bottom: 8px;
}

.cs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cs-btn-link {
  display: block;
  width: 100%;
  line-height: 0;
  text-decoration: none;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.15s ease, filter 0.15s ease;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.45));
}

.cs-btn-link:hover {
  transform: translateY(-2px) scale(1.02);
  filter: drop-shadow(0 6px 14px rgba(56, 189, 248, 0.45));
}

.cs-btn-link:active {
  transform: scale(0.97);
}

.cs-btn-img {
  width: 100%;
  height: auto;
  aspect-ratio: 376 / 105;
  object-fit: contain;
  display: block;
}

.cs-card {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(203, 213, 225, 0.35);
  border-radius: 999px;
  height: 50px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 4px 10px rgba(0, 0, 0, 0.55);
  color: #fff;
  text-decoration: none;
  transition: transform 0.12s ease;
}

.cs-card:active {
  transform: scale(0.97);
}

.cs-badge {
  position: absolute;
  top: 2px;
  left: 2px;
  background: #ef4444;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 0 4px #ef4444;
}

.cs-icon-wrap {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: transparent;
  border-right: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.cs-icon-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.cs-info {
  display: flex;
  flex-direction: column;
  padding-left: 8px;
}

.cs-info b {
  font-size: 8.5px;
  color: #ffffff;
  letter-spacing: 0.2px;
  font-weight: 800;
}

.cs-info small {
  font-size: 9.5px;
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px #000;
}

/* --- 10. Hasil Terakhir (Live Draw - 4 Kolom) --- */
.results-box {
  margin: 10px 10px;
  padding: 10px;
  background: rgba(5, 11, 22, 0.95);
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7);
}

.res-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  border-bottom: 1px solid #1e3a8a;
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.live-tag {
  display: none; /* Sesuai target screenshot: bersih tanpa badge biru kedip */
}

.live-tag i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  display: inline-block;
  animation: liveBlink 1s infinite;
}

@keyframes liveBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

#resDate {
  font-size: 11px;
  color: #cbd5e1;
  font-weight: 600;
}

.res-search {
  display: flex;
  align-items: center;
  background: #000000;
  border: 1.5px solid #cbd5e1;
  border-radius: 999px;
  padding: 2px 12px;
  margin-bottom: 10px;
  height: 36px;
}

.res-search span {
  color: #cbd5e1;
  font-size: 14px;
  margin-right: 6px;
}

.res-search input {
  background: transparent;
  border: none;
  color: #ffffff;
  width: 100%;
  outline: none;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
}

.res-search input::placeholder {
  color: #94a3b8;
  text-align: center;
}

/* Grid 4 Kolom Sesuai Screenshot */
.res-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin-bottom: 10px;
}

.res-card {
  background: #040810;
  border: 1px solid #2563eb;
  border-radius: 6px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.res-name {
  background: linear-gradient(180deg, #ffffff 0%, #e2e8f0 100%);
  color: #071120;
  font-size: 8px;
  font-weight: 900;
  padding: 3px 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.2px;
  border-bottom: 1px solid #cbd5e1;
}

.res-card-body {
  padding: 4px 2px 5px;
  background: #040810;
}

.res-date {
  font-size: 7.5px;
  color: #94a3b8;
  margin-bottom: 2px;
}

.res-number {
  font-size: 14px;
  font-weight: 900;
  color: #38bdf8;
  letter-spacing: 1px;
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.65);
}

.btn-more {
  width: 100%;
  background: linear-gradient(180deg, #2563eb 0%, #1e40af 100%);
  border: 1px solid #60a5fa;
  color: #ffffff;
  padding: 9px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  transition: filter 0.15s ease, background 0.15s ease;
}

.btn-more:hover {
  filter: brightness(1.1);
  background: linear-gradient(180deg, #3577ff 0%, #2849d1 100%);
}

.btn-more:active {
  transform: translateY(1px);
}

/* --- 11. Bank Status (3 Kolom) --- */
.banks-section {
  padding: 14px 10px;
}

.banks-title {
  text-align: center;
  font-size: 15px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  text-shadow: 0 1px 4px #000;
}

.banks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.bank-card {
  background: #ffffff;
  border-radius: 6px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px;
  border: 1px solid #94a3b8;
  border-bottom: 3px solid #10b981;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  min-width: 0;
}

/* Badge teks disembunyikan — status ditandai garis bawah hijau + legend (sesuai referensi) */
.bank-badge-online {
  display: none;
}

.bank-logo-img {
  background: #ffffff;
  border-radius: 4px;
  height: 24px;
  padding: 2px 4px;
  max-width: 62px;
  width: auto;
  object-fit: contain;
  flex-shrink: 1;
}

.bank-legend {
  margin-top: 12px;
  background: #020610;
  border: 1.5px solid #cbd5e1;
  border-radius: 999px;
  display: flex;
  justify-content: space-around;
  padding: 7px 12px;
  font-size: 10.5px;
  font-weight: 800;
  color: #ffffff;
}

.leg-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.leg-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  animation: liveBlink 1s infinite;
}

.dot-on {
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

.dot-warn {
  background: #eab308;
  box-shadow: 0 0 6px #eab308;
}

.dot-off {
  background: #ef4444;
  box-shadow: 0 0 6px #ef4444;
}

/* --- 12. Floating Action Button (Hidden - already available in header navbar) --- */
.float-menu-btn {
  display: none !important;
}

/* --- 13. Running Withdrawal Ticker & Footer --- */
.withdraw-ticker {
  background: rgba(15, 32, 60, 0.95);
  border-top: 1px solid #2563eb;
  border-bottom: 1px solid #1e3a8a;
  height: 26px;
  overflow: hidden;
  display: flex;
  align-items: center;
  margin-top: 14px;
}

.withdraw-ticker-inner {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: mqScroll 24s linear infinite;
  font-size: 10.5px;
  font-weight: 800;
  color: #ffffff;
}

footer, .site-footer {
  background: linear-gradient(180deg, #070d18 0%, #03070d 100%);
  border-top: 1px solid #1e3a8a;
  color: #94a3b8;
  font-size: 10px;
  text-align: center;
  padding: 14px 10px 10px;
}

.footer-links {
  display: none; /* Sesuai target screenshot: bersih 1 baris copyright */
}

/* --- 14. Register Page --- */
.reg-title {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
  padding: 14px 14px 0;
  /* 3D emboss title */
  text-shadow: 0 1px 0 rgba(255,255,255,0.35), 0 2px 2px rgba(37,99,235,0.25), 0 4px 8px rgba(37,99,235,0.18);
}

.reg-divider {
  height: 2px;
  background: linear-gradient(90deg, #2563eb 0%, #38bdf8 50%, transparent 100%);
  margin: 8px 14px 14px;
  border-radius: 2px;
  box-shadow: 0 1px 0 rgba(37,99,235,0.5), 0 3px 6px rgba(56,189,248,0.2);
}

.reg-section-title {
  padding: 10px 14px 0;
  margin-top: 6px;
}

.reg-form {
  padding: 10px 14px;
  max-width: 480px;
  margin: 0 auto;
}

.reg-input-col {
  width: 100%;
}

.reg-input-col .reg-input {
  width: 100%;
  max-width: 240px;
}

.reg-username-status {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 2px;
  min-height: 14px;
}

.reg-field {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding: 0 4px;
}

.reg-label {
  flex-shrink: 0;
  width: 110px;
  line-height: 1.4;
  text-align: right;
  padding-top: 12px;
  letter-spacing: 0.3px;
}

.reg-label span {
  color: #ef4444;
}

.reg-input-col {
  flex: 1;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.reg-input::placeholder {
  font-size: 12px;
}

.reg-input:focus {
  background: #ffffff;
}

/* Validation state — class-based (menang atas :focus, sinkron dgn centang) */
.reg-input.is-invalid,
.reg-phone-wrap.is-invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.16) !important;
}

.reg-input.is-valid,
.reg-phone-wrap.is-valid {
  border-color: #10b981 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.14) !important;
}

select.reg-input {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  max-width: 240px;
  width: 100%;
}

.reg-phone-wrap {
  max-width: 240px;
  width: 100%;
}

.reg-phone-wrap input {
  font-family: 'Inter', system-ui, sans-serif;
}

.reg-phone-wrap input::placeholder {
  color: #94a3b8;
}

.reg-phone-wrap:focus-within {
  transform: translateZ(6px);
}

.reg-captcha-row {
  flex: 1;
}

.reg-captcha-img {
  min-width: 0;
  overflow: hidden;
}

.reg-captcha-img img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 100%;
}

.reg-captcha-refresh {
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 -2px 4px rgba(0, 0, 0, 0.15);
}
.reg-captcha-refresh:hover {
  background: linear-gradient(180deg, #60a5fa 0%, #2563eb 50%, #1d4ed8 100%);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -2px 4px rgba(0, 0, 0, 0.1);
}
.reg-captcha-refresh:active {
  background: linear-gradient(180deg, #1d4ed8 0%, #1e40af 50%, #1e3a8a 100%);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2), inset 0 2px 4px rgba(0, 0, 0, 0.2);
  transform: translateY(1px);
}

.reg-checkbox {
  padding: 0 14px;
}

.reg-checkbox input[type="checkbox"] {
  accent-color: #2563eb;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

.btn-register-submit {
  display: block;
  font-family: 'Outfit', sans-serif;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  /* 3D pressed slab */
  transform: translateY(-3px);
}
.page-register .btn-register-submit:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 3px -5px rgba(37,99,235,0.55), 0 32px 6px -12px rgba(37,99,235,0.3);
}

.btn-register-submit:active {
  transform: translateY(1px) translateZ(-8px);
  box-shadow: 0 1px 0 #172554, 0 2px 8px rgba(0, 0, 0, 0.55);
}

/* --- 16. Member Dashboard & Provider Grid --- */
.member-user-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: linear-gradient(180deg, #0f1f38 0%, #08111d 100%);
  border-bottom: 1px solid #1e3a8a;
}
.member-user-info .user-name {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 900;
  color: #ffffff;
}
.member-user-info .user-balance {
  font-size: 12.5px;
  color: #93c5fd;
  font-weight: 600;
}
.member-cat-row-1 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 8px 10px 4px;
}
.member-cat-row-2 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  padding: 0 10px 8px;
}
.member-cat-card {
  background: linear-gradient(180deg, #ffffff 0%, #e2e8f0 60%, #cbd5e1 100%);
  border-radius: 6px;
  min-height: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #071120;
  text-decoration: none;
  font-weight: 900;
  font-size: 8.5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
  position: relative;
  cursor: pointer;
}
.member-cat-card.active, .member-cat-card:active {
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}
.cat-badge-new {
  position: absolute;
  top: -3px;
  left: -3px;
  background: #ef4444;
  color: #ffffff;
  font-size: 7px;
  font-weight: 900;
  padding: 1px 4px;
  border-radius: 4px;
}
.official-apk-card {
  margin: 10px 10px;
  background: #030712;
  border: 1.5px solid rgba(56, 189, 248, 0.4);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  gap: 10px;
}
.official-apk-left {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.official-apk-right {
  flex: 0.8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 6px;
  padding: 8px;
  min-height: 60px;
  min-width: 56px;
}
.official-apk-right img.app-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: contain;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}
.apk-download-btn {
  text-decoration: none;
  cursor: pointer;
}
.apk-download-btn:hover {
  opacity: 0.85;
  transform: scale(1.02);
  transition: all 0.2s ease;
}
.provider-header-bar {
  margin: 12px 10px 8px;
  background: linear-gradient(90deg, #1e40af 0%, #2563eb 50%, #38bdf8 100%);
  border-radius: 6px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  font-weight: 900;
  letter-spacing: 0.5px;
}
.provider-header-bar .btn-lobby {
  background: #040810;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.provider-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  padding: 0 10px 16px;
}
.provider-card {
  background: linear-gradient(180deg, #0f1c30 0%, #060b14 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 8px;
  height: 70px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  text-decoration: none;
  transition: transform 0.12s ease, border-color 0.2s ease;
}
.provider-card:active {
  transform: scale(0.97);
  border-color: #38bdf8;
}

/* Banner provider lebar (kartu ke-3, grid 2 kolom ala reference sbk) */
.provider-card.full-width {
  grid-column: span 2;
  min-height: 110px;
}

/* --- 16b. Member Markets (rendered by member.js) --- */
.member-market-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.member-market-card {
  background: linear-gradient(180deg, #0f1c30 0%, #060b14 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}
.member-market-card h4 {
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
}
.ball-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  color: #071120;
  font-weight: 900;
}
.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}
.badge-success {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.4);
}
.badge-danger {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.4);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}
.btn-sm {
  padding: 6px 10px;
  font-size: 12px;
}
.btn-block {
  width: 100%;
}
.btn-primary {
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border: 1px solid #60a5fa;
}
.btn-secondary {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  border: 1px solid #475569;
}
.btn-play {
  margin-top: auto;
}
.countdown-timer {
  color: #38bdf8;
  font-weight: 700;
}

/* Fallback token untuk konten yang dirender JS (transaction.js) */
:root {
  --text-gold: #38bdf8;
  --text-muted: #94a3b8;
  --text-secondary: #cbd5e1;
  --status-danger: #ef4444;
  --status-warning: #eab308;
  --status-success: #10b981;
}

.badge-warning {
  background: rgba(234, 179, 8, 0.2);
  color: #eab308;
  border: 1px solid rgba(234, 179, 8, 0.4);
}

/* Tabel riwayat transaksi (mobile) */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}
.table th {
  padding: 6px 8px;
  background: #081324;
  color: #94a3b8;
  font-weight: 800;
  text-align: left;
  border-bottom: 1px solid #1e3a8a;
  white-space: nowrap;
}
.table td {
  padding: 6px 8px;
  border-bottom: 1px solid #132039;
  color: #e2e8f0;
}

/* --- 17. Kasir / Deposit Screen (Blue Sapphire Edition) --- */
.deposit-page-title {
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.5px;
  padding: 8px 0 6px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}
.deposit-tabs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 0 10px 10px;
}
.deposit-tab-item {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border: 1.5px solid #334155;
  border-radius: 10px;
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #94a3b8;
  text-decoration: none;
  font-size: 10px;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all 0.12s ease;
}
.deposit-tab-item.active {
  background: linear-gradient(180deg, #38bdf8 0%, #2563eb 50%, #1d4ed8 100%);
  border: 1.5px solid #60a5fa;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.deposit-quick-box {
  margin: 0 10px 10px;
  background: #081324;
  border: 1px solid #1e3a8a;
  border-radius: 6px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}
.deposit-row {
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #e2e8f0;
}
.deposit-row .label {
  width: 90px;
  color: #94a3b8;
}
.deposit-row .separator {
  margin-right: 8px;
  color: #94a3b8;
}
.deposit-row input {
  flex: 1;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 5px 8px;
  font-size: 13px;
  font-weight: 700;
  color: #071120;
  outline: none;
}
.deposit-row select {
  flex: 1;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 5px 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #071120;
  outline: none;
}
.deposit-row .copy-pill {
  margin-left: 8px;
  background: #0f203c;
  border: 1px solid #38bdf8;
  color: #38bdf8;
  font-size: 9.5px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 999px;
  cursor: pointer;
}
.btn-qris-green {
  background: linear-gradient(180deg, #00d254 0%, #009938 100%);
  color: #ffffff;
  border: 1px solid #4ade80;
  border-radius: 4px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  text-transform: uppercase;
}
.btn-qris-green:active {
  transform: translateY(1px);
  background: linear-gradient(180deg, #009938 0%, #007a2d 100%);
}
.deposit-note-box {
  margin: 0 10px 14px;
  background: #060e1c;
  border: 1px solid #1e3a8a;
  border-radius: 6px;
  padding: 10px 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}
.deposit-note-box h4 {
  text-align: center;
  font-size: 13px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 6px;
}
.qris-white-card {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  border-radius: 16px;
  padding: 20px 16px;
  margin: 0 10px 20px;
  color: #071120;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(203, 213, 225, 0.6);
  position: relative;
  overflow: hidden;
}
.qris-white-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #38bdf8 0%, #2563eb 50%, #38bdf8 100%);
  border-radius: 16px 16px 0 0;
}
.qris-white-card .title-brand {
  font-family: "Outfit", sans-serif;
  font-size: 17px;
  font-weight: 900;
  color: #0f172a;
  text-align: center;
  letter-spacing: 0.5px;
  margin-top: 4px;
}
.qris-white-card .sub-user {
  font-size: 11px;
  color: #64748b;
  text-align: center;
  margin-bottom: 8px;
}
.qris-white-card .badge-trust {
  background: linear-gradient(90deg, #dcfce7 0%, #bbf7d0 100%);
  color: #166534;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  display: inline-block;
  margin: 8px auto;
  letter-spacing: 0.3px;
  text-align: center;
}
.qris-white-card .qris-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}
.qris-white-card .qris-logo-wrap img {
  height: 36px;
  width: auto;
}
.qris-white-card label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 4px;
}
.qris-white-card input.amount-input {
  width: 100%;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.qris-white-card input.amount-input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}
.qris-preset-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0 14px;
}
.preset-pill-btn {
  background: linear-gradient(180deg, #ffffff 0%, #e2e8f0 100%);
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  height: 42px;
  font-size: 12px;
  font-weight: 800;
  color: #1e293b;
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.12s ease;
}
.preset-pill-btn:hover {
  background: linear-gradient(180deg, #f0f9ff 0%, #dbeafe 100%);
  border-color: #38bdf8;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}
.preset-pill-btn:active {
  background: linear-gradient(180deg, #dbeafe 0%, #bfdbfe 100%);
  transform: translateY(2px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}
.btn-qris-submit {
  width: 100%;
  background: linear-gradient(180deg, #38bdf8 0%, #2563eb 50%, #1d4ed8 100%);
  color: #ffffff;
  border: 1px solid #60a5fa;
  border-radius: 12px;
  height: 48px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  transition: all 0.12s ease;
}
.btn-qris-submit:hover {
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}
.btn-qris-submit:active {
  transform: translateY(2px);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.4);
}
.btn-qris-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Kotak riwayat deposit (konten diisi transaction.js) */
.deposit-history-box {
  margin: 0 10px 16px;
  background: rgba(5, 11, 22, 0.95);
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7);
}
.deposit-history-box h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 900;
  color: #ffffff;
  border-bottom: 1px solid #1e3a8a;
  padding-bottom: 8px;
  margin-bottom: 10px;
}

/* --- 20. Provider / Pasaran Selection Modal (Blue Sapphire Edition) --- */
.provider-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(2, 6, 18, 0.78);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.provider-modal-overlay.active {
  display: flex;
}
.provider-modal-card {
  width: 100%;
  max-width: 320px;
  background: linear-gradient(180deg, #0f1c30 0%, #060b14 100%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  animation: gsModalPop 180ms ease-out;
}
@keyframes gsModalPop {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}
.provider-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: linear-gradient(180deg, #12223a 0%, #08111f 100%);
  border-bottom: 1px solid #1e3a8a;
}
.provider-modal-title {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}
.provider-modal-close {
  background: none;
  border: none;
  color: #f87171;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
  line-height: 1;
  padding: 2px 4px;
}
.provider-modal-close:hover {
  color: #ffffff;
}
.provider-modal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 14px;
}
.provider-modal-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 4px;
  background: linear-gradient(180deg, #0a172c 0%, #040914 100%);
  border: 1px solid #1e3a8a;
  border-radius: 8px;
  color: #e2e8f0;
  text-decoration: none;
  text-align: center;
  font-size: 10px;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}
.provider-modal-item:hover {
  border-color: #38bdf8;
  background: linear-gradient(180deg, #1d3a66 0%, #0a172c 100%);
}
.provider-modal-item:active {
  transform: translateY(1px);
}
.provider-modal-icon {
  font-size: 22px;
  line-height: 1;
}

/* --- 21. Header Menu Toggle + Side Nav Drawer (Cindototo style) --- */
.menu-toggle {
  line-height: 1;
  flex-shrink: 0;
}
.nav-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(2, 6, 18, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, visibility 200ms ease;
}
.nav-drawer-backdrop.show {
  opacity: 1;
  visibility: visible;
}
.nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 950;
  width: 280px;
  max-width: 82vw;
  background: linear-gradient(180deg, #0f1c30 0%, #060b14 100%);
  border-right: 1px solid #1e3a8a;
  box-shadow: 4px 0 30px rgba(0, 0, 0, 0.8);
  transform: translateX(-100%);
  transition: transform 220ms ease;
  overflow-y: auto;
  padding-bottom: 30px;
}
body.nav-open .nav-drawer,
.nav-drawer.open {
  transform: translateX(0);
}
.nav-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: linear-gradient(180deg, #12223a 0%, #08111f 100%);
  border-bottom: 1px solid #1e3a8a;
}
.nav-drawer-title {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #ffffff;
}
.nav-drawer-close {
  background: none;
  border: none;
  color: #f87171;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
  line-height: 1;
  padding: 2px 4px;
}
.nav-drawer-links {
  list-style: none;
  margin: 0;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nav-drawer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: linear-gradient(180deg, #0a172c 0%, #040914 100%);
  border: 1px solid #1e3a8a;
  border-radius: 7px;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}
.nav-drawer-link:hover {
  border-color: #38bdf8;
  color: #ffffff;
}
.nav-drawer-link:active {
  transform: translateY(1px);
}
.ui-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  max-width: 32px;
  max-height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.15em;
}
.inp-icon > .ui-icon {
  width: 18px;
  height: 18px;
  color: #2563eb;
}
.trust-icon > .ui-icon {
  width: 16px;
  height: 16px;
  color: #38bdf8;
}
.feature-icon > svg {
  display: block;
  max-width: 32px;
  max-height: 32px;
}
.ui-status-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
  font-size: 28px;
}
.member-cat-card > .ui-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}
.provider-card > .ui-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}
.nav-drawer-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  font-size: 0;
  line-height: 1;
  color: #94a3b8;
  background-color: currentColor;
  --nav-drawer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16M4 12h16M4 18h16'/%3E%3C/svg%3E");
  -webkit-mask: var(--nav-drawer-icon) center / contain no-repeat;
  mask: var(--nav-drawer-icon) center / contain no-repeat;
}

.nav-drawer-link[href$="index.html"] .nav-drawer-ico {
  --nav-drawer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 10 9-7 9 7v10a1 1 0 0 1-1 1h-6v-7h-4v7H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E");
}

.nav-drawer-link[href$="member.html"] .nav-drawer-ico {
  --nav-drawer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='14' rx='2'/%3E%3Cpath d='M8 7V5a4 4 0 0 1 8 0v2M8 14h.01M16 14h.01M12 14h.01'/%3E%3C/svg%3E");
}

.nav-drawer-link[href$="market-play.html"] .nav-drawer-ico {
  --nav-drawer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3C/svg%3E");
}

.nav-drawer-link[href^="/casino.html"] .nav-drawer-ico {
  --nav-drawer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Cpath d='M8 8h.01M16 8h.01M12 12h.01M8 16h.01M16 16h.01'/%3E%3C/svg%3E");
}

.nav-drawer-link[href$="sportsbook.html"] .nav-drawer-ico {
  --nav-drawer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m8 4 4 4 5-1 3 4-3 5-5 1-4-4 1-5-4-4M8 13l4-5m1 9 4-5'/%3E%3C/svg%3E");
}

.nav-drawer-link[href$="number-history.html"] .nav-drawer-ico,
.nav-drawer-link[href$="bet-history.html"] .nav-drawer-ico,
.nav-drawer-link[href$="gaming-history.html"] .nav-drawer-ico {
  --nav-drawer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01'/%3E%3C/svg%3E");
}

.nav-drawer-link[href$="notifications.html"] .nav-drawer-ico {
  --nav-drawer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9M10 21h4'/%3E%3C/svg%3E");
}

.nav-drawer-link[href$="wallet-ledger.html"] .nav-drawer-ico,
.nav-drawer-link[href$="deposit.html"] .nav-drawer-ico {
  --nav-drawer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='15' rx='2'/%3E%3Cpath d='M3 9h18M7 15h3'/%3E%3C/svg%3E");
}

.nav-drawer-link[href$="cashout.html"] .nav-drawer-ico,
.nav-drawer-link[href$="withdraw.html"] .nav-drawer-ico {
  --nav-drawer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m0 0 5-5m-5 5-5-5M5 19h14'/%3E%3C/svg%3E");
}

.nav-drawer-link[href$="support.html"] .nav-drawer-ico {
  --nav-drawer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M9.1 9a3 3 0 0 1 5.8 1c0 2-3 3-3 3m.1 4h.01'/%3E%3C/svg%3E");
}

.nav-drawer-link[href$="promotion.html"] .nav-drawer-ico {
  --nav-drawer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12v10H4V12M2 7h20v5H2zM12 22V7m0 0H7.5a2.5 2.5 0 1 1 2.5-2.5C10 6 12 7 12 7Zm0 0h4.5A2.5 2.5 0 1 0 14 4.5C14 6 12 7 12 7Z'/%3E%3C/svg%3E");
}

.nav-drawer-link[href$="referral.html"] .nav-drawer-ico {
  --nav-drawer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2m6-10a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm6-3a4 4 0 0 1 0 8m2 3h2v-2a4 4 0 0 0-3-3.9'/%3E%3C/svg%3E");
}

.nav-drawer-link[href$="rules.html"] .nav-drawer-ico,
.nav-drawer-link[href$="terms.html"] .nav-drawer-ico,
.nav-drawer-link[href$="privacy.html"] .nav-drawer-ico {
  --nav-drawer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h9l5 5v13H6zM14 3v6h6M9 13h8m-8 4h8'/%3E%3C/svg%3E");
}

.nav-drawer-links > .nav-drawer-link[href="#"] .nav-drawer-ico {
  --nav-drawer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v8m-4-4h8'/%3E%3C/svg%3E");
}

/* --- 22. Marquee Ticker (Cindototo style) --- */
.marquee-bar {
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, #0e1a2b 0%, #08111f 100%);
  border-top: 1px solid #1e3a8a;
  border-bottom: 1px solid #1e3a8a;
  overflow: hidden;
  margin-bottom: 8px;
  height: 28px;
}
.marquee-label {
  flex-shrink: 0;
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.5px;
  padding: 5px 10px;
  margin-right: 8px;
}
.marquee-track {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-text {
  display: inline-block;
  color: #93c5fd;
  font-size: 10.5px;
  font-weight: 700;
  padding: 5px 0;
  animation: gsMarquee 20s linear infinite;
}
@keyframes gsMarquee {
  from { transform: translateX(100%); }
  to   { transform: translateX(-100%); }
}

/* --- 23. Trust Badge Strip (enterprise trust signal) --- */
.trust-badge-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 6px 10px;
  background: linear-gradient(180deg, #0c1626 0%, #070e1a 100%);
  border-bottom: 1px solid #1e3a8a;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 800;
  color: #cbd5e1;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 999px;
  padding: 3px 8px;
}
.trust-icon {
  font-size: 11px;
  line-height: 1;
}

/* --- 24. Promo Banner Carousel (enterprise) --- */
.promo-carousel {
  position: relative;
  margin: 0 10px 10px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #1e3a8a;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
  height: 120px;
}
.promo-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 14px 42px 14px 16px;
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
}
.promo-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.promo-slide-1 {
  background:
    radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.45) 0%, transparent 60%),
    linear-gradient(120deg, #0f203c 0%, #0a1730 60%, #06101f 100%);
}
.promo-slide-2 {
  background:
    radial-gradient(circle at 100% 100%, rgba(56, 189, 248, 0.4) 0%, transparent 55%),
    linear-gradient(120deg, #082f49 0%, #0a1730 55%, #06101f 100%);
}
.promo-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-start;
}
.promo-tag {
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #000000;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  border-radius: 999px;
  padding: 2px 8px;
}
.promo-title {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}
.promo-desc {
  font-size: 9.5px;
  color: #93c5fd;
  max-width: 240px;
  line-height: 1.3;
}
.promo-cta {
  margin-top: 4px;
  font-size: 9px;
  font-weight: 900;
  color: #ffffff;
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  border-radius: 999px;
  padding: 4px 12px;
  text-decoration: none;
  border: 1px solid #60a5fa;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.promo-dots {
  position: absolute;
  bottom: 6px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 5px;
}
.promo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}
.promo-dot.active {
  background: #38bdf8;
}

/* --- 25. Enterprise Footer (multi-layer) --- */
.site-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 12px;
  margin-bottom: 10px;
}
.site-footer .footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 10px;
  font-weight: 700;
}
.site-footer .footer-links a:hover {
  color: #38bdf8;
}
.footer-pay-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-bottom: 10px;
}
.footer-pay-label {
  font-size: 9px;
  font-weight: 900;
  color: #38bdf8;
  letter-spacing: 0.5px;
}
.footer-pay-item {
  font-size: 9px;
  font-weight: 700;
  color: #e2e8f0;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 999px;
  padding: 2px 8px;
}
.footer-bottom-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  border-top: 1px solid #1e293b;
  padding-top: 8px;
  margin-top: 2px;
}
.footer-social {
  display: inline-flex;
  gap: 6px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 24px;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0;
  opacity: 0.85;
}
.footer-social .ui-icon {
  width: 16px;
  height: 16px;
}
.footer-social a:hover {
  opacity: 1;
  color: #38bdf8;
}
.footer-disclaimer {
  margin-top: 8px;
  font-size: 8px;
  color: #64748b;
  line-height: 1.4;
}

/* --- Login Page Styles --- */
.page-login .login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  min-height: calc(100vh - 200px);
}

.page-login .login-card {
  width: 100%;
  max-width: 360px;
  background: linear-gradient(180deg, #0f1c30 0%, #060b14 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8);
}

.page-login .login-card h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
  text-align: center;
  margin-bottom: 5px;
  letter-spacing: 0.5px;
}

.page-login .login-subtitle {
  font-size: 13px;
  color: #94a3b8;
  text-align: center;
  margin-bottom: 24px;
}

.page-login .login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-login .form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-login .form-label {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.3px;
}

.page-login .form-input {
  width: 100%;
  padding: 12px 14px;
  background: #0a111f;
  border: 1px solid #1e293b;
  border-radius: 8px;
  color: #f8fafc;
  font-size: 14px;
  transition: all 0.2s ease;
}

.page-login .form-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.page-login .form-input::placeholder {
  color: #475569;
}

.page-login .form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.page-login .checkbox-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
  cursor: pointer;
}

.page-login .forgot-link {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
}

.page-login .forgot-link:hover {
  text-decoration: underline;
}

.page-login .login-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #1e293b;
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
}

.page-login .login-footer a {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
}

.page-login .login-footer a:hover {
  text-decoration: underline;
}

.page-login .btn-livechat {
  font-size: 11px;
  padding: 6px 12px;
}

.page-login .btn-login-submit {
  width: 100%;
  height: 46px;
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 60%, #1e3a8a 100%);
  border: 1px solid rgba(147, 197, 253, 0.4);
  border-radius: 10px;
  color: #ffffff;
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-login .btn-login-submit:active {
  transform: scale(0.98);
}

.page-login .btn-login-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  filter: grayscale(0.5);
}

.page-login .input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.page-login .input-with-icon .form-input {
  padding-right: 42px;
}

.page-login .input-with-icon .toggle-password {
  position: absolute;
  right: 10px;
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}

.page-login .input-with-icon .toggle-password:hover {
  color: #38bdf8;
}

.page-login .login-back-home {
  display: inline-block;
  margin-top: 10px;
  color: #64748b;
  font-size: 12px;
  text-decoration: none;
  transition: color 0.15s ease;
}

.page-login .login-back-home:hover {
  color: #cbd5e1;
}

/* ==========================================================================
   UI FIXES — Hamburger Menu, Deposit Card & Show More Button
   ========================================================================== */

/* --- Show More Button: 3D Enterprise Centered --- */
.show-more-container {
  display: flex;
  justify-content: center;
  padding: 14px 10px 10px;
}

.btn-show-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 220px;
  height: 42px;
  background: linear-gradient(180deg, #ffffff 0%, #e2e8f0 55%, #cbd5e1 100%);
  border: 1px solid #ffffff;
  border-radius: 999px;
  color: #071120;
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.8px;
  cursor: pointer;
  box-shadow: 0 3px 0 #94a3b8, 0 6px 16px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease;
  text-transform: uppercase;
}

.btn-show-more:hover {
  background: linear-gradient(180deg, #f8fafc 0%, #e8edf0 55%, #d1d9e1 100%);
  box-shadow: 0 4px 0 #94a3b8, 0 8px 20px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transform: translateY(-1px);
}

.btn-show-more:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #94a3b8, 0 2px 6px rgba(0, 0, 0, 0.55), inset 0 2px 4px rgba(0, 0, 0, 0.12);
}

.btn-show-more-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
  border-radius: 50%;
  color: #ffffff;
  font-size: 9px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

/* --- Hamburger Menu: Professional 3D Button --- */
.menu-toggle {
  background: linear-gradient(180deg, #1e3a5f 0%, #0f172a 100%) !important;
  border: 1.5px solid #38bdf8 !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  font-size: 0 !important;
  width: 38px !important;
  height: 38px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: 0 3px 8px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.15) !important;
  position: relative !important;
  transition: all 0.15s ease !important;
}

.menu-toggle::before {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  background: #38bdf8;
  border-radius: 2px;
  box-shadow: 0 -6px 0 #38bdf8, 0 6px 0 #38bdf8;
  position: absolute;
}

.menu-toggle:hover {
  background: linear-gradient(180deg, #2563eb 0%, #1e3a5f 100%) !important;
  border-color: #60a5fa !important;
  box-shadow: 0 4px 12px rgba(56,189,248,0.4), inset 0 1px 0 rgba(255,255,255,0.2) !important;
  transform: translateY(-1px) !important;
}

.menu-toggle:active {
  transform: translateY(1px) !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.5) !important;
}

/* --- Register Form Professional Layout --- */
.reg-card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(7, 17, 34, 0.98) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 16px;
  margin: 0 10px 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.reg-card-header {
  background: linear-gradient(180deg, #1e3a5f 0%, #0f172a 100%);
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid rgba(56, 189, 248, 0.3);
}

.reg-card-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.reg-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 4px;
}

.reg-card-subtitle {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
}

.reg-section {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.reg-section:last-of-type {
  border-bottom: none;
}

.reg-section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.reg-section-icon {
  font-size: 18px;
}

.reg-group {
  margin-bottom: 16px;
}

.reg-group:last-child {
  margin-bottom: 0;
}

.reg-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 6px;
}

.reg-label .required {
  color: #ef4444;
}

.reg-label .optional {
  color: #64748b;
  font-weight: 400;
}

.reg-input {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 16px;
  color: #1e293b;
  font-size: 14px;
  font-family: 'Inter', system-ui, sans-serif;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.reg-input::placeholder {
  color: #94a3b8;
}

.reg-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.reg-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.reg-phone-wrap {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.reg-phone-wrap:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.reg-phone-prefix {
  background: #f1f5f9;
  color: #475569;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 14px;
  border-right: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.reg-phone-wrap input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 16px;
  color: #1e293b;
  font-size: 14px;
  outline: none;
}

.reg-captcha-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.reg-captcha-img {
  flex: 1;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
}

.reg-captcha-refresh {
  width: 42px;
  height: 42px;
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
  border-radius: 8px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.reg-captcha-refresh:hover {
  transform: translateY(-1px);
}

.reg-checkboxes {
  padding: 16px 20px;
}

.reg-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #cbd5e1;
  margin-bottom: 10px;
  line-height: 1.5;
}

.reg-checkbox input[type='checkbox'] {
  width: 18px;
  height: 18px;
  accent-color: #2563eb;
  flex-shrink: 0;
  margin-top: 2px;
}

.reg-checkbox a {
  color: #38bdf8;
  text-decoration: none;
}

.btn-register-submit {
  width: calc(100% - 40px);
  margin: 0 20px 16px;
  height: 50px;
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
  transition: all 0.15s ease;
}

.btn-register-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.reg-footer {
  text-align: center;
  padding: 0 20px 20px;
  font-size: 13px;
  color: #94a3b8;
}

.reg-footer a {
  color: #38bdf8;
  font-weight: 600;
  text-decoration: none;
}

/* --- Refresh Balance Button - Compact Professional --- */
.btn-refresh-balance {
  background: #059669;
  color: #ffffff;
  border: 1px solid #10b981;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 9px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  box-shadow: none;
  transition: background 0.15s ease;
  letter-spacing: 0.2px;
}

.btn-refresh-balance:hover {
  background: #047857;
}

.btn-refresh-balance:active {
  background: #065f46;
}

.btn-refresh-balance:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-refresh-balance .refresh-icon {
  display: inline-block;
  font-size: 10px;
  transition: transform 0.3s ease;
}

.btn-refresh-balance.loading .refresh-icon {
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* --- Bet History Page --- */
.page-header {
  padding: 16px 20px;
  text-align: center;
}

.page-title {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 4px;
}

.page-subtitle {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  padding: 0 20px 12px;
}

.filter-tab {
  flex: 1;
  padding: 10px 16px;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid #334155;
  border-radius: 8px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-tab.active {
  background: linear-gradient(180deg, #38bdf8 0%, #2563eb 100%);
  border-color: #60a5fa;
  color: #ffffff;
}

.filter-tab:hover:not(.active) {
  border-color: #38bdf8;
  color: #ffffff;
}

.status-filter {
  display: flex;
  gap: 6px;
  padding: 0 20px 16px;
  overflow-x: auto;
}

.status-btn {
  padding: 6px 14px;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 999px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.status-btn.active {
  background: #2563eb;
  border-color: #60a5fa;
  color: #ffffff;
}

.status-btn:hover:not(.active) {
  border-color: #38bdf8;
}

.history-card {
  margin: 0 20px 16px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 12px;
  overflow: hidden;
}

.history-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: linear-gradient(180deg, #1e3a5f 0%, #0f172a 100%);
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}

.history-icon {
  font-size: 20px;
}

.history-card-header h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th {
  padding: 10px 12px;
  background: #0a172c;
  color: #38bdf8;
  font-size: 11px;
  font-weight: 700;
  text-align: left;
  border-bottom: 1px solid #1e3a8a;
}

.data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #132039;
  font-size: 12px;
  color: #e2e8f0;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.invoice-cell {
  font-family: monospace;
  color: #38bdf8;
  font-weight: 600;
}

.amount-cell {
  font-weight: 700;
  color: #facc15;
}

.odds-cell {
  font-weight: 600;
  color: #38bdf8;
}

.selection-cell {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.loading-cell {
  text-align: center;
  padding: 30px !important;
  color: #94a3b8 !important;
}

.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #1e3a8a;
  border-top-color: #38bdf8;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

.empty-cell {
  text-align: center;
  padding: 30px !important;
  color: #64748b !important;
}

.error-cell {
  text-align: center;
  padding: 30px !important;
  color: #ef4444 !important;
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
}

.empty-state h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px;
}

.empty-state p {
  font-size: 13px;
  color: #94a3b8;
  margin: 0 0 20px;
}

.empty-state .btn-primary {
  display: inline-block;
  padding: 10px 24px;
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
  color: #ffffff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- Deposit Page Professional --- */
.kasir-header {
  text-align: center;
  padding: 20px;
  background: linear-gradient(180deg, rgba(30, 58, 138, 0.3) 0%, transparent 100%);
}

.kasir-icon {
  font-size: 40px;
  margin-bottom: 8px;
}

.kasir-title {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 4px;
}

.kasir-subtitle {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
}

.kasir-tabs {
  display: flex;
  gap: 8px;
  padding: 0 20px 16px;
}

.kasir-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 8px;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid #334155;
  border-radius: 10px;
  color: #94a3b8;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  transition: all 0.15s ease;
}

.kasir-tab.active {
  background: linear-gradient(180deg, #38bdf8 0%, #2563eb 100%);
  border-color: #60a5fa;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
}

.kasir-tab:hover:not(.active) {
  border-color: #38bdf8;
  color: #ffffff;
}

.tab-icon {
  font-size: 20px;
}

.payment-section {
  padding: 0 20px 16px;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #38bdf8;
  margin: 0 0 12px;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.payment-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.payment-method:hover:not(.active) {
  border-color: #38bdf8;
}

.deposit-form-container {
  padding: 0 20px 20px;
}

.info-card {
  margin-bottom: 16px;
  overflow: hidden;
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-icon {
  font-size: 20px;
}

.info-card-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.info-card-body {
  padding: 16px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  font-size: 12px;
  color: #94a3b8;
}

.info-value {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.info-value-copy {
  display: flex;
  align-items: center;
  gap: 8px;
}

.copy-btn {
  cursor: pointer;
  transition: all 0.15s ease;
}

.copy-btn:hover {
  color: #ffffff;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 16px;
  color: #1e293b;
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.form-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-input::placeholder {
  color: #94a3b8;
}

.input-prefix {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.input-prefix:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.input-prefix .prefix {
  padding: 12px 14px;
  background: #f1f5f9;
  color: #475569;
  font-size: 14px;
  font-weight: 600;
  border-right: 1px solid #e2e8f0;
}

.input-prefix .form-input {
  border: none;
  border-radius: 0;
  flex: 1;
}

.form-hint {
  font-size: 11px;
  color: #64748b;
  margin-top: 4px;
}

.preset-amounts {
  display: grid;
  margin-bottom: 16px;
}

.preset-btn {
  cursor: pointer;
}

.preset-btn:hover:not(.active) {
  border-color: #38bdf8;
  color: #ffffff;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  color: #ffffff;
  border: none;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.15s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.btn-icon {
  font-size: 16px;
}

/* QRIS Card */

.qris-header {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
}

.qris-title-wrap {
  flex: 1;
}

.qris-title {
  font-family: 'Outfit', sans-serif;
}

.qris-badge {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.qris-features {
  display: flex;
  justify-content: center;
}

.feature-item {
  display: flex;
  align-items: center;
}

.feature-icon {
  font-size: 14px;
}

/* History Section */
.history-section {
  padding: 0 20px 20px;
}

.history-list {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 12px;
  overflow: hidden;
}

.history-empty {
  text-align: center;
  padding: 30px;
  color: #94a3b8;
}

.empty-icon {
  font-size: 32px;
  margin-bottom: 8px;
  display: inline-flex;
  color: #64748b;
}

/* ==========================================================================
   TRANSACTION PAGES PRO — Deposit, Withdraw, Riwayat
   ========================================================================== */

/* --- Section Head (Title + Hint) --- */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.section-head .section-title {
  margin: 0;
}

.section-hint {
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
}

/* --- Payment Method: Professional Icon Wrap --- */
.method-icon-wrap {
  width: 44px;
  height: 44px;
  background: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
}

.payment-method {
  position: relative;
  padding: 12px 4px 8px;
  border-radius: 12px;
  background: linear-gradient(180deg, #16233b 0%, #0f172a 100%);
  border: 1px solid #24344a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 2px 8px rgba(0, 0, 0, 0.35);
}

.payment-method.active {
  background: linear-gradient(180deg, #1e3a5f 0%, #13233d 100%);
  border-color: #38bdf8;
  box-shadow: 0 0 0 1.5px rgba(56, 189, 248, 0.4), 0 4px 16px rgba(56, 189, 248, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.payment-method.active::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #38bdf8, transparent);
  border-radius: 2px;
}

.payment-method.active .method-icon-wrap {
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.45);
}

.payment-method.active .method-name {
  color: #38bdf8;
  font-weight: 800;
}

.method-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.method-name {
  font-size: 10px;
  font-weight: 700;
  color: #b0bed0;
  letter-spacing: 0.2px;
}

/* QRIS icon wrap special green */
.method-icon-qris {
  background: linear-gradient(180deg, #ffffff 0%, #ecfdf5 100%);
  border: 1px solid #a7f3d0;
}

/* --- Info Card: Enterprise Look --- */
.info-card {
  background: linear-gradient(180deg, #101d33 0%, #0a1424 100%);
  border: 1px solid #1e3a5f;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.info-card-header {
  background: linear-gradient(90deg, #0f2b4e 0%, #13233d 100%);
  border-bottom: 1px solid #1e3a5f;
  padding: 14px 18px;
}

.info-icon {
  color: #38bdf8;
  display: inline-flex;
}

.info-row {
  background: rgba(255, 255, 255, 0.025);
  border-radius: 8px;
  margin: 6px 0;
  padding: 10px 12px;
}

.copy-btn {
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  border: 1px solid #60a5fa;
  color: #ffffff;
  border-radius: 6px;
  padding: 5px 12px;
  font-weight: 700;
  font-size: 10px;
}

.copy-btn:hover {
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
}

/* --- Buttons Enhanced --- */
.btn-submit {
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 55%, #1e40af 100%);
  box-shadow: 0 4px 0 #1e3a8a, 0 6px 18px rgba(37, 99, 235, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

.btn-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  animation: btnShine 3.2s ease-in-out infinite;
}

@keyframes btnShine {
  0% { left: -100%; }
  45% { left: 160%; }
  100% { left: 160%; }
}

.btn-submit:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #1e3a8a, 0 3px 10px rgba(37, 99, 235, 0.4);
}

/* --- Preset Buttons: Modern Pill Style --- */
.preset-amounts {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

@media (min-width: 381px) {
  .preset-amounts {
    grid-template-columns: repeat(6, 1fr);
  }
}

.preset-btn {
  padding: 10px 4px;
  background: linear-gradient(180deg, #1a2a44 0%, #101c30 100%);
  border: 1px solid #2a3d5c;
  border-radius: 10px;
  color: #c7d5e8;
  font-size: 11.5px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.18s cubic-bezier(0.25, 1, 0.5, 1);
}

.preset-btn:hover {
  border-color: #38bdf8;
  color: #38bdf8;
  transform: translateY(-1px);
}

.preset-btn:active {
  transform: translateY(1px);
}

.preset-btn.active {
  background: linear-gradient(180deg, #38bdf8 0%, #2563eb 100%);
  border-color: #60a5fa;
  color: #ffffff;
  box-shadow: 0 3px 0 #1e3a8a, 0 4px 14px rgba(56, 189, 248, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

/* --- QRIS Card: Alive & Professional --- */
.qris-card {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 60%, #e8f8eb 100%);
  border: 1.5px solid #a7f3d0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 30px rgba(34, 197, 94, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.qris-card-glow {
  position: absolute;
  top: -60%;
  left: -20%;
  width: 140%;
  height: 130%;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.14) 0%, transparent 62%);
  pointer-events: none;
  animation: qrisGlowFloat 5s ease-in-out infinite alternate;
}

@keyframes qrisGlowFloat {
  0% { transform: translate(0, 0) scale(1); opacity: 0.8; }
  100% { transform: translate(6%, 4%) scale(1.08); opacity: 1; }
}

.qris-header {
  position: relative;
  background: linear-gradient(135deg, #059669 0%, #007a4d 55%, #005f3c 100%);
  padding: 20px 18px;
  border-bottom: 2px solid #34d399;
}

.qris-logo-box {
  position: relative;
  width: 48px;
  height: 48px;
  background: #ffffff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3), inset 0 2px 0 rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
}

.qris-logo-ring {
  position: absolute;
  inset: -4px;
  border: 2px solid rgba(167, 243, 208, 0.7);
  border-radius: 18px;
  animation: qrisRingPulse 2.4s ease-in-out infinite;
}

@keyframes qrisRingPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.6; }
}

.qris-logo {
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.qris-title {
  font-size: 17px;
  font-weight: 900;
  margin: 0;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.qris-subtitle {
  font-size: 12px;
  opacity: 0.95;
  margin: 2px 0 0;
}

.qris-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 1px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.9);
  animation: dotPulse 1.6s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

.qris-features {
  background: linear-gradient(180deg, #f0fdf4 0%, #e8f8eb 100%);
  border-bottom: 1px solid #d1fae5;
  padding: 12px 14px;
  gap: 28px;
}

.feature-item {
  gap: 6px;
}

.feature-icon {
  width: 28px;
  height: 28px;
  background: #ffffff;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.feature-text {
  font-size: 11.5px;
  font-weight: 700;
  color: #065f46;
}

.qris-body {
  padding: 20px 18px 16px;
  position: relative;
}

.input-prefix-dark .prefix {
  background: #f0fdf4;
  color: #065f46;
  border-right-color: #d1fae5;
  font-weight: 800;
}

.qris-submit {
  background: linear-gradient(180deg, #10b981 0%, #059669 55%, #047857 100%) !important;
  box-shadow: 0 4px 0 #065f46, 0 6px 20px rgba(16, 185, 129, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.qris-submit:hover {
  background: linear-gradient(180deg, #34d399 0%, #10b981 55%, #059669 100%) !important;
  box-shadow: 0 6px 0 #065f46, 0 8px 26px rgba(16, 185, 129, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

.qris-submit:active {
  transform: translateY(3px) !important;
  box-shadow: 0 1px 0 #065f46, 0 2px 8px rgba(16, 185, 129, 0.4) !important;
}

/* --- Withdraw Page Styles --- */
.wd-card-head {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wd-badge {
  display: inline-block;
  background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%);
  color: #431407;
  font-size: 10px;
  font-weight: 900;
  padding: 4px 14px;
  border-radius: 999px;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  box-shadow: 0 3px 0 #b45309, 0 4px 14px rgba(245, 158, 11, 0.4);
}

.wd-title {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 6px;
}

.wd-subtitle {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
}

.bank-destination-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(180deg, #101d33 0%, #0a1424 100%);
  border: 1px solid #1e3a5f;
  border-radius: 14px;
  padding: 16px;
  margin: 0 0 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.bank-dest-icon {
  color: #f59e0b;
  flex-shrink: 0;
}

.bank-dest-text {
  flex: 1;
  min-width: 0;
}

.bank-dest-label {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
  margin-bottom: 2px;
}

.bank-dest-value {
  font-size: 15px;
  font-weight: 800;
  color: #fbbf24;
  display: block;
  overflow-wrap: break-word;
}

.wd-amount-input {
  font-size: 18px !important;
  font-weight: 800 !important;
  letter-spacing: 0.3px;
}

.wd-preset-grid {
  margin-bottom: 20px;
}

.req-star {
  color: #ef4444;
}

.input-prefix-pw .prefix {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  padding: 0 14px;
}

.wd-submit {
  background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 55%, #d97706 100%) !important;
  box-shadow: 0 4px 0 #b45309, 0 6px 20px rgba(245, 158, 11, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.5) !important;
  color: #431407 !important;
}

.wd-submit:hover {
  background: linear-gradient(180deg, #fcd34d 0%, #fbbf24 55%, #f59e0b 100%) !important;
  box-shadow: 0 6px 0 #b45309, 0 8px 26px rgba(245, 158, 11, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

/* --- Withdraw History Card --- */
.tx-history-card {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.tx-history-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: linear-gradient(90deg, #0f2b4e 0%, #13233d 100%);
  border-bottom: 1px solid #1e3a5f;
}

.tx-history-icon {
  color: #38bdf8;
  display: inline-flex;
}

.tx-history-head h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

/* --- Tx Tabs Space --- */
.tx-tabs-space {
  padding-top: 12px;
  padding-bottom: 12px;
}

/* --- Tab Icons --- */
.tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.kasir-tab.active .tab-icon {
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.5));
}

/* --- History Card Icons --- */
.history-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(180deg, #1e3a5f 0%, #16284a 100%);
  border-radius: 10px;
  color: #38bdf8;
  flex-shrink: 0;
}

.history-icon-sport {
  color: #fbbf24;
}

.history-card-header h3 {
  font-size: 14.5px;
}

/* --- Responsive Fixes --- */
@media (max-width: 380px) {
  .qris-header {
    flex-wrap: wrap;
    gap: 8px;
  }
  .qris-badge {
    margin-left: auto;
  }
  .qris-features {
    gap: 16px;
  }
  .bank-destination-box {
    padding: 12px;
  }
  .payment-methods {
    gap: 6px;
  }
  .method-icon-wrap {
    width: 38px;
    height: 38px;
  }
  .method-icon {
    width: 26px;
    height: 26px;
  }
}

/* ==========================================================================
   REFERRAL PAGE PRO — Enterprise Affiliate
   ========================================================================== */

/* --- Stats Grid --- */
.ref-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 20px 16px;
}

.ref-stat-card {
  background: linear-gradient(180deg, #131f38 0%, #0c1524 100%);
  border: 1px solid #22375a;
  border-radius: 14px;
  padding: 16px 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  position: relative;
  overflow: hidden;
}

.ref-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #a78bfa, transparent);
  border-radius: 2px;
}

.ref-stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.ref-stat-icon-total {
  background: linear-gradient(180deg, #a78bfa 0%, #7c3aed 100%);
  color: #ffffff;
}

.ref-stat-icon-active {
  background: linear-gradient(180deg, #34d399 0%, #059669 100%);
  color: #ffffff;
}

.ref-stat-icon-commission {
  background: linear-gradient(180deg, #fbbf24 0%, #d97706 100%);
  color: #ffffff;
}

.ref-stat-value {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  overflow-wrap: break-word;
  max-width: 100%;
}

.ref-value-green {
  color: #34d399;
}

.ref-value-gold {
  color: #fbbf24;
}

.ref-stat-label {
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.2px;
}

/* --- Referral Link Card --- */
.ref-link-section {
  padding: 0 20px 16px;
}

.ref-link-card {
  background: linear-gradient(180deg, #141f3d 0%, #0d1528 100%);
  border: 1px solid #4c3a9e;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.18), 0 4px 20px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.ref-link-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: linear-gradient(90deg, #3b2a7a 0%, #221c4a 100%);
  border-bottom: 1px solid #4c3a9e;
}

.ref-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(180deg, #a78bfa 0%, #7c3aed 100%);
  border-radius: 10px;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.5);
}

.ref-link-head h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.ref-link-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ref-link-box {
  background: #0a0f1d;
  border: 1.5px dashed #6d5bb8;
  border-radius: 10px;
  padding: 12px 14px;
  color: #c4b5fd;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 12.5px;
  font-weight: 600;
  overflow-wrap: break-word;
  word-break: break-all;
  line-height: 1.5;
  user-select: all;
}

.ref-copy-btn {
  margin-top: 2px;
}

.ref-copy-btn.copied {
  background: linear-gradient(180deg, #34d399 0%, #059669 100%) !important;
  box-shadow: 0 4px 0 #065f46, 0 6px 18px rgba(16, 185, 129, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

.ref-copy-btn .btn-icon {
  display: inline-flex;
  align-items: center;
}

/* --- Steps Grid: Compact 3-Column Enterprise --- */
.ref-steps-section {
  padding: 0 20px 16px;
}

.ref-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  align-items: stretch;
}

.ref-step-card {
  background: linear-gradient(180deg, #131f38 0%, #0c1524 100%);
  border: 1px solid #22375a;
  border-radius: 12px;
  padding: 14px 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  min-width: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  position: relative;
  overflow: hidden;
}

.ref-step-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #7c3aed, transparent);
  border-radius: 2px;
}

.ref-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: linear-gradient(180deg, #a78bfa 0%, #7c3aed 100%);
  border-radius: 50%;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.ref-step-title {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.ref-step-desc {
  font-size: 10px;
  color: #94a3b8;
  line-height: 1.4;
  margin: 0;
  overflow-wrap: break-word;
  max-width: 100%;
}

/* --- Rate Section --- */
.ref-rate-section {
  padding: 0 20px 24px;
}
