/* =========================================================
   PROMO CARDS - COMPACT PREMIUM
========================================================= */

.promo-card-wrapper {
    margin-bottom: 9px;
}

.promo-card {
    background: #09090b;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    padding: 7px 7px;
    transition: all 0.3s ease;
}

.promo-card:hover {
    transform: translateY(-2px);
}

/* Colors */
.promo-forex {
    border-color: rgba(212, 175, 55, 0.35);
}

.promo-futures {
    border-color: rgba(16, 185, 129, 0.35);
}

.promo-crypto {
    border-color: rgba(59, 130, 246, 0.35);
}

/* Layout */
.promo-layout {
    display: flex;
    align-items: center;
    gap: 18px;
    direction: rtl;
}

/* Discount */
.promo-discount {
    order: 1;
    flex: 0 0 180px;
    height: 85px;
    padding: 14px;
    border-radius: 12px;
    text-align: center;
    color: #000;
}

.promo-forex .promo-discount {
    background: linear-gradient(180deg, #f0cd62 0%, #b8932f 100%);
}

.promo-futures .promo-discount {
    background: linear-gradient(180deg, #34d399 0%, #059669 100%);
    color: #fff;
}

.promo-crypto .promo-discount {
    background: linear-gradient(180deg, #60a5fa 0%, #2563eb 100%);
    color: #fff;
}

.promo-discount-title {
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
}

.promo-discount-badge {
    display: inline-block;
    margin-top: 1px;
    padding: 3px 8px;
    border-radius: 7px;
    background: rgba(0, 0, 0, 0.25);
    font-size: 12px;
    font-weight: 800;
}

/* Company */
.promo-company {
    order: 2;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: right;
}

.promo-logo {
    width: 82px;
    height: 82px;
    border-radius: 10px;
    object-fit: contain;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.promo-forex .promo-logo {
    border-color: rgba(212, 175, 55, 0.35);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.08);
}

.promo-futures .promo-logo {
    border-color: rgba(16, 185, 129, 0.35);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.08);
}

.promo-crypto .promo-logo {
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.08);
}

.promo-company-info h3 {
    color: #fff;
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 6px;
    white-space: nowrap;
}

.promo-company-info p {
    color: #a1a1aa;
    font-size: 14px;
}

/* Actions */
.promo-actions {
    order: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 0;
    margin-left: auto;
    flex-wrap: nowrap;
}

/* من اليمين لليسار داخل مجموعة الأزرار */
.more-offers-btn {
    order: 1;
}

.promo-copy-btn {
    order: 1;
}

.promo-claim-btn {
    order: 3;
}

/* Claim */
.promo-claim-btn {
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.promo-forex .promo-claim-btn {
    background: #d4af37;
    color: #000;
}

.promo-futures .promo-claim-btn {
    background: #10b981;
    color: #fff;
}

.promo-crypto .promo-claim-btn {
    background: #2563eb;
    color: #fff;
}

.promo-claim-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

/* Copy */
.promo-copy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 999px;
    background: #18181b;
    border: 1.5px dashed #7b2bd1;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* More Offers */
.more-offers-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    background: #3a0a23;
    border: 1.5px solid #d61b7f;
    color: #fff;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 0 18px rgba(214, 27, 127, 0.22);
}

.more-offers-btn:hover {
    background: rgba(95, 10, 55, 1);
    border-color: #ff3ea5;
    transform: translateY(-2px);
}

.offer-icon,
.arrow-icon {
    width: 16px;
    height: 16px;
    color: #e94aa7;
}

.extra-offers-wrapper {
    margin-top: 12px;
}

/* =========================================================
   MOBILE VERSION
========================================================= */

@media (max-width: 992px) {
    .promo-card {
        padding: 7px;
        border-radius: 20px;
    }

    .promo-layout {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 18px;
        text-align: center;
        direction: rtl;
    }

    .promo-company {
        order: 1;
        width: 100%;
        flex: none;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 12px;
        text-align: right;
    }

    .promo-logo {
        width: 72px;
        height: 72px;
        flex-shrink: 0;
    }

    .promo-company-info h3 {
        font-size: 22px;
        white-space: normal;
        margin-bottom: 4px;
    }

    .promo-company-info p {
        font-size: 13px;
    }

    .promo-discount {
        order: 2;
        width: 100%;
        max-width: none;
        height: auto;
        flex: none;
        padding: 1px;
        border-radius: 14px;
    }

    .promo-discount-title {
        font-size: 34px;
    }

    .promo-actions {
        order: 3;
        width: 100%;
        margin: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .promo-claim-btn {
        order: 3;
        grid-column: 1 / -1;
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 12px 18px;
    }

    .promo-copy-btn {
        order: 1;
        width: 100%;
    }

    .more-offers-btn {
        order: 2;
        width: 100%;
    }

    .promo-card:not(:has(.more-offers-btn)) .promo-actions {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   EXTRA OFFER CARD
========================================================= */

.extra-offers-wrapper .promo-card {

    background:
        #17181d;

    border:
        1px solid rgba(255,255,255,0.04);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.02);

    opacity: 0.96;
}

/* Forex */

.extra-offers-wrapper .promo-forex {

    border-color:
        rgba(212,175,55,0.14);
}

/* Futures */

.extra-offers-wrapper .promo-futures {

    border-color:
        rgba(16,185,129,0.14);
}

/* Crypto */

.extra-offers-wrapper .promo-crypto {

    border-color:
        rgba(59,130,246,0.14);
}

/* ايقونات الخصم والعرض */

.copy-icon {

    width: 16px;

    height: 16px;

    color: #7b2bd1;

    flex-shrink: 0;
}

/* =========================================
   CARD HOVER EFFECT
========================================= */

.promo-card {

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.promo-card:hover {

    transform:
        translateY(-4px);
}

/* Forex */

.promo-forex:hover {

    border-color:
        #d4af37;

    box-shadow:
        0 10px 30px rgba(212,175,55,0.12);
}

/* Futures */

.promo-futures:hover {

    border-color:
        #10b981;

    box-shadow:
        0 10px 30px rgba(16,185,129,0.12);
}

/* Crypto */

.promo-crypto:hover {

    border-color:
        #3b82f6;

    box-shadow:
        0 10px 30px rgba(59,130,246,0.12);
}

/* أيقونات زر العرض الإضافي */

.offer-icon,
.arrow-icon {

    width: 16px;

    height: 16px;

    color: #e94aa7;

    flex-shrink: 0;

    transition:
        transform 0.3s ease,
        color 0.3s ease;
}

/* Hover */

.more-offers-btn:hover .offer-icon,
.more-offers-btn:hover .arrow-icon {

    color: #ff4db2;
}


/* =========================================================
   New Promo Highlight - Forex Fixed Border + Moving Beam
========================================================= */

@property --new-promo-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.new-promo-card {
    position: relative;
    overflow: hidden;

    border: 1px solid transparent;
    background:
        linear-gradient(#09090b, #09090b) padding-box,
        conic-gradient(
            from var(--new-promo-angle),

            /* حد ثابت خفيف */
            rgba(212, 175, 55, 0.20) 0deg,
            rgba(212, 175, 55, 0.20) 260deg,

            /* الشعاع المتحرك */
            rgba(212, 175, 55, 0.45) 285deg,
            #d4af37 315deg,
            #fff3a3 330deg,
            #d4af37 345deg,

            /* رجوع للحد الثابت */
            rgba(212, 175, 55, 0.20) 360deg
        ) border-box;

    animation: newPromoBorderMove 3s linear infinite;
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.10);
}

@keyframes newPromoBorderMove {
    to {
        --new-promo-angle: 360deg;
    }
}

/* حتى كلمة جديد تكون فوق صورة الشركة */
.new-promo-card .promo-logo {
    position: relative;
}

/* لأن img ما يقبل ::after، نخليها على حاوية الشركة */
.new-promo-card .promo-company {
    position: relative;
}

/* كلمة جديد بحجم مناسب لصورة العروض الصغيرة */
.new-promo-card .promo-company::after {
    content: "جديد";
    position: absolute;
    top: 5px;
    right: 6px;
    z-index: 3;

    background: #d4af37;
    color: #000;
    font-size: 8px;
    font-weight: 900;
    padding: 2px 7px;
    border-radius: 999px;
    line-height: 1.35;

    box-shadow: 0 0 10px rgba(212, 175, 55, 0.45);
}

/* Hover يبقى متناسق مع كروت الفوركس */
.new-promo-card:hover {
    box-shadow:
        0 10px 30px rgba(212, 175, 55, 0.12),
        0 0 22px rgba(212, 175, 55, 0.12);
}

/* موبايل */
@media (max-width: 992px) {
    .new-promo-card .promo-company::after {
        top: 4px;
        right: calc(50% - 42px);
        font-size: 7px;
        padding: 2px 6px;
    }
}