

@keyframes panel-tg-shine-pulse {
    0%,
    100% {
        opacity: 0.28;
    }
    50% {
        opacity: 0.55;
    }
}

.panel-tg-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: inherit;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.2;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #fff !important;
    text-decoration: none !important;
    background: linear-gradient(145deg, #24b1e9 0%, #0088cc 42%, #006fa3 100%);
    box-shadow:
        0 4px 22px rgba(0, 136, 204, 0.42),
        0 0 32px rgba(56, 189, 248, 0.16);
    transition:
        box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        filter 0.28s ease;
    box-sizing: border-box;
}

.panel-tg-cta:focus {
    outline: none;
}

.panel-tg-cta:focus-visible {
    outline: 2px solid rgba(125, 211, 252, 0.75);
    outline-offset: 2px;
}

.panel-tg-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.26), transparent 55%);
    opacity: 0.35;
    pointer-events: none;
    animation: panel-tg-shine-pulse 3.8s ease-in-out infinite;
}

.panel-tg-cta:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow:
        0 12px 40px rgba(0, 136, 204, 0.52),
        0 0 56px rgba(125, 211, 252, 0.24);
}

.panel-tg-cta:hover::before {
    animation: none;
    opacity: 0.72;
}

.panel-tg-cta:active {
    transform: translateY(0);
    box-shadow:
        0 4px 18px rgba(0, 136, 204, 0.45),
        0 0 28px rgba(56, 189, 248, 0.14);
}

.panel-tg-cta:active::before {
    opacity: 0.5;
}

.panel-tg-cta > * {
    position: relative;
    z-index: 1;
}

.panel-tg-cta__icon {
    flex: 0 0 auto;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    line-height: 1;
}

.panel-tg-cta--block {
    width: 100%;
}

.panel-tg-cta--compact {
    width: auto;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    gap: 0.4rem;
}

.panel-tg-cta--compact .panel-tg-cta__icon {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.95rem;
}

.panel-tg-cta--modal {
    width: 100%;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
}


body.auth-page .auth-btn.panel-tg-cta,
body.auth-page .auth-btn.panel-tg-cta::before {
    transition:
        box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        filter 0.28s ease,
        opacity 0.3s ease;
}


body.auth-page .auth-btn.panel-tg-cta {
    width: 100%;
    padding: 0.8125rem 1.25rem;
    font-size: 0.9375rem;
}

body.auth-page .auth-btn.panel-tg-cta::before {
    animation: panel-tg-shine-pulse 3.8s ease-in-out infinite;
}

body.auth-page .auth-btn.panel-tg-cta:hover,
body.auth-page .auth-btn.panel-tg-cta:focus:hover {
    box-shadow:
        0 12px 40px rgba(0, 136, 204, 0.52),
        0 0 56px rgba(125, 211, 252, 0.24) !important;
    filter: brightness(1.06);
}

body.auth-page .auth-btn.panel-tg-cta:hover::before {
    animation: none;
    opacity: 0.72;
}

body.auth-page .auth-btn.panel-tg-cta:active {
    box-shadow:
        0 4px 18px rgba(0, 136, 204, 0.45),
        0 0 28px rgba(56, 189, 248, 0.14) !important;
}

body.auth-page .auth-btn.panel-tg-cta:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    filter: none;
    box-shadow: none !important;
    animation: none;
}

body.auth-page .auth-btn.panel-tg-cta:disabled::before {
    animation: none;
    opacity: 0.25;
}

@media (prefers-reduced-motion: reduce) {
    .panel-tg-cta::before,
    body.auth-page .auth-btn.panel-tg-cta::before {
        animation: none;
        opacity: 0.4;
    }

    .panel-tg-cta:hover,
    body.auth-page .auth-btn.panel-tg-cta:hover {
        transform: none;
    }
}
