/* ========================================
   CSS Variables - Dark Metal Theme
   ======================================== */
:root {
    /* Colors */
    --background: hsl(0, 0%, 4%);
    --foreground: hsl(0, 0%, 95%);
    --card: hsl(0, 0%, 7%);
    --card-foreground: hsl(0, 0%, 95%);
    --popover: hsl(0, 0%, 7%);
    --popover-foreground: hsl(0, 0%, 95%);

    /* Blood Red Primary */
    --primary: hsl(0, 72%, 51%);
    --primary-foreground: hsl(0, 0%, 100%);

    /* Dark Chrome Secondary */
    --secondary: hsl(0, 0%, 12%);
    --secondary-foreground: hsl(0, 0%, 95%);

    --muted: hsl(0, 0%, 15%);
    --muted-foreground: hsl(0, 0%, 60%);

    /* Accent - Ember Orange */
    --accent: hsl(15, 90%, 55%);
    --accent-foreground: hsl(0, 0%, 100%);

    --border: hsl(0, 0%, 15%);
    --ring: hsl(0, 72%, 51%);
    --radius: 0.5rem;

    /* Shadows */
    --shadow-glow: 0 0 60px hsla(0, 72%, 51%, 0.4);
    --shadow-card: 0 4px 20px hsla(0, 0%, 0%, 0.5);
    --shadow-button: 0 0 20px hsla(0, 72%, 51%, 0.5);
}

/* ========================================
   Base Styles
   ======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.2;
}

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

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

/* Utility Classes */
.text-primary {
    color: var(--primary);
}

.hidden {
    display: none !important;
}

.metal-glow-text {
    text-shadow: 0 0 30px hsla(0, 72%, 51%, 0.6);
}

/* ========================================
   Navigation
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: hsla(0, 0%, 4%, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid hsla(0, 0%, 15%, 0.5);
}

.nav-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px hsla(0, 72%, 51%, 0.4);
    transition: box-shadow 0.3s ease;
}

.nav-logo:hover .nav-logo-icon {
    box-shadow: 0 0 30px hsla(0, 72%, 51%, 0.6);
}

.nav-logo-icon span {
    font-family: 'Oswald', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-foreground);
}

.nav-logo-text {
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    display: none;
}

@media (min-width: 640px) {
    .nav-logo-text {
        display: block;
    }
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    font-family: 'Oswald', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-foreground);
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--foreground);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: flex;
    padding: 0.5rem;
    color: var(--muted-foreground);
    transition: color 0.3s ease;
}

.nav-toggle:hover {
    color: var(--foreground);
}

.nav-toggle-icon {
    width: 1.5rem;
    height: 1.5rem;
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem 0 1rem;
}

.nav-mobile.open {
    display: flex;
}

@media (min-width: 768px) {
    .nav-mobile {
        display: none !important;
    }
}

.nav-mobile-link {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--muted-foreground);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.nav-mobile-link:hover {
    color: var(--foreground);
    background: hsla(0, 0%, 12%, 0.5);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 8rem 0 6rem;
    /* Increased top padding to make room for marquee below nav */
}

.hero-compact {
    min-height: auto;
    padding: 8rem 0 6rem;
}

@media (min-width: 1024px) {
    .hero-compact {
        height: 100vh;
        min-height: 800px;
        padding: 0;
    }
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, hsla(0, 0%, 5%, 0.3) 0%, hsla(0, 0%, 2%, 0.5) 100%);
}

.hero-album-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(20px) saturate(2);
    opacity: 0;
    transition: opacity 1s ease, background-image 0.5s ease;
    z-index: 1;
}

.hero-album-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            hsla(0, 0%, 0%, 0.2) 0%,
            hsla(0, 0%, 0%, 0.3) 50%,
            hsl(0, 0%, 2%) 100%);
}

.hero-album-bg.active {
    opacity: 0.5;
}

.hero-glow {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: hsla(0, 72%, 51%, 0.2);
    border-radius: 50%;
    filter: blur(120px);
    animation: glow-pulse 4s ease-in-out infinite;
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.02;
    background-image:
        linear-gradient(hsla(0, 0%, 95%, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, hsla(0, 0%, 95%, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 56rem;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.hero-logo {
    margin-bottom: 2rem;
    opacity: 0;
    animation: slide-up 0.6s ease forwards;
}

.hero-logo-box {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--card);
    border: 1px solid hsla(0, 0%, 20%, 0.5);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.hero-logo-letter {
    font-family: 'Oswald', sans-serif;
    font-size: 1.75rem;
    /* Reduced from 3rem */
    font-weight: 700;
    color: var(--primary);
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    /* Reduced from 3-10-6rem */
    margin-bottom: 0.5rem;
    /* Reduced from 1rem */
    opacity: 0;
    animation: slide-up 0.6s ease forwards;
}

.hero-tagline {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1rem, 2vw, 1.25rem);
    /* Reduced from 1.25-3-1.5rem */
    color: var(--muted-foreground);
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
    /* Reduced from 3rem */
    opacity: 0;
    animation: slide-up 0.6s ease forwards;
}

.hero-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    opacity: 0;
    animation: slide-up 0.6s ease forwards;
}

.hero-play-btn {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: var(--primary);
    color: var(--primary-foreground);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px hsla(0, 72%, 51%, 0.5);
    transition: all 0.3s ease;
}

.hero-play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 60px hsla(0, 72%, 51%, 0.7);
}

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

.hero-play-icon {
    width: 2.5rem;
    height: 2.5rem;
}

.hero-play-icon:first-of-type {
    margin-left: 4px;
}

.hero-status {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-track {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    animation: pulse-slow 2s ease-in-out infinite;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: float 2s ease-in-out infinite;
}

.scroll-mouse {
    width: 1.5rem;
    height: 2.5rem;
    border-radius: 1rem;
    border: 2px solid hsla(0, 0%, 60%, 0.3);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0.5rem;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: hsla(0, 0%, 60%, 0.5);
    border-radius: 2px;
    animation: pulse 2s ease-in-out infinite;
}

/* ========================================
   Equalizer
   ======================================== */
.equalizer {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 1.5rem;
}

.equalizer-bar {
    width: 4px;
    background: var(--primary);
    border-radius: 2px 2px 0 0;
    height: 4px;
    transition: height 0.15s ease;
}

.equalizer.playing .equalizer-bar {
    animation: equalizer 0.5s ease-in-out infinite alternate;
}

.equalizer.playing .equalizer-bar:nth-child(1) {
    animation-delay: 0s;
}

.equalizer.playing .equalizer-bar:nth-child(2) {
    animation-delay: 0.1s;
}

.equalizer.playing .equalizer-bar:nth-child(3) {
    animation-delay: 0.2s;
}

.equalizer.playing .equalizer-bar:nth-child(4) {
    animation-delay: 0.15s;
}

.equalizer.playing .equalizer-bar:nth-child(5) {
    animation-delay: 0.05s;
}

/* ========================================
   Live Indicator
   ======================================== */
.live-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.live-dot {
    position: relative;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.live-dot::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--primary);
    animation: pulse-ring 1.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.live-text {
    font-family: 'Oswald', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--primary);
}

.live-indicator-small .live-dot {
    width: 6px;
    height: 6px;
}

.live-indicator-small .live-text {
    font-size: 0.625rem;
}

/* Hero Marquee Bar */
.hero-marquee {
    position: absolute;
    top: 5rem;
    /* Below the nav */
    left: 0;
    width: 100%;
    height: 2.5rem;
    /* Slightly smaller */
    background: hsla(0, 0%, 2%, 0.8);
    /* Darker, more solid */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid hsla(0, 0%, 20%, 0.2);
    border-bottom: 1px solid hsla(0, 0%, 15%, 0.5);
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 50;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding-left: 100%;
    /* Start off-screen */
    animation: marquee-scroll 45s linear infinite;
    /* Faster scroll */
    white-space: nowrap;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.marquee-loading {
    padding-left: 2rem;
    font-size: 0.75rem;
    color: var(--muted-foreground);
    font-style: italic;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: 'Oswald', sans-serif;
}

.marquee-item-track {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--foreground);
}

.marquee-item-artist {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.8125rem;
}

.marquee-item-time {
    font-size: 0.7rem;
    color: var(--muted-foreground);
    opacity: 0.5;
}

.marquee-separator {
    color: var(--border);
    opacity: 0.3;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Hero Dashboard Layout */
.hero-now-playing {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    /* Closer to the LIVE text */
    width: 100%;
}

.hero-np-card {
    background: hsla(0, 0%, 5%, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid hsla(0, 0%, 20%, 0.3);
    padding: 1rem 1.5rem;
    /* Reduced padding */
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    /* Reduced gap */
    max-width: 30rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.album-art-small {
    width: 80px;
    height: 80px;
    border-radius: 0.75rem;
    flex-shrink: 0;
    background: var(--secondary);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

@media (min-width: 640px) {
    .album-art-small {
        width: 100px;
        height: 100px;
    }
}

.hero-np-info {
    flex: 1;
    min-width: 0;
}

.hero-np-label {
    font-family: 'Oswald', sans-serif;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--primary);
    display: block;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.hero-np-title {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    line-height: 1.2;
    font-weight: 700;
}

.hero-np-artist {
    color: var(--muted-foreground);
    font-size: 0.9375rem;
    font-weight: 500;
}



/* ========================================
   About Section
   ======================================== */
.about {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

@media (min-width: 768px) {
    .about {
        padding: 8rem 0;
    }
}

.about-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, hsl(0, 0%, 10%) 0%, hsl(0, 0%, 5%) 100%);
}

.about-glow {
    position: absolute;
    top: 0;
    left: 25%;
    width: 400px;
    height: 400px;
    background: hsla(0, 72%, 51%, 0.1);
    border-radius: 50%;
    filter: blur(100px);
}

.about-container {
    position: relative;
    z-index: 10;
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    padding: 1.5rem;
    border-radius: 1rem;
    background: hsla(0, 0%, 7%, 0.5);
    border: 1px solid hsla(0, 0%, 15%, 0.5);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: hsla(0, 72%, 51%, 0.5);
    background: var(--card);
    box-shadow: 0 0 40px hsla(0, 72%, 51%, 0.15);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: hsla(0, 72%, 51%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: hsla(0, 72%, 51%, 0.2);
    box-shadow: 0 0 20px hsla(0, 72%, 51%, 0.3);
}

.feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
}

.feature-title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.feature-desc {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

@media (min-width: 768px) {
    .contact {
        padding: 8rem 0;
    }
}

.contact-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--background) 0%, hsla(0, 0%, 7%, 0.5) 50%, var(--background) 100%);
}

.contact-container {
    position: relative;
    z-index: 10;
    max-width: 56rem;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.contact-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-card {
    padding: 1.5rem;
    border-radius: 1rem;
    background: hsla(0, 0%, 7%, 0.5);
    border: 1px solid hsla(0, 0%, 15%, 0.5);
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: hsla(0, 72%, 51%, 0.3);
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: hsla(0, 72%, 51%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.contact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
}

.contact-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.contact-link,
.contact-text {
    color: var(--muted-foreground);
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--primary);
}

.social-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.social-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.social-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-foreground);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: hsla(0, 72%, 51%, 0.2);
    color: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 0 20px hsla(0, 72%, 51%, 0.3);
}

.social-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: 2rem 0;
    border-top: 1px solid hsla(0, 0%, 15%, 0.5);
    margin-bottom: 6rem;
}

.footer-container {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-icon span {
    font-family: 'Oswald', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary-foreground);
}

.footer-logo-text {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    text-align: center;
}

.footer-links {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.footer-link {
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary);
}

.footer-divider {
    margin: 0 0.5rem;
}

/* ========================================
   Floating Player
   ======================================== */
.floating-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: hsla(0, 0%, 7%, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    padding: 0.75rem 1rem;
}

@media (min-width: 768px) {
    .floating-player {
        padding: 1rem 1.5rem;
    }
}

.floating-player-container {
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.floating-player-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.floating-player-art {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    /* Safari fixes */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    isolation: isolate;
}

.floating-player-radio {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
}

.floating-player-text {
    min-width: 0;
}

.floating-player-title {
    font-family: 'Oswald', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.floating-player-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.floating-play-btn {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: var(--primary);
    color: var(--primary-foreground);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px hsla(0, 72%, 51%, 0.4);
    transition: all 0.3s ease;
}

.floating-play-btn:hover {
    box-shadow: 0 0 30px hsla(0, 72%, 51%, 0.6);
}

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

.floating-play-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.floating-play-icon:first-of-type {
    margin-left: 2px;
}

.floating-player-volume {
    display: none;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    justify-content: flex-end;
}

@media (min-width: 768px) {
    .floating-player-volume {
        display: flex;
    }
}

.volume-btn {
    color: var(--muted-foreground);
    transition: color 0.3s ease;
    display: flex;
}

.volume-btn:hover {
    color: var(--foreground);
}

.volume-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.volume-slider {
    width: 6rem;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: none;
}

.album-art-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
    z-index: 5;
}

.album-art-img.hidden {
    display: none;
}

/* ========================================
   Song History
   ======================================== */
.song-history {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: 1rem;
    background: hsla(0, 0%, 7%, 0.5);
    border: 1px solid hsla(0, 0%, 15%, 0.5);
}

.history-header {
    margin-bottom: 1rem;
}

.history-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.history-empty {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    text-align: center;
    padding: 1rem;
}

.history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    border-radius: 0.5rem;
    background: hsla(0, 0%, 10%, 0.5);
    transition: background 0.3s ease;
}

.history-item:hover {
    background: hsla(0, 0%, 12%, 0.8);
}

.history-item-info {
    min-width: 0;
    flex: 1;
}

.history-item-title {
    font-family: 'Oswald', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.25rem;
}

.history-item-artist {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.history-item-time {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    flex-shrink: 0;
    margin-left: 1rem;
}

/* ========================================
   Floating Player Album Art
   ======================================== */
.floating-album-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
    z-index: 5;
}

.floating-album-img.hidden {
    display: none;
}

/* ========================================
   Animations
   ======================================== */
@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow-pulse {

    0%,
    100% {
        opacity: 0.5;
        filter: blur(100px);
    }

    50% {
        opacity: 0.8;
        filter: blur(140px);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

@keyframes pulse-slow {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes equalizer {
    0% {
        height: 4px;
    }

    100% {
        height: 100%;
    }
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

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

.animate-slide-up {
    opacity: 0;
    animation: slide-up 0.6s ease forwards;
}

.animate-float {
    animation: float 2s ease-in-out infinite;
}