:root {
    --bg-color: #fdfbf7;
    --text-color: #1a1a1a;
    --primary-accent: #f2b705;
    /* Artistic Yellow */
    --secondary-accent: #d9411e;
    /* Burnt Red */
    --tertiary-accent: #9d8abf;
    /* Muted Purple */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(242, 183, 5, 0.2);
    --font-header: 'Syne', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

h1,
h2,
h3 {
    font-family: var(--font-header);
    text-transform: uppercase;
    letter-spacing: -1px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-accent);
    border-radius: 10px;
}

.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 25px 0;
    background: rgba(253, 251, 247, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}

.nav-content {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary-accent);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--secondary-accent);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

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

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.glass-card:hover {
    border-color: var(--primary-accent);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(242, 183, 5, 0.1);
}

/* Sections */
.section {
    padding: 120px 0;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
}

h2 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    margin-bottom: 60px;
    font-weight: 800;
    line-height: 0.9;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 5%;
}

.hero-content {
    text-align: center;
    width: 100%;
    max-width: 1400px;
}

.glitch {
    font-size: clamp(0.65rem, 10vw, 9rem);
    font-weight: 800;
    line-height: 0.85;
    margin-bottom: 2rem;
    color: var(--text-color);
    display: inline-block;
    white-space: nowrap;
}

.glitch .letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px) rotateX(-90deg);
    animation: letterFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.glitch .letter:hover {
    color: var(--secondary-accent);
    transform: translateY(-10px) scale(1.2);
    text-shadow: 0 10px 30px rgba(217, 65, 30, 0.4);
}

@keyframes letterFadeIn {
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

.subtitle {
    font-size: clamp(0.85rem, 2vw, 1.2rem);
    color: rgba(26, 26, 26, 0.7);
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    animation: subtitleFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
    text-align: center;
    width: 100%;
    margin-top: 1rem;
    max-width: 100%;
}

@keyframes subtitleFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.color-accent {
    color: var(--primary-accent);
}

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

.bio-text {
    font-size: 1.15rem;
    color: rgba(26, 26, 26, 0.8);
    white-space: pre-wrap;
}

.bio-video-container {
    margin-top: 60px;
    padding: 40px 20px;
    border-top: 1px solid var(--glass-border);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.bio-video-container h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--secondary-accent);
    text-align: center;
}

.bio-video {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.about-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.05);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 400px;
    background: #eee;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(242, 183, 5, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .item-overlay {
    opacity: 1;
}

.item-overlay span {
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.2rem;
}

/* Audio Player */
.audio-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.audio-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
}

.audio-info h3 {
    font-size: 1.2rem;
    color: var(--secondary-accent);
    margin-bottom: 4px;
}

.audio-info p {
    font-size: 0.9rem;
    opacity: 0.6;
}

audio {
    height: 40px;
    filter: sepia(30%) saturate(150%) hue-rotate(340deg);
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.video-item {
    position: relative;
    cursor: pointer;
    border-radius: 24px;
    overflow: hidden;
    height: 250px;
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(217, 65, 30, 0.8);
    opacity: 0;
    transition: var(--transition);
    color: #fff;
}

.video-item:hover .video-overlay {
    opacity: 1;
}

.play-btn {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(253, 251, 247, 0.98);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    width: 90%;
    max-width: 1200px;
    position: relative;
}

.modal-content video {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.1);
}

.close-modal {
    position: absolute;
    top: -60px;
    right: 0;
    font-size: 3rem;
    color: var(--secondary-accent);
    cursor: pointer;
}

/* Footer */
footer {
    padding: 80px 0;
    text-align: center;
    opacity: 0.4;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .hero {
        padding: 0 2%;
    }

    .hero-content {
        max-width: 100%;
        padding: 0;
        transform: scale(0.85);
    }

    .glitch {
        font-size: clamp(0.8rem, 6vw, 2.5rem) !important;
        line-height: 1;
    }

    .subtitle {
        font-size: clamp(0.6rem, 2.5vw, 0.9rem) !important;
        letter-spacing: 1px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(253, 251, 247, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.active li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .nav-links.active li:nth-child(3) {
        transition-delay: 0.3s;
    }

    .nav-links.active li:nth-child(4) {
        transition-delay: 0.4s;
    }

    .nav-links a {
        font-size: 2rem;
        color: var(--text-color);
    }

    .glitch {
        font-size: 4rem;
    }

    .audio-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}