.btn-animated {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    letter-spacing: 0.3px;
    padding: 0 24px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 50%, #6366f1 100%);
    color: #ffffff !important;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.08),
        0 8px 20px -4px rgba(37, 99, 235, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -2px 0 rgba(0, 0, 0, 0.15);
    transform: perspective(600px) translateZ(0);
    transition: 
        transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
        background 0.3s ease,
        border-color 0.3s ease;
    isolation: isolate;
}

.btn-block.btn-animated {
    display: flex;
    width: 100%;
}

/* 3D hover lift & vibrant shadow */
.btn-animated:hover {
    transform: perspective(600px) translateY(-3px) scale(1.02);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.12),
        0 14px 28px -4px rgba(59, 130, 246, 0.6),
        0 0 20px rgba(99, 102, 241, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-animated:active {
    transform: perspective(600px) translateY(1px) scale(0.98);
    box-shadow: 
        0 2px 6px rgba(0, 0, 0, 0.15),
        0 6px 14px -2px rgba(37, 99, 235, 0.5),
        inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Shimmer beam effect across the button */
.btn-animated::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.35) 50%,
        transparent 100%
    );
    transform: skewX(-25deg);
    transition: left 0.75s ease;
    z-index: 1;
    pointer-events: none;
}

.btn-animated:hover::before {
    left: 140%;
}

/* Original label */
.btn-animated .ba-label {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.4s cubic-bezier(0.34, 1.25, 0.64, 1), opacity 0.3s ease;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

/* Reveal label (3 أيام مجانا ثم 600DA / 3 Days Free then 600DA) */
.btn-animated .ba-reveal {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.2px;
    padding: 0 12px;
    color: #ffffff;
    background: linear-gradient(135deg, #059669 0%, #10b981 50%, #14b8a6 100%);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(100%) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.34, 1.25, 0.64, 1), opacity 0.3s ease;
    border-radius: 11px;
}

/* On hover: slide out label and slide in reveal text */
.btn-animated:hover .ba-label {
    transform: translateY(-130%) scale(0.9);
    opacity: 0;
}

/* If no ba-reveal is present, keep label visible and elevated on hover */
.btn-animated.no-reveal:hover .ba-label,
.btn-animated:not(:has(.ba-reveal)):hover .ba-label {
    transform: none !important;
    opacity: 1 !important;
}

.btn-animated:hover .ba-reveal {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Frame overlay */
.btn-animated .ba-frame {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.25);
    pointer-events: none;
    z-index: 3;
}


        .pricing-card .premium-star-btn {
            position: relative;
            overflow: visible !important;
            padding: 12px 35px;
            min-height: 0;
            background: #fec195 !important;
            font-size: 17px;
            font-weight: 500;
            color: #181818 !important;
            border: 3px solid #fec195 !important;
            border-radius: 8px !important;
            box-shadow: 0 0 0 #fec1958c !important;
            transition: all 0.3s ease-in-out !important;
            cursor: pointer;
        }
        .pricing-card .premium-star-btn::before { content: none !important; }
        .pricing-card .premium-star-btn .ba-frame { display: none !important; }
        .pricing-card .premium-star-btn:hover {
            background: transparent !important;
            color: #fec195 !important;
            box-shadow: 0 0 25px #fec1958c !important;
            transform: none !important;
        }
        .pricing-card .premium-star-btn:hover .ba-label { display: none !important; }
        .pricing-card .premium-star-btn .premium-star-label {
            position: relative;
            z-index: 2;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            line-height: 1;
        }
        .pricing-card .premium-star-btn .ba-label { color: #181818 !important; text-shadow: none; }
        .pricing-card .premium-star-btn .label-default { display: inline; }
        .pricing-card .premium-star-btn:hover .label-default { display: none; }
        .pricing-card .premium-star-btn .label-hover { display: none; }
        .pricing-card .premium-star-btn:hover .label-hover { display: inline; }

        .pricing-card .premium-star-btn .star-1,
        .pricing-card .premium-star-btn .star-2,
        .pricing-card .premium-star-btn .star-3,
        .pricing-card .premium-star-btn .star-4,
        .pricing-card .premium-star-btn .star-5,
        .pricing-card .premium-star-btn .star-6 {
            position: absolute;
            z-index: -5;
            height: auto;
            filter: drop-shadow(0 0 0 rgba(255, 207, 92, 0));
            transition: all 1s cubic-bezier(0.05, 0.83, 0.43, 0.96);
            pointer-events: none;
        }
        .pricing-card .premium-star-btn .star-1 { top: 20%; left: 20%; width: 25px; }
        .pricing-card .premium-star-btn .star-2 { top: 45%; left: 45%; width: 15px; transition: all 1s cubic-bezier(0, 0.4, 0, 1.01); }
        .pricing-card .premium-star-btn .star-3 { top: 40%; left: 40%; width: 5px; transition: all 1s cubic-bezier(0, 0.4, 0, 1.01); }
        .pricing-card .premium-star-btn .star-4 { top: 20%; left: 40%; width: 8px; transition: all 0.8s cubic-bezier(0, 0.4, 0, 1.01); }
        .pricing-card .premium-star-btn .star-5 { top: 25%; left: 45%; width: 15px; transition: all 0.6s cubic-bezier(0, 0.4, 0, 1.01); }
        .pricing-card .premium-star-btn .star-6 { top: 5%; left: 50%; width: 5px; transition: all 0.8s ease; }

        .pricing-card .premium-star-btn:hover .star-1 { top: -80%; left: -30%; width: 25px; filter: drop-shadow(0 0 10px rgba(255, 207, 92, 0.95)); z-index: 2; }
        .pricing-card .premium-star-btn:hover .star-2 { top: -25%; left: 10%; width: 15px; filter: drop-shadow(0 0 10px rgba(255, 207, 92, 0.95)); z-index: 2; }
        .pricing-card .premium-star-btn:hover .star-3 { top: 55%; left: 25%; width: 5px; filter: drop-shadow(0 0 10px rgba(255, 207, 92, 0.95)); z-index: 2; }
        .pricing-card .premium-star-btn:hover .star-4 { top: 30%; left: 80%; width: 8px; filter: drop-shadow(0 0 10px rgba(255, 207, 92, 0.95)); z-index: 2; }
        .pricing-card .premium-star-btn:hover .star-5 { top: 25%; left: 115%; width: 15px; filter: drop-shadow(0 0 10px rgba(255, 207, 92, 0.95)); z-index: 2; }
        .pricing-card .premium-star-btn:hover .star-6 { top: 5%; left: 60%; width: 5px; filter: drop-shadow(0 0 10px rgba(255, 207, 92, 0.95)); z-index: 2; }

        .pricing-card .premium-star-btn .fil0 { fill: #ffcf5c; }
    
.btn-select.btn-animated{width:100%;font-family:inherit;margin-top:auto}.btn-animated:disabled{opacity:.65;cursor:wait}
@media(prefers-reduced-motion:reduce){.btn-animated,.btn-animated *{animation:none!important;transition:none!important}}
