body, html {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(to bottom, #0378EA, #0378EA);
  color: white;
  text-align: center;
  overflow-x: hidden;
}

.container {
  max-width: 500px;
  margin: auto;
  padding: 20px;
}

.logo {
  width: 200px;
  margin-bottom: 10px;
}

.giftcard {
  width: 80%;
  margin: 20px 0;
}

.card {
  background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  color: #333;
  position: relative;
}

.subtitle {
  font-size: 1.2rem;
}

.description {
  margin: 15px 0;
  font-size: 1rem;
}

.alert {
  background-color: #ff5722;
  color: white;
  font-weight: bold;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.countdown {
  font-size: 1.2rem;
  color: #d50000;
  font-weight: bold;
  margin-top: 10px;
}

.progress-bar {
  width: 100%;
  background-color: #ddd;
  border-radius: 5px;
  margin-top: 10px;
  height: 10px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background-color: #4caf50;
  transition: width 0.3s ease;
}

.quiz {
  margin: 20px 0;
}

.question {
  font-weight: bold;
}

.answers {
  display: flex;
  justify-content: space-around;
  margin-top: 15px;
}

.answer-btn {
  background: #ffca28;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.answer-btn:hover {
  background: #ffc107;
}

/* 添加闪烁效果 */
@keyframes flash {
  0% {
      opacity: 1;
  }
  50% {
      opacity: 0.5;
  }
  100% {
      opacity: 1;
  }
}

/* 默认隐藏 Claim Now 按钮 */
.cta-btn {
  margin-top: 20px;
  display: none; /* 默认不显示 */
  background: #673ab7;
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  animation: flash 1.5s infinite; /* 闪烁动画 */
}

.cta-btn:hover {
  background: #512da8;
}

.cta-hint {
  font-size: 0.9rem;
  color: #444;
  margin-top: 10px;
}

.disclaimer {
  font-size: 0.8rem;
  margin-top: 20px;
  color: #ccc;
}

.comments {
  background: #f5f5f5;
  padding: 15px;
  border-radius: 10px;
  text-align: left;
  margin-top: 30px;
  color: #333;
  min-height: 160px;
  overflow: hidden;
}

.comment {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
  animation: fadeIn 0.5s ease-in;
}

.comment img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.falling-gift {
  position: absolute;
  width: 40px;
  height: 40px;
  background: url('../img/gift-icon.png') no-repeat center/contain;
  animation: dropGift 4s linear infinite;
  top: -50px;
  z-index: 0;
}

@keyframes dropGift {
  0% { transform: translateY(0); opacity: 0.9; }
  100% { transform: translateY(600px); opacity: 0; }
}
