*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    min-height: 100%;
}
body {
    font-family:
        "Inter",
        system-ui,
        -apple-system,
        sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    color: #fff;
    background: #0c0b06;
    background-image: url("../img/bg.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(12, 11, 6, 0.3) 0%,
        rgba(12, 11, 6, 0.85) 100%
    );
    z-index: 0;
}
.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    padding: 48px 24px 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    margin-bottom: 4px;
    flex-shrink: 0;
}
.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.name {
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-align: center;
    text-transform: uppercase;
}
.bio {
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    color: rgba(255, 255, 255, 0.65);
    max-width: 340px;
    margin-bottom: 8px;
}
.links {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}
@media (min-width: 768px) {
    .links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .link-btn {
        width: calc(33.333% - 8px);
        min-width: 0;
    }
}
.link-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    border-radius: 40px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        filter 0.18s ease;
    position: relative;
    overflow: hidden;
}
.link-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.12) 0%,
        transparent 60%
    );
    pointer-events: none;
}
.link-btn:hover {
    transform: translateY(-2px) scale(1.015);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
    filter: brightness(1.15);
}
.link-btn:active {
    transform: translateY(0) scale(0.98);
}
.link-icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.link-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}
.link-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.link-title {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
}
.link-subtitle {
    font-weight: 400;
    font-size: 0.78rem;
    line-height: 1.3;
    opacity: 0.75;
}
.bg-telegram {
    background: #1098ad;
}
.bg-twitch {
    background: #5f3dc4;
}
.bg-youtube {
    background: #fa5252;
}
.bg-vk {
    background: #364fc7;
}
.bg-discord {
    background: #1864ab;
}
.bg-boosty {
    background: #f4511e;
}
.bg-donate {
    background: #ff922b;
}
.bg-memealerts {
    background: #7c3aed;
}
.bg-tiktok {
    background: #010101;
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.bg-fetta {
    background: #e8590c;
}

.divider {
    width: 60px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin: 8px 0 4px;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.container > * {
    animation: fadeUp 0.5s ease both;
}
.links .link-btn:nth-child(1) {
    animation-delay: 0.1s;
}
.links .link-btn:nth-child(2) {
    animation-delay: 0.15s;
}
.links .link-btn:nth-child(3) {
    animation-delay: 0.2s;
}
.links .link-btn:nth-child(4) {
    animation-delay: 0.25s;
}
.links .link-btn:nth-child(5) {
    animation-delay: 0.3s;
}
.links .link-btn:nth-child(6) {
    animation-delay: 0.35s;
}
.links .link-btn:nth-child(7) {
    animation-delay: 0.4s;
}
.links .link-btn:nth-child(8) {
    animation-delay: 0.45s;
}
.links .link-btn:nth-child(9) {
    animation-delay: 0.5s;
}
.links .link-btn:nth-child(10) {
    animation-delay: 0.55s;
}
.links .link-btn:nth-child(11) {
    animation-delay: 0.6s;
}

@media (max-width: 380px) {
    .container {
        padding: 36px 16px 48px;
    }
    .name {
        font-size: 1.4rem;
    }
    .link-btn {
        padding: 12px 16px;
    }
}
@media (min-width: 768px) {
    .container {
        max-width: 840px;
    }
}
