/* The light behind the whole website (owner's note): a few soft pools of green drift slowly behind every page, so the
   glass cards and panels sit on living light instead of flat black, and their see-through glass shows it moving.
   One fixed layer behind everything, moved only with transform (drawn once, moved by the graphics chip): no blur
   filters and no backdrop blur, so scrolling stays smooth. Shop pages keep their own tinted room. Reduce Motion, the site's
   quiet motion setting and Reduce Transparency keep the light still. */
.re-ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; contain: strict; --amb: var(--ambient, #00f47b); --amb-2: var(--ambient-2, #41e5b0); }
.re-ambient i { position: absolute; display: block; border-radius: 50%; will-change: transform; backface-visibility: hidden; }
/* Each pool is an ellipse that slowly drifts, turns and breathes, so the light bends a little as it moves. */
.re-ambient i:nth-child(1) { left: -18vmax; top: -22vmax; width: 78vmax; height: 62vmax; background: radial-gradient(closest-side, color-mix(in srgb, var(--amb) 20%, transparent), color-mix(in srgb, var(--amb) 7%, transparent) 50%, transparent); animation: re-amb-a 46s ease-in-out infinite alternate; }
.re-ambient i:nth-child(2) { right: -24vmax; top: 18vh; width: 70vmax; height: 56vmax; background: radial-gradient(closest-side, color-mix(in srgb, var(--amb-2) 15%, transparent), color-mix(in srgb, var(--amb-2) 5%, transparent) 55%, transparent); animation: re-amb-b 58s ease-in-out infinite alternate; }
.re-ambient i:nth-child(3) { left: 12vw; bottom: -30vmax; width: 84vmax; height: 58vmax; background: radial-gradient(closest-side, color-mix(in srgb, var(--amb) 14%, transparent), color-mix(in srgb, var(--amb) 4%, transparent) 55%, transparent); animation: re-amb-c 64s ease-in-out infinite alternate; }
.re-ambient i:nth-child(4) { left: 40vw; top: 30vh; width: 44vmax; height: 34vmax; background: radial-gradient(closest-side, rgb(214 255 232 / .05), transparent); animation: re-amb-d 38s ease-in-out infinite alternate; }
/* A fine grain so the soft light never shows color bands. */
.re-ambient::after { content: ""; position: absolute; inset: 0; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@keyframes re-amb-a { 0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); } 50% { transform: translate3d(14vw, 10vh, 0) rotate(18deg) scale(1.12, .92); } 100% { transform: translate3d(26vw, -4vh, 0) rotate(-8deg) scale(.95, 1.08); } }
@keyframes re-amb-b { 0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); } 50% { transform: translate3d(-18vw, 14vh, 0) rotate(-22deg) scale(.9, 1.12); } 100% { transform: translate3d(-8vw, 34vh, 0) rotate(12deg) scale(1.1, .94); } }
@keyframes re-amb-c { 0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); } 50% { transform: translate3d(-16vw, -16vh, 0) rotate(14deg) scale(1.08, .9); } 100% { transform: translate3d(20vw, -8vh, 0) rotate(-16deg) scale(.94, 1.06); } }
@keyframes re-amb-d { 0% { transform: translate3d(0, 0, 0) scale(1); } 100% { transform: translate3d(-22vw, 18vh, 0) scale(1.4, .8); } }
/* The page color moves from the body to the page root, so the light layer can sit between them (the body painting
   its own dark background would cover it). Shop pages keep their own tinted room. */
html { background-color: var(--bg, #060a0b); background-image: radial-gradient(ellipse at 55% 0, #26343b55, transparent 65vh); background-repeat: no-repeat; min-height: 100%; }
html body:not(.mk-page) { background: transparent; }
/* Shop pages have their own tinted room, so the green light rests there. */
body.mk-page .re-ambient { display: none; }

/* The glass cards let that light through: see-through fills with a bright top edge, like glass catching light. */
.club-discovery .cd-business, .cd-week-card, .home-discover-card, .show-card, .cd-offer-card, .club-gallery-card { box-shadow: inset 0 1px 0 rgb(255 255 255 / .08), inset 0 0 0 1px rgb(214 255 232 / .03); }
.club-discovery .cd-business { background: linear-gradient(150deg, rgb(217 255 238 / .07), rgb(217 255 238 / .015) 55%, rgb(217 255 238 / .04)); }
.club-discovery .cd-business:hover { background: linear-gradient(135deg, rgb(100 237 170 / .1), rgb(255 255 255 / .03)); }

@media (prefers-reduced-motion: reduce) { .re-ambient i { animation: none; } }
body.quiet-motion .re-ambient i { animation: none; }
@media (prefers-reduced-transparency: reduce) { .re-ambient { display: none; } }
body.opaque-glass .re-ambient { display: none; }
@media print { .re-ambient { display: none; } }
