@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

@font-face {
    font-family: 'CustomFont';
    src: url('assets/font.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

* {
    cursor: url('assets/cursor.png') 31 31, auto !important;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    color: #ffffff;
    font-family: 'CustomFont', 'Inter', sans-serif;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    cursor: url('assets/cursor.png') 31 31, auto !important;
}

#bg {
    position: fixed;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-image: url('assets/bg.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(8px);
    z-index: 0;
    opacity: 1;
}

#entrance {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    transition: opacity 0.5s ease, visibility 0.5s;
}

#entrance p {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
}

#scroll-container {
    opacity: 0;
    visibility: hidden;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    transition: opacity 0.5s ease;
    position: relative;
    z-index: 1;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#scroll-container::-webkit-scrollbar {
    display: none;
}

.section {
    width: 100%;
    height: 100vh;
    scroll-snap-align: start;
    display: flex;
    justify-content: center;
    align-items: center;
}

#main {
    display: flex;
    align-items: center;
    gap: 30px;
}

#pagination {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot.active, .dot:hover {
    background-color: #ffffff;
    transform: scale(1.3);
}

.pfp-container {
    position: relative;
    display: inline-block;
}

.pfp-container .pfp-img {
    width: 170px;
    height: 170px;
    object-fit: cover;
    display: block;
}

.pfp-container .pfp-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 210px;
    height: 210px;
    pointer-events: none;
    z-index: 10;
}

.info-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.name-container {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.name {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.sparkle-particle {
    position: absolute;
    pointer-events: none;
    z-index: 10;
    animation: floatSparkle linear forwards;
}

@keyframes floatSparkle {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0) rotate(0deg);
    }
    15% {
        opacity: 1;
        transform: translate(var(--drift-x-mid), var(--drift-y-mid)) scale(1) rotate(45deg);
    }
    100% {
        opacity: 0;
        transform: translate(var(--drift-x-end), var(--drift-y-end)) scale(0) rotate(135deg);
    }
}

.cursor {
    display: inline-block;
    width: 3px;
    height: 2.8rem;
    background: #ffffff;
    margin-left: 4px;
    vertical-align: middle;
    animation: blink 0.75s step-end infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

.bio {
    font-size: 1rem;
    font-weight: 400;
    color: #ffffff;
    margin: 0;
    margin-top: -4px;
}

.icons {
    display: flex;
    gap: 18px;
    align-items: center;
}

.icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.icons img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.3));
    transition: transform 0.25s ease, filter 0.25s ease;
}

.icons a:hover img {
    transform: scale(1.08);
    filter: drop-shadow(0 0 6px rgba(184, 188, 252, 0.8));
}

.pop-element {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.section.is-visible .pop-element {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.section.is-visible .delay-1 {
    transition-delay: 0.1s;
}

.section.is-visible .delay-2 {
    transition-delay: 0.2s;
}

.section.is-visible .delay-3 {
    transition-delay: 0.3s;
}
