:root {
  --page-bg: #07111f;
  --page-bg-soft: #0d1b31;
  --surface: rgba(9, 18, 35, 0.72);
  --surface-strong: rgba(10, 22, 43, 0.9);
  --surface-border: rgba(255, 255, 255, 0.12);
  --surface-highlight: rgba(255, 255, 255, 0.2);
  --text-main: #f8fbff;
  --text-muted: rgba(233, 241, 255, 0.72);
  --text-soft: rgba(233, 241, 255, 0.52);
  --shadow-lg: 0 24px 80px rgba(1, 10, 25, 0.48);
  --shadow-md: 0 18px 50px rgba(2, 12, 28, 0.36);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --bidv-color: #0d857b;
  --bidv-accent: #6af0d7;
  --vtb-color: #0d80d9;
  --vtb-accent: #7fd8ff;
  --momo-color: #b1126b;
  --momo-accent: #ff83c2;
  --ease-standard: 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-soft: 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(49, 130, 206, 0.2), transparent 30%),
    radial-gradient(circle at 85% 12%, rgba(26, 180, 155, 0.16), transparent 24%),
    linear-gradient(180deg, #07111f 0%, #081223 45%, #050b16 100%);
  color: var(--text-main);
  font-family: "Be Vietnam Pro", sans-serif;
  overflow-x: hidden;
}

button {
  font: inherit;
}

#starfield-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  background: transparent;
}

.page-shell {
  position: relative;
  min-height: 100vh;
}

.page-content {
  position: relative;
  padding-top: 48px;
  padding-bottom: 56px;
}

.ambient {
  position: fixed;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.55;
  z-index: -2;
  pointer-events: none;
}

.ambient-one {
  top: 8%;
  left: -6%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(42, 192, 255, 0.28), transparent 68%);
}

.ambient-two {
  right: -4%;
  bottom: 12%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(122, 255, 204, 0.14), transparent 70%);
}

.hero-panel,
.payment-panel {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.hero-panel {
  padding: 38px 24px 34px;
  margin-bottom: 28px;
}

.hero-panel::before,
.payment-panel::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 60%);
  pointer-events: none;
}

.hero-badge {
  width: fit-content;
  margin: 0 auto 18px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.92rem;
}

.hero-badge i {
  color: #7fd8ff;
}

.hero-title {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4.25rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.gradient-text {
  background: linear-gradient(120deg, #ffffff 0%, #7dd3fc 35%, #86efac 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  max-width: 680px;
  margin: 16px auto 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.hero-caption {
  max-width: 560px;
  margin: 12px auto 0;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.65;
}

.hero-meta {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-chip {
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-chip i {
  color: #8de2ff;
}

.trust-strip {
  margin-top: 18px;
  padding-top: 18px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(248, 251, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 600;
}

.trust-item i {
  color: #8de2ff;
}

.payment-panel {
  padding: 34px 22px 24px;
}

.section-heading {
  margin-bottom: 28px;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: #9be7ff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2.2rem);
  font-weight: 700;
  color: var(--text-main);
}

.bank-card {
  position: relative;
  border-radius: 28px;
  padding: 1px;
  transition:
    transform var(--ease-soft),
    box-shadow var(--ease-soft),
    filter var(--ease-standard),
    border-color var(--ease-standard);
  cursor: default;
  box-shadow: var(--shadow-md);
}

.bank-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 27px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0.04) 42%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity var(--ease-soft);
  pointer-events: none;
}

.bank-card:hover {
  transform: translateY(-6px);
  filter: saturate(1.03);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.32);
}

.bank-card:hover::before {
  opacity: 1;
}

.bidv-theme {
  background: linear-gradient(145deg, rgba(13, 133, 123, 0.95), rgba(5, 85, 78, 0.95));
}

.vtb-theme {
  background: linear-gradient(145deg, rgba(13, 128, 217, 0.95), rgba(7, 77, 133, 0.95));
}

.card-glass {
  position: relative;
  min-height: 100%;
  padding: 24px;
  border-radius: 27px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    rgba(4, 10, 22, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    border-color var(--ease-standard),
    background var(--ease-standard),
    box-shadow var(--ease-standard);
}

.card-glass::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -56px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  filter: blur(4px);
  pointer-events: none;
}

.bank-card:hover .card-glass {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.bank-header {
  gap: 18px;
  margin-bottom: 30px;
}

.bank-tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bank-logo-img {
  display: block;
  max-width: 132px;
  height: auto;
}

.qr-btn {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition:
    background var(--ease-standard),
    transform var(--ease-standard),
    color var(--ease-standard),
    border-color var(--ease-standard),
    box-shadow var(--ease-standard);
}

.qr-btn:hover {
  background: #fff;
  color: #081223;
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(4, 10, 22, 0.22);
}

.card-body-vip {
  position: relative;
  z-index: 1;
}

.card-body-vip label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.66);
}

.value-vip {
  margin-top: 8px;
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}

.stk-copy {
  width: 100%;
  margin-top: 10px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(2, 8, 20, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    background var(--ease-standard),
    border-color var(--ease-standard),
    transform var(--ease-standard),
    box-shadow var(--ease-standard);
}

.stk-copy:hover {
  background: rgba(2, 8, 20, 0.3);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 12px 24px rgba(3, 10, 22, 0.14);
}

.stk-copy i {
  font-size: 1rem;
}

.momo-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(135deg, rgba(177, 18, 107, 0.96), rgba(106, 0, 67, 0.96)),
    var(--momo-color);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition:
    transform var(--ease-soft),
    box-shadow var(--ease-soft),
    filter var(--ease-standard);
}

.momo-bar:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 60px rgba(52, 0, 32, 0.4);
  filter: saturate(1.06);
}

.momo-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.momo-brand img {
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
}

.momo-brand strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.momo-action {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

.glass-modal {
  background: var(--surface-strong);
  border: 1px solid var(--surface-border);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
}

.glass-modal .modal-body {
  position: relative;
  padding: 28px 28px 24px;
}

.qr-frame {
  padding: 14px;
  border-radius: 28px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96),
    rgba(240, 246, 255, 0.9)
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 22px 46px rgba(0, 0, 0, 0.24);
}

.glass-modal img {
  display: block;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
}

.modal-note {
  max-width: 420px;
  margin: 10px auto 0;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

.glass-modal .btn-close {
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 999px;
  background-color: rgba(7, 17, 31, 0.92);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3e%3cpath d='M4 4l8 8M12 4L4 12' stroke='white' stroke-width='2.4' stroke-linecap='round'/%3e%3c/svg%3e");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 16px 16px;
  opacity: 1;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.glass-modal .btn-close:hover {
  background-color: rgba(7, 17, 31, 1);
  border-color: rgba(255, 255, 255, 0.34);
  transform: scale(1.04);
}

.glass-modal .btn-close:focus {
  box-shadow:
    0 0 0 0.2rem rgba(125, 211, 252, 0.28),
    0 10px 24px rgba(0, 0, 0, 0.22);
}

.modal-backdrop.show {
  opacity: 0.78;
}

.payment-toast {
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.96), rgba(21, 128, 61, 0.96));
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(8, 56, 22, 0.38);
}

.shimmer-overlay {
  position: relative;
  overflow: hidden;
  pointer-events: none;
}

.shimmer-overlay::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.24),
    transparent
  );
  transform: skewX(-24deg);
  animation: shimmer-scan 1.4s ease-out infinite;
}

@keyframes shimmer-scan {
  100% {
    left: 180%;
  }
}

@media (max-width: 991.98px) {
  .page-content {
    padding-top: 28px;
    padding-bottom: 40px;
  }

  .hero-panel,
  .payment-panel {
    border-radius: 26px;
  }

  .momo-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .momo-action {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 767.98px) {
  .hero-panel {
    padding: 30px 18px 26px;
  }

  .payment-panel {
    padding: 28px 16px 18px;
  }

  .card-glass {
    padding: 20px;
  }

  .bank-header {
    margin-bottom: 24px;
  }

  .hero-subtitle {
    font-size: 0.98rem;
  }

  .hero-caption,
  .modal-note {
    font-size: 0.9rem;
  }

  .value-vip {
    font-size: 1.18rem;
  }

  .stk-copy {
    padding: 14px 16px;
  }
}

@media (max-width: 575.98px) {
  .page-content {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero-chip,
  .hero-badge,
  .trust-item {
    width: 100%;
    justify-content: center;
  }

  .hero-meta,
  .trust-strip {
    gap: 10px;
  }

  .momo-brand {
    align-items: flex-start;
  }

  .momo-brand strong {
    font-size: 1rem;
  }

  .glass-modal .modal-body {
    padding: 22px 16px 18px;
  }

  .qr-frame {
    padding: 10px;
    border-radius: 22px;
  }
}
