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

:root {
  --night: #0c0708;
  --night-2: #140c0d;
  --ruby: #cf2f2a;
  --ruby-bright: #e23b34;
  --gold: #d9a441;
  --gold-soft: #e6cf92;
  --cream: #f5f1e8;
  --cream-dim: rgba(245, 241, 232, 0.7);
  --cream-faint: rgba(245, 241, 232, 0.45);
  --hairline: rgba(217, 164, 65, 0.28);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--gold);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 14px 34px;
  border-radius: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.35s ease;
}
.btn-solid {
  background: var(--ruby);
  color: var(--cream);
}
.btn-solid:hover {
  background: var(--ruby-bright);
  box-shadow: 0 0 24px rgba(226, 59, 52, 0.55);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--night);
  box-shadow: 0 0 18px rgba(217, 164, 65, 0.4);
}

/* ---------- Nav ---------- */
nav.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  background: rgba(12, 7, 8, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(217, 164, 65, 0.12);
}
nav.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.wordmark {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--cream);
}
.navlinks {
  display: flex;
  gap: 34px;
}
.navlinks a {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--cream-dim);
  text-decoration: none;
  transition: color 0.3s ease;
}
.navlinks a:hover {
  color: var(--gold);
}
.nav-cta {
  font-size: 11px;
  padding: 11px 22px;
}
@media (max-width: 760px) {
  .navlinks {
    display: none;
  }
}

/* ---------- Scroll-reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
[data-reveal].in-view {
  opacity: 1;
  transform: none;
}

/* ---------- Frame that holds a fill image ---------- */
.frame {
  position: relative;
  overflow: hidden;
  background-color: #0a0607;
}
.frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  animation: heroDrift 26s ease-in-out infinite alternate;
}
.hero-poster {
  position: absolute;
  inset: 0;
  z-index: 0;
  animation: heroDrift 26s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}
.hero-inner > * {
  opacity: 0;
  transform: translateY(18px);
  animation: heroRise 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-inner > *:nth-child(1) {
  animation-delay: 0.15s;
}
.hero-inner > *:nth-child(2) {
  animation-delay: 0.32s;
}
.hero-inner > *:nth-child(3) {
  animation-delay: 0.49s;
}
.hero-inner > *:nth-child(4) {
  animation-delay: 0.66s;
}
@keyframes heroRise {
  to {
    opacity: 1;
    transform: none;
  }
}
.hero-inner > .btn-glow {
  animation: heroRise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.66s forwards,
    claimglow 2.8s ease-in-out infinite;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(70% 65% at 50% 52%, rgba(12, 7, 8, 0.72) 0%, rgba(12, 7, 8, 0.35) 55%, transparent 100%),
    linear-gradient(180deg, rgba(12, 7, 8, 0.75) 0%, rgba(12, 7, 8, 0.55) 40%, rgba(12, 7, 8, 0.8) 75%, rgba(12, 7, 8, 0.98) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 940px;
  padding: 0 24px;
}
.hero .eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--gold-soft);
  margin-bottom: 26px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.8);
}
.hero h1 {
  font-size: clamp(38px, 7vw, 68px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  text-wrap: balance;
  color: var(--cream);
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.85), 0 1px 4px rgba(0, 0, 0, 0.6);
}
.hero p.intro {
  font-size: 17px;
  color: rgba(245, 241, 232, 0.92);
  max-width: 540px;
  margin: 0 auto 40px;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.85);
}

/* ---------- Section scaffolding ---------- */
.section {
  padding: 110px 0;
  scroll-margin-top: 72px;
}
.section-head {
  text-align: center;
  margin-bottom: 60px;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin: 14px 0 12px;
  color: var(--cream);
  text-wrap: balance;
}
.section-head p {
  color: var(--cream-dim);
  margin: 0;
}

/* ---------- Casino-accent card ---------- */
.glow-card {
  position: relative;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(20, 12, 13, 0.5);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.5s ease, box-shadow 0.5s ease, transform 0.5s ease;
}
.glow-card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 28px rgba(217, 164, 65, 0.22);
  transform: translateY(-4px);
}
.glow-card .suit {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 3;
  font-size: 22px;
  color: rgba(217, 164, 65, 0.22);
  pointer-events: none;
}
.glow-card .frame img {
  transition: transform 0.7s ease;
}
.glow-card:hover .frame img {
  transform: scale(1.06);
}
.glow-card .caption {
  padding: 16px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--cream);
}

/* ---------- After Dark: compact feature + 2×2 tiles ---------- */
.after-dark-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 22px;
  align-items: stretch;
}
.after-dark-feature {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(217, 164, 65, 0.25);
  min-height: 300px;
}
.after-dark-feature-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, var(--night) 0%, rgba(12, 7, 8, 0.4) 55%, rgba(12, 7, 8, 0.1) 100%);
}
.after-dark-feature-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
}
.after-dark-feature-content h2 {
  margin: 10px 0 0;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cream);
}
.after-dark-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.after-dark-tiles .glow-card {
  display: flex;
  flex-direction: column;
}
.ad-tile-img {
  height: clamp(120px, 15vh, 158px);
}

/* Casino marquee "flash bulbs" around the full Private Gaming frame */
.gaming-bulbs {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.bulb-row {
  position: absolute;
  filter: drop-shadow(0 0 5px rgba(255, 220, 120, 0.9));
}
.bulb-top,
.bulb-bottom {
  left: 6px;
  right: 6px;
  height: 10px;
  background-image:
    radial-gradient(circle, #ffffff 0 2.6px, transparent 3.3px),
    radial-gradient(circle, #ffd23a 0 2.6px, transparent 3.3px);
  background-size: 24px 10px, 24px 10px;
  background-repeat: repeat-x, repeat-x;
  background-position: 0 center, 12px center;
  animation: bulbFlashX 1.2s linear infinite;
}
.bulb-left,
.bulb-right {
  top: 6px;
  bottom: 6px;
  width: 10px;
  background-image:
    radial-gradient(circle, #ffffff 0 2.6px, transparent 3.3px),
    radial-gradient(circle, #ffd23a 0 2.6px, transparent 3.3px);
  background-size: 10px 24px, 10px 24px;
  background-repeat: repeat-y, repeat-y;
  background-position: center 0, center 12px;
  animation: bulbFlashY 1.2s linear infinite;
}
.bulb-top { top: 6px; }
.bulb-bottom { bottom: 6px; }
.bulb-left { left: 6px; }
.bulb-right { right: 6px; }
@keyframes bulbFlashX {
  0%, 50% {
    background-position: 0 center, 12px center;
  }
  50.001%, 100% {
    background-position: 12px center, 0 center;
  }
}
@keyframes bulbFlashY {
  0%, 50% {
    background-position: center 0, center 12px;
  }
  50.001%, 100% {
    background-position: center 12px, center 0;
  }
}

@media (max-width: 820px) {
  .after-dark-layout {
    grid-template-columns: 1fr;
  }
  .after-dark-feature {
    min-height: 220px;
  }
}

/* ---------- Free Gift Game ---------- */
.gift-section {
  position: relative;
  overflow: hidden;
  text-align: center;
}
.gift-glow {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 460px;
  height: 460px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(207, 47, 42, 0.16), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}
.gift-row {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(28px, 6vw, 100px);
  margin-top: 32px;
}
.gift {
  flex: 1 1 0;
  min-width: 0;
  max-width: 210px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 16px rgba(217, 164, 65, 0.25));
}
.gift:hover {
  transform: translateY(-10px);
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 24px rgba(217, 164, 65, 0.45));
}
.gift .gift-img {
  display: block;
  width: 100%;
  height: auto;
}
.gift.dim {
  filter: grayscale(0.4) brightness(0.55);
}
.gift.pop {
  animation: giftpop 0.5s ease-out;
}
@keyframes giftpop {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.16);
  }
  60% {
    transform: scale(0.94);
  }
  100% {
    transform: scale(1);
  }
}
.gift.shake {
  animation: giftshake 0.6s cubic-bezier(0.36, 0.07, 0.19, 0.97);
  transform-origin: bottom center;
}
@keyframes giftshake {
  0%,
  100% {
    transform: rotate(0deg);
  }
  15% {
    transform: rotate(-9deg);
  }
  30% {
    transform: rotate(8deg);
  }
  45% {
    transform: rotate(-7deg);
  }
  60% {
    transform: rotate(6deg);
  }
  75% {
    transform: rotate(-4deg);
  }
  90% {
    transform: rotate(2deg);
  }
}
.gift:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 6px;
  border-radius: 6px;
}

/* Modal */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(4px);
}
.modal {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: var(--night-2);
  border: 1px solid rgba(217, 164, 65, 0.4);
  border-radius: 10px;
  padding: 44px 32px 40px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  animation: modalin 0.35s ease;
}
@keyframes modalin {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.modal .close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: var(--cream-faint);
  font-size: 18px;
  cursor: pointer;
  transition: color 0.3s ease;
}
.modal .close:hover {
  color: var(--gold);
}
.modal .m-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 14px;
}
/* ---- Coin burst behind the prize popup ---- */
.coin-burst {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 0;
}
.coin {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  margin: -12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff2c4, #e6cf92 38%, #d9a441 72%, #b8862f);
  border: 1px solid #a9781f;
  box-shadow: 0 0 10px rgba(217, 164, 65, 0.65);
  opacity: 0;
  transform: translate(0, 0) scale(0.3);
  animation: coinFly 1.15s cubic-bezier(0.18, 0.7, 0.3, 1) var(--d) forwards;
}
.coin::after {
  content: '$';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: #8a5f1e;
}
@keyframes coinFly {
  0% {
    transform: translate(0, 0) scale(0.3) rotate(0deg);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  65% {
    opacity: 1;
  }
  100% {
    transform: translate(var(--tx), var(--ty)) scale(1) rotate(var(--r));
    opacity: 0;
  }
}

/* ---- Prize popup (celebratory "you won" treatment, landscape) ---- */
.modal:has(.gift-modal) {
  overflow: visible;
  max-width: 640px;
  border-color: rgba(217, 164, 65, 0.6);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(226, 59, 52, 0.22), transparent 62%),
    var(--night-2);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7), 0 0 46px rgba(217, 164, 65, 0.18);
  padding: 40px 44px;
}
.gift-modal {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 30px;
  text-align: center;
}
.gift-modal-left,
.gift-modal-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.gift-modal-left {
  flex-shrink: 0;
}
.gift-modal-right {
  gap: 14px;
}
.gift-divider {
  align-self: stretch;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(217, 164, 65, 0.5), transparent);
}
.gift-emblem {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 35%, #f4e2ac, #d9a441 70%, #b8862f);
  border: 2px solid rgba(245, 241, 232, 0.35);
  box-shadow: 0 0 0 4px rgba(12, 7, 8, 0.6), 0 0 26px rgba(217, 164, 65, 0.7);
  animation: emblemPulse 2.4s ease-in-out infinite;
}
@keyframes emblemPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(12, 7, 8, 0.6), 0 0 18px rgba(217, 164, 65, 0.55); }
  50% { box-shadow: 0 0 0 4px rgba(12, 7, 8, 0.6), 0 0 34px rgba(217, 164, 65, 0.95); }
}
.gift-congrats {
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--gold);
  white-space: nowrap;
}
@media (max-width: 560px) {
  .gift-modal {
    flex-direction: column;
    gap: 12px;
  }
  .gift-divider {
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(217, 164, 65, 0.5), transparent);
  }
}
.gift-congrats::before,
.gift-congrats::after {
  content: '♦';
  color: var(--gold);
  opacity: 0.55;
  font-size: 0.7em;
  vertical-align: middle;
}
.gift-congrats::before { margin-right: 10px; }
.gift-congrats::after { margin-left: 10px; }
.gift-lead {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--cream-dim);
}
.gift-prize {
  margin: 2px 0 0;
  font-size: clamp(30px, 8.5vw, 46px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
  background: linear-gradient(100deg, #d9a441 0%, #e6cf92 22%, #fff6df 50%, #e6cf92 78%, #d9a441 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 2px 12px rgba(217, 164, 65, 0.45));
  animation: goldShimmer 3.5s linear infinite;
}
@keyframes goldShimmer {
  to { background-position: -220% center; }
}
.gift-sub {
  display: inline-block;
  margin: 2px 0 0;
  padding: 7px 16px;
  border: 1px solid rgba(217, 164, 65, 0.5);
  border-radius: 999px;
  background: rgba(217, 164, 65, 0.08);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.gift-modal .gift-claim {
  margin-top: 20px;
  padding: 15px 44px;
  font-size: 14px;
}
@media (prefers-reduced-motion: reduce) {
  .gift-prize {
    -webkit-text-fill-color: var(--gold-soft);
    color: var(--gold-soft);
  }
}
/* Looping attractor glow for the primary CTAs */
.btn-glow {
  position: relative;
  animation: claimglow 2.8s ease-in-out infinite;
}
@keyframes claimglow {
  0%,
  100% {
    box-shadow: 0 0 10px 1px rgba(226, 59, 52, 0.35);
  }
  50% {
    box-shadow: 0 0 26px 5px rgba(226, 59, 52, 0.65);
  }
}

/* ---------- Rewards ---------- */
.points {
  text-align: center;
  margin-bottom: 58px;
}
.points .bal {
  font-size: clamp(40px, 6vw, 60px);
  font-weight: 800;
  color: var(--gold-soft);
  font-variant-numeric: tabular-nums;
  margin-top: 10px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 820px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}
.reward-body {
  padding: 20px;
  text-align: center;
}
.reward-body .r-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cream);
  margin-bottom: 8px;
}
.reward-body .r-cost {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 16px;
}
.reward-img {
  height: 180px;
}

/* Rewards cards: gold→red light looping AROUND the frame (rotating conic) */
@property --frame-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
#rewards .glow-card {
  --frame-angle: 0deg;
  border: 2px solid transparent;
  background:
    linear-gradient(var(--night-2), var(--night-2)) padding-box,
    conic-gradient(
        from var(--frame-angle),
        #cf2f2a,
        #e23b34,
        #e6cf92,
        #d9a441,
        #cf2f2a
      )
      border-box;
  animation: frameSpin 4s linear infinite;
}
#rewards .glow-card:hover {
  border-color: transparent;
  box-shadow: 0 0 30px rgba(207, 47, 42, 0.3);
}
@keyframes frameSpin {
  to {
    --frame-angle: 360deg;
  }
}
.closing {
  text-align: center;
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
}
.scarcity {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 4vw, 34px);
  width: 100%;
  max-width: 680px;
  margin: 0;
}
.scarcity-text {
  font-size: clamp(18px, 3.4vw, 32px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cream);
  white-space: nowrap;
}
.scarcity-num {
  color: var(--gold);
  text-shadow: 0 0 18px rgba(217, 164, 65, 0.55);
}
.scarcity-rule {
  flex: 1;
  height: 1px;
  min-width: 24px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.scarcity-rule:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}
@media (max-width: 520px) {
  .scarcity-text {
    white-space: normal;
  }
}

footer.site-footer {
  border-top: 1px solid rgba(217, 164, 65, 0.14);
  background: linear-gradient(180deg, rgba(20, 12, 13, 0.4), var(--night));
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 54px;
}
@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
  }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}
.footer-brand p {
  color: var(--cream-dim);
  font-size: 14px;
  line-height: 1.7;
  max-width: 320px;
  margin: 16px 0 0;
}
.footer-wordmark {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--gold);
}
.footer-col h4 {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--cream);
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col a {
  color: var(--cream-dim);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}
.footer-col a:hover {
  color: var(--gold);
}
.footer-socials {
  display: flex;
  gap: 12px;
}
.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(217, 164, 65, 0.35);
  background: rgba(12, 7, 8, 0.6);
  color: var(--cream-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.social-icon:hover {
  color: var(--night);
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 16px rgba(217, 164, 65, 0.45);
}
.social-icon:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.footer-bottom {
  border-top: 1px solid rgba(217, 164, 65, 0.1);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-faint);
}
.footer-age {
  color: var(--gold);
}

/* ---------- Back-to-top floating button ---------- */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 55;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: rgba(12, 7, 8, 0.85);
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 20px rgba(217, 164, 65, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.to-top:hover {
  background: var(--gold);
  color: var(--night);
  box-shadow: 0 0 26px rgba(217, 164, 65, 0.55);
}
.to-top:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
@media (max-width: 560px) {
  .to-top {
    right: 18px;
    bottom: 18px;
    width: 48px;
    height: 48px;
  }
}

/* ---------- Mobile refinements (desktop unchanged) ---------- */
@media (max-width: 640px) {
  .hero {
    min-height: 76vh;
  }
  .section {
    padding: 46px 0;
  }
  .section-head {
    margin-bottom: 34px;
  }
  .site-footer {
    padding-top: 44px;
  }
  .footer-grid {
    padding-bottom: 40px;
  }
  nav.site-nav .wrap {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .wordmark {
    font-size: 12px;
    letter-spacing: 0.1em;
  }
  .nav-cta {
    font-size: 10px;
    padding: 9px 14px;
  }
}

@media (max-width: 560px) {
  .gift-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
    justify-items: center;
    align-items: center;
  }
  .gift {
    max-width: 155px;
    width: 100%;
  }
  .gift-row .gift:nth-child(3) {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
  [data-reveal],
  .hero-inner > * {
    opacity: 1 !important;
    transform: none !important;
  }
}
