:root {
  --bg: #eaf3ff;
  --bg-gradient:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.22) 0%,
      rgba(234, 243, 255, 0.16) 45%,
      rgba(234, 243, 255, 0.10) 100%),
    url('../images/bg-n.jpg') top center / cover no-repeat;
  --accent: #1e6fff;
  --accent-2: #10b981;
  --yellow: #ffc400;
  --gold: #ffd700;

  --glass: rgba(255, 255, 255, 0.65);
  --glass-strong: rgba(255, 255, 255, 0.8);
  --card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.85) 100%);

  --text: #0b2745;
  --text-muted: #3a5a7a;
  --rounded: 16px;
  --shadow: 0 10px 24px rgba(21, 77, 136, 0.18);
  --shadow-strong: 0 18px 44px rgba(21, 77, 136, 0.25);
  --border-soft: rgba(30, 111, 255, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

/* Body / page bg */
body {
  background-color: var(--bg);
  background: var(--bg-gradient);
  /* Keep camera-feel */
  background-attachment: fixed;
  color: var(--text);
  min-height: 100vh;
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  animation: gradientBounce 3s ease-in-out 1 forwards; 


}

.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 18px 12px 60px;
}
@keyframes gradientBounce {
  0% {
    background-position: top center;
  }
  50% {
    background-position: bottom center;
  }
  70% {
    transform: translateY(-20px); /* bounce effect */
  }
  100% {
    background-position: top center;
    transform: translateY(0);
  }
}

header {
  padding: 18px 6px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  font-weight: 800;
  color: var(--accent);
  font-size: 30px;
  letter-spacing: .5px;
  text-shadow: 0 2px 10px rgba(30, 111, 255, 0.15);
}

.tag {
  color: var(--text-muted);
  font-size: 15px;
  opacity: .95;
}

/* HERO */
.hero {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 16px;
  padding: 24px 16px;
  background: var(--glass);
  border-radius: 20px;
  border: 1px solid var(--border-soft);
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-animation: hero 2.1s both;
  animation: hero 2.1s both;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -30%;
  background: radial-gradient(600px 220px at 20% 10%, rgba(30, 111, 255, 0.08), transparent 60%);
  animation: rotate 28s linear infinite;
  pointer-events: none;
}

@-webkit-keyframes hero {
  0% {
    -webkit-transform: translateY(-500px);
    transform: translateY(-500px);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    opacity: 0;
  }

  38% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
    opacity: 1;
  }

  55% {
    -webkit-transform: translateY(-65px);
    transform: translateY(-65px);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  72% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }

  81% {
    -webkit-transform: translateY(-28px);
    transform: translateY(-28px);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  90% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }

  95% {
    -webkit-transform: translateY(-8px);
    transform: translateY(-8px);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
}

@keyframes hero {
  0% {
    -webkit-transform: translateY(-500px);
    transform: translateY(-500px);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    opacity: 0;
  }

  38% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
    opacity: 1;
  }

  55% {
    -webkit-transform: translateY(-65px);
    transform: translateY(-65px);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  72% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }

  81% {
    -webkit-transform: translateY(-28px);
    transform: translateY(-28px);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  90% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }

  95% {
    -webkit-transform: translateY(-8px);
    transform: translateY(-8px);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
}


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

  to {
    transform: rotate(360deg);
  }
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 26px;
  font-weight: 900;
  margin: 0 0 8px;
  background: linear-gradient(90deg, #1e6fff, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 8px rgba(30, 111, 255, 0.18));
  animation: titleFloat 3s ease-in-out infinite;
  -webkit-animation: titleFloat 3s ease-in-out infinite;
  -moz-animation: titleFloat 3s ease-in-out infinite;
  -webkit-animation: hero-title 2.2s cubic-bezier(0.470, 0.000, 0.745, 0.715) both;
  animation: hero-title 2.2s cubic-bezier(0.470, 0.000, 0.745, 0.715) both;
}



@-webkit-keyframes hero-title {
  0% {
    -webkit-transform: scale(2);
    transform: scale(2);
    -webkit-filter: blur(4px);
    filter: blur(4px);
    opacity: 0;
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-filter: blur(0px);
    filter: blur(0px);
    opacity: 1;
  }
}

@keyframes hero-title {
  0% {
    -webkit-transform: scale(2);
    transform: scale(2);
    -webkit-filter: blur(4px);
    filter: blur(4px);
    opacity: 0;
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-filter: blur(0px);
    filter: blur(0px);
    opacity: 1;
  }
}



@keyframes titleFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

.hero-subtitle {
  font-size: 15px;
  margin: 0;
  color: var(--text-muted);
  font-weight: 600;
  -webkit-animation: hero-subtitle 2.2s cubic-bezier(0.230, 1.000, 0.320, 1.000) both;
  animation: hero-subtitle 2.2s cubic-bezier(0.230, 1.000, 0.320, 1.000) both;
}



@-webkit-keyframes hero-subtitle {
  0% {
    -webkit-transform: translateX(-1000px) rotate(-720deg);
    transform: translateX(-1000px) rotate(-720deg);
    -webkit-filter: blur(50px);
    filter: blur(50px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateX(0) rotate(0deg);
    transform: translateX(0) rotate(0deg);
    -webkit-filter: blur(0);
    filter: blur(0);
    opacity: 1;
  }
}

@keyframes hero-subtitle {
  0% {
    -webkit-transform: translateX(-1000px) rotate(-720deg);
    transform: translateX(-1000px) rotate(-720deg);
    -webkit-filter: blur(50px);
    filter: blur(50px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateX(0) rotate(0deg);
    transform: translateX(0) rotate(0deg);
    -webkit-filter: blur(0);
    filter: blur(0);
    opacity: 1;
  }
}


.hero-note {
  font-size: 13px;
  color: var(--yellow);
  margin: 0;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(255, 196, 0, 0.35);
  animation: none;
  /* bớt nhấp nháy */
}

/* CTA primary */
.promo-btn {
  width: 100%;
  max-width: 380px;
  border-radius: 14px;
  padding: 18px 24px;
  background: linear-gradient(135deg, #00d18a 0%, #00a870 100%);
  color: #fff;
  text-align: center;
  font-weight: 800;
  font-size: 20px;
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.3),
    0 20px 40px rgba(0, 209, 138, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -2px 0 rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1;
  position: relative;
  transform: perspective(1000px) translateZ(0) rotateX(0deg);
  transform-style: preserve-3d;
}




.promo-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.35), transparent 60%);
  opacity: .6;
  pointer-events: none;
}

.promo-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(16, 185, 129, 0.34);
}

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

/* SMALL BANNERS */
.banners {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.banner {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  padding: 12px;
  background: var(--glass);
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--border-soft);
  box-shadow: 0 6px 16px rgba(21, 77, 136, 0.12);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  backdrop-filter: saturate(150%) blur(10px);
}

.banner .badge {
  min-width: 64px;
  height: 64px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff, #f3f7ff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(21, 77, 136, 0.15);
}

.banner .content {
  flex: 1;
  color: var(--text);
}

.banner .title {
  font-weight: 800;
  font-size: 14px;
  color: var(--accent);
}

.banner .sub {
  font-size: 12px;
  opacity: .95;
  color: var(--text-muted);
}

.banner .cta {
  margin-left: 12px;
  background: linear-gradient(180deg, #ff6b3d, #e5441c);
  color: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
  box-shadow: 0 8px 16px rgba(229, 68, 28, 0.25);
}

/* HERO CARDS */
.hero-cards {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card {
  border-radius: 16px;
  padding: 16px;
  background: var(--card-bg);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(9, 90, 255, 0.08);
  box-shadow: var(--shadow);
  display: flex;
  gap: 12px;
  align-items: center;
  -webkit-animation: card 0.7s cubic-bezier(0.470, 0.000, 0.745, 0.715) both;
  animation: card 0.7s cubic-bezier(0.470, 0.000, 0.745, 0.715) both;
}

@-webkit-keyframes card {
  0% {
    -webkit-transform: scaleX(2);
    transform: scaleX(2);
    -webkit-filter: blur(4px);
    filter: blur(4px);
    opacity: 0;
  }

  100% {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
    -webkit-filter: blur(0px);
    filter: blur(0px);
    opacity: 1;
  }
}

@keyframes card {
  0% {
    -webkit-transform: scaleX(2);
    transform: scaleX(2);
    -webkit-filter: blur(4px);
    filter: blur(4px);
    opacity: 0;
  }

  100% {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
    -webkit-filter: blur(0px);
    filter: blur(0px);
    opacity: 1;
  }
}

.card .left {
  width: 56px;
  height: 56px;
  background: #f5f9ff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 800;
}

.card .body {
  flex: 1;
}

.card .h1 {
  font-weight: 800;
  color: var(--accent);
  font-size: 18px;
  margin-bottom: 6px;
}

.card .h2 {
  font-size: 13px;
  color: var(--text-muted);
}

.card .figure {
  width: 88px;
  height: 64px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(30, 111, 255, 0.06), rgba(30, 111, 255, 0.02));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 12px;
}

/* VIP card with subtle blue-green */
.vip {
  background: linear-gradient(90deg, #e6f7ff, #e8fff7);
  border: 1px solid rgba(16, 185, 129, 0.16);
}

/* DECORATIVE */
.shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(600px 120px at 10% 10%, rgba(30, 111, 255, 0.06), transparent 10%),
    radial-gradient(500px 120px at 90% 90%, rgba(16, 185, 129, 0.05), transparent 10%);
  mix-blend-mode: normal;
}

/* soften animations for light UI */
.pulse {
  animation: pulse 2.6s ease-in-out infinite;
  -webkit-animation: pulse 2.3s cubic-bezier(0.470, 0.000, 0.745, 0.715) both;
  animation: pulse 2.3s cubic-bezier(0.470, 0.000, 0.745, 0.715) both;
}


@-webkit-keyframes pulse {
  0% {
    -webkit-transform: scale(2);
    transform: scale(2);
    -webkit-filter: blur(4px);
    filter: blur(4px);
    opacity: 0;
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-filter: blur(0px);
    filter: blur(0px);
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    -webkit-transform: scale(2);
    transform: scale(2);
    -webkit-filter: blur(4px);
    filter: blur(4px);
    opacity: 0;
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-filter: blur(0px);
    filter: blur(0px);
    opacity: 1;
  }
}

/* @keyframes pulse {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }

  100% {
    transform: translateY(0);
  }
} */

/* FEATURES */
.features {
  margin-top: 32px;
  padding: 24px 0;
}

.section-title {
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 20px;
  color: var(--accent);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--glass);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 18px 16px;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  position: relative;
  box-shadow: 0 6px 16px rgba(21, 77, 136, 0.12);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  backdrop-filter: saturate(150%) blur(10px);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 28px rgba(21, 77, 136, 0.18);
  background: var(--glass-strong);
  border-color: rgba(30, 111, 255, 0.28);
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 10px;
  filter: drop-shadow(0 2px 6px rgba(21, 77, 136, 0.18));
}

.feature-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--accent);
}

.feature-desc {
  font-size: 13px;
  margin: 0;
  color: var(--text-muted);
  line-height: 1.5;
}

/* PROMO SECTION */
.promo-section {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.promo-card {
  background: var(--glass);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  box-shadow: 0 6px 16px rgba(21, 77, 136, 0.12);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  backdrop-filter: saturate(150%) blur(10px);
}

.promo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(21, 77, 136, 0.18);
}

.promo-card.highlight {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: var(--shadow-strong);
  text-align: center;
  padding: 28px 20px;
}

.promo-badge {
  display: inline-block;
  background: linear-gradient(90deg, #1e6fff, #10b981);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 10px;
  box-shadow: 0 6px 16px rgba(30, 111, 255, 0.25);
}

.promo-badge-sm {
  display: inline-block;
  font-size: 28px;
  margin-bottom: 6px;
}

.promo-title {
  font-size: 19px;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--text);
}

.promo-title-sm {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--accent);
}

.promo-amount {
  font-size: 42px;
  font-weight: 900;
  color: var(--gold);
  margin: 14px 0;
  text-shadow: 0 4px 12px rgba(255, 215, 0, 0.35);
}

.promo-desc {
  font-size: 14px;
  margin: 0 0 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

.promo-desc-sm {
  font-size: 13px;
  margin: 0;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Secondary CTA */
.cta-secondary {
  display: inline-block;
  background: linear-gradient(90deg, #ffd400, #ffb300);
  color: #0b2745;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 10px 22px rgba(255, 179, 0, 0.28);
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative;
}

.cta-secondary:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(255, 179, 0, 0.34);
}

/* TRUST */
.trust-section {
  margin-top: 32px;
  padding: 24px;
  background: var(--glass);
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  backdrop-filter: saturate(150%) blur(10px);
}

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

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(30, 111, 255, 0.06);
  border-radius: 12px;
  border: 1px solid rgba(30, 111, 255, 0.16);
}

.trust-icon {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  color: #fff;
  flex-shrink: 0;
}

.trust-item p {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

/* CTA FINAL */
.cta-final {
  margin-top: 38px;
  padding: 34px 20px;
  background: linear-gradient(135deg, rgba(30, 111, 255, 0.12), rgba(255, 255, 255, 0.85));
  border-radius: 20px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-strong);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(30,111,255,0.06)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: .6;
}

.cta-final-content {
  position: relative;
  z-index: 1;
}

.cta-final-title {
  font-size: 24px;
  font-weight: 900;
  margin: 0 0 10px;
  color: var(--text);
}

.cta-final-subtitle {
  font-size: 15px;
  margin: 0 0 20px;
  color: var(--text-muted);
  line-height: 1.6;
}

.cta-final-btn {
  display: inline-block;
  min-width: 260px;
}

/* FOOTER */
.footer {

  padding: 22px 0;
  text-align: center;
  border-top: 1px solid rgba(30, 111, 255, 0.12);
  padding-top: 100px;
}

.footer-text {
  font-size: 14px;
  margin: 0 0 6px;
  color: var(--text-muted);
  font-weight: 600;
}

.footer-note {
  font-size: 12px;
  margin: 0;
  opacity: .8;
  color: var(--text-muted);
}

.bottom-space {
  height: 80px;
}

/* RESPONSIVE */
@media (min-width: 500px) {
  .container {
    max-width: 520px;
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 680px;
  }

  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}