/* styles.css — Современный технологичный дизайн для Telegram WebApp */

.subscribe-container {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    width: 100%;
}

.subscribe-btn {
    position: relative;
    display: block;
    width: 100%;
    max-width: 340px;
    padding: 18px 32px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #ffffff;
    background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
    border: none;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 
        0 10px 30px -10px rgba(99, 102, 241, 0.6),
        0 0 0 1px rgba(255,255,255,0.1) inset;
    text-transform: uppercase;
}

.subscribe-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 
        0 20px 40px -15px rgba(168, 85, 247, 0.7),
        0 0 0 1px rgba(255,255,255,0.2) inset;
}

.subscribe-btn:active {
    transform: translateY(1px) scale(0.98);
}

.btn-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(255,255,255,0.35) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.6s ease;
    filter: blur(12px);
    pointer-events: none;
}

.subscribe-btn:hover .btn-glow {
    opacity: 1;
    transform: translate(80%, 80%);
    animation: pulse-glow 2s infinite alternate;
}

.btn-text {
    position: relative;
    z-index: 2;
}

.subscribe-btn::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #c084fc, #67e8f9, #f472b6);
    border-radius: 18px;
    z-index: -1;
    opacity: 0.4;
    filter: blur(8px);
    transition: opacity 0.4s ease;
}

.subscribe-btn:hover::before {
    opacity: 0.8;
}

@keyframes pulse-glow {
    from { opacity: 0.6; }
    to { opacity: 1; }
}

/* Адаптация под мобильные устройства Telegram WebApp */
@media (max-width: 480px) {
    .subscribe-btn {
        font-size: 17px;
        padding: 16px 28px;
        border-radius: 14px;
        max-width: 100%;
    }
}
