/* Customer-site polish: scroll-reveal motion, a header that reacts to scroll, a back-to-top
 * widget, and refined hover micro-interactions. Built on top of style.css, using its tokens.
 * All motion is gated on html.js-reveal (set only when IntersectionObserver is available and the
 * visitor hasn't asked for reduced motion), so the site is fully visible and usable without it. */

/* ---------- scroll reveal ----------
 * Hidden from first paint via these selectors (no flash), revealed by site.js adding .is-in.
 * Keep this list in sync with site.js. */
html.js-reveal .section-head,
html.js-reveal .narrow-copy,
html.js-reveal .find-us-grid > *,
html.js-reveal .hours-list,
html.js-reveal .cat-more,
html.js-reveal .trust-grid > *,
html.js-reveal .cat-grid > *,
html.js-reveal .product-grid > *,
html.js-reveal .promo-grid > *,
html.js-reveal .feature-cards > * {
  opacity: 0; transform: translateY(18px); will-change: opacity, transform;
}
html.js-reveal .is-in {
  opacity: 1 !important; transform: none !important;
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
}

/* ---------- header reacts to scroll ---------- */
.site-header { transition: padding .25s ease, background .25s ease, box-shadow .25s ease; }
.site-header .header-inner { transition: padding .25s ease; }
.site-header.scrolled {
  background: rgba(15, 10, 22, 0.92);
  box-shadow: 0 1px 0 var(--border), 0 10px 30px rgba(0, 0, 0, 0.35);
}
.site-header.scrolled .header-inner { padding-top: 9px; padding-bottom: 9px; }
.site-header.scrolled .brand img { width: 38px; height: 38px; transition: width .25s ease, height .25s ease; }
.site-header .brand img { transition: width .25s ease, height .25s ease; }

/* ---------- back-to-top ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 24px; z-index: 300;
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold)); color: #251707;
  border: none; cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4); opacity: 0; transform: translateY(14px) scale(.9);
  pointer-events: none; transition: opacity .25s ease, transform .25s ease, filter .15s ease;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { filter: brightness(1.08); transform: translateY(-2px); }
.to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
body:has(.chat-widget) .to-top { bottom: 92px; }   /* sit above the chat button */

/* ---------- refined hover micro-interactions ---------- */
.product-card .thumb { overflow: hidden; }
.product-card .thumb img { transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.product-card:hover .thumb img { transform: scale(1.06); }
.product-card { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.product-card:hover { box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35); }

.cat-tile { transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.cat-tile:hover { box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3); }
.cat-tile .cat-ico, .cat-tile svg { transition: transform .25s cubic-bezier(.2, .7, .2, 1); }
.cat-tile:hover .cat-ico, .cat-tile:hover svg { transform: translateY(-3px) scale(1.08); }

.promo-card, .trust-item, .feature-cards .card { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.promo-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3); border-color: var(--purple-bright); }
.trust-item:hover .ico { color: var(--gold-bright); }
.trust-item .ico { transition: color .2s ease, transform .2s ease; }
.trust-item:hover .ico { transform: scale(1.1); }

/* gold buttons get a soft sheen sweep on hover */
.btn-gold { position: relative; overflow: hidden; }
.btn-gold::after {
  content: ""; position: absolute; top: 0; left: -140%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-18deg); transition: left .6s ease;
}
.btn-gold:hover::after { left: 150%; }

/* animated underline for nav + inline links */
nav.main-nav a { position: relative; }
nav.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--gold); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
nav.main-nav a:hover::after, nav.main-nav a.active::after { transform: scaleX(1); }

/* ---------- hero flourish ---------- */
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(157, 95, 214, 0.18), transparent 62%);
  pointer-events: none; filter: blur(4px); z-index: 0;
}
.hero-inner { position: relative; z-index: 1; }
html.js-reveal .showcase-logo { animation: float-soft 6s ease-in-out infinite; }
@keyframes float-soft { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* the live store-status dot gently pulses when open */
.store-status.open .ordering-dot { animation: pulse-dot 2.2s ease-in-out infinite; }
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(107, 191, 138, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(107, 191, 138, 0); }
}

/* ---------- respect reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html.js-reveal .reveal { opacity: 1; transform: none; }
  .btn-gold::after, html.js-reveal .showcase-logo, .store-status.open .ordering-dot { animation: none; }
  .product-card:hover .thumb img { transform: none; }
  .to-top { transition: opacity .2s ease; }
}

/* ---------- hero: staggered entrance ---------- */
html.js-reveal .hero .eyebrow,
html.js-reveal .hero h1,
html.js-reveal .hero p.lead,
html.js-reveal .hero-search,
html.js-reveal .hero-status,
html.js-reveal .hero-actions { opacity: 0; animation: hero-in .85s cubic-bezier(.2, .7, .2, 1) forwards; }
html.js-reveal .hero .eyebrow  { animation-delay: .05s; }
html.js-reveal .hero h1        { animation-delay: .15s; }
html.js-reveal .hero p.lead    { animation-delay: .28s; }
html.js-reveal .hero-search    { animation-delay: .40s; }
html.js-reveal .hero-status    { animation-delay: .50s; }
html.js-reveal .hero-actions   { animation-delay: .58s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
html.js-reveal .hero-art { opacity: 0; animation: art-in 1s cubic-bezier(.2, .7, .2, 1) .3s forwards; }
@keyframes art-in { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }

/* showcase cards drift up in sequence, then settle */
html.js-reveal .showcase-card { opacity: 0; animation: card-in .7s cubic-bezier(.2, .7, .2, 1) forwards; }
html.js-reveal .showcase-card.s1 { animation-delay: .55s; }
html.js-reveal .showcase-card.s2 { animation-delay: .7s; }
html.js-reveal .showcase-card.s3 { animation-delay: .85s; }
@keyframes card-in { from { opacity: 0; transform: translateY(20px) scale(.95); } to { opacity: 1; transform: none; } }
.showcase-card { transition: transform .3s ease, box-shadow .3s ease; }
.showcase-card:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5); z-index: 2; }

/* subtle drifting glow behind the hero */
.hero::after {
  content: ""; position: absolute; left: -8%; bottom: -30%; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(212, 175, 106, 0.12), transparent 60%);
  pointer-events: none; z-index: 0; animation: glow-drift 14s ease-in-out infinite alternate;
}
@keyframes glow-drift { from { transform: translate(0, 0); } to { transform: translate(40px, -30px); } }

/* ---------- section headings get a growing accent underline ---------- */
.section-head h2.serif { position: relative; display: inline-block; }
.section-head h2.serif::after {
  content: ""; position: absolute; left: 0; bottom: -8px; height: 3px; width: 46px;
  background: linear-gradient(90deg, var(--gold-bright), transparent); border-radius: 3px;
  transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.2, .7, .2, 1) .15s;
}
html.js-reveal .section-head.is-in h2.serif::after,
html:not(.js-reveal) .section-head h2.serif::after { transform: scaleX(1); }

/* ---------- product card: a soft light sweep over the image on hover ---------- */
.product-card .thumb { position: relative; }
.product-card .thumb::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.18) 50%, transparent 60%);
  transform: translateX(-120%); transition: transform .7s ease;
}
.product-card:hover .thumb::after { transform: translateX(120%); }
.product-card .price { transition: transform .2s ease; display: inline-block; }
.product-card:hover .price { transform: scale(1.06); }

/* ---------- header brand logo gives a little spin on hover ---------- */
.brand img { transition: transform .5s cubic-bezier(.2, .7, .2, 1), width .25s ease, height .25s ease; }
.brand:hover img { transform: rotate(8deg) scale(1.05); }

/* ---------- chat button: a gentle attention ring ---------- */
.chat-fab { position: relative; }
.chat-fab::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(212, 175, 106, 0.5); animation: fab-ring 2.8s ease-out infinite;
}
@keyframes fab-ring { 0% { box-shadow: 0 0 0 0 rgba(212, 175, 106, 0.5); } 70%, 100% { box-shadow: 0 0 0 16px rgba(212, 175, 106, 0); } }

/* ---------- cart / account badge pops when it changes ---------- */
.badge-dot.bump { animation: badge-bump .4s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes badge-bump { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }

/* ---------- footer links slide their arrow / underline ---------- */
.footer-grid a { transition: color .15s ease; background-image: linear-gradient(var(--gold), var(--gold));
  background-size: 0% 1px; background-repeat: no-repeat; background-position: left 100%; }
.footer-grid a:hover { background-size: 100% 1px; }

@media (prefers-reduced-motion: reduce) {
  html.js-reveal .hero .eyebrow, html.js-reveal .hero h1, html.js-reveal .hero p.lead,
  html.js-reveal .hero-search, html.js-reveal .hero-status, html.js-reveal .hero-actions,
  html.js-reveal .hero-art, html.js-reveal .showcase-card { opacity: 1; animation: none; }
  .hero::after, .chat-fab::before, .badge-dot.bump { animation: none; }
  .product-card:hover .thumb::after, .showcase-card:hover { transform: none; }
}

/* ======================= creative layer ======================= */

/* ---------- scroll progress bar (top of page) ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 60; pointer-events: none; background: transparent; }
.scroll-progress .bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-bright), var(--purple-bright)); box-shadow: 0 0 8px rgba(230, 200, 135, 0.5); }

/* ---------- champagne bubbles rising in the hero ---------- */
.hero-bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hero-bubbles b {
  position: absolute; bottom: -24px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.55), rgba(230, 200, 135, 0.22) 60%, transparent 72%);
  box-shadow: 0 0 6px rgba(230, 200, 135, 0.3);
  animation: bubble-rise linear infinite;
}
@keyframes bubble-rise {
  0%   { transform: translate(0, 0) scale(0.6); opacity: 0; }
  12%  { opacity: 0.85; }
  85%  { opacity: 0.5; }
  100% { transform: translate(var(--bx, 0), -680px) scale(1); opacity: 0; }
}

/* ---------- 3D tilt (showcase bottles) ---------- */
[data-tilt] { transform-style: preserve-3d; transition: transform .18s ease; will-change: transform; }

/* ---------- directional reveals for a bit of variety ---------- */
html.js-reveal .find-us-grid > *:first-child { transform: translateX(-26px); }
html.js-reveal .find-us-grid > *:last-child  { transform: translateX(26px); }
html.js-reveal .events-promo .promo-grid > *:nth-child(odd)  { transform: translateY(18px) translateX(-10px); }
html.js-reveal .events-promo .promo-grid > *:nth-child(even) { transform: translateY(18px) translateX(10px); }

/* ---------- logo ring soft sheen ---------- */
.hero-art .ring { position: relative; }
.hero-art .ring::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 0deg, transparent, rgba(230, 200, 135, 0.25), transparent 30%);
  animation: ring-spin 9s linear infinite;
}
@keyframes ring-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .hero-bubbles, .hero-art .ring::after { display: none; }
  [data-tilt] { transform: none !important; }
  html.js-reveal .find-us-grid > *, html.js-reveal .events-promo .promo-grid > * { transform: translateY(18px); }
}

/* ---------- ambient background: drifting bottles & glasses ---------- */
.bg-decor { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-decor .bottle {
  position: absolute; color: var(--gold); opacity: 0.05;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5));
  animation: bottle-drift linear infinite;
  will-change: transform;
}
.bg-decor .bottle.p { color: var(--purple-bright); }
.bg-decor .bottle svg { width: 100%; height: 100%; display: block; fill: currentColor; }
@keyframes bottle-drift {
  0%   { transform: translateY(14vh) rotate(var(--r0, -6deg)); }
  50%  { transform: translateY(-10vh) rotate(var(--r1, 6deg)); }
  100% { transform: translateY(14vh) rotate(var(--r0, -6deg)); }
}
@media (prefers-reduced-motion: reduce) { .bg-decor { display: none; } }
@media (max-width: 680px) { .bg-decor .bottle:nth-child(n+5) { display: none; } }

/* ---------- responsive: phone / tablet / desktop ---------- */
/* Tablet: trim the ambient bottle count a touch. */
@media (min-width: 681px) and (max-width: 1024px) {
  .bg-decor .bottle:nth-child(n+6) { display: none; }
}
/* Phone: keep it light — fewer, smaller bottles, thinner progress bar, bubbles toned down. */
@media (max-width: 680px) {
  .bg-decor .bottle { max-height: 150px; opacity: 0.035; }
  .bg-decor .bottle:nth-child(n+4) { display: none; }
  .scroll-progress { height: 2px; }
  .hero-bubbles b { opacity: 0.6; }
  .hero::before, .hero::after { width: 300px; height: 300px; }
  .to-top { right: 16px; width: 42px; height: 42px; }
}
/* Touch devices never do the cursor tilt (handled in JS too) — keep bottles flat. */
@media (hover: none) {
  .showcase-card:hover { transform: none; }
}

/* ======================= Bottle Pop mini-game ======================= */
.game-fab {
  position: fixed; left: 18px; bottom: 18px; z-index: 46;
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px;
  border: 1px solid var(--border); border-radius: 999px; cursor: pointer;
  background: rgba(26, 18, 37, 0.92); color: var(--text); font-weight: 600; font-size: 0.88rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4); transition: transform .15s ease, border-color .15s ease;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.game-fab span[aria-hidden] { font-size: 1.2rem; line-height: 1; }
.game-fab:hover { transform: translateY(-2px); border-color: var(--gold); }
body:has(.season-mascot) .game-fab { bottom: 120px; }   /* clear the holiday mascot + mute stack */
@media (max-width: 560px) { .game-fab .game-fab-label { display: none; } .game-fab { padding: 11px; } }

.bottle-game { position: fixed; inset: 0; z-index: 500; display: none; align-items: center; justify-content: center;
  padding: 16px; background: rgba(10, 7, 16, 0.86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.bottle-game.open { display: flex; animation: bg-fade .25s ease; }
@keyframes bg-fade { from { opacity: 0; } to { opacity: 1; } }
.bg-panel {
  position: relative; width: min(560px, 96vw); height: min(80vh, 720px);
  background: radial-gradient(900px 500px at 50% -10%, #241a35 0%, transparent 60%), var(--surface);
  border: 1px solid var(--border); border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.bg-top { position: absolute; top: 0; left: 0; right: 0; z-index: 3; display: flex; align-items: center;
  justify-content: space-between; padding: 12px 14px; gap: 10px; }
.bg-hud { display: flex; gap: 16px; }
.bg-stat { font-size: 0.82rem; color: var(--text-muted); }
.bg-stat strong { color: var(--gold-bright); font-size: 1.05rem; }
.bg-x { background: none; border: none; color: var(--text-faint); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.bg-x:hover { color: var(--text); }

.bg-field { position: absolute; inset: 0; overflow: hidden; }
.bg-bottle { position: absolute; top: 0; left: 0; padding: 0; border: none; background: none; cursor: pointer;
  color: var(--gold); will-change: transform; -webkit-tap-highlight-color: transparent; }
.bg-bottle svg { width: 100%; height: 100%; fill: currentColor; filter: drop-shadow(0 6px 12px rgba(0,0,0,0.5)); pointer-events: none; }
.bg-bottle.gold { color: #ffd766; filter: drop-shadow(0 0 10px rgba(255, 215, 102, 0.6)); }
.bg-bottle.pop { animation: bg-pop .26s ease forwards; pointer-events: none; }
@keyframes bg-pop { to { transform: scale(1.5); opacity: 0; } }
.bg-score-pop { position: absolute; transform: translate(-50%, -50%); color: var(--gold-bright); font-weight: 700;
  pointer-events: none; animation: bg-rise .65s ease forwards; }
@keyframes bg-rise { to { transform: translate(-50%, -160%); opacity: 0; } }
.bg-spark { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-bright);
  pointer-events: none; animation: bg-spark .6s ease-out forwards; }
@keyframes bg-spark { to { transform: translate(var(--dx), var(--dy)); opacity: 0; } }

.bg-card { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; gap: 12px; padding: 28px;
  background: rgba(15, 10, 22, 0.55); }
.bg-card h2 { font-size: 1.8rem; margin: 0; }
.bg-card p { color: var(--text-muted); max-width: 340px; margin: 0; }
.bg-card .bg-best { font-size: 0.9rem; }
.bg-card [data-endscore], .bg-card .bg-best strong { color: var(--gold-bright); }
.bg-endscore-row { font-size: 1.1rem; }
.bg-card .btn { min-width: 150px; }

@media (prefers-reduced-motion: reduce) {
  .bottle-game.open { animation: none; }
  .bg-score-pop, .bg-spark { animation-duration: .01s; }
}

/* ---------- real product photos as drifting bottles ---------- */
.bg-decor.photos .bottle { color: transparent; filter: none; }
.bg-decor.photos .bottle img {
  width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.5));
  -webkit-mask-image: radial-gradient(ellipse 58% 70% at 50% 46%, #000 60%, transparent 85%);
          mask-image: radial-gradient(ellipse 58% 70% at 50% 46%, #000 60%, transparent 85%);
}
/* real photos in the game */
.bg-bottle.photo { color: transparent; }
.bg-bottle.photo img {
  width: 100%; height: 100%; object-fit: contain; pointer-events: none;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.55));
  -webkit-mask-image: radial-gradient(ellipse 60% 72% at 50% 48%, #000 62%, transparent 88%);
          mask-image: radial-gradient(ellipse 60% 72% at 50% 48%, #000 62%, transparent 88%);
}
.bg-bottle.photo.gold { filter: drop-shadow(0 0 12px rgba(255, 215, 102, 0.7)); }

/* ---------- Bottle Pop: levels / lives / combo / flash ---------- */
.bg-lives { font-size: 0.95rem; letter-spacing: 1px; }
.bg-combo { position: absolute; top: 48px; left: 50%; transform: translateX(-50%); z-index: 3;
  color: var(--gold-bright); font-weight: 700; font-size: 1.25rem; pointer-events: none;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6); }
.bg-combo.show { animation: bg-combo .5s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes bg-combo { 0% { transform: translateX(-50%) scale(.6); opacity: 0; } 50% { transform: translateX(-50%) scale(1.25); opacity: 1; } 100% { transform: translateX(-50%) scale(1); opacity: 1; } }
.bg-flash { position: absolute; inset: 0; display: grid; place-items: center; z-index: 4; pointer-events: none;
  font-family: 'Playfair Display', serif; font-weight: 700; font-size: clamp(1.8rem, 7vw, 2.6rem);
  color: var(--gold-bright); text-shadow: 0 3px 14px rgba(0, 0, 0, 0.6); }
.bg-flash.show { animation: bg-flash 1.1s ease forwards; }
@keyframes bg-flash { 0% { opacity: 0; transform: scale(.8); } 18% { opacity: 1; transform: scale(1.06); } 78% { opacity: 1; } 100% { opacity: 0; transform: scale(1.12); } }
.bg-score-pop.gold { color: #ffd766; font-size: 1.2rem; }
.bottle-game.shake .bg-panel { animation: bg-shake .32s ease; }
@keyframes bg-shake { 0%,100% { transform: translateX(0); } 20% { transform: translateX(-8px); } 40% { transform: translateX(8px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(5px); } }
/* Coupon unlocked — a banner that slides in from the top during play, then fades. */
.bg-reward { position: absolute; top: 56px; left: 50%; transform: translateX(-50%); z-index: 6;
  pointer-events: none; width: min(90%, 340px); }
.bg-reward-in { background: linear-gradient(135deg, #2a1c3f, #41245f); border: 1px solid var(--gold);
  border-radius: 14px; padding: 12px 16px; text-align: center; box-shadow: 0 10px 34px rgba(0, 0, 0, 0.5);
  display: flex; flex-direction: column; gap: 3px; }
.bg-reward-tag { font-weight: 700; color: var(--gold-bright); font-size: 0.9rem; }
.bg-reward-label { color: #f4eefb; font-size: 0.92rem; }
.bg-reward-code { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.5rem;
  letter-spacing: 0.08em; color: #fff; }
.bg-reward-note { font-size: 0.72rem; color: #c9b7e6; text-transform: uppercase; letter-spacing: 0.06em; }
.bg-reward.show { animation: bg-reward-in 0.5s cubic-bezier(.2, 1.3, .4, 1); }
@keyframes bg-reward-in { 0% { opacity: 0; transform: translate(-50%, -24px) scale(.85); } 100% { opacity: 1; transform: translate(-50%, 0) scale(1); } }
/* Coupons earned, listed on the game-over card. */
.bg-earned { background: rgba(255, 255, 255, 0.06); border: 1px solid var(--gold); border-radius: 12px;
  padding: 12px 14px; margin: 12px 0; text-align: left; }
.bg-earned h3 { margin: 0 0 8px; font-size: 1rem; color: var(--gold-bright); }
.bg-earned-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.bg-earned-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px; }
.bg-earned-code { font-family: 'Playfair Display', serif; letter-spacing: 0.06em; color: #fff; font-size: 1.05rem; }
.bg-earned-lbl { color: #c9b7e6; font-size: 0.86rem; }
.bg-earned-note { font-size: 0.74rem; color: #b6a4cf; margin: 10px 0 0; line-height: 1.5; }
@media (prefers-reduced-motion: reduce) {
  .bg-combo.show, .bg-flash.show, .bottle-game.shake .bg-panel, .bg-reward.show { animation: none; }
  .bg-flash.show { opacity: 1; }
}

/* Reward line on the Bottle Pop start screen */
.bg-reward-line { color: var(--gold-bright); font-size: .95rem; line-height: 1.5;
  background: rgba(230, 200, 135, 0.1); border: 1px solid rgba(230, 200, 135, 0.3);
  border-radius: 10px; padding: 10px 14px; margin: 4px 0 2px; }
