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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #ffffff;
    color: #222;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.telegram-header {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    padding: 0 32px;
    border-bottom: 1px solid #eeeeee;
    background: #ffffff;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #229ED9;
    font-size: 22px;
    font-weight: 600;
}

.telegram-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #229ED9;
    display: flex;
    justify-content: center;
    align-items: center;
}

.telegram-logo svg {
    width: 21px;
    height: 21px;
    fill: white;
    transform: translateX(-1px);
}

nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 40px;
}

nav a {
    text-decoration: none;
    color: #3c3c3c;
    font-size: 15px;
    transition: 0.2s;
}

nav a:hover {
    color: #229ED9;
}

.main-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

.profile-card {
    width: 100%;
    max-width: 430px;
    text-align: center;
}

.profile-image {
    width: 160px;
    height: 160px;
    background: #000;
    border-radius: 50%;
    margin: 0 auto 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.08);
}

.logo-text {
    color: white;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo-text .red {
    color: #ed1c24;
}

.profile-card h1 {
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 6px;
}

.username {
    color: #229ED9;
    font-size: 16px;
    margin-bottom: 20px;
}

.description {
    color: #707579;
    font-size: 15px;
    line-height: 1.6;
    max-width: 350px;
    margin: 0 auto 30px;
}

.telegram-button {
    border: none;
    background: #229ED9;
    color: white;
    min-width: 230px;
    padding: 15px 28px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s ease;
    box-shadow: 0 5px 15px rgba(34, 158, 217, 0.20);
}

.telegram-button svg {
    fill: white;
    width: 20px;
    height: 20px;
}

.telegram-button:hover {
    background: #168ac4;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34, 158, 217, 0.3);
}

.telegram-button:active {
    transform: scale(0.98);
}

.secondary-link {
    margin-top: 28px;
}

.secondary-link a {
    text-decoration: none;
    color: #707579;
    font-size: 14px;
}

.secondary-link a:hover {
    color: #229ED9;
}

footer {
    border-top: 1px solid #eeeeee;
    min-height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #999;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 35px;
    transform: translateX(-50%) translateY(30px);
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 11px 20px;
    border-radius: 8px;
    font-size: 13px;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
    .telegram-header {
        padding: 0 20px;
        height: 70px;
    }

    nav {
        display: none;
    }

    .brand {
        font-size: 20px;
    }

    .profile-image {
        width: 140px;
        height: 140px;
    }

    .main-container {
        padding: 40px 20px;
    }

    .profile-card h1 {
        font-size: 23px;
    }
}

@media (max-width: 420px) {
    .telegram-button {
        width: 100%;
    }

    .profile-image {
        width: 125px;
        height: 125px;
    }
}
