/*
 * Premium CTA styles
 * Used by: Front.Components.navbar, Front.Components.auth-modal
 */

/* Upgrade to Premium CTA - navbar */
.btn-navbar.btn-premium {
    background: linear-gradient(135deg, #F5A623 0%, #E8890C 100%) !important;
    color: #fff !important;
    border: 2px solid transparent !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 12px rgba(245, 166, 35, 0.35);
    animation: premiumPulse 2.4s ease-in-out infinite;
}
.btn-navbar.btn-premium i {
    color: #fff;
}
.btn-navbar.btn-premium:hover {
    background: linear-gradient(135deg, #E8890C 0%, #D97706 100%) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 166, 35, 0.5);
    animation-play-state: paused;
}
@keyframes premiumPulse {
    0%, 100% { box-shadow: 0 2px 12px rgba(245, 166, 35, 0.35); }
    50% { box-shadow: 0 2px 18px rgba(245, 166, 35, 0.7); }
}

/* My Plan (already premium) - navbar */
.btn-navbar.btn-my-plan {
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%) !important;
    color: #F5A623 !important;
    border: 1px solid rgba(245, 166, 35, 0.5) !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}
.btn-navbar.btn-my-plan i {
    color: #F5A623;
}
.btn-navbar.btn-my-plan:hover {
    background: linear-gradient(135deg, #111827 0%, #1F2937 100%) !important;
    color: #FFC155 !important;
    border-color: rgba(245, 166, 35, 0.8) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* Upgrade to Premium CTA - mobile menu */
.mobile-menu-btn.btn-premium-mobile {
    background: linear-gradient(135deg, #F5A623 0%, #E8890C 100%) !important;
    color: #fff !important;
    border: none !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 12px rgba(245, 166, 35, 0.35);
}
.mobile-menu-btn.btn-premium-mobile:hover {
    background: linear-gradient(135deg, #E8890C 0%, #D97706 100%) !important;
    color: #fff !important;
}

/* My Plan (already premium) - mobile menu */
.mobile-menu-btn.btn-my-plan-mobile {
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%) !important;
    color: #F5A623 !important;
    border: 1px solid rgba(245, 166, 35, 0.5) !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}
.mobile-menu-btn.btn-my-plan-mobile:hover {
    background: linear-gradient(135deg, #111827 0%, #1F2937 100%) !important;
    color: #FFC155 !important;
}

/* Premium plans teaser - auth modal (login/register) */
.auth-plans-teaser {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 11px 16px;
    border-radius: 10px;
    background: linear-gradient(135deg, #F5A623 0%, #E8890C 55%, #D97706 100%);
    background-size: 200% 200%;
    border: none;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(232, 137, 12, 0.4);
    animation: authPlansGradient 3s ease infinite, authPlansGlow 2.2s ease-in-out infinite;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.auth-plans-teaser::before {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.55) 50%, transparent 100%);
    transform: skewX(-20deg);
    animation: authPlansShimmer 2.8s ease-in-out infinite;
}
.auth-plans-teaser-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    animation: authPlansCrownBounce 1.6s ease-in-out infinite;
}
.auth-plans-teaser-icon i {
    color: #fff;
    font-size: 12px;
}
.auth-plans-teaser-text {
    flex: 1;
    font-weight: 500;
    line-height: 1.3;
    text-align: left;
}
.auth-plans-teaser-text strong {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.auth-plans-teaser-arrow {
    flex-shrink: 0;
    font-size: 12px;
    transition: transform 0.25s ease;
}
.auth-plans-teaser:hover {
    color: #fff;
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 8px 22px rgba(232, 137, 12, 0.55);
}
.auth-plans-teaser:hover .auth-plans-teaser-arrow {
    transform: translateX(4px);
}
@keyframes authPlansShimmer {
    0% { left: -60%; }
    45%, 100% { left: 130%; }
}
@keyframes authPlansCrownBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-2px) rotate(-8deg); }
}
@keyframes authPlansGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
@keyframes authPlansGlow {
    0%, 100% { box-shadow: 0 4px 16px rgba(232, 137, 12, 0.4); }
    50% { box-shadow: 0 4px 22px rgba(232, 137, 12, 0.7); }
}

@media (prefers-reduced-motion: reduce) {
    .btn-navbar.btn-premium,
    .auth-plans-teaser,
    .auth-plans-teaser::before,
    .auth-plans-teaser-icon {
        animation: none;
    }
}
