@font-face {
    font-family: "myCustomFont";
    src: url("../assets/rainyhearts.ttf") format("truetype");
}

* {
    box-sizing: border-box;
}

html,
body,
body * {
    cursor: url("../assets/cursor.png"), auto !important;
}

body {
    margin: 0;
    padding: 0;
    background: #fff4fa;
    font-family: "myCustomFont", sans-serif;
    min-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
}

body::before {
    content: "";
    position: fixed;
    inset: -40px;
    background: url("../assets/background2.gif") center/cover no-repeat;
    filter: blur(6px);
    -webkit-filter: blur(6px);
    z-index: -1;
}

/* intro */

#intro {
    position: absolute;
    text-align: center;
    font-size: 24px;
    color: #fff4fa;
    filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.7));
    opacity: 1;
    transition: opacity 1s ease;
}

/* main content */

#content {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 1.2s ease,
        transform 1.2s ease;
    pointer-events: none;
}

/* profile */

.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 650px;
}

.avatar {
    width: 100px;
    height: auto;
    max-height: 100px;
    object-fit: contain;
    border-radius: 0;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.7));
    -webkit-filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.7));
}

.username {
    margin-top: 12px;
    font-size: 22px;
    filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.7));
    color: #fff4fa;
}

/* navigation */

.navigation {
    position: absolute;
    margin-top: 430px;
    width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(25px);
    pointer-events: none;
    transition:
        opacity 1s ease,
        transform 1s ease;
}

.navigation.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-ribbon {
    width: 200px;
    margin-bottom: -105px;
    z-index: 2;
    image-rendering: auto;
    pointer-events: none;
}

.navigation-box {
    width: 260px;
    padding: 22px 18px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.navigation-box a {
    color: #fff4fa;
    text-decoration: none;
    font-size: 15px;
    padding: 3px 8px;
    filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.7));
    border-radius: 6px;
    transition:
        color 0.2s,
        background 0.2s,
        transform 0.2s;
}

.navigation-box a:hover {
    color: #fff4fa;
    background: rgba(255, 255, 255, 0.10);
    transform: translateY(-1px);
}

.nav-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.nav-row span {
    color: #fff4fa;
}

/* text selection */

::selection {
    background: rgba(255, 95, 170, 0.25);
    color: #fff4fa;
}

::-moz-selection {
    background: rgba(255, 95, 170, 0.25);
    color: #fff4fa;
}

/* location */

.location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
    color: #f3a3cf;
    font-size: 11px;
}

.location-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* links */

.links {
    width: 100%;
    max-width: 420px;
    margin: 25px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0;
}

.link-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #fff9fd;
}

.link-item img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.link-item:hover img {
    transform: scale(1.12);
}

.link-item span {
    margin-top: 7px;
    font-size: 15px;
    filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.7));
    -webkit-filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.7));
    text-align: center;
}

/* description */

.description {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 42px;
    margin-top: 3px;
    overflow: hidden;
    color: #fff5fa;
}

.love-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
    margin-bottom: 2px;
}

.love-texts {
    position: relative;
    width: 120px;
    height: 18px;
    flex-shrink: 0;
}

.love-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f3a3cf;
    font-size: 11px;
    opacity: 0;
    transition: opacity 2s ease;
}

.love-text.active {
    opacity: 1;
}

/* visitor count */

.visitor-count {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 18px;
    color: #f3a3cf;
    font-size: 11px;
    filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.5));
    -webkit-filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.5));
}

.visitor-count img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

#visitor-number {
    min-width: 10px;
    text-align: center;
}