/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #0071ce;
  --primary-light: #1a8fe0;
  --primary-foreground: #ffffff;
  --background: #f0f6ff;
  --foreground: #1a1a2e;
  --card: #ffffff;
  --card-foreground: #1a1a2e;
  --muted-foreground: #6b7280;
  --border: #c8dff7;
  --accent: #e8f2ff;
  --emerald: #10b981;
  --green: #22c55e;
  --yellow: #ffc220;
  --radius: 0.75rem;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  background-color: #fff0f0;
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== Main Layout ===== */
.main {
  position: relative;
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 5rem 0.75rem 2rem;
}

@media (min-width: 640px) {
  .main {
    padding: 5rem 1rem;
  }
}

.container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 28rem;
}

/* ===== Main Card ===== */
.card {
  overflow: hidden;
  border-radius: 1rem;
  background-color: var(--card);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

@media (min-width: 640px) {
  .container {
    margin-top: -25px;
  }
}

@media (min-width: 640px) {
  .card {
    border-radius: 1.5rem;
  }
}

.card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1rem;
}

@media (min-width: 640px) {
  .card-inner {
    padding: 2rem 1.5rem;
  }
}

/* ===== Brand Logo ===== */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.walmart-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* --- Spark icon --- */
.walmart-spark {
  position: relative;
  width: 2.4rem;
  height: 2.4rem;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .walmart-spark {
    width: 2.8rem;
    height: 2.8rem;
  }
}

.brand-logo svg.bullseye {
    width: 2rem;
    height: 2rem;
}

@media (min-width: 640px) {
    .brand-logo svg.bullseye {
        width: 2.5rem;
        height: 2.5rem;
    }
}

.brand-name {
        font-size: 1.5rem;
    }

@media (min-width: 640px) {
    .brand-name {
        font-size: 1.875rem;
    }
}

.spark-ray {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 38%;
  height: 14%;
  background: #ffc220;
  border-radius: 999px;
  transform-origin: 0% 50%;
  margin-top: -7%;
}

.ray-1 { transform: rotate(0deg)   translateX(28%); }
.ray-2 { transform: rotate(60deg)  translateX(28%); }
.ray-3 { transform: rotate(120deg) translateX(28%); }
.ray-4 { transform: rotate(180deg) translateX(28%); }
.ray-5 { transform: rotate(240deg) translateX(28%); }
.ray-6 { transform: rotate(300deg) translateX(28%); }

/* --- Wordmark --- */
.walmart-wordmark {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0071ce;
  letter-spacing: -0.02em;
  font-family: "Inter", sans-serif;
  line-height: 1;
}

@media (min-width: 640px) {
  .walmart-wordmark {
    font-size: 1.95rem;
  }
}

.brand-name {
    font-weight: 800;
    color: #c41230;
}


/* ===== Sparkle ===== */
.sparkle {
  margin-top: 0.5rem;
  color: rgba(196, 18, 48, 0.4);
}

.sparkle svg {
  width: 1rem;
  height: 1rem;
}

@media (min-width: 640px) {
  .sparkle {
    margin-top: 0.75rem;
  }
  .sparkle svg {
    width: 1.25rem;
    height: 1.25rem;
  }
}

/* ===== Divider ===== */
.divider {
  width: 75%;
  height: 1px;
  background: #f0d4da;
  margin: 0.5rem 0;
}

@media (min-width: 640px) {
  .divider {
    margin: 0.75rem 0;
  }
}

/* ===== Promo Title ===== */
.promo-title {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--foreground);
  text-wrap: balance;
}

@media (min-width: 640px) {
  .promo-title {
    gap: 0.5rem;
    font-size: 1.125rem;
  }
}

.promo-title .icon-heart {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .promo-title .icon-heart {
    width: 1.25rem;
    height: 1.25rem;
  }
}

/* ===== Reward Card ===== */
.reward-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  background: linear-gradient(to right, #c41230, #e8395b, #f06292);
  padding: 1rem;
  color: var(--primary-foreground);
  box-shadow: 0 10px 15px -3px rgb(206 0 0 / 25%);
  margin-top: 1rem;
  width: 100%;
}

@media (min-width: 640px) {
  .reward-card {
    border-radius: 1rem;
    padding: 1.5rem;
    margin-top: 1rem;
  }
}

.reward-card .label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

@media (min-width: 640px) {
  .reward-card .label {
    font-size: 0.75rem;
  }
}

.reward-card .amount {
  font-size: 2.25rem;
  font-weight: 800;
  margin-top: 0.125rem;
}

@media (min-width: 640px) {
  .reward-card .amount {
    font-size: 3rem;
    margin-top: 0.25rem;
  }
}

.reward-card .sub-text {
  font-size: 0.75rem;
  opacity: 0.8;
  margin-top: 0.5rem;
}

@media (min-width: 640px) {
  .reward-card .sub-text {
    font-size: 0.875rem;
    margin-top: 0.75rem;
  }
}

.reward-card .calendar-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.6;
}

@media (min-width: 640px) {
  .reward-card .calendar-icon {
    right: 1.5rem;
  }
}

.reward-card .calendar-icon svg {
  width: 2.5rem;
  height: 2.5rem;
}

@media (min-width: 640px) {
  .reward-card .calendar-icon svg {
    width: 3rem;
    height: 3rem;
  }
}

.reward-card .calendar-icon svg.bullseye {
    width: 60px;
    height: 60px;
}

@media (min-width: 640px) {
    .reward-card .calendar-icon svg.bullseye {
        width: 80px;
        height: 80px;
    }
}

.reward-card .deco-heart {
  position: absolute;
  right: 4rem;
  top: 0.75rem;
  opacity: 0.2;
}

@media (min-width: 640px) {
  .reward-card .deco-heart {
    right: 5rem;
    top: 1rem;
  }
}

.reward-card .deco-heart svg {
  width: 1.25rem;
  height: 1.25rem;
}

@media (min-width: 640px) {
  .reward-card .deco-heart svg {
    width: 1.5rem;
    height: 1.5rem;
  }
}

/* ===== Step Divider ===== */
.heart-divider {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0;
}

@media (min-width: 640px) {
  .heart-divider {
    margin: 1rem 0;
  }
}

.heart-divider .line {
  flex: 1;
  height: 1px;
  background: #f0d4da;
}

/* ===== Steps ===== */
.steps-card {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid #f0d4da;
  background: var(--card);
  padding: 0.875rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

@media (min-width: 640px) {
  .steps-card {
    border-radius: 1rem;
    padding: 1.25rem;
  }
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .steps-list {
    gap: 1rem;
  }
}

.step-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .step-item {
    gap: 1rem;
  }
}

.step-number {
  display: flex;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background:#c41230;
  color: var(--primary-foreground);
  font-size: 0.75rem;
  font-weight: 700;
}

@media (min-width: 640px) {
  .step-number {
    width: 2rem;
    height: 2rem;
    font-size: 0.875rem;
  }
}

.step-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .step-text {
    font-size: 0.875rem;
  }
}

.step-text .highlight {
  color: #c41230;
  font-weight: 700;
}

/* ===== Trust Badges ===== */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .trust-badges {
    gap: 0.75rem;
    margin-top: 1.5rem;
  }
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.trust-badge .bullet {
  margin-right: 0.25rem;
  color: #f7c8c8;
}

@media (min-width: 640px) {
  .trust-badge .bullet {
    margin-right: 0.5rem;
  }
}

.trust-badge svg {
  width: 0.875rem;
  height: 0.875rem;
  color: #c41230;
}

@media (min-width: 640px) {
  .trust-badge svg {
    width: 1rem;
    height: 1rem;
  }
}

.trust-badge span {
  font-size: 10px;
  font-weight: 500;
}

@media (min-width: 640px) {
  .trust-badge span {
    font-size: 0.75rem;
  }
}

/* ===== Viewer Count ===== */
.viewer-count {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 9999px;
  background: #fce4ec;
  padding: 0.25rem 0.75rem;
  margin-top: 0.75rem;
}

@media (min-width: 640px) {
  .viewer-count {
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    margin-top: 1rem;
  }
}

.viewer-count svg {
  width: 0.875rem;
  height: 0.875rem;
  color: #c41230;
}

@media (min-width: 640px) {
  .viewer-count svg {
    width: 1rem;
    height: 1rem;
  }
}

.viewer-count .count-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: #c41230;
}

@media (min-width: 640px) {
  .viewer-count .count-text {
    font-size: 0.875rem;
  }
}

.viewer-count .label-text {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .viewer-count .label-text {
    font-size: 0.875rem;
  }
}

.green-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--green);
}

@media (min-width: 640px) {
  .green-dot {
    width: 0.5rem;
    height: 0.5rem;
  }
}

/* ===== CTA Button ===== */
.cta-button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: 0.75rem;
  background: #c41230;
  color: #ffffff;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  margin-top: 1rem;
  box-shadow: 0 10px 15px -3px rgb(255 32 32 / 35%);
  transition: all 0.2s;
}

@media (min-width: 640px) {
  .cta-button {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    margin-top: 1.5rem;
  }
}

.cta-button:hover {
  filter: brightness(1.1);
}

.cta-button:active {
  transform: scale(0.98);
}

.cta-button svg {
  width: 1rem;
  height: 1rem;
}

@media (min-width: 640px) {
  .cta-button svg {
    width: 1.25rem;
    height: 1.25rem;
  }
}

/* ===== Footer Text ===== */
.footer-text {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.75rem;
}

@media (min-width: 640px) {
  .footer-text {
    font-size: 0.875rem;
    margin-top: 1rem;
  }
}

.footer-text svg {
  width: 0.75rem;
  height: 0.75rem;
}

.disclaimer {
  font-size: 10px;
  color: rgba(115, 115, 115, 0.6);
  text-align: center;
  margin-top: 0.375rem;
  line-height: 1.3;
}

@media (min-width: 640px) {
  .disclaimer {
    font-size: 0.75rem;
    margin-top: 0.5rem;
  }
}

/* ===== Trustpilot Badge ===== */
.trustpilot-badge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid #f0d4da;
  background: var(--card);
  padding: 0.625rem 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .trustpilot-badge {
    gap: 0.75rem;
    border-radius: 1rem;
    padding: 0.75rem 1.5rem;
    margin-top: 1.5rem;
  }
}

.trustpilot-label {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.trustpilot-label svg {
  width: 1rem;
  height: 1rem;
}

@media (min-width: 640px) {
  .trustpilot-label svg {
    width: 1.25rem;
    height: 1.25rem;
  }
}

.trustpilot-label span {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .trustpilot-label span {
    font-size: 1rem;
  }
}

.trustpilot-divider {
  display: none;
  width: 1px;
  height: 1.25rem;
  background: #f0d4da;
}

@media (min-width: 640px) {
  .trustpilot-divider {
    display: block;
  }
}

.trustpilot-stars {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

@media (min-width: 640px) {
  .trustpilot-stars {
    gap: 0.25rem;
  }
}

.trustpilot-stars svg {
  width: 0.875rem;
  height: 0.875rem;
}

@media (min-width: 640px) {
  .trustpilot-stars svg {
    width: 1rem;
    height: 1rem;
  }
}

.half-star {
  position: relative;
  width: 0.875rem;
  height: 0.875rem;
}

@media (min-width: 640px) {
  .half-star {
    width: 1rem;
    height: 1rem;
  }
}

.half-star svg {
  position: absolute;
  inset: 0;
}

.half-star .clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  width: 50%;
}

.trustpilot-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.trustpilot-rating .number {
  font-size: 1rem;
  font-weight: 700;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .trustpilot-rating .number {
    font-size: 1.125rem;
  }
}

.trustpilot-rating .excellent {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .trustpilot-rating .excellent {
    font-size: 0.875rem;
  }
}

.trustpilot-heart svg {
  width: 0.875rem;
  height: 0.875rem;
}

@media (min-width: 640px) {
  .trustpilot-heart svg {
    width: 1rem;
    height: 1rem;
  }
}

/* ===== FAQ Section ===== */
.faq-section {
  margin-top: 1.5rem;
  width: 100%;
}

@media (min-width: 640px) {
  .faq-section {
    margin-top: 2rem;
  }
}

.faq-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  text-align: center;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
  text-wrap: balance;
}

@media (min-width: 640px) {
  .faq-title {
    gap: 0.5rem;
    font-size: 1.25rem;
  }
}

.faq-title svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .faq-title svg {
    width: 1.25rem;
    height: 1.25rem;
  }
}

.faq-card {
  margin-top: 1rem;
  overflow: hidden;
  border-radius: 0.75rem;
  background: var(--card);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

@media (min-width: 640px) {
  .faq-card {
    margin-top: 1.25rem;
    border-radius: 1rem;
  }
}

.faq-item {
  border-bottom: 1px solid rgb(240 212 218 / 50%);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 0.875rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--foreground);
  transition: background-color 0.15s;
}

@media (min-width: 640px) {
  .faq-question {
    padding: 1rem 1.25rem;
    font-size: 0.875rem;
  }
}

.faq-question:hover {
  background: rgba(240, 212, 218, 0.15);
}

.faq-question .chevron {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  color: var(--muted-foreground);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question .chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 10rem;
}

.faq-answer-inner {
  padding: 0 0.875rem 0.75rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

@media (min-width: 640px) {
  .faq-answer-inner {
    padding: 0 1.25rem 1rem;
    font-size: 0.875rem;
  }
}

/* ===== Promo Footer ===== */
.promo-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding-top: 1rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .promo-footer {
    margin-top: 2.5rem;
  }
}

.promo-footer .happy {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.promo-footer .happy svg {
  width: 1rem;
  height: 1rem;
}

.promo-footer .copyright {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ===== Toast Notification ===== */
.toast {
  position: fixed;
  left: 50%;
  top: 0.5rem;
  z-index: 50;
  width: calc(100% - 1.5rem);
  max-width: 24rem;
  transform: translateX(-50%) translateY(-1.5rem);
  opacity: 0;
  transition: all 0.7s ease-in-out;
  pointer-events: none;
}

@media (min-width: 640px) {
  .toast {
    top: 1rem;
    width: auto;
  }
}

.toast.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: var(--card);
  padding: 0.375rem 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

@media (min-width: 640px) {
  .toast-inner {
    gap: 0.75rem;
    padding: 0.5rem 1rem;
  }
}

.toast-avatar {
  position: relative;
  display: flex;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgb(206 0 0 / 10%);
}

@media (min-width: 640px) {
  .toast-avatar {
    width: 2.5rem;
    height: 2.5rem;
  }
}

.toast-avatar .gift-icon {
  width: 1rem;
  height: 1rem;
  color: #c41230;
}

@media (min-width: 640px) {
  .toast-avatar .gift-icon {
    width: 1.25rem;
    height: 1.25rem;
  }
}

.toast-avatar .check-badge {
  position: absolute;
  top: -0.125rem;
  right: -0.125rem;
  display: flex;
  width: 0.875rem;
  height: 0.875rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green);
}

@media (min-width: 640px) {
  .toast-avatar .check-badge {
    width: 1rem;
    height: 1rem;
  }
}

.toast-avatar .check-badge svg {
  width: 0.5rem;
  height: 0.5rem;
  color: white;
}

@media (min-width: 640px) {
  .toast-avatar .check-badge svg {
    width: 0.625rem;
    height: 0.625rem;
  }
}

.toast-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.toast-name {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.toast-name svg {
  width: 0.625rem;
  height: 0.625rem;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .toast-name svg {
    width: 0.75rem;
    height: 0.75rem;
  }
}

.toast-name span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--foreground);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .toast-name span {
    font-size: 0.875rem;
  }
}

.toast-claim {
  font-size: 10px;
  color: #c41230;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .toast-claim {
    font-size: 0.75rem;
  }
}

.toast-claim strong {
  font-weight: 700;
}

.toast-location {
  font-size: 10px;
  color: var(--muted-foreground);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .toast-location {
    font-size: 0.75rem;
  }
}

.toast-dot {
  width: 0.5rem;
  height: 0.5rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--green);
  margin-left: 0.125rem;
}

@media (min-width: 640px) {
  .toast-dot {
    margin-left: 0.25rem;
  }
}

/* ===== Floating Hearts ===== */
.floating-hearts {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.floating-heart {
  position: absolute;
  animation: floatHeart 6s ease-in-out infinite;
}

@keyframes floatHeart {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  33% {
    transform: translateY(-12px) rotate(5deg);
  }
  66% {
    transform: translateY(8px) rotate(-3deg);
  }
}

/* ===== Icon Colors (inline fill) ===== */
.fill-primary {
  fill: var(--primary);
  color: var(--primary);
}

.fill-emerald {
  fill: var(--emerald);
  color: var(--emerald);
}

.fill-white {
  fill: white;
  color: white;
}
