* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #0a0a0a;
    background-image: url('../assets/pattern.svg');
    /* Adjust background size depending on the specific pattern SVG density */
    background-size: 600px;
    background-repeat: repeat;
    background-position: center;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.card {
    background: #1f1f1f;
    /* optional: adding a slight blur if the background is completely distinct,
       but mostly it acts as a solid color rounded card */
    border-radius: 24px;
    padding: 48px 32px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile {
    text-align: center;
    margin-bottom: 32px;
}

.avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 2px solid transparent;
    /* Keeps space or could be used for colored ring */
}

.name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.2px;
}

.subtitle {
    font-size: 14px;
    color: #a3a3a3;
    line-height: 1.4;
    font-weight: 400;
}

.links {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px;
    border-radius: 100px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(0);
    box-shadow: none;
}

.icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Button specific colors */
.btn-max {
    background: linear-gradient(90deg, #44CCFF 0%, #5533EE 66%, #9933DD 100%);
}

.btn-tg {
    background-color: #27A1E6;
}

.btn-vk {
    background-color: #2787F5;
}

.btn-wa {
    background-color: #46C756;
}

.email-info {
    margin-top: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.email-label {
    font-size: 12px;
    font-weight: 700;
    color: #a3a3a3;
    letter-spacing: 1px;
}

.email-link {
    font-size: 15px;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.email-link:hover {
    opacity: 0.8;
}

/* Media query for very small screens */
@media (max-width: 380px) {
    .card {
        padding: 32px 20px;
    }

    .name {
        font-size: 20px;
    }

    .btn {
        padding: 14px;
        font-size: 13px;
    }
}