/* Premium DJ Portfolio Theme */
:root {
    --bg: #070707;
    --card-bg: #111111;
    --card-hover: #181818;
    --text: #ffffff;
    --text-muted: #9ba0a6;
    --primary: #E6B981;
    /* Soft Gold/Orange */
    --primary-hover: #f1c794;
    --border: rgba(255, 255, 255, 0.08);
    --font-head: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Subtle background glow effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(230, 185, 129, 0.08) 0%, transparent 70%) no-repeat;
    pointer-events: none;
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 80% 100%, rgba(230, 185, 129, 0.04) 0%, transparent 60%) no-repeat;
    pointer-events: none;
    z-index: -1;
}

h1,
h2,
h3,
h4,
.logo-text,
.section-title {
    font-family: var(--font-head);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.text-center {
    text-align: center;
}

.mt-30 {
    margin-top: 30px;
}

.section-padding {
    padding: 100px 5%;
}

/* Buttons — premium glass style */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(230, 185, 129, 0.25) 0%, rgba(230, 185, 129, 0.12) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #fff;
    padding: 12px 32px;
    border-radius: 14px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(230, 185, 129, 0.35);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgba(230, 185, 129, 0.4) 0%, rgba(230, 185, 129, 0.2) 100%);
    border-color: rgba(230, 185, 129, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(230, 185, 129, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    color: #fff;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text);
    padding: 12px 32px;
    border-radius: 14px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.35s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.btn-outline:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
    border-color: rgba(230, 185, 129, 0.35);
    color: var(--primary);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(230, 185, 129, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.btn-text .arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    transition: all 0.35s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.btn-text:hover .arrow {
    background: linear-gradient(135deg, rgba(230, 185, 129, 0.2) 0%, rgba(230, 185, 129, 0.08) 100%);
    border-color: rgba(230, 185, 129, 0.35);
    color: var(--primary);
    transform: translateY(2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.full-width {
    width: 100%;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(7, 7, 7, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--text);
}

.nav-btn {
    padding: 10px 24px;
    font-size: 0.85rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 120px 5% 60px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.subtitle {
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero .description {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.image-wrapper .img-skeleton {
    border-radius: 24px;
}

/* Image preload: skeleton placeholder + fade-in when loaded */
.preload-wrap {
    position: relative;
}

.preload-wrap .img-skeleton {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        110deg,
        rgba(26, 26, 26, 0.9) 25%,
        rgba(40, 40, 40, 0.95) 50%,
        rgba(26, 26, 26, 0.9) 75%
    );
    background-size: 200% 100%;
    animation: img-skeleton-shimmer 1.5s ease-in-out infinite;
    border-radius: inherit;
    pointer-events: none;
}

.preload-wrap.loaded .img-skeleton {
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.preload-wrap img {
    opacity: 0;
    transition: opacity 0.45s ease;
}

.preload-wrap.loaded img {
    opacity: 1;
}

@keyframes img-skeleton-shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.image-wrapper img {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    aspect-ratio: 4/5;
    object-fit: cover;
    filter: contrast(1.1) saturate(1.1);
}

.play-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.06) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.35s ease;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.play-btn:hover {
    background: linear-gradient(135deg, rgba(230, 185, 129, 0.9) 0%, var(--primary) 100%);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.play-btn:hover svg {
    fill: #000;
}

/* Stats Section */
.stats {
    display: flex;
    justify-content: space-around;
    padding: 60px 5%;
    background: transparent;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stat-item {
    text-align: center;
}

.stat-item h2 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    background: linear-gradient(180deg, #fff 0%, #aaa 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* About Section */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.image-border-wrapper {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 30px;
    display: inline-block;
}

.framed-image {
    width: 100%;
    max-width: 450px;
    border-radius: 16px;
    display: block;
    aspect-ratio: 1/1.2;
    object-fit: cover;
}

.subtitle-small {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 30px;
}

.about-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Genres */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.genre-list {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Thin, stylish glass cards */
.genre-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 24px;
    min-height: 72px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.genre-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 28px;
    background: linear-gradient(180deg, var(--primary), transparent);
    opacity: 0.9;
    border-radius: 0 2px 2px 0;
}

.genre-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    border-radius: 1px;
    pointer-events: none;
}

.genre-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
    border-color: rgba(230, 185, 129, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(230, 185, 129, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.genre-item:hover::before {
    height: 40px;
    opacity: 1;
    background: var(--primary);
}

.genre-name {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-align: center;
    margin: 0;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
}

.icon-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}


/* Events */
.events-swipe-wrap {
    margin-bottom: 40px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.event-card {
    background: var(--card-bg);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
}

.event-card:hover {
    transform: translateY(-10px);
    border-color: rgba(230, 185, 129, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.event-img-box {
    position: relative;
    min-height: 220px;
}

.event-img-box .img-skeleton {
    border-radius: 24px 24px 0 0;
}

.event-img-box img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid var(--border);
    transition: transform 0.6s ease;
}

.event-card:hover .event-img-box img {
    transform: scale(1.05);
}

.event-info {
    padding: 30px;
}

.event-info .date {
    color: var(--primary);
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.event-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-transform: none;
    letter-spacing: 0;
}

.event-info .location {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
    min-height: 45px;
}

/* Marquee */
.marquee-wrapper {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    background: var(--card-bg);
}

.marquee {
    white-space: nowrap;
    animation: marquee-scroll 25s linear infinite;
}

.marquee span {
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
}

.marquee .star {
    color: var(--primary);
    -webkit-text-stroke: 0;
    margin: 0 30px;
    font-size: 2rem;
    vertical-align: middle;
}

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

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

/* Contact Section */
.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 24px;
}

.contact-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.method-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    font-weight: 500;
}

.method-item:hover {
    color: var(--primary);
}

/* Glass WhatsApp button */
.whatsapp-glass-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    margin-top: 8px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    color: #fff;
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.whatsapp-glass-btn img {
    display: block;
    flex-shrink: 0;
}

.whatsapp-glass-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
    border-color: rgba(55, 199, 99, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(55, 199, 99, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    color: #fff;
}

.contact-form {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--border);
}

.form-status {
    margin-bottom: 16px;
    font-size: 0.95rem;
    min-height: 1.4em;
}

.form-status-success {
    color: #86efac;
}

.form-status-error {
    color: #fca5a5;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-group {
    margin-bottom: 24px;
}

.input-group label {
    display: block;
    font-family: var(--font-head);
    font-size: 0.85rem;
    margin-bottom: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    background: #1a1a1a;
    border: 1px solid transparent;
    color: #fff;
    padding: 16px 20px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #222;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 80px 5% 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .footer-desc {
    color: var(--text-muted);
    margin-top: 20px;
    max-width: 300px;
}

.footer-desc-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-desc-link:hover {
    color: #f0d4a0;
    text-decoration: underline;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.link-column h4 {
    font-size: 0.9rem;
    margin-bottom: 24px;
    color: #fff;
}

.link-column a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.link-column a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

/* Responsive */
@media (max-width: 992px) {

    .hero,
    .about,
    .contact,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .events-grid,
    .stats {
        flex-direction: column;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .stat-item {
        padding: 20px 0;
    }

    .genre-list {
        grid-template-columns: 1fr;
    }
}

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

    .hero {
        padding-top: 150px;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .genre-item {
        padding: 18px 20px;
        min-height: 64px;
    }

    .genre-name {
        font-size: 1rem;
        letter-spacing: 2.5px;
    }

    /* Events: horizontal swipe on mobile */
    .events-swipe-wrap {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 8px;
    }

    .events-swipe-wrap::-webkit-scrollbar {
        display: none;
    }

    .events-grid {
        display: flex;
        flex-direction: row;
        gap: 20px;
        grid-template-columns: unset;
        margin-bottom: 0;
        width: max-content;
    }

    .events-grid .event-card {
        flex: 0 0 85vw;
        min-width: 280px;
        max-width: 340px;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
}

/* Hero Wave Animation Styles (Appended) */
.audio-waves {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    height: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 10;
    pointer-events: none;
}

.audio-waves.active {
    opacity: 1;
}

.audio-waves span {
    display: block;
    width: 4px;
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
    animation: wave-bar 1.2s ease-in-out infinite;
    transform-origin: bottom;
}

.audio-waves span:nth-child(1) {
    animation-delay: 0.0s;
}

.audio-waves span:nth-child(2) {
    animation-delay: 0.2s;
}

.audio-waves span:nth-child(3) {
    animation-delay: 0.4s;
}

.audio-waves span:nth-child(4) {
    animation-delay: 0.6s;
}

.audio-waves span:nth-child(5) {
    animation-delay: 0.8s;
}

@keyframes wave-bar {

    0%,
    100% {
        transform: scaleY(0.2);
    }

    50% {
        transform: scaleY(1);
    }
}

/* Loading Spinner CSS on Play Button (hero + float use same spin animation) */
.play-btn.loading {
    cursor: wait;
    pointer-events: none;
}

.play-btn.loading svg {
    display: none;
}

.play-btn.loading::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -10px;
    margin-top: -10px;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.play-btn.playing {
    background: linear-gradient(135deg, rgba(230, 185, 129, 0.85) 0%, var(--primary) 100%);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.play-btn.playing svg {
    fill: #000;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Vibe Mode Animation for Background */
body.vibe-mode::before,
body.vibe-mode::after {
    animation: background-pulse 4s ease-in-out infinite alternate;
}

@keyframes background-pulse {
    0% {
        opacity: 0.5;
        transform: scale(0.9) translate3d(0, 0, 0);
    }

    100% {
        opacity: 1;
        transform: scale(1.1) translate3d(20px, 20px, 0);
        filter: brightness(1.5) saturate(1.5);
    }
}

/* Floating Player — advanced glass widget */
.floating-player {
    position: fixed;
    bottom: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 94%;
    max-width: 420px;
    border-radius: 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    z-index: 2000;
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease, bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    visibility: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 40px rgba(230, 185, 129, 0.08);
}

.floating-player::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.04) 50%, rgba(230,185,129,0.12) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.floating-player.visible {
    bottom: 30px;
    opacity: 1;
    visibility: visible;
}

.player-glass-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px 20px 0 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.player-info {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.player-art {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.player-art::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
    pointer-events: none;
}

.art-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, #8a6c4b 50%, #6b5344 100%);
}

.player-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.player-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.98rem;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-artist {
    font-size: 0.72rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
    opacity: 0.95;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.float-btn {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(230, 185, 129, 0.35);
    background: linear-gradient(135deg, rgba(230, 185, 129, 0.3) 0%, rgba(230, 185, 129, 0.15) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Loading state: show spinner on both hero and floating play button */
.float-btn.loading {
    cursor: wait;
    pointer-events: none;
}

.float-btn.loading svg {
    display: none !important;
}

.float-btn.loading::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -10px;
    margin-top: -10px;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.float-btn:hover {
    transform: scale(1.08);
    background: linear-gradient(135deg, rgba(230, 185, 129, 0.5) 0%, rgba(230, 185, 129, 0.3) 100%);
    border-color: rgba(230, 185, 129, 0.5);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(230, 185, 129, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.float-btn:active {
    transform: scale(0.98);
}

.float-btn svg {
    fill: #000;
}

.float-btn.secondary {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.float-btn.secondary svg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.9);
}

.float-btn.secondary:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.08) 100%);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Progress area */
.player-progress-wrap {
    padding: 10px 18px 16px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 0 0 20px 20px;
}

.player-time {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 0.7rem;
    font-variant-numeric: tabular-nums;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.5px;
}

.player-time-current {
    color: var(--primary);
    font-weight: 600;
}

.player-progress {
    width: 100%;
    cursor: pointer;
    padding: 8px 0;
    margin: -8px 0;
    border-radius: 6px;
}

.player-progress:hover .progress-bar {
    background: rgba(255, 255, 255, 0.15);
}

.player-progress:hover .progress-fill {
    background: linear-gradient(90deg, var(--primary), rgba(230, 185, 129, 0.9));
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    transition: background 0.2s ease;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    width: 0%;
    border-radius: 3px;
    transition: width 0.15s linear;
}

@media (max-width: 768px) {
    .floating-player {
        width: calc(100% - 32px);
        max-width: none;
        bottom: -140px;
    }

    .floating-player.visible {
        bottom: 20px;
    }

    .player-glass-inner {
        padding: 12px 14px;
    }

    .player-art {
        width: 42px;
        height: 42px;
        border-radius: 10px;
    }

    .player-progress-wrap {
        padding: 8px 14px 14px;
    }
}