/* ============================================
   Walmart Reward Landing Page — styles.css
   ============================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  min-height: 100vh;
  background-color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1a1a1a;
}

/* ---- Background floating icons ---- */
.bg-icons {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.bg-icon {
  position: absolute;
  user-select: none;
  opacity: 0.12;
  filter: grayscale(1) brightness(0.6);
  animation: floatBg 4s ease-in-out infinite;
}

/* ---- Header ---- */
.site-header {
  position: relative;
  z-index: 10;
  width: 100%;
  background-color: #0071CE;
  color: #ffffff;
  text-align: center;
  padding: 6px 16px;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
}

.header-sub {
  font-size: 10px;
  margin-top: 2px;
  opacity: 0.9;
}

/* ---- Main content wrapper ---- */
.page-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 320px;
  margin: 0 auto;
  padding: 8px 20px 24px;
}

/* ---- Logo ---- */
.walmart-logo {
  width: 112px;
  margin-bottom: 4px;
}

.walmart-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ---- Gift Card ---- */
.gift-card {
  width: 192px;
  margin-bottom: 8px;
  animation: swingCard 3s ease-in-out infinite;
}

.gift-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  display: block;
}

/* ---- Heading ---- */
.page-heading {
  font-size: 16px;
  font-weight: 700;
  color: #0071CE;
  text-align: center;
  margin-bottom: 2px;
}

/* ---- Sub-heading ---- */
.page-subheading {
  font-size: 12px;
  font-weight: 600;
  color: #0071CE;
  text-align: center;
  margin-bottom: 8px;
}

/* ---- Steps box ---- */
.steps-box {
  width: 100%;
  border: 2px solid #0071CE;
  border-radius: 12px;
  background-color: #ffffff;
  padding: 8px 12px;
  margin-bottom: 12px;
}

.steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #333333;
  white-space: nowrap;
}

.step-number {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #0071CE;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- CTA Button ---- */
.cta-button {
  display: block;
  width: 100%;
  padding: 10px 24px;
  border-radius: 9999px;
  background-color: #0071CE;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,113,206,0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,113,206,0.45);
}

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

/* ---- Disclaimer ---- */
.disclaimer {
  font-size: 11px;
  color: #888888;
  font-style: italic;
  text-align: center;
  margin-top: 6px;
}

/* ---- Social Icons ---- */
.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.social-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #0071CE;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: transform 0.15s ease;
}

.social-link:hover {
  transform: scale(1.1);
}

.social-link svg {
  display: block;
}

/* ---- Footer ---- */
.site-footer {
  font-size: 11px;
  color: #aaaaaa;
  text-align: center;
  margin-top: 12px;
  line-height: 1.6;
}

/* ---- Animations ---- */
@keyframes swingCard {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes floatBg {
  0%   { transform: translateY(0px) rotate(0deg); }
  50%  { transform: translateY(-12px) rotate(8deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}
