/* ═══════════════════════════════════════════
   HOBBY LOBBY – $250 GIFT CARD OFFER
   style.css  |  Senior UI/UX  v2.0
   Palette: #ef4317 (orange-red) + #003087 (navy)
   ═══════════════════════════════════════════ */

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

:root {
  /* ── Brand Palette ── */
  --orange:      #ef4317;
  --orange-dk:   #c43510;
  --orange-lt:   #FEF0EC;
  --orange-mid:  #FDDDD6;
  --navy:        #003087;
  --navy-dk:     #001f5b;
  --navy-lt:     #EBF0FB;
  --navy-mid:    #D0DCF5;

  /* ── Neutrals ── */
  --cream:       #FAF8F6;
  --cream-dk:    #F2EFEA;
  --white:       #FFFFFF;
  --text:        #0D1B3E;
  --text-soft:   #2D3F6E;
  --muted:       #6B77A0;
  --border:      #C8D2EC;
  --border-lt:   #DDE5F5;

  /* ── Shape ── */
  --r-xs:  6px;
  --r-sm:  10px;
  --r-md:  16px;
  --r-lg:  24px;
  --r-xl:  32px;

  /* ── Depth ── */
  --shadow-card: 0 4px 20px rgba(0,48,135,0.08), 0 20px 60px rgba(0,48,135,0.12), 0 1px 3px rgba(0,0,0,0.06);
  --shadow-btn:  0 6px 0 var(--orange-dk), 0 10px 28px rgba(239,67,23,0.35);
}

/* ─── PAGE ──────────────────────────────── */
html, body {
  min-height: 100vh;
  font-family: 'Lato', sans-serif;
  background: var(--cream-dk);
  color: var(--text);
}

body {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 32px 16px 60px;
  position: relative;
  overflow-x: hidden;
}

/* Dual-dot texture — navy + orange */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(0,48,135,0.07) 1.5px, transparent 1.5px),
    radial-gradient(circle, rgba(239,67,23,0.04) 1px,   transparent 1px);
  background-size: 32px 32px, 16px 16px;
  background-position: 0 0, 8px 8px;
  pointer-events: none;
  z-index: 0;
}

/* Floating craft icons */
.bg-crafts {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bc {
  position: absolute;
  font-size: 26px;
  opacity: 0.055;
  user-select: none;
  animation: craft-float 16s ease-in-out infinite;
}
.bc1 { top: 6%;  left: 4%;  animation-delay: 0s;   animation-duration: 14s; }
.bc2 { top: 18%; right: 5%; animation-delay: 3s;   animation-duration: 18s; }
.bc3 { top: 42%; left: 3%;  animation-delay: 6s;   animation-duration: 15s; }
.bc4 { top: 65%; right: 4%; animation-delay: 9s;   animation-duration: 13s; }
.bc5 { top: 80%; left: 35%; animation-delay: 4.5s; animation-duration: 17s; }
.bc6 { top: 90%; right: 20%;animation-delay: 7s;   animation-duration: 12s; }

@keyframes craft-float {
  0%, 100% { transform: translateY(0)     rotate(0deg);  }
  33%       { transform: translateY(-14px) rotate(6deg);  }
  66%       { transform: translateY(-8px)  rotate(-4deg); }
}

/* ─── CARD ──────────────────────────────── */
.card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 464px;
  background: var(--white);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-lt);
  animation: card-rise 0.65s cubic-bezier(.22,1,.36,1) both;
}
@keyframes card-rise {
  from { opacity: 0; transform: translateY(44px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

/* ─── TOP / BOTTOM STRIPES ──────────────── */
.top-stripe,
.bottom-stripe {
  background: var(--navy);
  padding: 0;
  overflow: hidden;
  position: relative;
}
.top-stripe    { border-bottom: 3px solid var(--orange); }
.bottom-stripe { border-top:    3px solid var(--orange); }

.stripe-inner {
  display: flex;
  justify-content: space-around;
  padding: 6px 0;
}
.stripe-inner span {
  color: rgba(239,67,23,0.65);
  font-size: 11px;
  flex: 1;
  text-align: center;
  letter-spacing: 1px;
}

/* ─── HERO ──────────────────────────────── */
.hero {
  background: linear-gradient(170deg, #FFFFFF 0%, #dde8f8 100%);
  padding: 28px 28px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Scallop wave bottom */
.hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 28px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

/* Radial glow — navy */
.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,48,135,0.10) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Logo ── */
.hl-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.hl-logo-svg {
  width: 100%;
  max-width: 380px;
  height: auto;
}

/* ── Offer text ── */
.hero-offer { position: relative; z-index: 1; }

.offer-eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.offer-amount {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(68px, 18vw, 70px);
  color: var(--orange);
  line-height: 1;
  letter-spacing: -2px;
}

.offer-label {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  margin-top: 4px;
  letter-spacing: 0.2px;
}

.offer-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.6;
  font-weight: 600;
}

/* ── Ticker chips ── */
.ticker-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}
.ticker-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 40px;
  padding: 7px 16px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-soft);
  box-shadow: 0 2px 8px rgba(0,48,135,0.07);
}
.ticker-chip.gold {
  border-color: var(--orange);
  background: var(--orange-lt);
  color: var(--orange-dk);
}
.ticker-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--navy);
  animation: blink 1.6s ease-in-out infinite;
  flex-shrink: 0;
}
.ticker-chip.gold .ticker-dot { background: var(--orange); }

/* ─── STEPS ─────────────────────────────── */
.steps-section {
  padding: 28px 24px 20px;
  background: var(--white);
}

.steps-heading {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 18px;
  padding-left: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.steps-heading::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 22px;
  background: linear-gradient(180deg, var(--navy) 0%, var(--orange) 100%);
  border-radius: 4px;
}

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

.step-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--cream);
  border: 1.5px solid transparent;
  transition: border-color 0.2s, background 0.2s, transform 0.18s;
  cursor: default;
  animation: step-in 0.4s both;
  position: relative;
}
.step-item:nth-child(1) { animation-delay: 0.18s; }
.step-item:nth-child(2) { animation-delay: 0.28s; }
.step-item:nth-child(3) { animation-delay: 0.38s; }
.step-item:nth-child(4) { animation-delay: 0.48s; }
@keyframes step-in {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: translateX(0);     }
}

.step-item:hover {
  border-color: var(--orange);
  background: var(--orange-lt);
  transform: translateX(4px);
}
.step-item:hover .step-marker rect { fill: var(--orange); }

.step-marker {
  width: 40px; height: 40px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(0,48,135,0.20));
  transition: filter 0.2s, transform 0.2s;
}
.step-item:hover .step-marker {
  filter: drop-shadow(0 4px 10px rgba(239,67,23,0.35));
  transform: scale(1.08) rotate(-4deg);
}

.step-body { flex: 1; min-width: 0; }

.step-title {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.3;
}
.step-desc {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.5;
}

.step-icon {
  font-size: 20px;
  flex-shrink: 0;
  opacity: 0.75;
}

/* ─── CTA ───────────────────────────────── */
.cta-section {
  padding: 22px 24px 10px;
  background: var(--white);
}

.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 19px 28px;
  background: linear-gradient(150deg, #f55a32 0%, var(--orange) 100%);
  color: var(--white);
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border: none;
  border-radius: var(--r-md);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-btn);
  transition: transform 0.15s, box-shadow 0.15s;
  animation: step-in 0.5s 0.52s both;
}

/* Navy top-border accent */
.cta-btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 10%, rgba(255,255,255,0.50) 50%, transparent 90%);
}

/* Shimmer sweep */
.cta-btn::after {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: skewX(-18deg);
  animation: shimmer 3.2s 1.4s ease-in-out infinite;
}
@keyframes shimmer {
  0%   { left: -80%; }
  100% { left: 150%; }
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 0 var(--orange-dk), 0 16px 36px rgba(239,67,23,0.42);
}
.cta-btn:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--orange-dk), 0 4px 12px rgba(239,67,23,0.22);
}

.cta-icon { font-size: 22px; }

/* Urgency */
.urgency-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  padding: 9px 16px;
  background: var(--orange-lt);
  border: 1px solid #F5B8A8;
  border-radius: var(--r-sm);
  font-size: 12px;
  font-weight: 700;
  color: var(--orange-dk);
  letter-spacing: 0.3px;
}
.u-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
  animation: blink 1s ease-in-out infinite;
  flex-shrink: 0;
}

/* ─── TRUST ROW ─────────────────────────── */
.trust-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 14px 24px 20px;
  background: var(--white);
}
.trust-chip {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-soft);
  background: var(--navy-lt);
  border: 1.5px solid var(--border);
  border-radius: 40px;
  padding: 5px 14px;
  letter-spacing: 0.2px;
}

/* ─── FAQ ───────────────────────────────── */
.faq-section {
  padding: 24px 24px 10px;
  background: var(--cream);
  border-top: 1.5px solid var(--border-lt);
}

.faq-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.faq-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 20px;
  background: linear-gradient(180deg, var(--navy) 0%, var(--orange) 100%);
  border-radius: 4px;
}

.faq-card {
  background: var(--white);
  border-radius: var(--r-md);
  border: 1.5px solid var(--border);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,48,135,0.06);
}

.faq-item { border-bottom: 1.5px solid var(--border-lt); }
.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Lato', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  transition: background 0.18s, color 0.18s;
  -webkit-tap-highlight-color: transparent;
}
.faq-question:hover {
  background: var(--navy-lt);
  color: var(--navy);
}
.faq-question:hover .chevron { stroke: var(--navy); }

.faq-item.open .faq-question {
  background: var(--navy-lt);
  color: var(--navy);
}
.faq-item.open .faq-question .chevron {
  stroke: var(--navy);
  transform: rotate(180deg);
}

.chevron {
  width: 18px; height: 18px;
  flex-shrink: 0;
  stroke: var(--muted);
  transition: transform 0.28s cubic-bezier(.22,1,.36,1), stroke 0.18s;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s cubic-bezier(.22,1,.36,1);
}
.faq-item.open .faq-answer { max-height: 200px; }

.faq-answer-inner {
  padding: 12px 18px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-soft);
  line-height: 1.65;
  border-top: 1px solid var(--border-lt);
}

/* ─── ANIMATIONS ────────────────────────── */
@keyframes blink {
  0%, 100% { opacity: 1;   }
  50%       { opacity: 0.2; }
}

/* ─── RESPONSIVE ────────────────────────── */
@media (max-width: 400px) {
  .hero            { padding: 22px 18px 28px; }
  .hl-logo-svg     { width: 180px; }
  .mascot-svg      { width: 132px; height: 120px; }
  .offer-amount    { font-size: 60px; }
  .steps-section,
  .cta-section,
  .faq-section     { padding-left: 16px; padding-right: 16px; }
  .step-item       { gap: 10px; padding: 12px 12px; }
  .step-icon       { display: none; }
}
@media (min-width: 500px)  { .card { border-radius: 36px; } }
@media (min-width: 768px)  { body  { padding: 52px 16px 80px; } }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .mascot-svg, .bc, .cta-btn::after { animation: none; }
}
