body {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(-45deg, #0a0a0f, #1a0a2e, #0f172a, #1e1b4b);
    background-size: 400% 400%;
    animation: gradientBG 20s ease infinite;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

.font-display {
    font-family: 'Syne', sans-serif;
}

body.is-loading {
    overflow: hidden;
}

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background: rgba(10, 10, 15, 0.96);
    backdrop-filter: blur(10px);
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.loader-vinyl {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: radial-gradient(circle at center, #1a1a24 18%, #2d2d3a 19%, #2d2d3a 22%, #1a1a24 23%, #1a1a24 38%, #2d2d3a 39%, #2d2d3a 42%, #1a1a24 43%);
    border: 2px solid rgba(34, 211, 238, 0.4);
    animation: spinVinyl 1.4s linear infinite;
    position: relative;
}

.loader-vinyl-center {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22d3ee, #d946ef);
}

.loader-eq {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 24px;
}

.loader-eq span {
    width: 4px;
    border-radius: 2px;
    background: linear-gradient(to top, #22d3ee, #d946ef);
    animation: eqPulse 0.8s ease-in-out infinite alternate;
}

.loader-eq span:nth-child(1) { height: 8px; animation-delay: 0s; }
.loader-eq span:nth-child(2) { height: 16px; animation-delay: 0.1s; }
.loader-eq span:nth-child(3) { height: 22px; animation-delay: 0.2s; }
.loader-eq span:nth-child(4) { height: 14px; animation-delay: 0.3s; }
.loader-eq span:nth-child(5) { height: 10px; animation-delay: 0.4s; }

.loader-text {
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: #67e8f9;
}

body.page-ready .page-loader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes spinVinyl {
    to { transform: rotate(360deg); }
}

@keyframes eqPulse {
    from { transform: scaleY(0.35); opacity: 0.55; }
    to { transform: scaleY(1); opacity: 1; }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.12;
    background-image: url('data:image/svg+xml;utf8,<svg width="80" height="80" viewBox="0 0 80 80" xmlns="http://www.w3.org/2000/svg"><text x="16" y="52" font-size="32">🎵</text></svg>');
    background-size: 80px 80px;
    pointer-events: none;
}

.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    z-index: -2;
    opacity: 0.5;
    animation: float 12s ease-in-out infinite;
}

.shape1 {
    width: 35vw;
    height: 35vw;
    min-width: 280px;
    min-height: 280px;
    background-color: rgba(168, 85, 247, 0.35);
    top: -15%;
    left: -15%;
}

.shape2 {
    width: 40vw;
    height: 40vw;
    min-width: 320px;
    min-height: 320px;
    background-color: rgba(34, 211, 238, 0.25);
    bottom: -15%;
    right: -10%;
    animation-delay: -4s;
}

.shape3 {
    width: 25vw;
    height: 25vw;
    min-width: 200px;
    min-height: 200px;
    background-color: rgba(217, 70, 239, 0.2);
    top: 40%;
    right: 20%;
    animation-delay: -8s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(24px, -20px); }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.eq-bar {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    height: 48px;
    padding: 0 4px;
}

.eq-bar span {
    flex: 1;
    max-width: 8px;
    min-width: 4px;
    border-radius: 4px;
    background: linear-gradient(to top, #22d3ee, #a855f7, #d946ef);
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.35);
    transform-origin: bottom center;
    animation: eqPulse 0.65s ease-in-out infinite alternate;
}

.eq-bar span:nth-child(1)  { height: 14px; animation-delay: 0s; }
.eq-bar span:nth-child(2)  { height: 28px; animation-delay: 0.05s; }
.eq-bar span:nth-child(3)  { height: 38px; animation-delay: 0.1s; }
.eq-bar span:nth-child(4)  { height: 22px; animation-delay: 0.15s; }
.eq-bar span:nth-child(5)  { height: 44px; animation-delay: 0.2s; }
.eq-bar span:nth-child(6)  { height: 32px; animation-delay: 0.25s; }
.eq-bar span:nth-child(7)  { height: 48px; animation-delay: 0.3s; }
.eq-bar span:nth-child(8)  { height: 36px; animation-delay: 0.35s; }
.eq-bar span:nth-child(9)  { height: 42px; animation-delay: 0.4s; }
.eq-bar span:nth-child(10) { height: 26px; animation-delay: 0.45s; }
.eq-bar span:nth-child(11) { height: 40px; animation-delay: 0.5s; }
.eq-bar span:nth-child(12) { height: 30px; animation-delay: 0.55s; }
.eq-bar span:nth-child(13) { height: 46px; animation-delay: 0.6s; }
.eq-bar span:nth-child(14) { height: 34px; animation-delay: 0.65s; }
.eq-bar span:nth-child(15) { height: 20px; animation-delay: 0.7s; }
.eq-bar span:nth-child(16) { height: 38px; animation-delay: 0.75s; }
.eq-bar span:nth-child(17) { height: 28px; animation-delay: 0.8s; }
.eq-bar span:nth-child(18) { height: 44px; animation-delay: 0.85s; }
.eq-bar span:nth-child(19) { height: 24px; animation-delay: 0.9s; }
.eq-bar span:nth-child(20) { height: 36px; animation-delay: 0.95s; }

.link-btn {
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
}

.link-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.35);
}

.link-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: all 0.5s ease;
}

.link-btn:hover::after {
    left: 150%;
}

.avatar-ring {
    background: linear-gradient(45deg, #22d3ee, #a855f7, #d946ef);
    padding: 4px;
    border-radius: 50%;
}

@keyframes fall {
    to {
        transform: translateY(110vh) rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    body {
        animation: none;
    }

    .bg-shape,
    .fade-in-up,
    .loader-vinyl,
    .loader-eq span,
    .eq-bar span {
        animation: none;
    }
}
