/* Promotion Cards Customization for PROMOTIONS.php */
.promo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.promo:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.promo-content {
    flex: 1;
    z-index: 2;
}

.promo-content h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.promo-content strong {
    font-size: 46px;
    color: var(--gold);
    line-height: 1.1;
    display: block;
    margin: 4px 0 6px;
    font-weight: 900;
}

.promo-content p {
    font-weight: 600;
    font-size: 14px;
    color: #c7d2d8;
    margin: 0 0 16px;
    max-width: 500px;
    line-height: 1.4;
}

.promo-content .btn.gold {
    display: inline-block;
    border: none;
}

.promo-banner {
    flex: 0 0 320px;
    max-width: 320px;
    z-index: 2;
}

.promo-banner img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(245, 189, 50, 0.28);
    box-shadow: 0 4px 18px rgba(0,0,0,0.5);
    display: block;
    transition: transform 0.3s ease;
}

.promo:hover .promo-banner img {
    transform: scale(1.02);
}

/* Gradients matching index.php section 03 */
.promo.welcome {
    background: linear-gradient(90deg, #0b151b, #221a0e);
    border-color: #755b1c;
}

.promo.reload {
    background: linear-gradient(90deg, #0b151b, #291d0b);
    border-color: #8c631a;
}

.promo.cashback {
    background: linear-gradient(90deg, #0b151b, #182612);
    border-color: #3b6b23;
}

.promo.mystery {
    background: linear-gradient(90deg, #0b151b, #21132a);
    border-color: #6a3482;
}

.promo.friend {
    background: linear-gradient(90deg, #0b151b, #10242e);
    border-color: #24586d;
}

/* Responsive */
@media (max-width: 768px) {
    .promo {
        flex-direction: column-reverse;
        align-items: flex-start;
        padding: 20px;
    }
    .promo-banner {
        flex: auto;
        max-width: 100%;
        width: 100%;
    }
    .promo-banner img {
        height: auto;
        max-height: 200px;
    }
}

/* Skeleton Loader matching Dark Theme */
.skeleton-card {
    background: #0c151b;
    border: 1px solid #24343f;
    border-radius: 11px;
    min-height: 160px;
    padding: 24px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    overflow: hidden;
}

.skeleton {
    background: #111e27;
    background-image: linear-gradient(
        90deg,
        #111e27 0px,
        #1a2b37 40px,
        #111e27 80px
    );
    background-size: 600px;
    animation: shine 1.2s infinite linear;
    border-radius: 6px;
}

@keyframes shine {
    0% { background-position: -200px 0; }
    100% { background-position: 200px 0; }
}

.skeleton-content {
    flex: 1;
}

.skeleton-title {
    height: 18px;
    width: 180px;
    margin-bottom: 12px;
}

.skeleton-val {
    height: 40px;
    width: 120px;
    margin-bottom: 12px;
}

.skeleton-desc {
    height: 14px;
    width: 80%;
    margin-bottom: 18px;
}

.skeleton-btn {
    height: 38px;
    width: 130px;
    border-radius: 9px;
}

.skeleton-banner {
    flex: 0 0 320px;
    height: 155px;
    border-radius: 10px;
}

/* Luxury Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1050;
    display: none;
    overflow-x: hidden;
    overflow-y: auto;
    background: rgba(4, 8, 11, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 20px;
}

.modal.show {
    display: block;
}

.modal-dialog {
    max-width: 680px;
    margin: 60px auto;
    position: relative;
}

.modal-content {
    background: #0d171e;
    border: 1px solid #755b1c;
    border-radius: 14px;
    box-shadow: 0 16px 45px rgba(0,0,0,0.85);
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 22px;
    border-bottom: 1px solid #24343f;
    background: #0a1117;
}

.modal-title {
    margin: 0;
    font-size: 19px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 0.5px;
}

.modal-header .close {
    background: none;
    border: none;
    font-size: 28px;
    color: #ffd45a;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s ease, color 0.2s ease;
}

.modal-header .close:hover {
    color: #fff;
    transform: scale(1.15);
}

.modal-body {
    padding: 22px;
}

.modal-img-wrap img {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(245, 189, 50, 0.25);
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
    margin-bottom: 18px;
    display: block;
}

.modal-text h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
}

.modal-text p {
    color: #c7d2d8;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.modal-footer {
    padding: 14px 22px;
    border-top: 1px solid #24343f;
    text-align: right;
    background: #0a1117;
}
