/* Shared look and motion for the Brightside site (landing, contact, thanks). */
:root { --navy: #13233b; --night: #0c1728; --mint: #429e9d; --gold: #ffdc8f; --ease-out: cubic-bezier(.22, 1, .36, 1); --ease-spring: cubic-bezier(.34, 1.56, .64, 1); }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

/* Buttons: big, easy to hit, respond instantly */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 52px; padding: 0 1.75rem; border-radius: 999px; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .16s var(--ease-out), background-color .2s, box-shadow .2s, color .2s; }
.btn i.fa-arrow-right { transition: transform .25s var(--ease-out); }
.btn:hover { transform: translateY(-2px); }
.btn:hover i.fa-arrow-right { transform: translateX(4px); }
.btn:active { transform: scale(.96, .94); }
.btn-mint { background: var(--mint); color: var(--night); box-shadow: 0 12px 24px -12px rgba(47,127,126,.95); }
.btn-mint:hover { background: #52b3b2; }
.btn-gold { background: var(--gold); color: #3d2c00; box-shadow: 0 12px 28px -10px rgba(255,220,143,.7); }
.btn-gold:hover { background: #ffe6ad; }
.btn-white { background: rgba(255,255,255,.95); color: var(--navy); }
.btn-outline { border: 2px solid var(--mint); color: var(--navy); }
.btn-outline:hover { background: rgba(66,158,157,.15); }
.btn-sm { min-height: 46px; padding: 0 1.25rem; }
.nav-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .25rem; color: #4b5563; position: relative; transition: color .2s; }
.nav-link::after { content: ""; position: absolute; left: .25rem; right: .25rem; bottom: 8px; height: 2px; border-radius: 2px; background: var(--mint); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
.nav-link:hover { color: var(--navy); } .nav-link:hover::after { transform: scaleX(1); }

/* Promo strip */
.marquee { overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: .6rem; padding: 0 1.5rem; font-weight: 600; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Night sky sections */
.night { position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(900px 520px at 80% -10%, rgba(66,158,157,.3), transparent 62%), radial-gradient(700px 480px at 0% 0%, rgba(60,96,160,.35), transparent 60%), linear-gradient(#0c1728, #13233b 55%, #1a2f4d); }
.night::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .75;
  background-image: radial-gradient(1.2px 1.2px at 22px 34px, #fff 50%, transparent 51%), radial-gradient(1px 1px at 140px 90px, #fff 50%, transparent 51%), radial-gradient(1.4px 1.4px at 230px 30px, #ffe9b5 50%, transparent 51%), radial-gradient(1px 1px at 300px 150px, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 80px 190px, #fff 50%, transparent 51%), radial-gradient(1px 1px at 190px 240px, #cfe4ff 50%, transparent 51%);
  background-size: 340px 280px; -webkit-mask-image: linear-gradient(#000, transparent 90%); mask-image: linear-gradient(#000, transparent 90%); }
.night > * { position: relative; }
.glow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px 2px rgba(255,220,143,.8); animation: twinkle 2.4s ease-in-out infinite; }

/* Hero entrance: pieces arrive one after another */
.hero-in > * { animation: rise .7s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* House scene */
.scene-card { border-radius: 26px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); background: linear-gradient(rgba(13,26,46,.4), rgba(29,53,88,.85)); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); animation: rise .9s var(--ease-out) .25s both; }
.art { display: block; width: 100%; height: auto; }
.bulb { animation: light-on .5s var(--ease-out) both; animation-delay: calc(var(--n) * 14ms + 120ms); }
.bulb.tw { animation: light-on .5s var(--ease-out) calc(var(--n) * 14ms + 120ms) both, twinkle 2.8s ease-in-out calc(var(--n) * 173ms + 1.2s) infinite; }
@keyframes light-on { from { opacity: 0; } }
@keyframes twinkle { 50% { opacity: .45; } }
.smoke { opacity: 0; transform-box: fill-box; transform-origin: center; animation: smoke 4.2s ease-out infinite; animation-delay: calc(var(--s) * 1.4s); }
@keyframes smoke { 0% { opacity: 0; transform: translate(0, 0) scale(.5); } 25% { opacity: .45; } 100% { opacity: 0; transform: translate(9px, -24px) scale(1.5); } }
.flake { animation: fall var(--t) linear var(--d) infinite; }
@keyframes fall { to { transform: translate(var(--x), 200px); } }

.swatch { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 2px solid rgba(255,255,255,.22); background: rgba(12,23,40,.6); cursor: pointer; transition: transform .16s var(--ease-out), border-color .2s, background .2s; }
.swatch i { width: 12px; height: 12px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.swatch:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.5); }
.swatch:active { transform: scale(.94); }
.swatch[aria-pressed="true"] { border-color: var(--gold); background: rgba(255,220,143,.16); animation: pop .4s var(--ease-spring); }
@keyframes pop { 50% { transform: scale(1.12); } }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease-out, transform .7s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Cards lift toward the pointer */
.lift { transition: transform .3s var(--ease-out), box-shadow .3s; }
.lift:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -22px rgba(19,35,59,.45); }
.step-num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--night); font-weight: 800; font-family: "League Spartan", sans-serif; font-size: 22px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Small helpers for the contact and thank-you pages */
.press { transition: transform .16s var(--ease-out), background-color .2s, box-shadow .2s; }
.press:hover { transform: translateY(-1px); }
.press:active { transform: scale(.96); }
.pop-in { animation: pop-in .6s var(--ease-spring) both; }
@keyframes pop-in { from { transform: scale(0); opacity: 0; } }
.step { animation: rise .45s var(--ease-out) both; }

/* Season switch: Christmas page vs regular page */
.season-normal .xmas-only, .season-xmas .normal-only { display: none !important; }

/* Promotion card in the Christmas hero */
.promo-card { display: inline-flex; align-items: center; gap: 14px; margin-top: 22px; padding: 12px 18px 12px 12px; border-radius: 18px; color: #fff; text-decoration: none; max-width: 100%;
  background: linear-gradient(100deg, rgba(255,220,143,.2), rgba(255,220,143,.06)); border: 1.5px dashed rgba(255,220,143,.65);
  transition: transform .2s var(--ease-out), background .2s, border-color .2s; }
.promo-card:hover { transform: translateY(-2px) rotate(-.4deg); border-color: var(--gold); }
.promo-card:active { transform: scale(.98); }
.promo-icon { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--gold); color: #3d2c00; font-size: 20px; animation: wiggle 3.6s var(--ease-out) 1.4s infinite; }
@keyframes wiggle { 0%, 82%, 100% { transform: rotate(0) scale(1); } 86% { transform: rotate(-12deg) scale(1.08); } 90% { transform: rotate(10deg) scale(1.08); } 94% { transform: rotate(-6deg); } }

/* Holiday offer band */
.offer-band { background: linear-gradient(180deg, #1a2f4d 0, #1a2f4d 46px, #fff 46px); }
.offer-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 28px 22px; border-radius: 28px; color: var(--navy);
  background: linear-gradient(135deg, #fff3cf, #ffe29b); border: 2px dashed #e0b24a; box-shadow: 0 30px 60px -30px rgba(19,35,59,.55); }
.offer-gift { flex: none; width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center; background: var(--navy); color: var(--gold); font-size: 36px; box-shadow: 0 14px 28px -12px rgba(19,35,59,.7); animation: wiggle 3.6s var(--ease-out) 1.2s infinite; }
.offer-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: #fff; font-weight: 700; box-shadow: 0 6px 14px -8px rgba(19,35,59,.5); }
.offer-chip i { color: var(--mint); }
@media (min-width: 768px) { .offer-card { flex-direction: row; align-items: flex-start; padding: 34px 36px; gap: 28px; } }
