@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --purple: #39227d;
  --purple-deep: #291652;
  --ink: #261e37;
  --cream: #fffaf3;
  --coral: #f46261;
  --yellow: #ffe073;
  --lavender: #c9bdff;
  --muted: #6b607a;
  --line: #d7cfe1;
  --nav-height: 78px;
  --display: 'Plus Jakarta Sans', Arial, sans-serif;
  --body: 'Plus Jakarta Sans', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 20px); }
body { margin: 0; padding-top: var(--nav-height); background: var(--cream); color: var(--ink); font: 400 16px/1.55 var(--body); }
body, main, header, footer { min-width: 0; }
h1, h2, h3 { font-family: var(--display); }
a { color: inherit; }
section[id] { scroll-margin-top: calc(var(--nav-height) + 20px); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }

/* Exact fanscoupons wordmark and its own folding-fan mark. */
.navbar.site-nav { min-height: var(--nav-height); padding: 0; background: var(--purple-deep); border-bottom: 1px solid rgba(255,255,255,.22); }
.navbar.site-nav .navbar-brand, .footer-brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--cream); text-decoration: none; font: 800 1.42rem/1 var(--display); letter-spacing: -.045em; }
.navbar.site-nav .navbar-brand::before, .footer-brand::before { content: ''; width: 39px; height: 39px; flex: none; background: url('../images/fanscoupons-mark.svg') center / contain no-repeat; }
.navbar.site-nav .nav-link { color: #f3ecff; padding: .55rem .9rem; font-size: .88rem; font-weight: 700; }
.navbar.site-nav .nav-link:hover, .navbar.site-nav .nav-link.active { color: var(--yellow); }
.navbar.site-nav .nav-cta { display: inline-flex; justify-content: space-between; gap: 1.2rem; margin-left: .6rem; padding: .65rem 1.05rem; border-radius: 999px; background: var(--coral); color: var(--purple-deep); }
.navbar.site-nav .nav-cta:hover { background: var(--yellow); color: var(--purple-deep); }
.navbar-toggler { border-color: #d8cdf3; }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23fffaf3' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

/* Hero fan sculpture replaces coupon-ticket motifs from earlier sites. */
.home-page .hero { overflow: hidden; background: var(--cream); }
.hero-layout { display: grid; grid-template-columns: 51% 49%; min-height: 650px; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 5rem 3.3rem 5rem 0; }
.eyebrow, .section-kicker { margin: 0; font-size: .7rem; font-weight: 800; letter-spacing: .16em; }
.eyebrow { color: var(--purple); }
.eyebrow span { margin-right: .45rem; color: var(--coral); font-size: 1.2rem; vertical-align: -.1rem; }
.hero-copy h1 { max-width: 680px; margin: 1.2rem 0 1.55rem; font: 800 clamp(4.25rem, 6.3vw, 6.45rem)/1.02 var(--display); letter-spacing: -.045em; }
.hero-copy h1 em { position: relative; display: inline; color: var(--coral); font-style: normal; }
.hero-lead { max-width: 460px; margin: 0; color: var(--muted); font-size: 1.02rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.45rem; margin-top: 2rem; }
.primary-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 54px; padding: .85rem 1.25rem; border-radius: 999px; background: var(--purple); color: white; text-decoration: none; font-weight: 800; transition: transform .2s, background .2s; }
.primary-button:hover { transform: translateY(-3px); background: var(--coral); color: var(--purple-deep); }
.quiet-link { color: var(--purple); text-decoration: underline; text-underline-offset: 5px; font-size: .87rem; font-weight: 800; }
.quiet-link:hover { color: var(--coral); }
.hero-footnote { margin-top: 2.6rem; color: #978ca2; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.fan-stage { position: relative; min-height: 650px; overflow: hidden; background: var(--purple); isolation: isolate; }
.fan-stage::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 73% 18%, rgba(255,255,255,.15), transparent 25%), repeating-linear-gradient(125deg, transparent 0 49px, rgba(255,255,255,.06) 50px 51px); }
.fan-disc { position: absolute; width: 570px; height: 570px; left: 50%; top: 52%; border: 16px solid var(--purple-deep); border-radius: 50%; background: conic-gradient(from -14deg, var(--yellow) 0 44deg, #ffad98 44deg 90deg, var(--lavender) 90deg 135deg, var(--coral) 135deg 180deg, var(--yellow) 180deg 225deg, #9bded5 225deg 270deg, var(--lavender) 270deg 315deg, #ffad98 315deg 360deg); box-shadow: 0 20px 0 rgba(22,9,58,.4); transform: translate(-50%, -50%) rotate(-13deg); }
.fan-disc::after { content: ''; position: absolute; inset: 34px; border: 3px solid rgba(57,34,125,.5); border-radius: 50%; }
.fan-center { position: absolute; z-index: 2; left: 50%; top: 52%; width: 340px; height: 340px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 6px solid var(--cream); border-radius: 50%; background: var(--purple-deep); color: var(--cream); text-align: center; transform: translate(-50%, -50%) rotate(-8deg); box-shadow: 0 0 0 9px var(--purple-deep); }
.fan-center span { font-size: .62rem; font-weight: 800; letter-spacing: .18em; }
.fan-center strong { margin: .65rem 0; font: 800 3.3rem/.91 var(--display); letter-spacing: -.05em; }
.stage-spark { position: absolute; z-index: 3; color: var(--yellow); font: 800 5rem/1 var(--display); }
.spark-one { top: 4%; right: 6%; transform: rotate(18deg); }.spark-two { bottom: 3%; left: 4%; color: var(--coral); font-size: 3.5rem; transform: rotate(-15deg); }
.stage-tag { position: absolute; z-index: 3; right: 7%; bottom: 5%; color: var(--cream); font: 800 .93rem/1.25 var(--display); text-align: right; }
.stage-tag span { font: 700 .58rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; }
.cheer-strip { overflow: hidden; background: var(--coral); color: var(--purple-deep); border-top: 2px solid var(--purple-deep); border-bottom: 2px solid var(--purple-deep); }
.cheer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.3rem; min-height: 58px; white-space: nowrap; font-size: .76rem; letter-spacing: .12em; }
.cheer-inner span { font-size: 1.25rem; line-height: 1; }

/* Large logo plates keep all retailer marks recognizable. */
.stores-section { padding: 6.3rem 0 7rem; background: var(--cream); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 3rem; margin-bottom: 2.5rem; }
.section-kicker { color: var(--purple); }
.section-head h2, .how-heading h2 { margin: .75rem 0 0; font: 800 clamp(3.3rem, 5.2vw, 5.2rem)/1.05 var(--display); letter-spacing: -.04em; }
.section-head h2 em { color: var(--coral); font-style: normal; }
.head-aside { width: min(100%, 350px); }
.head-aside p { margin: 0 0 1.1rem; color: var(--muted); font-size: .9rem; }
.store-search { display: flex; align-items: center; gap: .6rem; padding: .46rem .8rem; border: 2px solid var(--purple); border-radius: 999px; background: #fff; box-shadow: 4px 4px 0 var(--lavender); }
.store-search > span { color: var(--purple); font-size: 1.45rem; line-height: 1; }
.store-search input { flex: 1; width: 100%; min-width: 0; padding: .4rem 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: .85rem; }
.store-search:focus-within { outline: 3px solid var(--coral); outline-offset: 3px; }
.store-search button { border: 0; background: transparent; color: var(--muted); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.store-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.store-card { display: flex; flex-direction: column; min-height: 310px; padding: 1.35rem; border: 2px solid var(--purple-deep); border-radius: 22px; color: var(--purple-deep); text-decoration: none; box-shadow: 6px 6px 0 var(--purple-deep); transition: transform .2s, box-shadow .2s; }
.store-card:hover { color: var(--purple-deep); transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--purple-deep); }
.card-peach { background: #ffd7bf; }.card-lilac { background: #d8cdfb; }.card-yellow { background: #ffe98f; }.card-mint { background: #c9f1e3; }.card-rose { background: #ffcdd4; }.card-blue { background: #c9e2fa; }
.card-top, .card-bottom { display: flex; justify-content: space-between; align-items: center; gap: .65rem; }
.card-top small { font-size: .66rem; font-weight: 800; letter-spacing: .13em; }
.card-top > span { font-size: 1.25rem; line-height: 1; }
.store-logo { display: flex; align-items: center; justify-content: center; align-self: center; width: min(100%, 275px); min-height: 105px; margin: auto 0; padding: .9rem 1.15rem; border: 1px solid rgba(57,34,125,.18); border-radius: 15px; background: #fff; box-shadow: 0 7px 14px rgba(57,34,125,.12); }
.store-logo.logo-dark { border-color: #272b3d; background: #272b3d; }
.store-logo img { display: block; width: 235px; max-width: 100%; height: 74px; object-fit: contain; }
.card-bottom strong { font: 800 2rem/1 var(--display); letter-spacing: -.035em; }
.card-arrow { display: grid; place-items: center; width: 41px; height: 41px; border: 2px solid var(--purple-deep); border-radius: 50%; font: 800 1.5rem/1 var(--display); }
.no-results { margin: 1.8rem 0 0; color: var(--muted); font-weight: 700; }

/* Clear three-step progression finishes the visitor journey. */
.how-section { padding: 6.2rem 0 6.5rem; background: var(--purple); color: var(--cream); }
.how-section .section-kicker { color: var(--yellow); }
.how-heading { display: flex; justify-content: space-between; align-items: end; gap: 3rem; }
.how-heading h2 { max-width: 700px; }
.how-heading h2 em { color: var(--yellow); font-style: normal; }
.how-heading p { max-width: 270px; margin: 0 0 .3rem; color: #d6c9f4; font-size: .9rem; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; padding: 0; margin: 3.4rem 0 2.5rem; list-style: none; }
.steps-grid li { min-height: 245px; padding: 1.35rem; border: 1px solid rgba(255,255,255,.55); border-radius: 18px; background: rgba(255,255,255,.07); }
.step-number { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--yellow); color: var(--purple-deep); font-size: .77rem; font-weight: 800; }
.steps-grid h3 { margin: 1.4rem 0 .45rem; font: 800 1.5rem/1.1 var(--display); }
.steps-grid p { margin: 0; color: #d6c9f4; font-size: .88rem; }
.how-button { display: inline-flex; justify-content: space-between; gap: 2rem; padding: .8rem 1.2rem; border-radius: 999px; background: var(--yellow); color: var(--purple-deep); text-decoration: none; font-size: .88rem; font-weight: 800; }
.how-button:hover { color: var(--purple-deep); background: #fff0b3; }
.site-footer { padding: 3rem 0 1.3rem; background: var(--purple-deep); color: var(--cream); }
.footer-main { display: flex; justify-content: space-between; align-items: start; gap: 2rem; }
.footer-brand { font-size: 1.55rem; }
.footer-main p { margin: .6rem 0 0; color: #bdb0d9; font-size: .87rem; }
.footer-main > a { color: var(--yellow); text-decoration: none; font-size: .85rem; font-weight: 800; }
.footer-main > a:hover { text-decoration: underline; }
.footer-bottom { margin-top: 2.8rem; padding-top: 1rem; border-top: 1px solid #624c90; color: #bdb0d9; font-size: .8rem; }

/* Store detail pages carry the same colors, typography, and large logo treatment. */
body:not(.home-page) { background: var(--cream); }
.breadcrumb-nav { padding: 1.2rem 0; }
.breadcrumb { margin: 0; }
.breadcrumb-item, .breadcrumb-item a { color: var(--muted); font-size: .82rem; text-decoration: none; }
.breadcrumb-item a:hover { color: var(--coral); }
.breadcrumb-item.active { color: var(--purple-deep); }
body:not(.home-page) .hero { position: relative; overflow: hidden; padding: 4rem 0 4.4rem; border-bottom: 9px solid var(--coral); background: radial-gradient(circle at 90% 10%, #7051b4, transparent 32%), var(--purple); color: var(--cream); }
body:not(.home-page) .hero::before { content: '✳'; position: absolute; right: 3%; bottom: -3.5rem; color: rgba(255,224,115,.22); font: 800 20rem/1 var(--display); }
body:not(.home-page) .hero h1 { max-width: 880px; margin: 0 auto .7rem; font: 800 clamp(2.8rem, 4.5vw, 4.6rem)/1 var(--display); letter-spacing: -.05em; }
body:not(.home-page) .hero .lead { max-width: 600px; margin: 0 auto; color: #e1d8f2; font-size: 1rem; }
.brand-logo { display: block; width: 275px; height: 118px; max-width: calc(100% - 2rem); max-height: none; margin: 0 auto 1.5rem; padding: 18px 22px; border: 2px solid #fff; border-radius: 15px; background: #fff; object-fit: contain; box-shadow: 8px 8px 0 var(--yellow); }
.brand-amazon .brand-logo, .brand-shein .brand-logo { background: #272b3d; border-color: #272b3d; }
.coupons-section { padding: 4rem 0 6rem; }
.coupon-card { height: 100%; padding: 1.6rem; border: 2px solid var(--purple-deep); border-radius: 18px; background: #fff; box-shadow: 6px 6px 0 var(--lavender); transition: transform .2s; }
.coupon-card:hover { transform: translateY(-4px); }
.coupon-title { min-height: 52px; font: 800 1.18rem/1.25 var(--display); }
.coupon-code { display: inline-block; margin: 1.2rem 0; padding: .65rem .82rem; border: 1px dashed var(--purple); border-radius: 5px; background: #f8f4ff; font: 700 .95rem/1.2 ui-monospace, monospace; letter-spacing: .08em; }
.btn-copy { display: block; width: 100%; padding: .8rem 1rem; border: 0; border-radius: 999px; background: var(--purple); color: #fff; font-size: .88rem; font-weight: 800; cursor: pointer; transition: background .2s; }
.btn-copy:hover { background: var(--coral); color: var(--purple-deep); }
.copied-msg { display: none; margin-top: .6rem; color: #286844; font-size: .83rem; font-weight: 800; }
body:not(.home-page) .site-footer { padding: 2.2rem 1rem; text-align: center; }
body:not(.home-page) .site-footer .footer-brand { margin-bottom: .7rem; }
body:not(.home-page) .site-footer p { margin: 0; color: #bdb0d9; font-size: .82rem; }

@media (max-width: 991px) {
  .navbar.site-nav { height: auto; }
  .navbar-collapse { padding: .7rem 0 1rem; }
  .navbar.site-nav .nav-cta { margin: .4rem 0 0; }
  .hero-layout { grid-template-columns: 52% 48%; }
  .hero-copy { padding-right: 1.5rem; }
  .hero-copy h1 { font-size: clamp(3.8rem, 6.5vw, 5.3rem); }
  .fan-disc { width: 470px; height: 470px; }
  .fan-center { width: 285px; height: 285px; }
  .fan-center strong { font-size: 2.8rem; }
  .store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy { padding: 4.5rem 0 4rem; }
  .hero-copy h1 { font-size: clamp(3.8rem, 10vw, 5.5rem); }
  .fan-stage { min-height: 460px; margin: 0 calc(var(--bs-gutter-x, 1.5rem) * -.5); }
  .fan-disc { width: 440px; height: 440px; }
  .fan-center { width: 265px; height: 265px; }
  .cheer-inner { justify-content: start; }
  .stores-section, .how-section { padding: 4.5rem 0; }
  .section-head, .how-heading { display: block; }
  .head-aside { width: 100%; margin-top: 1.2rem; }
  .how-heading p { margin-top: 1.2rem; }
  .steps-grid { grid-template-columns: 1fr; margin-top: 2.5rem; }
  .steps-grid li { min-height: 185px; }
  .footer-main { flex-direction: column; }
}
@media (max-width: 520px) {
  .hero-copy h1 { font-size: clamp(3.25rem, 12vw, 4.4rem); }
  .fan-stage { min-height: 400px; }
  .fan-disc { width: 380px; height: 380px; }
  .fan-center { width: 235px; height: 235px; }
  .fan-center strong { font-size: 2.25rem; }
  .stage-spark { font-size: 3rem; }
  .store-grid { grid-template-columns: 1fr; }
  .store-card { min-height: 285px; }
  .store-logo { width: min(100%, 280px); }
  .section-head h2, .how-heading h2 { font-size: 3.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
