/* ================= RESET ================= */
* {
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  margin: 0;
  background: #f4f6fb;
  color: #1f2937;
}

/* ================= HEADER ================= */
.header {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.header-inner {
  max-width: 600px;
  margin: auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  letter-spacing: 1px;
}

.lang {
  font-size: 14px;
}

/* ================= HERO ================= */
.hero {
  background: linear-gradient(135deg, #2f3a8f, #1f2a6d);
  color: white;
}

.hero-inner {
  max-width: 600px;
  margin: auto;
  padding: 44px 20px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* text */
.hero-content {
  flex: 1;
}

.hero-logo {
  height: 20px;
  margin-bottom: 12px;
}

.hero-content h1 {
  font-size: 32px;
  margin: 0 0 6px;
}

.hero-content p {
  font-size: 14px;
  opacity: 0.9;
  margin: 0;
}

/* illustration */
.hero-illu {
  flex-shrink: 0;
}

.hero-illu img {
  width: 140px;
  height: auto;
}

/* ================= CONTENT ================= */
.container {
  max-width: 600px;
  margin: -60px auto 0;
  padding: 0 20px 40px;
}

.voucher-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* ================= CARD ================= */
.voucher-card {
  background: white;
  border-radius: 18px;
  padding: 20px 20px 56px;
  position: relative;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

.voucher-card h3 {
  margin: 10px 0 4px;
  font-size: 16px;
}

.voucher-card p {
  margin: 0;
  font-size: 14px;
}

.voucher-card small {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #6b7280;
}

/* arrow */
.arrow {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #2f3a8f;
  color: white;
  font-size: 16px;
  cursor: pointer;
}

/* badge */
.badge {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 600;
}

.red { background: #fee2e2; color: #b91c1c; }
.pink { background: #fde2f3; color: #9d174d; }
.green { background: #dcfce7; color: #166534; }

/* ================= FOOTER ================= */
.footer {
  text-align: center;
  padding: 32px 16px;
  font-size: 12px;
  color: #6b7280;
}

/* ================= DESKTOP ================= */
@media (min-width: 768px) {
  .hero-inner {
    padding: 64px 20px 100px;
  }

  .hero-content h1 {
    font-size: 40px;
  }

  .hero-illu img {
    width: 220px;
  }

  .voucher-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
/* Badge image */
.badge-img {
  padding: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
}

.badge-img img {
  height: 18px;     /* pas kayak RedeemSG */
  width: auto;
  display: block;
}


.footer {
  text-align: center;
  padding: 40px 16px 32px;
  font-size: 12px;
  color: #6b7280;
}

.footer-logo {
  height: 22px;      /* mirip aslinya */
  width: auto;
  margin-bottom: 8px;
  display: inline-block;
}


.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.voucher-card {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.voucher-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.12);
}

/* tombol tetap di atas */
.arrow {
  pointer-events: none;
}
