/* ============================================
   Opusic Music — Premium Record Label Styles
   ============================================ */

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #050508;
    color: #ffffff;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: rgba(139, 92, 246, 0.3);
    color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #050508;
}
::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.3);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.5);
}

/* ============================================
   Logo
   ============================================ */
.site-logo {
    display: block;
    height: auto;
    object-fit: contain;
}

.site-logo-link {
    display: inline-block;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.site-logo-link:hover {
    transform: scale(1.02);
}

.site-logo--header {
    width: auto;
    height: 2.75rem;
    filter: drop-shadow(0 0 12px rgba(139, 92, 246, 0.15));
}

.site-logo-link:hover .site-logo--header {
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.35)) drop-shadow(0 0 30px rgba(59, 130, 246, 0.2));
}

.site-logo--hero {
    width: min(100%, 22rem);
    filter: drop-shadow(0 0 40px rgba(139, 92, 246, 0.25)) drop-shadow(0 0 60px rgba(59, 130, 246, 0.15));
    animation: logoGlow 4s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    0% {
        filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.2)) drop-shadow(0 0 50px rgba(59, 130, 246, 0.1));
    }
    100% {
        filter: drop-shadow(0 0 50px rgba(139, 92, 246, 0.35)) drop-shadow(0 0 70px rgba(59, 130, 246, 0.2));
    }
}

.site-logo--footer {
    width: auto;
    height: 2.25rem;
    opacity: 0.85;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.site-logo-link:hover .site-logo--footer {
    opacity: 1;
    filter: drop-shadow(0 0 16px rgba(139, 92, 246, 0.3));
}

/* ============================================
   Header
   ============================================ */
#site-header {
    background: transparent;
}
#site-header.scrolled {
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #6366f1);
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #8b5cf6, #818cf8);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
}
.btn-primary:hover::before {
    opacity: 1;
}
.btn-primary span,
.btn-primary svg {
    position: relative;
    z-index: 1;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.15);
}

/* ============================================
   Glass Cards
   ============================================ */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s ease;
}
.glass-card:hover {
    border-color: rgba(139, 92, 246, 0.15);
    box-shadow: 0 8px 40px rgba(139, 92, 246, 0.08);
}

/* ============================================
   Hero
   ============================================ */
.hero-gradient {
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(88, 28, 135, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, #050508 0%, #0a0a14 50%, #050508 100%);
    animation: heroGradientShift 15s ease-in-out infinite alternate;
}

.hero-noise {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

@keyframes heroGradientShift {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(15deg); }
}

.hero-orb-1 {
    top: 10%;
    left: -10%;
    animation: orbFloat1 20s ease-in-out infinite;
}
.hero-orb-2 {
    bottom: 10%;
    right: -10%;
    animation: orbFloat2 25s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(60px, 40px); }
}
@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-40px, -60px); }
}

/* Hero fade-in animation */
.hero-fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 1s ease forwards;
}

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sound wave bars */
.sound-bar {
    animation: soundPulse 1.5s ease-in-out infinite alternate;
}

@keyframes soundPulse {
    0% { transform: scaleY(0.3); opacity: 0.3; }
    100% { transform: scaleY(1); opacity: 0.8; }
}

/* Scroll indicator */
.scroll-dot {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.3; }
}

/* ============================================
   Scroll Fade-in
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Artist Cards
   ============================================ */
.artist-card {
    transition: transform 0.4s ease;
}
.artist-card:hover {
    transform: translateY(-8px);
}
.artist-glow {
    background: radial-gradient(circle at 50% 80%, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
}
.artist-card:hover .artist-image {
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.15);
}

/* ============================================
   Release Cards
   ============================================ */
.release-card-inner {
    transition: all 0.3s ease;
}
.release-card:hover .release-card-inner {
    border-color: rgba(139, 92, 246, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.release-cover-glow {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
}

/* ============================================
   Platform Buttons (Featured Release)
   ============================================ */
.platform-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}
.platform-btn:hover {
    transform: translateY(-2px);
}
.platform-spotify:hover {
    background: rgba(29, 185, 84, 0.15);
    border-color: rgba(29, 185, 84, 0.3);
    color: #1DB954;
    box-shadow: 0 4px 20px rgba(29, 185, 84, 0.2);
}
.platform-apple:hover {
    background: rgba(252, 60, 68, 0.15);
    border-color: rgba(252, 60, 68, 0.3);
    color: #FC3C44;
    box-shadow: 0 4px 20px rgba(252, 60, 68, 0.2);
}
.platform-youtube:hover {
    background: rgba(255, 0, 0, 0.15);
    border-color: rgba(255, 0, 0, 0.3);
    color: #FF0000;
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.2);
}

/* ============================================
   Social Buttons
   ============================================ */
.social-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1rem;
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    text-decoration: none;
    min-width: 160px;
}
.social-btn:hover {
    transform: translateY(-6px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.15);
    background: rgba(139, 92, 246, 0.05);
}
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}
.social-btn:hover .social-icon {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
    color: #a78bfa;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}
.social-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.8);
}
.social-handle {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ============================================
   Featured Release
   ============================================ */
.featured-release {
    border-color: rgba(139, 92, 246, 0.1);
}
.featured-release:hover {
    border-color: rgba(139, 92, 246, 0.25);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.1);
}

/* ============================================
   Mobile Menu
   ============================================ */
.mobile-menu {
    transition: all 0.3s ease;
}
.mobile-nav-link {
    display: block;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
}
.mobile-nav-link:hover {
    color: #fff;
}

/* ============================================
   Parallax
   ============================================ */
.parallax-layer {
    will-change: transform;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 640px) {
    .social-btn {
        min-width: 140px;
        padding: 1.5rem 2rem;
    }
    .sound-wave-container {
        opacity: 0.1;
    }
}
