:root {
  --bg: #081331;
  --bg-2: #0D1C45;
  --bg-3: #162A5E;
  --line: rgba(190, 210, 255, .14);
  --text: #F3F6FF;
  --mist: rgba(222, 232, 255, .7);
  --blue: #3B7BFF;
  --blue-deep: #1F4FD1;
  --sky: #A9C6FF;
  --gold: #F6C453;
  --gold-deep: #C98A12;
  --ink: #081331;
  --paper: #FFFFFF;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Manrope", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1200px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: radial-gradient(90% 60% at 72% 0%, #1A3680 0, rgba(26, 54, 128, 0) 70%) no-repeat, var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; margin: 0; letter-spacing: -.02em; font-optical-sizing: auto; }
h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.02; }
h3 { font-size: 23px; line-height: 1.15; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
#stars { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }

/* ---------- header ---------- */
.bar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  padding: 12px var(--gutter);
  background: rgba(8, 19, 49, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 900 26px/1 var(--display); letter-spacing: -.02em; }
.brand img { border-radius: 11px; }
.links { display: flex; gap: 28px; margin-left: auto; }
.links a { text-decoration: none; color: var(--mist); font-weight: 600; font-size: 15px; }
.links a:hover { color: var(--text); }
.bar-actions { display: flex; gap: 10px; align-items: center; }

.btn-buy, .btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 999px;
  font: 700 15px/1 var(--body); text-decoration: none; white-space: nowrap;
}
.btn-buy { background: var(--gold); color: var(--ink); font-weight: 800; box-shadow: inset 0 -3px 0 var(--gold-deep), 0 0 0 rgba(246, 196, 83, 0); transition: background .15s ease, box-shadow .2s ease, transform .15s ease; }
.btn-buy:hover { background: #FFD46E; box-shadow: inset 0 -3px 0 var(--gold-deep), 0 8px 28px rgba(246, 196, 83, .3); }
.btn-buy:active { transform: translateY(1px); }
.btn-buy.big { height: 56px; padding: 0 30px; font-size: 17px; }
.btn-ghost { border: 1px solid rgba(222, 232, 255, .3); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }

/* ---------- hero ---------- */
.hero {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 5vw, 64px);
  max-width: var(--max); margin: 0 auto;
  padding: clamp(36px, 6vw, 80px) var(--gutter) clamp(36px, 5vw, 56px);
}
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 700; font-size: 15px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(50px, 7vw, 96px); line-height: .94; max-width: 9ch; }
.hero h1 em { display: block; font-style: italic; color: var(--sky); }
.lede { margin-top: 24px; max-width: 34em; font-size: clamp(17px, 1.5vw, 19px); color: var(--mist); }
.lede strong { color: var(--text); font-weight: 800; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; align-items: center; }
.ca {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 8px 20px; max-width: 100%;
  background: rgba(255, 255, 255, .06); color: var(--text);
  border: 1px solid rgba(222, 232, 255, .22); border-radius: 999px;
  font: 600 15px/1.3 var(--body); cursor: pointer; text-align: left;
}
.ca:hover { border-color: rgba(222, 232, 255, .5); }
.ca-label { color: var(--gold); font-weight: 800; }
.ca-val { font-size: 14px; overflow-wrap: anywhere; }
.hold-note { margin-top: 18px; font-size: 15px; color: var(--mist); max-width: 34em; }

/* ---------- the menorah ---------- */
.stage { position: relative; display: flex; flex-direction: column; align-items: center; }
.menorah { margin: 0; width: min(100%, 540px); }
.menorah svg { width: 100%; height: auto; overflow: visible; }
.candle .wax-top { fill: #FFFFFF; }
.candle .wax-bot { fill: var(--blue); }
.candle .wax-line { stroke: var(--ink); stroke-width: 3; }
.candle .wax-edge { fill: none; stroke: var(--ink); stroke-width: 3.5; }
.candle .wick { stroke: #3A3F55; stroke-width: 3; stroke-linecap: round; }
.candle .cup { fill: url(#brass); }
.candle .flame-wrap, .candle .glow { opacity: 0; }
.candle .flame-wrap { transform-box: fill-box; transform-origin: 50% 100%; transform: scale(.4, .2); transition: opacity .35s ease-out, transform .7s var(--ease-out); }
.candle .glow { transition: opacity 1.2s ease-out; }
.candle.lit .flame-wrap { opacity: 1; transform: none; }
.candle .sparks circle { opacity: 0; }
.candle.lit .sparks circle { animation: spark 3s ease-out infinite; transform-box: fill-box; }
@keyframes spark { 0% { opacity: 0; transform: translateY(0); } 15% { opacity: .9; } 100% { opacity: 0; transform: translateY(-46px) translateX(4px); } }
.candle.lit .glow { opacity: 1; }
.candle.unlit .wax-top { fill: #D7E2F7; }
.candle.unlit .wax-bot { fill: #6E8FD6; }
.candle.empty .wax-top, .candle.empty .wax-bot, .candle.empty .wax-line, .candle.empty .wax-edge, .candle.empty .wick { opacity: 0; }
.candle.empty .slot { opacity: 1; }
.candle .slot { opacity: 0; fill: none; stroke: rgba(169, 198, 255, .35); stroke-width: 2.5; stroke-dasharray: 5 6; }
.flame { transform-box: fill-box; transform-origin: 50% 100%; animation: flicker 2.6s ease-in-out infinite; }
.glow { animation: breathe 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 50%; }
.candle.tonight .flame-outer { fill: #FFD26A; }
.menorah.flare .candle.tonight .glow { animation: flare 1.6s ease-out; }
@keyframes flicker {
  0%, 100% { transform: scale(1, 1) rotate(0deg); }
  25% { transform: scale(.96, 1.06) rotate(-2deg); }
  50% { transform: scale(1.03, .97) rotate(1.5deg); }
  75% { transform: scale(.98, 1.04) rotate(-1deg); }
}
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
@keyframes flare { 0% { transform: scale(1); } 30% { transform: scale(2.2); } 100% { transform: scale(1); } }

.tn-card {
  position: relative; z-index: 2; margin-top: 10px; width: min(100%, 520px);
  display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 14px;
  background: rgba(13, 28, 69, .86); border: 1px solid rgba(246, 196, 83, .45);
  border-radius: 22px; padding: 14px 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35), 0 0 0 4px rgba(246, 196, 83, .06);
}
.tn-coin { width: 60px; height: 60px; border-radius: 50%; overflow: hidden; background: var(--bg-3); border: 2px solid var(--gold); display: grid; place-items: center; font: 900 22px/1 var(--display); color: var(--sky); }
.tn-coin img { width: 100%; height: 100%; object-fit: cover; }
.tn-label { font-size: 13px; font-weight: 700; color: var(--gold); letter-spacing: .02em; }
.tn-sym { font: 900 26px/1.1 var(--display); color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tn-sym.soft { font: 700 17px/1.3 var(--body); color: var(--mist); white-space: normal; }
.tn-text { min-width: 0; }
.tn-timers { display: grid; gap: 6px; text-align: right; }
.tn-timers div { display: grid; }
.tn-timers span { font-size: 12px; color: var(--mist); font-weight: 600; }
.tn-timers b { font: 900 24px/1 var(--display); color: var(--text); font-variant-numeric: tabular-nums; }
.tn-timers div + div b { font-size: 17px; color: var(--sky); }

.reveal {
  position: absolute; left: 50%; top: 22%; z-index: 5; width: min(92%, 320px); transform: translateX(-50%);
  background: var(--paper); color: var(--ink); border-radius: 22px; padding: 22px 22px 20px; text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45); border: 2px solid var(--gold);
  animation: pop .55s cubic-bezier(.3, 1.5, .5, 1);
}
.reveal-coin { width: 96px; height: 96px; margin: -70px auto 12px; border-radius: 50%; overflow: hidden; background: var(--blue); border: 5px solid var(--paper); box-shadow: 0 10px 24px rgba(0, 0, 0, .3); display: grid; place-items: center; }
.reveal-coin img { width: 100%; height: 100%; object-fit: cover; }
.reveal-coin span { font: 900 30px/1 var(--display); color: #fff; }
.reveal-title { font-weight: 700; color: #45506E; }
.reveal-title b { display: block; font: 900 40px/1.05 var(--display); color: var(--blue-deep); overflow-wrap: anywhere; }
.reveal-sub { margin-top: 6px; font-size: 15px; color: #45506E; }
@keyframes pop { from { opacity: 0; transform: translateX(-50%) scale(.7); } to { opacity: 1; transform: translateX(-50%) scale(1); } }
.stage-note { margin-top: 14px; text-align: center; font-size: 14px; color: var(--mist); max-width: 40ch; }

/* ---------- numbers ---------- */
.numbers {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: var(--max); margin: 0 auto; padding: 8px var(--gutter) 56px;
}
.stat { padding: 4px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font: 900 clamp(34px, 3.8vw, 50px)/1.05 var(--display); color: var(--gold); font-variant-numeric: tabular-nums; }
.stat span { font-size: 15px; color: var(--mist); }

/* ---------- sections ---------- */
.nights, .drops, .pool, .rules { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--gutter); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.sec-head p { color: var(--mist); max-width: 46ch; }

/* the eight nights */
.night-grid { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.night {
  transition: border-color .2s ease, transform .25s var(--ease-out), opacity .6s var(--ease-out);
  position: relative; min-width: 0;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; padding: 18px;
  display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; align-items: start;
}
.night .n-name { font: 900 22px/1.05 var(--display); }
.night .n-date { font-size: 13px; color: var(--mist); font-weight: 600; }
.night .n-candles { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 3px; align-items: end; height: 30px; }
.night .n-candles i { display: block; width: 5px; height: 18px; border-radius: 3px; background: rgba(169, 198, 255, .25); }
.night .n-candles i.on { background: var(--sky); box-shadow: 0 -7px 0 -1px var(--gold); }
.night .n-coin { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin-top: 6px; padding-top: 12px; border-top: 1px dashed var(--line); min-width: 0; }
.night .n-coin .c { flex: none; width: 38px; height: 38px; border-radius: 50%; overflow: hidden; background: var(--bg-3); display: grid; place-items: center; font: 800 14px/1 var(--body); color: var(--mist); }
.night .n-coin .c img { width: 100%; height: 100%; object-fit: cover; }
.night .n-coin b { font: 800 17px/1.2 var(--body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.night .n-coin small { display: block; font-size: 13px; color: var(--mist); font-weight: 500; }
.night .n-coin a { text-decoration: none; min-width: 0; }
.night .n-coin .wait { font-size: 14px; color: var(--mist); }
.night.tonight { border-color: var(--gold); background: linear-gradient(180deg, rgba(246, 196, 83, .14), rgba(246, 196, 83, 0) 70%), var(--bg-2); }
.night.tonight::after { content: "Tonight"; position: absolute; top: -11px; left: 16px; background: var(--gold); color: var(--ink); font: 800 12px/1 var(--body); padding: 5px 9px; border-radius: 999px; }
.night.future { opacity: .62; }

/* airdrops */
.gift-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.gift-empty { grid-column: 1 / -1; padding: 44px 20px; text-align: center; color: var(--mist); border: 1.5px dashed rgba(169, 198, 255, .3); border-radius: 22px; }
.gift-card {
  transition: border-color .2s ease, transform .25s var(--ease-out), opacity .6s var(--ease-out);
  position: relative; background: var(--bg-2); border: 1px solid var(--line); color: var(--text); border-radius: 20px; padding: 18px;
  display: grid; grid-template-columns: 56px 1fr; gap: 4px 14px; align-items: center;
}
.gift-card .coin { grid-row: span 2; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: var(--blue); display: grid; place-items: center; font: 800 20px/1 var(--body); }
.gift-card .coin img { width: 100%; height: 100%; object-fit: cover; }
.gift-card .sym { font: 900 24px/1.05 var(--display); color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gift-card .meta { font-size: 14px; color: var(--mist); }
.gift-card .row { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--mist); }
.gift-card .row a { display: inline-flex; align-items: center; gap: 5px; color: var(--sky); text-decoration: none; font-weight: 700; }
.gift-card .row a:hover { color: var(--gold); }
.gift-card .test { font-size: 12px; font-weight: 800; color: var(--ink); background: var(--gold); padding: 2px 8px; border-radius: 999px; }
.gift-card.fresh { animation: fresh 1.4s ease-out; }
@keyframes fresh { 0% { transform: scale(.94); box-shadow: 0 0 0 6px var(--gold); } 100% { transform: none; box-shadow: none; } }

/* the 100 */
.pool-grid { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.pool-grid li {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 12px 8px 10px;
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; min-width: 0;
  transition: border-color .15s ease;
}

.pool-grid a { display: contents; text-decoration: none; }
.pool-grid .pc { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--bg-3); display: grid; place-items: center; font: 800 15px/1 var(--body); color: var(--mist); }
.pool-grid .pc img { width: 100%; height: 100%; object-fit: cover; }
.pool-grid .ps { font-weight: 800; font-size: 13px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pool-grid .pm { font-size: 12px; color: var(--mist); }
.pool-more { display: block; margin: 20px auto 0; height: 46px; padding: 0 24px; border-radius: 999px; background: transparent; color: var(--text); border: 1px solid rgba(222, 232, 255, .3); font: 700 15px/1 var(--body); cursor: pointer; transition: border-color .2s ease; }
.pool-more:hover { border-color: var(--gold); }
.pool-grid li.was { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }

/* how it works: the one light band */
.how { position: relative; z-index: 1; background: #F4F7FF; color: var(--ink); padding: clamp(64px, 8vw, 112px) var(--gutter) clamp(56px, 8vw, 104px); }
.how::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: linear-gradient(var(--blue), var(--blue)) 0 0 / 100% 4px no-repeat, linear-gradient(var(--blue), var(--blue)) 0 8px / 100% 4px no-repeat; }
.how h2, .steps { max-width: var(--max); margin-left: auto; margin-right: auto; }
.steps { list-style: none; padding: 0; margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { background: #fff; border-radius: 22px; padding: 28px; border: 1px solid rgba(8, 19, 49, .1); }
.num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: #fff; font: 900 22px/1 var(--display); margin-bottom: 20px; }
.steps p { margin-top: 10px; color: #45506E; max-width: 34ch; }

.rules dl { margin: 36px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(24px, 5vw, 64px); }
.rules dl div { padding: 22px 0; border-top: 1px solid var(--line); }
.rules dt { font: 700 22px/1.2 var(--display); color: var(--sky); }
.rules dd { margin: 6px 0 0; color: var(--mist); max-width: 48ch; }

.foot { position: relative; z-index: 1; background: #060E26; border-top: 1px solid var(--line); }
.foot-row { max-width: var(--max); margin: 0 auto; padding: 36px var(--gutter) 44px; display: flex; gap: 32px; align-items: center; justify-content: space-between; }
.foot-brand { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-x { display: inline-flex; align-items: center; gap: 8px; color: var(--mist); text-decoration: none; font-weight: 700; font-size: 15px; }
.foot-x:hover { color: var(--text); }
.foot-row p { font-size: 14px; color: var(--mist); max-width: 62ch; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 30;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--paper); color: var(--ink); padding: 12px 18px; border-radius: 999px;
  font-weight: 700; font-size: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  transition: opacity .2s ease, transform .2s ease; max-width: calc(100vw - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .links { display: none; }
  .bar-actions { margin-left: auto; }
  .hero { grid-template-columns: 1fr; }
  .stage { order: -1; }
  .numbers { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .night-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .rules dl { grid-template-columns: 1fr; }
  .foot-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .music-btn { padding: 0 13px; }
  .music-btn .mb-label { display: none; }
  .btn-ghost span { display: none; }
  .bar .buy-long { display: none; }
  .btn-ghost { padding: 0 13px; }
  .bar { gap: 12px; }
  .brand span { font-size: 23px; }
  .cta .btn-buy.big, .ca { width: 100%; justify-content: center; }
  .ca { border-radius: 18px; }
  .ca-val { font-size: 13px; }
  .stat { padding: 4px 14px; }
  .steps li { padding: 24px; }
  .tn-card { grid-template-columns: 48px 1fr; padding: 12px 14px; }
  .night { grid-template-columns: 1fr; gap: 6px; }
  .tn-coin { width: 48px; height: 48px; }
  .tn-timers { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; text-align: left; padding-top: 10px; border-top: 1px dashed var(--line); }
  .tn-sym { font-size: 22px; }
  .night-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .night { padding: 14px; }
  .night .n-candles { display: none; }
  .night .n-name { font-size: 19px; }
  .gift-grid { grid-template-columns: 1fr; }
  .pool-grid { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }
}
/* ---------- music button ---------- */
.music-btn {
  display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 16px 0 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(222, 232, 255, .22); color: var(--mist);
  font: 700 14px/1 var(--body); cursor: pointer; transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.music-btn .eq { display: flex; align-items: end; gap: 2px; height: 14px; }
.music-btn .eq i { display: block; width: 3px; height: 4px; border-radius: 2px; background: currentColor; transform-origin: 50% 100%; }
.music-btn.on { color: var(--gold); border-color: rgba(246, 196, 83, .5); background: rgba(246, 196, 83, .08); }
.music-btn.on .eq i { height: 14px; animation: eq 1.1s ease-in-out infinite; }
.music-btn.on .eq i:nth-child(2) { animation-delay: -.3s; } .music-btn.on .eq i:nth-child(3) { animation-delay: -.7s; } .music-btn.on .eq i:nth-child(4) { animation-delay: -.5s; }
@keyframes eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
.music-btn:not(.on) { animation: nudge 2.4s ease-in-out 3s 3; }
@keyframes nudge { 0%, 100% { box-shadow: 0 0 0 0 rgba(246, 196, 83, 0); } 50% { box-shadow: 0 0 0 6px rgba(246, 196, 83, .16); } }

/* ---------- entrance + reveal ---------- */
.hero-copy > *, .tn-card, .stage-note { animation: rise .9s var(--ease-out) both; }
.hero-copy > :nth-child(1) { animation-delay: .05s; } .hero-copy > :nth-child(2) { animation-delay: .12s; }
.hero-copy > :nth-child(3) { animation-delay: .2s; } .hero-copy > :nth-child(4) { animation-delay: .28s; }
.hero-copy > :nth-child(5) { animation-delay: .36s; } .tn-card { animation-delay: .5s; } .stage-note { animation-delay: .6s; }
.menorah { animation: fadein 1.2s var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fadein { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.rv.in { opacity: 1; transform: none; }
.rv-group > * { transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), border-color .2s ease; }
.rv-group:not(.in) > * { opacity: 0; transform: translateY(16px); }
.hero h1 em { background: linear-gradient(100deg, var(--sky) 20%, #fff 45%, var(--sky) 70%) 0 0 / 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 7s ease-in-out 1.6s infinite; }
@keyframes shimmer { 0% { background-position: 100% 0; } 40%, 100% { background-position: -50% 0; } }

/* hovers only where there's a real pointer */
@media (hover: hover) and (pointer: fine) {
  .night:hover, .gift-card:hover { transform: translateY(-3px); border-color: rgba(169, 198, 255, .35); }
  .night.tonight:hover { border-color: var(--gold); }
  .pool-grid li:hover { border-color: rgba(246, 196, 83, .55); transform: translateY(-2px); }
  .pool-grid li { transition: border-color .2s ease, transform .2s var(--ease-out); }
  .btn-buy:hover { transform: translateY(-1px); }
  .music-btn:hover { color: var(--text); border-color: rgba(222, 232, 255, .5); }
}

@keyframes fadein-soft { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .tn-card, .stage-note, .menorah { animation: fadein-soft .4s ease-out both; }
  .rv, .rv-group > * { transform: none !important; }
  .candle .flame-wrap { transform: none; }
  .candle.lit .sparks circle, .music-btn .eq i, .hero h1 em, .music-btn:not(.on) { animation: none; }
  .hero h1 em { color: var(--sky); background: none; }
  .flame, .glow { animation: none; }
  .reveal { animation: none; }
  html { scroll-behavior: auto; }
}
