html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    font-family: sans-serif;
    background: none;
}

/* Three.js canvas */
#bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Logo */
.logo-link {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 120px;
    height: 120px;
    z-index: 1000;
}

#logo {
    width: 100%;
    height: auto;
    display: block;
}

/* Hero Content */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    z-index: 1000;
    pointer-events: none;
    padding: 0 1rem;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.hero-text,
.hero-image {
    opacity: 0;
    animation: fadeInSlide 1s ease-out forwards;
}

.hero-image {
    animation-delay: .5s;
}

.hero-text h1 {
    margin: 0 0 1rem;
    font-size: 4vw;
    color: #fff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
}

.hero-text p {
    margin: 0;
    font-size: 1.25rem;
    color: #eee;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-image {
    width: 400px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

/* Menu */
#menu {
    position: absolute;
    bottom: 20px;
    left: 22%;
    z-index: 1000;
}

#menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 2rem;
    overflow-x: auto;
}

#menu a {
    /* position: relative;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .1em;
    text-decoration: none;
    font-size: 1.2rem;
    transition: transform .2s, color .2s;
    white-space: nowrap; */

    display: inline-block;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .1em;
    text-decoration: none;
    font-size: 1.2rem;
    border-bottom: 2px solid transparent;
    transition: transform .2s, color .2s, border-bottom-color .3s;
    white-space: nowrap;
}

#menu a:hover {
    transform: translateY(-4px);
    color: #ffd700;
    border-bottom-color: #fff;
}

/* Hamburger */
.hamburger {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1001;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}

/* hide native audio */
#hover-music {
    display: none;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        gap: 1.5rem;
        position: relative;
        left: unset;
        top: 15%;
        transform: unset;
    }

    .hero-text h1 {
        font-size: 8vw;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-image {
        width: -moz-available;
        width: -webkit-fill-available;
    }

    #menu {
        bottom: auto;
        top: 60px;
        left: 0;
        transform: none;
    }

    #menu ul {
        display: none;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.8);
        position: absolute;
        width: 100%;
        padding: 1rem 0;
        gap: 1rem;
        margin: 0;
    }

    #menu ul.open {
        display: flex;
    }

    #menu a {
        font-size: 1rem;
    }

    .hamburger {
        display: flex;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 10vw;
    }
}