/* G6daddy — visual polish layer (night sky, glow, motion) and the music button. Loads after site.css. */

/* night sky behind everything */
#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; max-width: none; }

/* scroll progress */
.fx-progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 60; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--gold), var(--pink) 55%, var(--violet)); box-shadow: 0 0 14px rgba(255, 61, 154, .7); pointer-events: none; }
.top { transition: background .3s, box-shadow .3s; }
.top.scrolled { background: rgba(7, 6, 13, .88); box-shadow: 0 18px 40px -26px rgba(139, 92, 255, .9); }

/* selection + scrollbar */
::selection { background: rgba(255, 61, 154, .45); color: #fff; }
html { scrollbar-color: #5b3fb8 #0a0812; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: #0a0812; }
::-webkit-scrollbar-thumb { border-radius: 99px; border: 2px solid #0a0812; background: linear-gradient(180deg, var(--pink), var(--violet)); }

/* living gradient text */
.grad { background-size: 220% 100%; animation: gradmove 7s ease-in-out infinite alternate; }
@keyframes gradmove { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.hero h1 { text-shadow: 0 0 80px rgba(139, 92, 255, .35); }

/* hero entrance */
.hero .wrap > * { animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; }
.hero .wrap > :nth-child(2) { animation-delay: .08s; }
.hero .wrap > :nth-child(3) { animation-delay: .18s; }
.hero .wrap > :nth-child(4) { animation-delay: .28s; }
.hero .wrap > :nth-child(5) { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero-facts { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; position: relative; z-index: 5; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(13, 11, 24, .55); backdrop-filter: blur(8px); font: 700 13px/1 var(--sans); color: #d8d3ee; }
.hero-facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

/* buttons: sheen + glow */
.btn { position: relative; overflow: hidden; }
.btn.gold::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .75), transparent); transform: skewX(-20deg); transition: left .6s ease; pointer-events: none; }
.btn.gold:hover::after { left: 130%; }
.btn.gold:hover { box-shadow: 0 14px 44px -8px rgba(245, 201, 107, .95); }
.btn.ghost:hover { border-color: rgba(255, 255, 255, .32); box-shadow: 0 10px 34px -14px rgba(139, 92, 255, .9); }

/* glass cards: lift + cursor spotlight */
.glass { transition: transform .28s cubic-bezier(.2, .8, .2, 1), border-color .28s, box-shadow .28s, opacity .7s; }
.glass:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .28); box-shadow: 0 34px 70px -40px rgba(139, 92, 255, .95), inset 0 1px 0 rgba(255, 255, 255, .14); }
.glass:not(.hot):not(.partner):hover { background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .11), transparent 65%), linear-gradient(160deg, var(--panel-2), var(--panel)); }
.agent.glass:hover { border-color: color-mix(in srgb, var(--c) 60%, rgba(255, 255, 255, .2)); box-shadow: 0 34px 70px -40px var(--c), inset 0 1px 0 rgba(255, 255, 255, .14); }
.inline-cta.glass:hover, .rules .glass:hover { transform: translateY(-2px); }

/* step numbers */
.step .n { background: linear-gradient(120deg, var(--gold), var(--pink)); -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: 1px transparent; color: rgba(7, 6, 13, .82); filter: drop-shadow(0 0 16px rgba(255, 61, 154, .35)); }

/* featured plan pulse */
.plan.hot { animation: hotpulse 4.5s ease-in-out infinite; }
@keyframes hotpulse { 0%, 100% { box-shadow: 0 40px 90px -50px rgba(245, 201, 107, .7); } 50% { box-shadow: 0 40px 110px -40px rgba(245, 201, 107, .95), 0 0 0 1px rgba(245, 201, 107, .35); } }

/* marquee edges fade, film glow, faq, footer */
.marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.film { animation: filmglow 9s ease-in-out infinite alternate; }
@keyframes filmglow { from { box-shadow: 0 60px 120px -50px rgba(139, 92, 255, .55); } to { box-shadow: 0 60px 130px -44px rgba(255, 61, 154, .6); } }
summary { transition: color .2s; }
summary:hover { color: var(--gold); }
details[open] { border-bottom-color: rgba(245, 201, 107, .45); }
.cta-box { position: relative; overflow: hidden; box-shadow: 0 60px 140px -70px rgba(255, 61, 154, .8); }
.cta-box::before { content: ""; position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent 0 70%, rgba(245, 201, 107, .16) 80%, transparent 90%); animation: sweep 14s linear infinite; pointer-events: none; }
.cta-box > * { position: relative; }
@keyframes sweep { to { transform: rotate(360deg); } }
.others a:hover, .tool-list a:hover { border-color: rgba(255, 255, 255, .3); box-shadow: 0 16px 34px -22px rgba(139, 92, 255, .9); }
.foot a { transition: color .2s; }
.brand svg { transition: transform .5s cubic-bezier(.3, 1.6, .5, 1), filter .3s; }
.brand:hover svg { transform: rotate(-10deg) scale(1.08); filter: drop-shadow(0 0 12px rgba(255, 61, 154, .8)); }

/* music button */
.fx-music { position: fixed; left: 18px; bottom: 18px; z-index: 55; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(13, 11, 24, .82); backdrop-filter: blur(12px); color: var(--text); font: 700 14px/1 var(--sans); cursor: pointer; box-shadow: 0 16px 40px -18px #000; transition: border-color .25s, box-shadow .25s, transform .2s; }
.fx-music:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .3); }
.fx-music[aria-pressed="true"] { border-color: rgba(255, 61, 154, .7); box-shadow: 0 0 0 1px rgba(255, 61, 154, .3), 0 16px 44px -14px rgba(255, 61, 154, .8); }
.fx-eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; }
.fx-eq i { width: 3px; height: 4px; border-radius: 2px; background: linear-gradient(180deg, var(--gold), var(--pink)); }
.fx-music[aria-pressed="true"] .fx-eq i { animation: eq .62s ease-in-out infinite alternate; }
.fx-music[aria-pressed="true"] .fx-eq i:nth-child(2) { animation-duration: .44s; }
.fx-music[aria-pressed="true"] .fx-eq i:nth-child(3) { animation-duration: .78s; }
.fx-music[aria-pressed="true"] .fx-eq i:nth-child(4) { animation-duration: .52s; }
@keyframes eq { from { height: 3px; } to { height: 16px; } }

@media (max-width: 900px) {
  .fx-music { left: 12px; bottom: 12px; min-height: 42px; padding: 0 13px 0 12px; font-size: 13px; }
  .hero-facts li { font-size: 12px; padding: 7px 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .grad, .hero .wrap > *, .plan.hot, .film, .cta-box::before, .fx-music .fx-eq i { animation: none !important; }
  .glass, .btn, .brand svg { transition: none; }
  .glass:hover { transform: none; }
}

/* music bar: play button + next-track button */
.fx-musicbar { position: fixed; left: 18px; bottom: 18px; z-index: 55; display: flex; gap: 6px; align-items: center; }
.fx-musicbar .fx-music { position: static; }
.fx-next { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: rgba(13, 11, 24, .82); backdrop-filter: blur(12px); color: var(--text); cursor: pointer; box-shadow: 0 16px 40px -18px #000; transition: border-color .25s, transform .2s; }
.fx-next:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .3); color: var(--gold); }
@media (max-width: 900px) { .fx-musicbar { left: 12px; bottom: 12px; } .fx-next { width: 42px; height: 42px; } }
