﻿




.home-plans-section {
    padding: 80px 0;
    background: #000;
}

.section-title {
    color: gold;
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 10px;
}

.section-subtitle {
    color: #888;
    text-align: center;
    margin-bottom: 50px;
}

/* تعديلات الكارت ليناسب العرض */
.home-card {
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.2);
    background: #111;
    text-align: center;
    margin: 40px;
    padding: 20px;
}

.plan-price-tag {
    margin: 20px 0;
}

    .plan-price-tag .price {
        font-size: 3em;
        font-weight: bold;
        color: #fff;
    }

    .plan-price-tag .currency {
        color: gold;
        display: block;
        font-size: 0.9em;
    }

/* ستايل القائمة */
.plan-features-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    text-align: right;
    width: 100%;
}

    .plan-features-list li {
        color: #ccc;
        margin-bottom: 12px;
        font-size: 0.95em;
    }

        .plan-features-list li i {
            color: gold;
            margin-left: 10px;
        }

        .plan-features-list li.free-gift {
            color: #4CAF50;
            font-weight: bold;
        }

/* زر الاشتراك */
.btn-subscribe {
    background: gold;
    color: #000;
    text-decoration: none;
    padding: 15px;
    width: 100%;
    display: block;
    border-radius: 10px;
    font-weight: bold;
    transition: 0.3s;
}

    .btn-subscribe:hover {
        background: #fff;
        transform: scale(1.05);
    }

/* الـ Badge المخصص */
.badge-featured {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #dc3545; /* أحمر كما طلبت */
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: bold;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.4);
}

/* تمييز الكارت الثاني */
.col-md-4:nth-child(2) .home-card {
    border-color: gold;
    transform: scale(1.05); /* جعل الكارت المتوسط أكبر قليلاً */
    z-index: 2;
    background: #1a1a1a;
}


    /* شعاع اللمعة */
    /*.col-md-4:nth-child(2) .home-card::before {
        content: '';
        position: absolute;
        top: 0;
        right: -150%;
        width: 50%;
        height: 100%;
        background: linear-gradient( to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0) 100% );
        transform: skewX(-25deg);
        transition: 0s;
        z-index: 1;
    }*/

/* تشغيل الأنيميشن تلقائياً كل 3 ثوانٍ */
/*.col-md-4:nth-child(2) .home-card {
    animation: shine-loop 3s infinite;
    overflow: hidden;*/ /* ضروري لقص اللمعة الخارجة عن الحدود */
/*}

@keyframes shine-loop {
    0% {
        left: -150%;
    }

    30%, 100% {
        left: 150%;
    }
}*/

/* تحسين شكل الكارت الذهبي ليكون أكثر بروزاً */
.col-md-4:nth-child(2) .home-card {
    border: 2px solid gold !important;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}

    /* التأكد من أن المحتوى فوق اللمعة */
    .col-md-4:nth-child(2) .home-card * {
        position: relative;
        z-index: 2;
    }




    .col-md-4:nth-child(2) .home-card .btn-subscribe {
        animation: pulse-gold 2s infinite;
    }

@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}