/* Material 3 Design System - Custom Dark Theme */
:root {
    /* Color Palette - Neon/Dark Vibes */
    --md-sys-color-background: #050505;
    --md-sys-color-on-background: #E6E1E5;
    --md-sys-color-surface: rgba(18, 18, 18, 0.7);
    --md-sys-color-surface-glass: rgba(255, 255, 255, 0.03);
    --md-sys-color-on-surface: #E6E1E5;

    --md-sys-color-primary: #D0BCFF;
    --md-sys-color-on-primary: #381E72;

    --border-radius: 24px;
    --nav-height: 80px;
    background-color: var(--md-sys-color-background);
    /* Explicit background for linter */
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--md-sys-color-background);
    color: var(--md-sys-color-on-background);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Noise Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIj48ZmlsdGVyIGlkPSJnoiPjxmZVR1cmJ1bGVuY2UgdHlwZT0iZnJhY3RhbE5vaXNlIiBiYXNlRnJlcXVlbmN5PSIwLjY1IiBudW1PY3RhdmVzPSIzIiBzdGl0Y2hUaWxlcz0ic3RpdGNoIi8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsdGVyPSJ1cmwoI2cpIiBvcGFjaXR5PSIwLjAzIi8+PC9zdmc+');
    pointer-events: none;
    z-index: 9999;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: 160px 0;
    /* Huge vertical spacing */
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-title {
    font-family: var(--font-display);
    font-size: 5rem;
    /* Massive titles */
    margin-bottom: 80px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #fff 0%, var(--md-sys-color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.9;
}

/* Enhanced Glass Component */
.glass-card {
    background: var(--md-sys-color-surface-glass);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    padding: 60px;
    /* More internal breathing room */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Navbar Reform - Fly.io Style Liquid Glass */
.navbar {
    position: fixed;
    top: 32px;
    /* A bit more space from top */
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 90%;
    height: auto;
    background: rgba(20, 20, 20, 0.6);
    /* Slightly darker for contrast */
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border-radius: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 40px;
    /* More breathing room */
    z-index: 1000;
}

.logo {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 32px;
    /* Much wider gap */
    background: transparent;
    /* Removed inner pill background */
    padding: 0;
    border: none;
}

.nav-links li a {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-links li a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    opacity: 1;
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 90px;
    /* Hero Background Image */
    background-image: url('../assets/optimized/IMG-20260214-WA0037.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax feel */
}

/* Dark Overlay for Readability */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* 60% opacity black overlay */
    z-index: 1;
}

.hero-content {
    z-index: 3;
    position: relative;
}

.glitch-text {
    font-family: var(--font-display);
    font-size: 10rem;
    /* Gigantic hero text */
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -6px;
    margin-bottom: 30px;
    position: relative;
    text-shadow: 0 0 40px rgba(208, 188, 255, 0.3);
}

.subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 60px;
    color: var(--md-sys-color-primary);
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Liquid Shapes - Background behind overlay */
/* Liquid Shapes - Background behind overlay */
.liquid-shape,
.secondary {
    display: none;
}

/* Ambient Glows for Sections */
.bio-section {
    background: radial-gradient(circle at 10% 20%, rgba(80, 50, 150, 0.15) 0%, transparent 40%);
}

.music-section {
    background: radial-gradient(circle at 90% 80%, rgba(200, 100, 255, 0.1) 0%, transparent 40%);
}

.gallery-section {
    position: relative;
}

/* Flashy Gallery Glow */
.gallery-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(208, 188, 255, 0.1) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

/* Ambient Glows for Sections */
.bio-section {
    background: radial-gradient(circle at 10% 20%, rgba(80, 50, 150, 0.15) 0%, transparent 40%);
}

.music-section {
    background: radial-gradient(circle at 90% 80%, rgba(200, 100, 255, 0.1) 0%, transparent 40%);
}

.gallery-section {
    position: relative;
}

/* Flashy Gallery Glow */
.gallery-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(208, 188, 255, 0.1) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

/* Bio Section */
.bio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.bio-image {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Music Section */
.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.music-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.music-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
}

.album-art {
    width: 100%;
    aspect-ratio: 1;
    background: #333;
    border-radius: 12px;
    margin-bottom: 15px;
}

.btn-icon {
    background: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    cursor: pointer;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    /* Increased gap */
    grid-auto-rows: 400px;
    /* Taller images */
    padding: 0 40px;
}

.gallery-item {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy pop */
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Flashy Hover for Gallery */
.gallery-item:hover {
    transform: scale(1.08) translateY(-10px);
    z-index: 10;
    box-shadow: 0 20px 50px rgba(208, 188, 255, 0.3);
    /* Purple Glow */
    border-color: var(--md-sys-color-primary);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Contact Section */
.contact-wrapper {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-email {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--md-sys-color-primary);
    display: block;
    margin: 20px 0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.social-icon {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 0;
    opacity: 0.6;
    font-size: 0.9rem;
}

.credits {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.icon-small {
    font-size: 16px;
    color: var(--md-sys-color-error);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .glitch-text {
        font-size: 4rem;
    }

    .bio-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}