* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
    height: 100vh;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--tg-theme-bg-color, #1a1a1a);
    color: var(--tg-theme-text-color, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
}

#eng {
    width: 100%;
    height: 100vh;
    background-image: url(bg1.svg);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

#card {
    width: 90%;
    max-width: 370px;
    padding: 30px 20px;
    border-radius: 16px;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

#photo {
    width: 122px;
    height: 122px;
    border-radius: 50%;
    background-image: url(chanel_photo.jpg);
    background-size: cover;
    background-position: center;
    border: 3px solid #15649c;
}

#chanel_name {
    text-align: center;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#chanel_name span:first-child {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
}

.subscribers {
    font-size: 14px;
    font-weight: 300;
    color: rgb(179, 179, 179);
}

#status {
    margin-top: 20px;
    text-align: center;
    min-height: 24px;
}

.loading {
    color: #64b5ef;
    font-size: 14px;
    animation: pulse 1.5s infinite;
}

.success {
    color: #4CAF50;
    font-size: 14px;
}

.error {
    color: #f44336;
    font-size: 14px;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

#telegramBtn {
    width: 200px;
    height: 48px;
    margin-top: 24px;
    border: none;
    border-radius: 24px;
    font-size: 15px;
    font-weight: bold;
    color: #FFF;
    background-color: #15649c;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#telegramBtn:hover {
    background-color: #1a75b5;
    transform: scale(1.02);
}

#telegramBtn:active {
    transform: scale(0.98);
}

#telegramBtn:disabled {
    background-color: #555;
    cursor: not-allowed;
}

.shine {
    background-image: linear-gradient(270deg, rgba(100, 181, 239, 0) 48.44%, #64b5ef 75.52%, rgba(100, 181, 239, 0) 100%);
    background-repeat: no-repeat;
    animation: bg-move linear 5s infinite;
}

@keyframes bg-move {
    0% { background-position: -500px 0; }
    100% { background-position: 500px 0; }
}
