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

body {
    font-family: system-ui, sans-serif;
    line-height: 1.6;
    padding: 1rem;
    background-color: #ffffff;
    color: #000000;
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #121212;
        color: #eeeeee;
    }
}

@media (min-width: 600px) {
    body {
        padding: 2rem;
    }

    header h1 {
        font-size: 2rem;
    }
}

#hero {
    position: fixed;
    inset: 0;
    height: 100vh;
    overflow: hidden;
    z-index: 10;
}

#hero-bg {
    position: absolute;
    inset: 0;
    background: url('../assets/images/background.webp') center/cover;
    filter: blur(0px);
    transform: scale(1);
    will-change: auto;
}

#hero-icon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20vmin;
    height: 20vmin;
    background-color: #ffffff;
    border-radius: 50%;
    will-change: auto;
    box-shadow: #00000033 0 6px 24px, #0000001a 0 2px 8px;
}

#hero-icon {
    width: 90%;
    height: 90%;
    display: block;
    border-radius: 50%;
    box-shadow: #00000033 0 6px 24px, #0000001a 0 2px 8px;
}

#hero-title {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    font-size: clamp(2.5rem, 16vmin, 8rem);
    font-weight: 900;
    letter-spacing: 0.1em;
    color: #ffffff;
    text-shadow: 0 6px 24px rgba(0,0,0,0.6), 0 2px 8px rgba(0,0,0,0.3);
    white-space: nowrap;
    will-change: auto;
}

.hero-letter {
    animation: shine 4s ease-in-out infinite alternate;
    will-change: auto;
}

@keyframes shine {
    0% {
        color: #ffffff;
        text-shadow: 0 6px 24px rgba(0,0,0,0.6), 0 2px 8px rgba(0,0,0,0.3);
    }
    50% {
        color: #ff5e71;
        text-shadow: 0 0 28px #ff5e71, 0 2px 8px rgba(0,0,0,0.3);
    }
    100% {
        color: #ffffff;
        text-shadow: 0 6px 24px rgba(0,0,0,0.6), 0 2px 8px rgba(0,0,0,0.3);
    }
}

#content {
    position: relative;
    z-index: 1;
    margin-top: 100vh;
    padding: 1.5rem 0.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 480px) {
    #hero-title {
        font-size: clamp(1.5rem, 12vw, 3.5rem);
        letter-spacing: 0.04em;
    }
    #content {
        padding: 1rem 0.2rem;
    }
}

@media (min-width: 900px) {
    #content {
        padding: 2.5rem 2rem;
        max-width: 1200px;
    }
}

#top-nav {
    position: fixed;
    top: 0px;
    right: 20px;
    height: 60px;
    z-index: 20;
    display: flex;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

#top-nav.show {
    opacity: 1;
    visibility: visible;
}

.nav-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    padding: 8px 12px;
    top: 50%;
    transition: all 0.3s ease;
}

.nav-item:hover {
    transform: translateY(-2px);
}

.nav-icon {
    font-size: 1.2rem;
    margin-right: 8px;
}

.nav-text {
    font-weight: 500;
    white-space: nowrap;
}

@media (max-width: 768px) {
    #top-nav {
        top: 15px;
        right: 15px;
        gap: 10px;
    }
    
    .nav-item {
        padding: 10px;
        width: 44px;
        height: 44px;
        justify-content: center;
    }
    
    .nav-text {
        display: none;
    }
    
    .nav-icon {
        margin-right: 0;
        font-size: 1.4rem;
    }
}
