/* ==========================================================
   Followeb – liquid glass for fan-facing pages (fan-link + gate)
   Loaded AFTER output.css and jstyle.css.
   The page background is still painted by jsscripts.js from the
   track artwork (color-thief) – glass sits on top of it.
   ========================================================== */

:root {
    --fw-accent: #ff4d1a;
    --fw-accent-2: #ff1f6b;
    --fw-text: #f6f6fa;
    --fw-muted: rgba(246, 246, 250, .72);
    --fw-glass: linear-gradient(135deg, rgba(255, 255, 255, .20), rgba(255, 255, 255, .07));
    --fw-glass-line: rgba(255, 255, 255, .26);
}

html { background: #0a0a12; }

body {
    color: var(--fw-text);
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    background-color: #0a0a12;
    background-attachment: fixed !important;
    background-size: cover !important;
    min-height: 100vh;
}

/* soft vignette so white text always reads, whatever the artwork */
body:before {
    background: radial-gradient(circle at 50% 30%, rgba(0, 0, 0, .05) 0%, rgba(0, 0, 0, .45) 100%) !important;
}

/* ---------- shared glass surface ---------- */
.fw-glass,
.semi-trans,
body #gateSection,
body #linkSection {
    background: var(--fw-glass) !important;
    border: 1px solid var(--fw-glass-line) !important;
    border-top-color: rgba(255, 255, 255, .45) !important;
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    backdrop-filter: blur(20px) saturate(160%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .3) !important;
    border-radius: 24px !important;
    color: var(--fw-text);
}

/* browsers without backdrop-filter: darker fallback so text stays readable */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .fw-glass, .semi-trans, body #gateSection, body #linkSection { background: rgba(20, 20, 30, .72) !important; }
}

/* ---------- top bar (Tailwind markup, restyled) ---------- */
nav > div > .border-b,
nav .border-b.border-gray-700 {
    border-bottom: 0 !important;
}
nav > .mx-auto > div {
    margin-top: 14px;
    border-radius: 999px;
    background: var(--fw-glass);
    border: 1px solid var(--fw-glass-line) !important;
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .3);
}
nav .h-16 { height: 54px; padding-left: 18px !important; padding-right: 10px !important; }
nav a.text-white { color: var(--fw-muted) !important; }
nav a.text-white:hover { background: transparent !important; color: #fff !important; }
nav a.bg-gray-900,
body a.bg-gray-900,
body div.bg-gray-900,
.fw-cta {
    background: linear-gradient(135deg, #ff6a3d, var(--fw-accent-2)) !important;
    border: 1px solid rgba(255, 255, 255, .35);
    box-shadow: 0 8px 26px rgba(255, 70, 90, .45), inset 0 1px 0 rgba(255, 255, 255, .5);
    border-radius: 999px !important;
    color: #fff !important;
    transition: transform .15s, filter .15s;
}
nav a.bg-gray-900:hover, .fw-cta:hover { transform: translateY(-1px); filter: brightness(1.08); }
nav a.bg-gray-900 { text-transform: none; font-weight: 600; }
#search { background: rgba(255, 255, 255, .08) !important; border-radius: 999px !important; color: #fff !important; }
#menuMobileBtn { background: transparent !important; }

/* ---------- titles ---------- */
#trackTitle, .fl-title { color: #fff; text-shadow: 0 2px 20px rgba(0, 0, 0, .35); letter-spacing: -.5px; }

/* ---------- gate page: steps card ---------- */
body #gateSection { color: var(--fw-text); padding: 26px !important; }
body #gateSection h2,
body #gateSection .steps { color: var(--fw-text); }
body #gateSection a { color: #fff; }
body #gateSection u { text-decoration-color: rgba(255, 255, 255, .5); }
body #gateSection input[type="text"],
body #gateSection input[type="email"],
body #gateSection textarea,
body #gateSection .form-control,
body #gateSection .commento {
    background: rgba(255, 255, 255, .12) !important;
    color: #fff !important;
    border: 1px solid var(--fw-glass-line) !important;
    border-radius: 14px !important;
    box-shadow: none !important;
}
body #gateSection input::placeholder, body #gateSection textarea::placeholder { color: rgba(255, 255, 255, .55) !important; }
/* connect buttons keep brand colours (inline) but get glass shape + shine */
body #gateSection [style*="background: #"][class*="rounded-lg"] {
    border-radius: 999px !important;
    border: 1px solid rgba(255, 255, 255, .35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .4);
}
body #gateSection .alert { border-radius: 16px; background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid var(--fw-glass-line); }

/* ---------- artwork + players ---------- */
.artwork-img { border-radius: 20px !important; box-shadow: 0 18px 50px rgba(0, 0, 0, .45); }
body #artwork-img-parent { padding: 14px !important; width: auto; display: inline-block; }
iframe { border-radius: 18px; }

/* ---------- footer ---------- */
footer, footer.bg-black {
    background: transparent !important;
    border-top: 1px solid rgba(255, 255, 255, .12);
}
footer .py-20, footer .sm\:py-24 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
footer a { color: var(--fw-muted) !important; }
footer a:hover { color: #fff !important; }

/* ==========================================================
   Fan-link page (new markup, classes .fl-*)
   ========================================================== */
.fl-wrap { max-width: 480px; margin: 0 auto; padding: 28px 16px 40px; }
.fl-head { text-align: center; margin-bottom: 18px; }
.fl-cover {
    width: 210px; height: 210px; max-width: 70vw; max-height: 70vw; object-fit: cover; display: block;
    margin: 0 auto 18px; border-radius: 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .2);
}
.fl-title { font-size: 26px; line-height: 1.15; font-weight: 700; margin: 0; }
.fl-artist { margin: 6px 0 0; font-size: 15px; color: var(--fw-muted); }
.fl-card { padding: 14px; margin-bottom: 14px; }
.fl-card iframe { width: 100% !important; display: block; border: 0; }
.fl-dl {
    display: block; text-align: center; padding: 16px 20px; margin-bottom: 14px;
    font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; font-size: 14px;
    text-decoration: none !important;
}
.fl-list { display: flex; flex-direction: column; gap: 10px; }
.fl-row {
    display: flex; align-items: center; gap: 12px; padding: 14px 18px;
    border-radius: 18px !important; color: #fff !important; text-decoration: none !important;
    font-weight: 600; font-size: 15px; transition: transform .15s, background .15s;
}
.fl-row:hover { transform: translateY(-2px); }
.fl-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; box-shadow: 0 0 12px currentColor; }
.fl-go { margin-left: auto; font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--fw-muted); }
.fl-brand { text-align: center; margin-top: 26px; font-size: 13px; color: var(--fw-muted); }
.fl-brand a { color: #fff !important; text-decoration: underline; text-underline-offset: 3px; }
.fl-logo { display: block; margin: 0 auto 4px; height: 26px; opacity: .9; }
.fl-links { text-align: center; margin-top: 10px; font-size: 12px; }
.fl-links a { color: var(--fw-muted) !important; margin: 0 8px; text-decoration: none; }

@media (max-width: 520px) {
    .fl-title { font-size: 22px; }
}

/* desktop scale hack from jstyle.css would shrink the new layout */
body > div { transform: none !important; }

/* Loghi piattaforme + titolo sotto l'embed */
.fl-row { min-height: 64px; }
.fl-row .fl-logo-img { height: 30px; width: auto; max-width: 58%; object-fit: contain; object-position: left center; flex: none; }
.fl-row .fl-name { font-weight: 700; font-size: 17px; color: #fff; }
.fl-titleblock { margin: 18px 0 16px; }

/* Sfondo liquido animato, coordinato alla copertina */
html { background: #0a0a12; }
body.fl-page { background: transparent !important; }
body.fl-page:before { background: radial-gradient(circle at 50% 30%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .35) 100%) !important; }
.fl-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: #0a0a12; }
.fl-bgblur {
    position: absolute; inset: -15%; background-size: cover; background-position: center;
    filter: blur(90px) saturate(1.9); opacity: .55; transform: translateZ(0);
    animation: fl-drift 28s ease-in-out infinite alternate;
}
.fl-blob {
    position: absolute; width: 62vmax; height: 62vmax; border-radius: 50%;
    filter: blur(70px); opacity: .55; mix-blend-mode: screen; will-change: transform;
    background: radial-gradient(circle at 50% 50%, var(--fl-c1, #5b3cff) 0%, rgba(0, 0, 0, 0) 65%);
}
.fl-blob.b1 { top: -20vmax; left: -15vmax; animation: fl-b1 22s ease-in-out infinite alternate; }
.fl-blob.b2 { top: 10vmax; right: -25vmax; background: radial-gradient(circle, var(--fl-c2, #ff3d6b) 0%, rgba(0,0,0,0) 65%); animation: fl-b2 26s ease-in-out infinite alternate; }
.fl-blob.b3 { bottom: -28vmax; left: -5vmax; background: radial-gradient(circle, var(--fl-c3, #1fb4ff) 0%, rgba(0,0,0,0) 65%); animation: fl-b3 30s ease-in-out infinite alternate; }
.fl-blob.b4 { bottom: -22vmax; right: -12vmax; width: 48vmax; height: 48vmax; background: radial-gradient(circle, var(--fl-c4, #ffb23d) 0%, rgba(0,0,0,0) 65%); animation: fl-b4 24s ease-in-out infinite alternate; }
@keyframes fl-drift { from { transform: scale(1.05) translate(-2%, -1%) rotate(0deg); } to { transform: scale(1.25) translate(3%, 2%) rotate(8deg); } }
@keyframes fl-b1 { from { transform: translate(0, 0) scale(1); } to { transform: translate(35vmax, 22vmax) scale(1.25); } }
@keyframes fl-b2 { from { transform: translate(0, 0) scale(1.1); } to { transform: translate(-38vmax, 20vmax) scale(.9); } }
@keyframes fl-b3 { from { transform: translate(0, 0) scale(.95); } to { transform: translate(30vmax, -26vmax) scale(1.2); } }
@keyframes fl-b4 { from { transform: translate(0, 0) scale(1); } to { transform: translate(-28vmax, -30vmax) scale(1.3); } }
