:root {
    --primary-color: #2481cc;
    --primary-hover: #1c71b3;
    --text-color: #ffffff;
    --text-secondary: #aaaaaa;
    --bg-gradient: linear-gradient(135deg, #2c3e50, #000000);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: #7eae8b;
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

body::before {
    content: "";
    width: 100vw;
    height: 100vh;
    background: url('./tg-default-bg.svg');
    background-position: 50%;
    background-size: 420px auto;
    opacity: .3;
    position: fixed;
    top: 0;
    left: 0;
    mix-blend-mode: soft-light;
    pointer-events: none;
    z-index: 0;
}


/* Header */
.header {
    width: 100%;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
    background-color: #e8f1eb;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(36, 129, 204, 0.3);
}

.download-btn:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 4px 12px rgba(36, 129, 204, 0.4);
}

/* Main area */
.container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 400px;
    padding: 20px;
    z-index: 1;
}

.profile-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    animation: fadeIn 0.8s ease-out;
    background: white;
    color: #000;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.avatar-container {
    margin-bottom: 20px;
    display: inline-block;
}

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(45deg, #fdc830, #f37335);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 36px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-initials {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.members {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #707579;
    margin-bottom: 12px;
}

.members::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #4dcd5e;
    flex-shrink: 0;
}

.description {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.5;
}

.cta-button {
    display: block;
    width: 100%;
    padding: 14px 20px;
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border: none;
    cursor: pointer;
    border-radius: 12px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(36, 129, 204, 0.3);
}

.cta-button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(36, 129, 204, 0.4);
}

.cta-button:active {
    transform: translateY(0);
}

@media (max-width: 480px) {
    .container {
        max-width: 100%;
    }
}