:root {
    --bg-color: #050505;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-hover: rgba(255, 255, 255, 0.1);
    --text-main: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.5);
    --border: rgba(255, 255, 255, 0.1);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Montserrat', sans-serif;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

#stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at center, #1a1a1a, #050505 80%);
}

.container {
    width: 100%;
    max-width: 400px;
    padding: 60px 24px;
    text-align: center;
}

.profile-header {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s forwards;
    margin-bottom: 40px;
}

.profile-img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
}

.profile-img:hover {
    transform: scale(1.03);
    border-color: rgba(255, 255, 255, 0.3);
}

.avatar-pulse {
    animation: pop 0.4s ease-out;
}

@keyframes pop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.9);
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    }

    100% {
        transform: scale(1);
    }
}

h1 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
    letter-spacing: 1.5px;
    white-space: nowrap;
}

.intro-text {
    font-size: 13px;
    font-weight: 300;
    color: var(--text-secondary);
    margin: 16px 0 10px;
    line-height: 1.6;
}

h2 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 60px;
    margin-bottom: 20px;
    color: var(--text-main);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.cooperation-text {
    font-size: 13px;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.links-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-main);
    text-decoration: none;
    padding: 20px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid var(--border);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.6s forwards;
    display: block;
}

.link-card:hover {
    background: var(--card-hover);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.02);
}

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

.final-logo {
    max-width: 150px;
    margin: 50px auto 20px;
    display: block;
    opacity: 0.5;
}

.footer {
    margin-top: 60px;
    font-size: 10px;
    font-weight: 300;
    color: var(--text-secondary);
    letter-spacing: 2px;
    opacity: 0.5;
}

#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--text-main);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

#back-to-top svg {
    width: 20px;
    height: 20px;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background: var(--card-hover);
    transform: translateY(-5px);
}