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

    html {
        height: 100%;
        min-height: 100dvh;
        background-color: #0b0b0e;
        background: radial-gradient(circle at top, #141418, #0b0b0e 70%);
        background-attachment: fixed;
        background-repeat: no-repeat;
    }

    body {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        min-height: 100dvh;
        height: 100svh; 
        -webkit-fill-available: fill-available;
        background-color: transparent; 
        color: #eaeaea;
        line-height: 1.6;
        overflow-x: hidden;
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
    }

    a {
        color: inherit;
        text-decoration: none;
    }

    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        padding: 1.25rem 2.5rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.5s ease, transform 0.5s ease;
        z-index: 100;
        pointer-events: none;
    }

    .nav.visible {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav img {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        cursor: pointer;
    }

    .nav .links {
        display: flex;
        gap: 1.5rem;
        font-size: 0.9rem;
    }

    .nav .links a {
        opacity: 0.8;
        border-bottom: 1px solid transparent;
        padding-bottom: 2px;
    }

    .nav .links a:hover {
        opacity: 1;
        border-color: #eaeaea;
    }

    .hero {
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-card {
        background: rgba(20, 20, 24, 0.8);
        backdrop-filter: blur(12px);
        padding: 3.5rem 3rem;
        border-radius: 20px;
        text-align: center;
        box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55);
        animation: floatIn 1s ease forwards;
    }

    @keyframes floatIn {
        from {
            opacity: 0;
            transform: translateY(20px) scale(0.98);
        }

        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    .hero-card img {
        width: 88px;
        height: 88px;
        border-radius: 50%;
        margin-bottom: 1.25rem;
    }

    .hero-card h1 {
        font-size: 1.6rem;
        margin-bottom: 0.4rem;
        font-weight: 600;
    }

    .hero-card p {
        font-size: 0.9rem;
        opacity: 0.7;
    }

    .hero-card .links {
        margin-top: 1.4rem;
        display: flex;
        gap: 1.25rem;
        justify-content: center;
        font-size: 0.85rem;
    }

    .projects {
        max-width: 1100px;
        margin: 0 auto;
        padding: 6rem 2rem 6rem;
        display: flex;
        flex-direction: column;
        gap: 8rem;
    }

    .project {
        display: grid;
        grid-template-columns: 1fr 1.2fr;
        gap: 4rem;
        align-items: center;
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

    .project-info h2 {
        font-size: 1.45rem;
        margin-bottom: 0.4rem;
    }

    .project-info span {
        font-size: 0.85rem;
        opacity: 0.6;
    }

    .project-info p {
        margin-top: 1.1rem;
        max-width: 420px;
        font-size: 0.95rem;
        opacity: 0.85;
    }

    .project-links {
        margin-top: 1.5rem;
        display: flex;
        gap: 1.5rem;
        font-size: 0.9rem;
    }

    .project-links a {
        opacity: 0.8;
        border-bottom: 1px solid transparent;
        padding-bottom: 2px;
    }

    .project-links a:hover {
        opacity: 1;
        border-color: #eaeaea;
    }

    .album {
        position: relative;
        overflow: hidden;
        border-radius: 18px;
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    }

    .album-track {
        display: flex;
        transition: transform 0.6s ease;
    }

    .album img {
        width: 100%;
        flex-shrink: 0;
    }

    .album-controls {
        position: absolute;
        inset: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 1rem;
        pointer-events: none;
    }

    .album button {
        pointer-events: auto;
        background: rgba(15, 15, 18, 0.6);
        border: none;
        color: #fff;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        cursor: pointer;
        backdrop-filter: blur(6px);
    }

    @media (max-width: 900px) {
        .project {
            grid-template-columns: 1fr;
        }
    }