.profile-motion {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.profile-page-background {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.profile-page-background::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(7, 7, 12, 0.62);
}

.profile-page-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-gated {
    position: relative;
    isolation: isolate;
    border-radius: 1.5rem;
}

.profile-gated .profile-gated-content {
    filter: blur(12px);
    transform: scale(1.015);
    user-select: none;
    pointer-events: none;
}

.profile-reveal-overlay {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: grid;
    place-items: center;
    border-radius: inherit;
    background: rgba(5, 5, 8, 0.28);
}

.profile-reveal-button {
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 9999px;
    padding: 0.9rem 1.4rem;
    background: rgba(10, 10, 10, 0.88);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    transition: transform 160ms ease, background-color 160ms ease;
}

.profile-reveal-button:hover {
    background: #222;
    transform: translateY(-2px);
}

.profile-music-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 0.75rem;
    background: #080808;
}

.profile-music-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.profile-motion-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.3;
    pointer-events: none;
}

.profile-motion-layer::before {
    content: "";
    position: absolute;
    inset: -60%;
    pointer-events: none;
}

.profile-motion-layer.profile-motion-aurora::before {
    background: conic-gradient(from 90deg, transparent, var(--profile-accent), #172554, transparent 70%);
    filter: blur(35px);
    animation: profile-aurora 14s linear infinite;
}

.profile-motion-layer.profile-motion-orbit::before {
    background: radial-gradient(ellipse at 30% 45%, var(--profile-accent), transparent 42%), radial-gradient(ellipse at 72% 60%, #1d4ed8, transparent 40%);
    filter: blur(28px);
    animation: profile-orbit 12s ease-in-out infinite alternate;
}

.profile-motion-layer.profile-motion-waves::before {
    background: linear-gradient(125deg, transparent 25%, var(--profile-accent), #0f172a 60%, transparent 85%);
    filter: blur(25px);
    animation: profile-waves 10s ease-in-out infinite alternate;
}

@keyframes profile-aurora {
    to { transform: rotate(360deg); }
}

@keyframes profile-orbit {
    to { transform: translate(15%, -8%) rotate(18deg) scale(1.1); }
}

@keyframes profile-waves {
    to { transform: translate(-12%, 8%) rotate(-12deg) scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
    .profile-motion-layer::before {
        animation: none !important;
    }
}
