* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: #ffffff;
}

.container {
    max-width: 414px;
    width: 100%;
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile {
    text-align: center;
    margin-bottom: -40px;
}

.profile-image {
    width: 200px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #CDDC39;
}

.profile p {
    font-size: 16px;
    color: #b0b0b0;
    line-height: 1.5;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.link-item {
    background: rgba(42, 42, 42, 0.6);
    border: 2px solid #2a2a2a;
    border-radius: 16px;
    padding: 20px;
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(205, 220, 57, 0.1), transparent);
    transition: left 0.5s ease;
}

.link-item:hover::before {
    left: 100%;
}

.link-item:hover {
    background: rgba(205, 220, 57, 0.15);
    border-color: #CDDC39;
    color: #CDDC39;
    text-shadow: #CDDC39 0 0 5px;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(205, 220, 57, 0.25);
}

.link-item:active {
    transform: translateY(-2px);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(42, 42, 42, 0.6);
    border: 2px solid #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #CDDC39;
    border-color: #CDDC39;
    color: #0a0a0a;
    transform: translateY(-4px) rotate(5deg);
    box-shadow: 0 8px 16px rgba(205, 220, 57, 0.3);
}

.footer {
    text-align: center;
    margin-top: 40px;
    color: #666;
    font-size: 14px;
}

.count-players {
    cursor: default;
    justify-content: center;
    width: 100%;
    font-size: 12px;
    margin-bottom: 10px;
    margin-top: 10px;
    text-align: center;
    color: #808080
}

@media (max-width: 640px) {
    .profile h1 {
        font-size: 24px;
    }

    /*.profile-image {*/
    /*    width: 100px;*/
    /*    height: 100px;*/
    /*}*/

    .link-item {
        padding: 18px;
        font-size: 15px;
    }
}

/* width */
::-webkit-scrollbar {
    width: 6px;
    z-index: 999;
}

/* Track */
::-webkit-scrollbar-track {
    background: var(--color-bg);
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--color-text-secondary);
    border-radius:50px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #CDDC39;
}

::-moz-selection { /* Code for Firefox */
    color: #CDDC39;
    background: var(--color-bg-secondary);
}

::selection {
    color: #CDDC39;
    background: var(--color-bg-secondary);
}

.icon-players {
    transition: ease 1s all;
}

.icon-players.online {
    color: #CDDC39;
    text-shadow: #CDDC39 0 0 5px;
}

.icon-players.offline {
    color: #ef4343;
    text-shadow: #ef4343 0 0 5px;
}

.count-players svg {
    width: 20px;
}