/* SML Gaming Pack Widget Styles - Enhanced Premium & Mobile Friendly */

.sml-gaming-widget-wrapper {
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #ffffff;
    /* Rich, deep dark background with subtle gradient */
    background: linear-gradient(145deg, #0f121b 0%, #080a0f 100%); 
    padding: 50px;
    border-radius: 24px;
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    box-sizing: border-box;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8), inset 0 1px 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

/* Subtle glowing orb effect in the background */
.sml-gaming-widget-wrapper::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 106, 61, 0.15) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

/* Ensure content stays above the glow */
.sml-gaming-header-pill, 
.sml-gaming-main-layout, 
.sml-gaming-footer {
    position: relative;
    z-index: 1;
}

/* Header Pill */
.sml-gaming-header-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 106, 61, 0.4);
    background: linear-gradient(90deg, rgba(255, 106, 61, 0.1) 0%, rgba(255, 106, 61, 0.05) 100%);
    color: #ff8b5a;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0 auto 40px auto;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 15px rgba(255, 106, 61, 0.1);
    backdrop-filter: blur(10px);
}

.sml-gaming-header-pill .sml-dot {
    width: 6px;
    height: 6px;
    background-color: #ff6a3d;
    border-radius: 50%;
    display: inline-block;
    margin: 0 10px;
    box-shadow: 0 0 8px #ff6a3d;
}

/* Main Layout */
.sml-gaming-main-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}

.sml-gaming-left-col {
    flex: 1.2; /* Takes slightly more space on desktop */
    min-width: 320px;
}

.sml-gaming-right-col {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Typography */
.sml-gaming-subtitle {
    color: #ff8b5a;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sml-gaming-subtitle i {
    color: #9d7cff;
    font-size: 20px;
    filter: drop-shadow(0 0 8px rgba(157, 124, 255, 0.5));
}

.sml-gaming-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.15;
    margin: 0 0 20px 0;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.sml-gaming-title .sml-highlight {
    background: linear-gradient(135deg, #ff8c42 0%, #ff3b3b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.sml-gaming-desc {
    font-size: 16px;
    color: #a1a1aa;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 500px;
}

/* Features Grid */
.sml-gaming-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.sml-gaming-feature-item {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
}

.sml-gaming-feature-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 106, 61, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.sml-feature-icon {
    color: #ff8c42;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
}

.sml-feature-text {
    font-size: 13px;
    color: #e4e4e7;
    font-weight: 600;
}

/* Tags Row */
.sml-gaming-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 35px;
}

.sml-gaming-tag-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(250, 204, 21, 0.4);
    background: linear-gradient(90deg, rgba(250, 204, 21, 0.1) 0%, rgba(250, 204, 21, 0.02) 100%);
    color: #facc15;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(250, 204, 21, 0.05);
}

/* Pricing and Action */
.sml-gaming-pricing-action-row {
    display: flex;
    align-items: center;
    gap: 35px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.02);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sml-pricing-info {
    display: flex;
    flex-direction: column;
}

.sml-prices {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 8px;
}

.sml-current-price {
    font-size: 42px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.sml-current-price .sml-currency {
    font-size: 20px;
    font-weight: 700;
    color: #d1d5db;
}

.sml-old-price {
    font-size: 18px;
    color: #6b7280;
    text-decoration: line-through;
    font-weight: 600;
}

.sml-delivery-info {
    font-size: 13px;
    color: #34d399;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sml-rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sml-stars {
    color: #fbbf24;
    font-size: 14px;
    filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.3));
}

.sml-reviews-text {
    font-size: 13px;
    color: #9ca3af;
    font-weight: 500;
}

/* Button */
.sml-action-button {
    flex-shrink: 0;
}

.sml-btn-order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #ff6a3d 0%, #eb3300 100%);
    color: #ffffff;
    padding: 18px 36px;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 15px 30px -5px rgba(235, 51, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sml-btn-order:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 40px -5px rgba(235, 51, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.3);
    color: #ffffff;
}

.sml-btn-order:active {
    transform: translateY(1px);
}

/* Guarantees */
.sml-gaming-guarantees {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 25px;
}

.sml-guarantee-item {
    font-size: 12px;
    color: #a1a1aa;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.sml-guarantee-item i {
    color: #34d399;
    font-size: 14px;
}

.sml-guarantee-dot {
    margin-right: 12px;
    color: #4b5563;
}

/* Right Column & Image */
.sml-product-image-container {
    position: relative;
    max-width: 100%;
    /* Premium glassmorphism card */
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    border-radius: 24px;
    padding: 25px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

/* Add a subtle glow behind the image inside the card */
.sml-product-image-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: #ff6a3d;
    filter: blur(80px);
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.sml-product-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.sml-product-image-container:hover .sml-product-img {
    transform: scale(1.03);
}

/* Badges */
.sml-badge-promo {
    position: absolute;
    top: -15px;
    left: 20px;
    background: linear-gradient(135deg, #fde047 0%, #eab308 100%);
    color: #1c1917;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(234, 179, 8, 0.3);
    z-index: 2;
}

.sml-badge-stock {
    position: absolute;
    bottom: -15px;
    right: 20px;
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    color: #ffffff;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

/* Footer / Compatibility */
.sml-gaming-footer {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.sml-compat-title {
    font-size: 12px;
    font-weight: 800;
    color: #6b7280;
    letter-spacing: 1.5px;
}

.sml-compat-items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.sml-compat-item {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #f3f4f6;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.sml-compat-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.sml-compat-item i {
    color: #9ca3af;
}

/* =========================================
   📱 MOBILE RESPONSIVENESS (Phone Friendly)
   ========================================= */

@media (max-width: 992px) {
    .sml-gaming-main-layout {
        flex-direction: column;
    }
    .sml-gaming-right-col {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .sml-gaming-widget-wrapper {
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .sml-gaming-title {
        font-size: 38px;
    }
    
    .sml-gaming-pricing-action-row {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .sml-pricing-info {
        align-items: center;
    }
    
    .sml-btn-order {
        width: 100%;
    }
    
    .sml-gaming-guarantees {
        justify-content: center;
    }
    
    .sml-gaming-footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .sml-compat-items {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .sml-gaming-widget-wrapper {
        padding: 25px 15px;
    }

    .sml-gaming-title {
        font-size: 32px;
    }

    .sml-gaming-desc {
        font-size: 15px;
    }

    .sml-gaming-features-grid {
        grid-template-columns: 1fr; /* 1 column on small phones */
    }

    .sml-gaming-tags-row {
        justify-content: center;
    }
    
    .sml-gaming-subtitle {
        justify-content: center;
    }

    .sml-gaming-title, .sml-gaming-desc {
        text-align: center;
    }

    .sml-guarantee-dot {
        display: none; /* Hide dots on mobile if they wrap weirdly */
    }
    
    .sml-guarantee-item {
        width: 100%;
        justify-content: center;
    }

    .sml-badge-promo {
        left: 10px;
        font-size: 11px;
    }

    .sml-badge-stock {
        right: 10px;
        font-size: 11px;
    }
}
