/* Reset & base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: linear-gradient(120deg, #fff7e6 0%, #ffe0b2 100%);
  color: #222;
  margin: 0;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

/* Header */
.header {
  background: #fff;
  box-shadow: 0 2px 8px #ffb36633;
  padding: 28px 0 16px 0;
  text-align: center;
  border-bottom: 2px solid #ffb36644;
}
.header h1 {
  color: #ff6600;
  font-size: 2.2rem;
  font-weight: bold;
  margin: 0;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px #ffb36633;
}

/* Section title */
.section-title {
  margin: 30px 0 18px 0;
  font-size: 1.5rem;
  color: #ff6600;
  font-weight: 600;
}

/* Voucher list */
.voucher-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 40px auto 0 auto;
  padding: 0 18px 40px 18px;
}

.voucher-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px #ffb36633, 0 1.5px 8px #0001;
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  border: 1.5px solid #ffb36633;
  position: relative;
  overflow: hidden;
  height: 100%;
  transition: transform 0.22s cubic-bezier(0.4, 2, 0.6, 1), box-shadow 0.22s;
}
.voucher-card:hover {
  transform: translateY(-8px) scale(1.045) rotate(-1deg);
  box-shadow: 0 10px 32px #ff660044, 0 2px 12px #0002;
  z-index: 2;
}

.voucher-img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  margin-bottom: 12px;
  border-radius: 14px;
  background: #fff7e6;
  box-shadow: 0 2px 8px #ffb36622;
  transition: box-shadow 0.18s;
}
.voucher-card:hover .voucher-img {
  box-shadow: 0 6px 18px #ff660033;
}

.voucher-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ff6600;
  text-align: center;
  margin-bottom: 7px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.voucher-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
}

.voucher-desc {
  font-size: 1rem;
  color: #444;
  text-align: center;
  margin-bottom: 10px;
  min-height: 44px;
}

.voucher-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  width: 100%;
}

.voucher-registered {
  font-size: 0.93rem;
  color: #888;
  margin-bottom: 0;
  text-align: center;
}

.voucher-btn {
  width: 100%;
  background: linear-gradient(90deg, #ff8800, #ff6600);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 0;
  font-size: 1.08rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 2px 12px #ff660022;
  transition: background 0.18s, transform 0.18s;
  letter-spacing: 0.5px;
}
.voucher-btn:hover {
  background: linear-gradient(90deg, #ff6600, #ff8800);
  transform: scale(1.04);
}

.badge-hot {
  margin-left: 8px;
  padding: 2px 10px;
  background: #ef4444;
  color: #fff;
  font-size: 0.85rem;
  border-radius: 9999px;
  font-weight: 600;
  animation: pulse 1.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  box-shadow: 0 2px 8px #ef444422;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Responsive */
@media (max-width: 600px) {
  .voucher-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .voucher-card {
    padding: 14px 8px 12px 8px;
  }
  .header {
    padding: 18px 0 10px 0;
  }
  .header h1 {
    font-size: 1.3rem;
  }
}
