* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --sym: #e8205e;
    --sym-shadow: 232, 32, 94;
    --theme-primary: 340 70% 60%;
    --theme-primary-rgb: 232, 32, 94;
    --theme-primary-dark: 340 51% 52%;
    --theme-primary-dark-rgb: 196, 26, 77;
    --theme-primary-light: 340 81% 67%;
    --theme-primary-light-rgb: 255, 99, 132;
    --theme-accent: 330 72% 59%;
    --theme-accent-rgb: 236, 72, 153;
    --theme-accent-dark: 330 70% 50%;
    --theme-accent-dark-rgb: 219, 70, 126;
    --background: 0 0% 3.9%;
    --foreground: 0 0% 98%;
    --card: 0 0% 3.9%;
    --card-foreground: 0 0% 98%;
    --border: 0 0% 14.9%;
    --input: 0 0% 14.9%;
    --ring: 0 0% 83.1%;
}

html,
body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
    background: radial-gradient(70% 50% at 50% -10%, rgba(232, 32, 94, 0.22), transparent),
        radial-gradient(40% 40% at 80% 30%, rgba(232, 32, 94, 0.15), transparent),
        #05000a;
    color: #fff;
    font-family: 'Bricolage Grotesque', system-ui, sans-serif;
    scroll-behavior: smooth;
}

a {
    color: inherit;
    text-decoration: none;
}

.glass {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(28px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.glass-semi {
    background: linear-gradient(180deg, rgba(30, 30, 30, 0.62), rgba(15, 9, 32, 0.80));
    backdrop-filter: blur(24px);
}

.glass-dark {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 1.5));
    backdrop-filter: blur(28px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.glass-dark-dropdown {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 1.5));
    backdrop-filter: blur(28px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.glass.pill {
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease-in-out;
    cursor: default;
}

.glass.pill:hover {
    animation: glass-pill-hover 0.2s ease-in-out;
}

.glass.pill:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.25),
            rgba(255, 255, 255, 0.4),
            rgba(255, 255, 255, 0.25),
            transparent);
    animation: shimmer-wave 1.5s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes shimmer-wave {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

@keyframes glass-pill-hover {
    from {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
        backdrop-filter: blur(28px);
        border: 1px solid rgba(255, 255, 255, 0.12);
    }

    to {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
        backdrop-filter: blur(28px);
        border: 1px solid rgba(255, 255, 255, 0.12);
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(23px) saturate(1.2);
    opacity: 0.3;
    transform: scale(1.1);
}

.play-btn {
    width: 68px;
    height: 68px;
    border-radius: 9999px;
    background: #e8205e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 0 40px rgba(232, 32, 94, 0.55), 0 0 120px rgba(232, 32, 94, 0.35);
    transition: transform 0.2s, opacity 0.2s;
    cursor: pointer;
    border: none;
}

.play-btn:hover:not(:disabled) {
    transform: scale(1.05);
}

.play-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(232, 32, 94, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(232, 32, 94, 0.5);
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#router {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    min-height: 60vh;
    background: transparent;
    display: block;
}

@media (max-width: 768px) {
    #router {
        padding: 2rem 1rem;
    }
}

.text-sym {
    color: var(--sym);
}

.bg-sym {
    background-color: var(--sym);
}

.border-sym {
    border-color: var(--sym);
}

.animate-spin {
    animation: spin 1s linear infinite;
}

.symphony-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #050505 !important;
    background: radial-gradient(circle at center, hsla(340, 70%, 60%, 0.1) 0%, #050505 70%);
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
}

.symphony-loader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.symphony-loader .center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.symphony-loader .logo {
    width: 100px;
    height: 100px;
    background-image: url('https://cdn-gb.symphonyrad.io/avatars/logo-transparent-small.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: loading-grow-in-and-out 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 20px hsla(340, 70%, 60%, 0.4));
}

@keyframes loading-grow-in-and-out {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 15px hsla(340, 70%, 60%, 0.3));
    }

    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 30px hsla(340, 70%, 60%, 0.6));
    }
}

.symphony-loader .credit {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Bricolage Grotesque', sans-serif;
    letter-spacing: 0.05em;
}

.symphony-loader .credit span {
    color: hsl(var(--theme-primary));
    font-weight: 600;
}

#app-root {
    opacity: 0;
    transition: opacity 0.6s ease-out;
}

#app-root.visible {
    opacity: 1;
}