:root {
    --sparkle-color: rgba(255, 255, 255, 0.4);
    --particle-glow: rgba(0, 170, 255, 0.15);
    --cursor-glow-size: 600px;
    --cursor-glow-color: rgba(0, 170, 255, 0.08);
    --cursor-inner-size: 6px;
    --cursor-outer-size: 30px;
}

/* ── Custom Cursor ──────────────────────────────────────────────── */

*, html, body {
    cursor: none !important;
}

#customCursorDot, #customCursorCircle {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, border 0.3s ease;
    mix-blend-mode: difference;
}

#customCursorDot {
    width: var(--cursor-inner-size);
    height: var(--cursor-inner-size);
    background: #fff;
}

#customCursorCircle {
    width: var(--cursor-outer-size);
    height: var(--cursor-outer-size);
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: transparent;
}

/* Cursor Hover States */
body.cursor-hover #customCursorDot {
    transform: translate(-50%, -50%) scale(0);
}

body.cursor-hover #customCursorCircle {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

body.cursor-playing #customCursorCircle {
    border-color: var(--accent-blue);
    background: rgba(0, 170, 255, 0.05);
    animation: cursorPulse 1.5s infinite;
}

@keyframes cursorPulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

/* ── Base Layer ─────────────────────────────────────────────────── */

.premium-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

/* ── Ambient Glow Orbs ───────────────────────────────────────────── */

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
    animation: floatingOrb 25s ease-in-out infinite alternate;
    will-change: transform;
}

.orb-1 {
    width: 600px;
    height: 600px;
    top: -10%;
    right: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    bottom: -15%;
    left: -5%;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.4) 0%, transparent 70%);
    animation-delay: -5s;
}

@keyframes floatingOrb {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, 30px) scale(1.1); }
    100% { transform: translate(-30px, 60px) scale(0.9); }
}

/* ── Sparkles & Twinkles ─────────────────────────────────────────── */

.sparkle-container {
    position: absolute;
    inset: 0;
}

.sparkle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 10px #fff, 0 0 20px var(--accent-blue);
    animation: sparkleAnimation 4s ease-in-out infinite;
}

@keyframes sparkleAnimation {
    0%, 100% { opacity: 0; transform: scale(0); }
    50% { opacity: 0.8; transform: scale(1); }
}

/* ── Cursor Glow ─────────────────────────────────────────────────── */

#cursorGlow {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--cursor-glow-size);
    height: var(--cursor-glow-size);
    background: radial-gradient(circle, var(--cursor-glow-color) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 1s ease;
    will-change: transform;
}

/* ── Glassmorphism Enhancements ──────────────────────────────────── */

.premium-glass, .nav, .player, .cart-sidebar, .modal-content, .beat-card {
    background: rgba(255, 255, 255, 0.02) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3) !important;
    transition: all 0.5s var(--ease-premium) !important;
}

.nav {
    background: rgba(4, 4, 4, 0.7) !important;
}

.beat-card:hover {
    border-color: rgba(0, 170, 255, 0.25) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 170, 255, 0.05) !important;
}

.hover-glow {
    position: relative;
    overflow: hidden;
}

.hover-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.hover-glow:hover::after {
    opacity: 1;
}

/* ── Accessibility ──────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
    .ambient-orb, .sparkle, .beat-card:hover {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}

/* ── Lenis Smooth Scroll Fixes ─────────────────────────────────── */

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

/* ── Newsletter Section Enhancement ───────────────────────────── */

.newsletter {
    padding: 2rem 2rem 1rem 2rem !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
}

.newsletter-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 3rem;
    background: rgba(255, 255, 255, 0.015) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.newsletter-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 170, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    animation: slowRotate 20s linear infinite;
}

@keyframes slowRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.newsletter-title {
    font-size: 2.8rem !important;
    letter-spacing: 0.15em !important;
    margin-bottom: 1rem !important;
    background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.5) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.newsletter-desc {
    font-size: 1rem !important;
    color: rgba(255, 255, 255, 0.5) !important;
    margin-bottom: 3rem !important;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 550px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.newsletter-input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    padding: 1.2rem 1.5rem !important;
    color: #fff !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
}

.newsletter-input:focus {
    border-color: var(--accent-blue) !important;
    background: rgba(0, 0, 0, 0.5) !important;
    box-shadow: 0 0 20px rgba(0, 170, 255, 0.1) !important;
}

.newsletter-btn {
    background: #fff !important;
    color: #000 !important;
    padding: 0 2.5rem !important;
    height: auto !important;
    min-height: 56px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s var(--ease-premium) !important;
    border: none !important;
    cursor: pointer !important;
}

.newsletter-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.newsletter-btn:hover {
    background: var(--accent-blue) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 170, 255, 0.3) !important;
}

.newsletter-btn:hover i {
    transform: translateX(3px) translateY(-3px);
}

@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
    }
    .newsletter-btn {
        padding: 1.2rem !important;
        justify-content: center;
    }
    .newsletter-title {
        font-size: 1.8rem !important;
    }
}

/* ── Contact Section ───────────────────────────────────────────── */

.contact {
    padding: 1rem 2rem;
    margin: 0 !important;
    background: transparent;
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 5rem;
}

.contact-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    background: linear-gradient(180deg, #fff 0%, #555 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    background: rgba(255, 255, 255, 0.015);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: 4rem;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 2.5rem;
}

.info-item i {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    font-size: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-item h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: #fff;
}

.info-item p {
    margin: 0;
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 3rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 170, 255, 0.3);
}

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

.form-row {
    display: flex;
    gap: 20px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.2rem;
    color: #fff;
    font-family: inherit;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--accent-blue);
    background: rgba(0, 0, 0, 0.5);
    outline: none;
    box-shadow: 0 0 20px rgba(0, 170, 255, 0.1);
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
    .form-row {
        flex-direction: column;
    }
}

.footer {
    padding: 1rem 2rem !important;
    margin: 0 !important;
}
