/* CSS Reset and Custom Properties */
:root {
    --color-bg: #0a0a0a;
    --color-bg-secondary: #0f0f0f;
    --color-text: #e5e5e5;
    --color-text-muted: #999;
    --color-accent: #00bfff;  /* Electric blue from logo */
    --color-accent-hover: #33ccff;
    --color-accent-glow: #0099ff;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-urban: 'Bebas Neue', sans-serif;
    --max-width: 1200px;
    --spacing-unit: 1rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    padding: 0;
    font-family: var(--font-urban);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

p {
    margin: 0;
    padding: 0;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-family: var(--font-urban);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-accent);
    box-shadow: 0 0 20px var(--color-accent);
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 calc(var(--spacing-unit) * 2);
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #0a0a0a;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255, 255, 255, 0.01) 35px, rgba(255, 255, 255, 0.01) 70px);
    z-index: 1;
    pointer-events: none;
}

.hero * {
    box-sizing: border-box;
}
.hero-background {
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 191, 255, 0.4) 0%, transparent 35%),
        radial-gradient(circle at 80% 70%, rgba(147, 51, 234, 0.3) 0%, transparent 35%),
        radial-gradient(circle at 40% 80%, rgba(59, 130, 246, 0.35) 0%, transparent 40%),
        radial-gradient(circle at 70% 20%, rgba(129, 140, 248, 0.3) 0%, transparent 35%),
        radial-gradient(circle at 90% 40%, rgba(34, 211, 238, 0.3) 0%, transparent 35%),
        radial-gradient(circle at 10% 60%, rgba(251, 146, 60, 0.25) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(232, 121, 249, 0.2) 0%, transparent 50%);
    animation: meshFlow 30s ease-in-out infinite;
    filter: blur(40px) saturate(1.2);
    will-change: transform;
    transform: translateZ(0);
}

.hero-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 50%, rgba(16, 185, 129, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 30%, rgba(251, 191, 36, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 15% 70%, rgba(232, 121, 249, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 85%, rgba(0, 191, 255, 0.2) 0%, transparent 45%);
    animation: meshFlow 40s ease-in-out infinite reverse;
    filter: blur(60px);
    will-change: transform;
    transform: translateZ(0);
}

@keyframes meshFlow {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    20% {
        transform: translate(-25px, -15px) scale(1.05) rotate(72deg);
    }
    40% {
        transform: translate(15px, -25px) scale(0.95) rotate(144deg);
    }
    60% {
        transform: translate(-15px, 15px) scale(1.02) rotate(216deg);
    }
    80% {
        transform: translate(25px, 10px) scale(0.98) rotate(288deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 1s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-logo {
    max-width: 600px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding-bottom: 1rem;
    display: block;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    animation: fadeInScale 1.2s ease-out, heartbeat 2s ease-in-out infinite;
}

.hero-social {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 0 1.5rem 0;
    animation: fadeIn 1.4s ease-out 0.2s both;
    position: relative;
    top: -0.5rem;
}

.hero-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hero-social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, var(--color-accent) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.hero-social-link:hover {
    color: var(--color-text);
    transform: translateY(-3px) scale(1.1);
    background: rgba(0, 191, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 191, 255, 0.3);
}

.hero-social-link:hover::before {
    opacity: 0.3;
}

.hero-social-link svg {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
}

.hero-social-link:hover svg {
    transform: scale(1.1);
}

/* Subtle pulse animation for social icons */
@keyframes socialPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 191, 255, 0);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px 5px rgba(0, 191, 255, 0.2);
    }
}

.hero-social-link:nth-child(1) {
    animation: socialPulse 4s ease-in-out infinite;
    animation-delay: 0s;
}

.hero-social-link:nth-child(2) {
    animation: socialPulse 4s ease-in-out infinite;
    animation-delay: 1.3s;
}

.hero-social-link:nth-child(3) {
    animation: socialPulse 4s ease-in-out infinite;
    animation-delay: 2.6s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    5% {
        transform: scale(1.025);
    }
    10% {
        transform: scale(1);
    }
    15% {
        transform: scale(1.015);
    }
    20% {
        transform: scale(1);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-subtitle {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--color-text);
    font-family: var(--font-urban);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin: 0 auto;
    padding-bottom: 2rem;
    text-align: center;
    display: block;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    animation: subtitlePulse 2s ease-in-out infinite;
}

@keyframes subtitlePulse {
    0%, 100% {
        opacity: 0.85;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8),
                     0 0 30px rgba(0, 191, 255, 0);
    }
    50% {
        opacity: 1;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8),
                     0 0 30px rgba(0, 191, 255, 0.2);
    }
}
/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid var(--color-accent);
    border-bottom: 2px solid var(--color-accent);
    transform: rotate(45deg);
    filter: drop-shadow(0 0 5px rgba(0, 191, 255, 0.5));
    opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Sections */
section {
    padding: calc(var(--spacing-unit) * 6) 0;
    position: relative;
}

/* About Section */
.about {
    background-color: var(--color-bg-secondary);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(251, 191, 36, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(0, 191, 255, 0.08) 0%, transparent 50%);
    animation: aboutMesh 40s ease-in-out infinite reverse;
    filter: blur(60px);
    pointer-events: none;
    opacity: 0.6;
    will-change: transform;
    transform: translateZ(0);
}

@keyframes aboutMesh {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    50% {
        transform: translate(-25px, 15px) scale(1.05) rotate(180deg);
    }
}
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.about-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin: 0 0 1.5rem 0;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.about-text.italic {
    font-family: var(--font-primary);
    font-style: italic;
    color: var(--color-accent);
    opacity: 0.9;
    text-shadow: 0 0 20px rgba(0, 191, 255, 0.3);
}

/* Music Section */
.music {
    position: relative;
    overflow: hidden;
}

.music::before {
    content: '';
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 70% 70%, rgba(129, 140, 248, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(34, 211, 238, 0.1) 0%, transparent 45%);
    animation: musicMesh 45s ease-in-out infinite;
    filter: blur(55px);
    pointer-events: none;
    opacity: 0.5;
    will-change: transform;
    transform: translateZ(0);
}

@keyframes musicMesh {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    25% {
        transform: translate(20px, -15px) scale(0.95) rotate(90deg);
    }
    50% {
        transform: translate(-15px, 20px) scale(1.05) rotate(180deg);
    }
    75% {
        transform: translate(10px, 10px) scale(1) rotate(270deg);
    }
}

.music-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .music-grid {
        grid-template-columns: 2fr 1fr;
    }
}
.music-embed iframe {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.release-info h3 {
    font-size: 1.5rem;
    font-family: var(--font-urban);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    color: var(--color-accent);
}

.release-title {
    font-size: 1.25rem;
    margin: 0 0 1rem 0;
    font-weight: 500;
}

.track-list {
    list-style: none;
    margin-bottom: 2rem;
    color: var(--color-text-muted);
}

.track-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 191, 255, 0.1);
}

.track-list li:last-child {
    border-bottom: none;
}
.music-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.music-link {
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
    text-decoration: none;
    border-radius: 30px;
    transition: var(--transition);
    font-weight: 500;
}

.music-link:hover {
    background-color: var(--color-accent);
    color: var(--color-bg);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 191, 255, 0.4);
}

/* Contact Section */
.contact {
    background-color: var(--color-bg-secondary);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 70%, rgba(147, 51, 234, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 30%, rgba(0, 191, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(232, 121, 249, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 45%);
    animation: contactMesh 35s ease-in-out infinite;
    filter: blur(50px) saturate(1.1);
    pointer-events: none;
    opacity: 0.7;
    will-change: transform;
    transform: translateZ(0);
}

.contact::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255, 255, 255, 0.01) 35px, rgba(255, 255, 255, 0.01) 70px);
    pointer-events: none;
}

@keyframes contactMesh {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    33% {
        transform: translate(30px, -20px) scale(1.1) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 30px) scale(0.9) rotate(240deg);
    }
}

.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.contact-text {
    font-size: 1.25rem;
    margin: 0 0 1.5rem 0;
    color: var(--color-text-muted);
}

.contact-email {
    display: inline-block;
    font-size: 1.5rem;
    color: var(--color-accent);
    text-decoration: none;
    margin-bottom: 2rem;
    transition: var(--transition);
    position: relative;
}

.contact-email::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.contact-email:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.contact-email:hover {
    color: var(--color-accent-hover);
    transform: translateY(-2px);
    text-shadow: 0 0 20px rgba(0, 191, 255, 0.5);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
    transition: var(--transition);
}
.social-link:hover {
    background-color: var(--color-accent);
    color: var(--color-bg);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 191, 255, 0.4);
}

/* Footer */
.footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(0, 191, 255, 0.1);
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.footer p {
    margin: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animate sections on scroll */
.about-content,
.music-grid,
.contact-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.about-content.active,
.music-grid.active,
.contact-content.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --spacing-unit: 0.75rem;
    }
    
    .hero-logo {
        max-width: 350px;
        margin: 0 auto;
        padding-bottom: 0.5rem;
    }
    
    .hero-social {
        gap: 1.5rem;
        padding: 0.25rem 0 1rem 0;
        top: -0.25rem;
    }
    
    .hero-social-link {
        width: 50px;
        height: 50px;
    }
    
    .hero-social-link svg {
        width: 28px;
        height: 28px;
    }
    
    .hero-subtitle {
        font-size: clamp(1.25rem, 3.5vw, 2rem);
        letter-spacing: 0.08em;
        padding-bottom: 1.5rem;
    }
    
    .music-links {
        justify-content: center;
    }
    
    section {
        padding: calc(var(--spacing-unit) * 4) 0;
    }
}

/* Accessibility and Performance */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-background,
    .hero-background::after,
    .about::before,
    .music::before,
    .contact::before,
    .hero-social-link {
        animation: none !important;
    }
}

/* Houdini Gradient Mesh Support */

/* Always remove legacy hero stripes overlay */
.hero::before {
    display: none !important;
}
@supports (background: paint(gradient-mesh)) {
    /* Apply mesh to hero and contact sections */
    .hero,
    .contact {
        /* Base color fallback */
        background: var(--color-bg);
        /* Houdini paint worklet */
        background: paint(gradient-mesh);
        /* Custom properties act as uniforms */
        --mesh-colors: #00bfff,#9333ea,#3b82f6,#10b981,#fbbf24,#e879f9;
        --mesh-point-count: 7;
        --mesh-time: 0;
    }

    /* Hide legacy background layers to avoid overdraw */
    .hero-background,
    .contact::before,
    .contact::after,
    .hero::before {
        display: none !important;
    }
}

/* Reduce gradient complexity on mobile for better performance */
@media (max-width: 768px) {
    .hero-background,
    .about::before,
    .music::before,
    .contact::before {
        filter: blur(60px);
    }
    
    .hero-background::after,
    .contact::after {
        display: none;
    }
}