/* 
 * WP PROMO BLOCKS ULTIMATE PRO - STYLE MATCHING onlinekazinoazerbaijan.org
 * VERSION 1.12 - FINAL SPACING & BUTTON WIDTH REFINEMENTS
 */

.wp-promo-u-wrapper,
.wp-promo-u-wrapper * {
    box-sizing: border-box;
}

.wp-promo-u-wrapper {
    margin: 30px 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    line-height: 1.5;
}

/* TOP STATIC BLOCK - Review Card Style */
.wp-promo-u-top {
    background: #ffffff;
    border: 1px solid #e8eef3;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 20px;
}

.wp-promo-u-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

/* Logo Styling */
.wp-promo-u-logo-wrap {
    flex-shrink: 0;
}

.wp-promo-u-logo {
    max-width: 200px;
    height: auto;
    border-radius: 12px;
    display: block;
}

/* Main Content Area (Ratings) */
.wp-promo-u-main {
    flex-grow: 1;
}

.wp-promo-u-overall {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.wp-promo-u-label {
    font-weight: 700;
    font-size: 18px;
    color: #1a1a1a;
}

.wp-promo-u-stars {
    color: #ffb342;
    font-size: 18px;
    letter-spacing: 1px;
}

.wp-promo-u-score {
    font-weight: 800;
    font-size: 18px;
    color: #1a1a1a;
    background: #f0f3f7;
    padding: 2px 8px;
    border-radius: 6px;
}

/* Detailed Ratings Table */
.wp-promo-u-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.wp-promo-u-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #555;
    padding: 4px 0;
    border-bottom: 1px solid #f0f3f7;
}

.wp-promo-u-detail-row:last-child {
    border-bottom: none;
}

.wp-promo-u-val {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    color: #1a1a1a;
}

.wp-promo-u-val::before {
    content: "★";
    color: #ffb342;
}

/* CTA Area */
.wp-promo-u-cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    min-width: 280px; /* Increased for wider button on desktop */
}

.wp-promo-u-gift {
    background: #fdf2e9;
    border: 1px dashed #ff922b;
    border-radius: 10px;
    padding: 12px 15px;
    text-align: center;
    width: 100%;
    position: relative;
}

.wp-promo-u-gift-icon {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-size: 14px;
    z-index: 2;
}

.wp-promo-u-gift-label {
    font-size: 11px;
    color: #ff922b;
    text-transform: uppercase;
    font-weight: 700;
    display: block;
    margin-top: 4px;
}

.wp-promo-u-gift-txt {
    font-weight: 700;
    font-size: 14px;
    color: #333;
}

/* Buttons */
.wp-promo-u-btn {
    display: block !important;
    background: var(--p-btn-bg, #ff922b) !important;
    color: #fff !important;
    text-decoration: none !important;
    padding: 16px 24px !important; /* Slightly taller */
    border-radius: 10px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    text-align: center !important;
    width: 100% !important; /* Stretched to container width */
    box-shadow: 0 4px 12px rgba(255, 146, 43, 0.3) !important;
    transition: all 0.2s ease !important;
    font-size: 16px !important;
    border: none !important;
    cursor: pointer !important;
}

.wp-promo-u-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 146, 43, 0.4) !important;
}

/* Payments */
.wp-promo-u-payments {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f3f7;
    display: flex;
    align-items: center;
    gap: 15px;
}

.wp-promo-u-payments span {
    font-size: 13px;
    font-weight: 700;
    color: #888;
}

.wp-promo-u-pay-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.wp-promo-u-pay-icons img {
    height: 22px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.2s;
}

.wp-promo-u-pay-icons img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* DESKTOP FLOATING BAR */
.wp-promo-u-desk-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: var(--p-desk-bg, #171c26) !important;
    color: #fff !important;
    padding: 12px 0 !important;
    z-index: 99999 !important;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2) !important;
}

.wp-promo-u-desk-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wp-promo-u-desk-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.wp-promo-u-desk-left img {
    height: 40px;
    border-radius: 6px;
}

.wp-promo-u-desk-title {
    font-weight: 700;
    font-size: 16px;
}

.wp-promo-u-desk-rating {
    color: #ffb342;
    font-weight: 700;
}

.wp-promo-u-desk-btn {
    background: #ff922b !important;
    color: #fff !important;
    padding: 10px 25px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
}

/* MOBILE STICKY BAR */
.wp-promo-u-mob-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: var(--p-mob-bg, #171c26) !important;
    padding: 15px !important;
    z-index: 99999 !important;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3) !important;
}

.wp-promo-u-mob-inner {
    display: flex;
    gap: 10px;
}

.wp-promo-u-mob-btn {
    flex: 1;
    text-align: center;
    padding: 12px 5px;
    font-size: 13px;
    font-weight: 800;
    border-radius: 8px;
    text-decoration: none !important;
    text-transform: uppercase;
}

.wp-promo-u-mob-btn.btn-login {
    background: transparent !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
}

.wp-promo-u-mob-btn.btn-register {
    background: var(--p-mob-btn2-bg, #007bff) !important;
    color: #fff !important;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .wp-promo-u-header {
        flex-direction: column;
        text-align: center;
        gap: 5px; /* DECREASED: Gap between Ratings and Bonus */
    }
    
    .wp-promo-u-logo {
        max-width: 160px;
        margin: 0 auto;
    }
    
    .wp-promo-u-cta {
        width: 100%;
        min-width: 0;
        gap: 20px; /* INCREASED: Gap only between Bonus and Button */
    }
    
    .wp-promo-u-payments {
        margin-top: 2px; /* DECREASED: Gap between Button and Payments */
        padding-top: 5px;
    }
    
    .wp-promo-u-desk-bar {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .wp-promo-u-mob-bar {
        display: none !important;
    }
}
