/*!
 * SlotsJuice Top Games Widget CSS
 * Version: 1.0.2
 * Description: Complete CSS styles for SlotsJuice Top Games Elementor Widget
 * Orange Juice Brand + Mobile Full-Width Layout with calc(-50vw + 50%)
 */

/* SlotsJuice Brand CSS Variables - Widget Scoped */
.slotsjuicetopgames-widget-wrapper {
    /* Orange Juice Brand Colors */
    --slotsjuicetopgames-juice-orange: #FF6B35;
    --slotsjuicetopgames-juice-orange-dark: #E55A2B;
    --slotsjuicetopgames-juice-orange-light: #FF8A65;
    --slotsjuicetopgames-juice-cream: #FFF8E1;
    --slotsjuicetopgames-juice-green: #2E7D32;
    --slotsjuicetopgames-juice-white: #FFFFFF;
    --slotsjuicetopgames-juice-dark: #1A1A1A;
    --slotsjuicetopgames-juice-gray-light: #8B949E;
    --slotsjuicetopgames-juice-gray-dark: #6E7681;
    
    /* Gradients */
    --slotsjuicetopgames-juice-gradient: linear-gradient(135deg, #FF6B35, #E55A2B);
    --slotsjuicetopgames-juice-gradient-hero: linear-gradient(135deg, #FF6B35 0%, #E55A2B 50%, #FF8A65 100%);
    
    /* Border Radius System */
    --slotsjuicetopgames-juice-radius: 12px;
    --slotsjuicetopgames-juice-radius-large: 20px;
    
    /* OFFICIAL TYPOGRAPHY STANDARD - SlotsJuice */
    --slotsjuicetopgames-font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --slotsjuicetopgames-title-size: 24px;       /* Title: 24px - Main titles */
    --slotsjuicetopgames-subtitle-size: 22px;    /* Subtitle: 22px - Subtitles */
    --slotsjuicetopgames-promo-size: 20px;       /* Promo: 20px - Section titles */
    --slotsjuicetopgames-text-size: 15px;        /* Text: 15px - Body text */
    --slotsjuicetopgames-small-size: 14px;       /* Meta info, labels */
    --slotsjuicetopgames-button-size: 13px;      /* Button text */
    
    /* Spacing - 30% reduced */
    --slotsjuicetopgames-space-xs: 0.175rem;
    --slotsjuicetopgames-space-sm: 0.35rem;
    --slotsjuicetopgames-space-md: 0.7rem;
    --slotsjuicetopgames-space-lg: 1.05rem;
    --slotsjuicetopgames-space-xl: 1.4rem;
    --slotsjuicetopgames-space-2xl: 2.1rem;
    
    /* Layout */
    --slotsjuicetopgames-container-max: 1200px;
    --slotsjuicetopgames-transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Widget Wrapper Styles */
.slotsjuicetopgames-widget-wrapper {
    font-family: var(--slotsjuicetopgames-font-family);
    color: var(--slotsjuicetopgames-juice-dark);
    line-height: 1.6;
    position: relative;
    box-sizing: border-box;
}

.slotsjuicetopgames-widget-wrapper *,
.slotsjuicetopgames-widget-wrapper *::before,
.slotsjuicetopgames-widget-wrapper *::after {
    box-sizing: border-box;
}

/* Hide mobile layout on desktop */
.slotsjuicetopgames-mobile-games-container {
    display: none;
}

/* Container */
.slotsjuicetopgames-container {
    max-width: var(--slotsjuicetopgames-container-max);
    margin: 0 auto;
    padding: var(--slotsjuicetopgames-space-xl) var(--slotsjuicetopgames-space-md);
}

/* Main Content Container - Unified Block */
.slotsjuicetopgames-main-content-container {
    background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(255,248,225,0.95) 100%);
    border: 2px solid rgba(255, 107, 53, 0.2);
    border-radius: var(--slotsjuicetopgames-juice-radius-large);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.1);
    position: relative;
    overflow: hidden;
}

/* Floating Drops Background */
.slotsjuicetopgames-floating-drop {
    position: absolute;
    font-size: 1.2rem;
    color: var(--slotsjuicetopgames-juice-orange-light);
    animation: slotsjuiceTopGamesDropFloat 6s ease-in-out infinite;
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
}

.slotsjuicetopgames-floating-drop:nth-child(1) { top: 10%; left: 8%; animation-delay: 0s; }
.slotsjuicetopgames-floating-drop:nth-child(2) { top: 20%; right: 12%; animation-delay: 2s; }
.slotsjuicetopgames-floating-drop:nth-child(3) { bottom: 30%; left: 15%; animation-delay: 4s; }
.slotsjuicetopgames-floating-drop:nth-child(4) { bottom: 15%; right: 20%; animation-delay: 1s; }

/* Header Section - Inside unified container */
.slotsjuicetopgames-header-section {
    text-align: center;
    padding: 40px 35px 30px 35px;
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
}

.slotsjuicetopgames-header-content {
    position: relative;
    z-index: 2;
}

.slotsjuicetopgames-title-with-crown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--slotsjuicetopgames-space-lg);
    margin-bottom: var(--slotsjuicetopgames-space-md);
}

.slotsjuicetopgames-main-title {
    font-size: var(--slotsjuicetopgames-title-size);
    font-weight: 700;
    margin: 0;
    background: var(--slotsjuicetopgames-juice-gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.3px;
}

.slotsjuicetopgames-subtitle {
    font-size: var(--slotsjuicetopgames-text-size);
    color: var(--slotsjuicetopgames-juice-dark);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.slotsjuicetopgames-crown-icon {
    width: 3rem;
    height: 3rem;
    fill: var(--slotsjuicetopgames-juice-orange);
    animation: slotsjuiceTopGamesJuiceGlow 2s infinite;
    flex-shrink: 0;
}

/* Floating Slot Icons */
.slotsjuicetopgames-floating-slots {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 120px;
    height: 120px;
    pointer-events: none;
}

.slotsjuicetopgames-floating-icon {
    position: absolute;
    width: 2.5rem;
    height: 2.5rem;
    opacity: 0.8;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.slotsjuicetopgames-icon-1 {
    fill: var(--slotsjuicetopgames-juice-orange);
    top: 0;
    right: 0;
    animation-name: slotsjuiceTopGamesFloat1;
    animation-delay: 0s;
}

.slotsjuicetopgames-icon-2 {
    fill: var(--slotsjuicetopgames-juice-green);
    top: 40px;
    right: 60px;
    width: 2rem;
    height: 2rem;
    animation-name: slotsjuiceTopGamesFloat2;
    animation-delay: 1s;
}

.slotsjuicetopgames-icon-3 {
    fill: var(--slotsjuicetopgames-juice-orange-light);
    top: 80px;
    right: 20px;
    width: 1.8rem;
    height: 1.8rem;
    animation-name: slotsjuiceTopGamesFloat3;
    animation-delay: 2s;
}

/* Table Container */
.slotsjuicetopgames-table-container {
    overflow: hidden;
}

/* Table Styles */
.slotsjuicetopgames-top-games-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--slotsjuicetopgames-font-family);
}

.slotsjuicetopgames-table-header {
    background: var(--slotsjuicetopgames-juice-green);
    color: var(--slotsjuicetopgames-juice-white);
    position: relative;
    z-index: 3;
}

.slotsjuicetopgames-table-header th {
    padding: var(--slotsjuicetopgames-space-lg);
    text-align: center;
    font-weight: 700;
    font-size: var(--slotsjuicetopgames-text-size);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--slotsjuicetopgames-juice-orange);
}

.slotsjuicetopgames-table-header th:first-child {
    text-align: center;
    width: 8%;
}

.slotsjuicetopgames-table-header th:nth-child(2) {
    text-align: left;
    width: 35%;
}

.slotsjuicetopgames-table-header th:nth-child(3) {
    text-align: center;
    width: 12%;
}

.slotsjuicetopgames-table-header th:nth-child(4) {
    text-align: center;
    width: 15%;
}

.slotsjuicetopgames-table-header th:nth-child(5) {
    text-align: center;
    width: 12%;
}

.slotsjuicetopgames-table-header th:nth-child(6) {
    text-align: center;
    width: 18%;
}

.slotsjuicetopgames-table-body tr {
    background: #ffffff;
    border-bottom: 1px solid rgba(255, 107, 53, 0.15);
    transition: var(--slotsjuicetopgames-transition-smooth);
    position: relative;
    z-index: 3;
}

.slotsjuicetopgames-table-body tr:hover {
    background: rgba(255, 248, 225, 0.5);
    border-color: var(--slotsjuicetopgames-juice-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.15);
}

.slotsjuicetopgames-table-body td {
    padding: var(--slotsjuicetopgames-space-lg);
    vertical-align: middle;
    font-size: var(--slotsjuicetopgames-text-size);
}

.slotsjuicetopgames-table-body td:nth-child(1) {
    text-align: center;
}

.slotsjuicetopgames-table-body td:nth-child(2) {
    text-align: left;
}

.slotsjuicetopgames-table-body td:nth-child(3),
.slotsjuicetopgames-table-body td:nth-child(4),
.slotsjuicetopgames-table-body td:nth-child(5),
.slotsjuicetopgames-table-body td:nth-child(6) {
    text-align: center;
}

/* Rank Number */
.slotsjuicetopgames-rank-number {
    text-align: center;
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--slotsjuicetopgames-juice-orange);
    width: 60px;
}

/* Game Info */
.slotsjuicetopgames-game-info {
    display: flex;
    align-items: center;
    gap: var(--slotsjuicetopgames-space-md);
}

.slotsjuicetopgames-game-image {
    width: 35px;
    height: 35px;
    border-radius: var(--slotsjuicetopgames-juice-radius);
    object-fit: cover;
    border: 2px solid var(--slotsjuicetopgames-juice-orange);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.slotsjuicetopgames-game-details p.slotsjuicetopgames-game-name {
    font-size: var(--slotsjuicetopgames-promo-size);
    font-weight: 700;
    color: var(--slotsjuicetopgames-juice-dark);
    margin-bottom: var(--slotsjuicetopgames-space-xs);
    margin-top: 0;
}

.slotsjuicetopgames-game-provider {
    font-size: var(--slotsjuicetopgames-small-size);
    color: var(--slotsjuicetopgames-juice-gray-light);
    display: flex;
    align-items: center;
    gap: var(--slotsjuicetopgames-space-xs);
}

.slotsjuicetopgames-game-provider svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
}

/* RTP */
.slotsjuicetopgames-rtp-value {
    font-weight: 700;
    color: var(--slotsjuicetopgames-juice-orange);
    font-size: var(--slotsjuicetopgames-promo-size);
    text-align: center;
}

/* Volatility Badges */
.slotsjuicetopgames-volatility-badge {
    padding: var(--slotsjuicetopgames-space-xs) var(--slotsjuicetopgames-space-sm);
    border-radius: 1rem;
    font-size: var(--slotsjuicetopgames-small-size);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    text-align: center;
    margin: 0 auto;
}

.slotsjuicetopgames-volatility-high {
    background: linear-gradient(45deg, #FF4757, #FF6B6B);
    color: var(--slotsjuicetopgames-juice-white);
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
}

.slotsjuicetopgames-volatility-medium {
    background: linear-gradient(45deg, #FF8C00, #FFA500);
    color: var(--slotsjuicetopgames-juice-white);
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.4);
}

.slotsjuicetopgames-volatility-low {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    color: var(--slotsjuicetopgames-juice-white);
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
}

/* Max Win */
.slotsjuicetopgames-max-win {
    font-weight: 700;
    font-size: var(--slotsjuicetopgames-promo-size);
    color: var(--slotsjuicetopgames-juice-dark);
    text-align: center;
}

/* Action Buttons */
.slotsjuicetopgames-action-buttons {
    display: flex;
    gap: var(--slotsjuicetopgames-space-xs);
    justify-content: center;
    flex-wrap: nowrap;
    align-items: center;
}

.slotsjuicetopgames-btn {
    padding: var(--slotsjuicetopgames-space-sm) var(--slotsjuicetopgames-space-sm);
    border: none;
    border-radius: var(--slotsjuicetopgames-juice-radius);
    font-size: var(--slotsjuicetopgames-button-size);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--slotsjuicetopgames-transition-smooth);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--slotsjuicetopgames-space-xs);
    min-width: 70px;
    justify-content: center;
    line-height: 1.4;
    flex: 1;
    max-width: 85px;
}

.slotsjuicetopgames-btn svg {
    width: 0.875rem;
    height: 0.875rem;
    fill: currentColor;
}

.slotsjuicetopgames-btn-play {
    background: var(--slotsjuicetopgames-juice-green);
    color: var(--slotsjuicetopgames-juice-white);
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.3);
}

.slotsjuicetopgames-btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.4);
    color: var(--slotsjuicetopgames-juice-white);
    text-decoration: none;
}

.slotsjuicetopgames-btn-review {
    background: transparent;
    color: var(--slotsjuicetopgames-juice-orange);
    border: 1px solid var(--slotsjuicetopgames-juice-orange);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.2);
}

.slotsjuicetopgames-btn-review:hover {
    background: rgba(255, 107, 53, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    color: var(--slotsjuicetopgames-juice-orange);
    text-decoration: none;
}

/* Description Section */
.slotsjuicetopgames-description-section {
    padding: 40px 35px;
    line-height: 1.6;
    border-top: 1px solid rgba(255, 107, 53, 0.1);
}

.slotsjuicetopgames-description-section p {
    color: var(--slotsjuicetopgames-juice-dark);
    font-size: var(--slotsjuicetopgames-text-size);
    position: relative;
    z-index: 2;
    margin: 0;
}

.slotsjuicetopgames-description-section .highlight {
    color: var(--slotsjuicetopgames-juice-orange);
    font-weight: 600;
}

/* Loading Animation */
.slotsjuicetopgames-table-body tr {
    opacity: 0;
    transform: translateY(14px);
    animation: slotsjuiceTopGamesFadeInUp 0.6s ease forwards;
}

.slotsjuicetopgames-table-body tr:nth-child(1) { animation-delay: 0.1s; }
.slotsjuicetopgames-table-body tr:nth-child(2) { animation-delay: 0.2s; }
.slotsjuicetopgames-table-body tr:nth-child(3) { animation-delay: 0.3s; }
.slotsjuicetopgames-table-body tr:nth-child(4) { animation-delay: 0.4s; }
.slotsjuicetopgames-table-body tr:nth-child(5) { animation-delay: 0.5s; }
.slotsjuicetopgames-table-body tr:nth-child(6) { animation-delay: 0.6s; }
.slotsjuicetopgames-table-body tr:nth-child(7) { animation-delay: 0.7s; }
.slotsjuicetopgames-table-body tr:nth-child(8) { animation-delay: 0.8s; }
.slotsjuicetopgames-table-body tr:nth-child(9) { animation-delay: 0.9s; }
.slotsjuicetopgames-table-body tr:nth-child(10) { animation-delay: 1.0s; }

/* Keyframe Animations */
@keyframes slotsjuiceTopGamesJuiceGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 8px rgba(255, 107, 53, 0.4));
        transform: translateY(0px) scale(1);
    }
    50% { 
        filter: drop-shadow(0 0 15px rgba(255, 107, 53, 0.6));
        transform: translateY(-3px) scale(1.05);
    }
}

@keyframes slotsjuiceTopGamesDropFloat {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        filter: drop-shadow(0 0 5px rgba(255, 107, 53, 0.3));
    }
    50% { 
        transform: translateY(-20px) scale(1.1);
        filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.5));
    }
}

@keyframes slotsjuiceTopGamesFloat1 {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-15px) rotate(5deg);
        opacity: 1;
    }
}

@keyframes slotsjuiceTopGamesFloat2 {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    50% { 
        transform: translateY(-20px) rotate(-5deg);
        opacity: 0.9;
    }
}

@keyframes slotsjuiceTopGamesFloat3 {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-12px) rotate(3deg);
        opacity: 0.8;
    }
}

@keyframes slotsjuiceTopGamesFadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design - SlotsJuice Typography Standard */
@media (max-width: 1199px) {
    .slotsjuicetopgames-widget-wrapper {
        --slotsjuicetopgames-title-size: 22px;     /* Tablet Large scaling */
        --slotsjuicetopgames-subtitle-size: 20px;      
        --slotsjuicetopgames-promo-size: 18px;      
        --slotsjuicetopgames-text-size: 14px;    
        --slotsjuicetopgames-small-size: 13px;   
        --slotsjuicetopgames-button-size: 12px; 
    }
    
    .slotsjuicetopgames-container {
        padding: var(--slotsjuicetopgames-space-lg) var(--slotsjuicetopgames-space-sm);
    }
    
    .slotsjuicetopgames-header-section {
        padding: var(--slotsjuicetopgames-space-xl);
    }
    
    /* Keep table visible on tablet */
    .slotsjuicetopgames-table-container {
        display: block;
        overflow-x: auto;
    }
    
    .slotsjuicetopgames-mobile-games-container {
        display: none;
    }
}

@media (max-width: 1023px) {
    .slotsjuicetopgames-widget-wrapper {
        --slotsjuicetopgames-title-size: 20px;     /* Tablet Small scaling */
        --slotsjuicetopgames-subtitle-size: 19px;      
        --slotsjuicetopgames-promo-size: 17px;      
        --slotsjuicetopgames-text-size: 13px;   
        --slotsjuicetopgames-small-size: 12px;  
        --slotsjuicetopgames-button-size: 11px;  
    }
}

@media (max-width: 767px) {
    .slotsjuicetopgames-widget-wrapper {
        --slotsjuicetopgames-title-size: 18px;     /* Mobile scaling */
        --slotsjuicetopgames-subtitle-size: 17px;      
        --slotsjuicetopgames-promo-size: 15px;      
        --slotsjuicetopgames-text-size: 13px;   
        --slotsjuicetopgames-small-size: 12px;  
        --slotsjuicetopgames-button-size: 11px;
        --slotsjuicetopgames-mobile-spacing: 1.2rem;
        --slotsjuicetopgames-mobile-radius: 16px;
    }

    /* Global mobile container fix */
    .slotsjuicetopgames-widget-wrapper * {
        box-sizing: border-box;
    }
    
    /* Modern Mobile Header - Full-Width Layout with calc(-50vw + 50%) */
    .slotsjuicetopgames-mobile-fullwidth .slotsjuicetopgames-header-section {
        background: var(--slotsjuicetopgames-juice-gradient) !important;
        color: var(--slotsjuicetopgames-juice-white) !important;
        text-align: center;
        padding: 2rem 1rem 2.5rem 1rem !important;
        margin: 0 !important;
        border-radius: 0 !important;
        position: relative;
        overflow: hidden;
        width: 100vw !important;
        max-width: none !important;
        margin-left: calc(-50vw + 50%) !important; /* Centered properly */
        border: none !important;
        box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3) !important;
    }

    .slotsjuicetopgames-mobile-fullwidth .slotsjuicetopgames-header-section::after {
        content: '';
        position: absolute;
        bottom: -20px;
        left: 0;
        right: 0;
        height: 50px; /* Reduced height */
        background: linear-gradient(180deg, 
            rgba(255, 107, 53, 0.08) 0%,
            rgba(255, 248, 225, 0.6) 40%,
            rgba(255, 255, 255, 0.9) 80%,
            #ffffff 100%
        );
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -6px 24px rgba(255, 107, 53, 0.1);
        z-index: 2;
    }
    
    .slotsjuicetopgames-mobile-fullwidth .slotsjuicetopgames-title-with-crown {
        justify-content: center;
        gap: var(--slotsjuicetopgames-space-lg);
        margin-bottom: var(--slotsjuicetopgames-space-lg);
        padding: 0 var(--slotsjuicetopgames-mobile-spacing);
        flex-wrap: nowrap;
        align-items: center;
    }
    
    .slotsjuicetopgames-mobile-fullwidth .slotsjuicetopgames-main-title {
        color: var(--slotsjuicetopgames-juice-white) !important;
        background: none !important;
        -webkit-text-fill-color: var(--slotsjuicetopgames-juice-white) !important;
        font-size: 1.8rem !important;
        font-weight: 800 !important;
        text-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
        line-height: 1.2 !important;
        text-align: center !important;
    }
    
    .slotsjuicetopgames-mobile-fullwidth .slotsjuicetopgames-subtitle {
        margin: 0 auto;
        padding: 0 var(--slotsjuicetopgames-mobile-spacing);
        color: rgba(255, 255, 255, 0.95) !important;
        font-size: 1rem !important;
        font-weight: 500 !important;
        line-height: 1.4 !important;
        text-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
        max-width: 90% !important;
    }
    
    .slotsjuicetopgames-mobile-fullwidth .slotsjuicetopgames-crown-icon {
        width: 2.5rem !important;
        height: 2.5rem !important;
        fill: var(--slotsjuicetopgames-juice-white) !important;
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)) !important;
    }
    
    /* Hide floating icons on mobile */
    .slotsjuicetopgames-floating-slots {
        display: none;
    }
    
    /* Mobile Full-Width Layout with calc(-50vw + 50%) */
    .slotsjuicetopgames-mobile-fullwidth .slotsjuicetopgames-main-content-container {
        width: 100vw !important;
        max-width: none !important;
        margin-left: calc(-50vw + 50%) !important; /* Centered properly */
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
        background: linear-gradient(180deg, #ffffff 0%, #fefefe 100%) !important;
    }
    
    /* Mobile full-width footer content with calc(-50vw + 50%) */
    .slotsjuicetopgames-mobile-fullwidth .slotsjuicetopgames-description-section {
        margin-left: calc(-1 * var(--slotsjuicetopgames-mobile-spacing)) !important;
        margin-right: calc(-1 * var(--slotsjuicetopgames-mobile-spacing)) !important;
        padding-left: var(--slotsjuicetopgames-mobile-spacing) !important;
        padding-right: var(--slotsjuicetopgames-mobile-spacing) !important;
        border-radius: 0 !important;
    }
    
    /* Hide table on mobile and show card layout instead */
    .slotsjuicetopgames-table-container {
        display: none;
    }
    
    /* Modern Mobile Card Layout - Full-Width with calc(-50vw + 50%) */
    .slotsjuicetopgames-mobile-games-container {
        display: block;
        margin: 0 auto;
        padding: 1rem var(--slotsjuicetopgames-mobile-spacing) 2rem;
        position: relative;
        z-index: 3;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    /* Smooth transition zone before cards */
    .slotsjuicetopgames-mobile-games-container::before {
        content: '';
        position: absolute;
        top: -40px;
        left: -1rem;
        right: -1rem;
        height: 60px; /* Reduced height */
        background: linear-gradient(180deg,
            transparent 0%,
            rgba(255, 248, 225, 0.2) 30%,
            rgba(255, 248, 225, 0.4) 60%,
            rgba(255, 255, 255, 0.8) 85%,
            #ffffff 100%
        );
        border-radius: 0 0 15px 15px;
        z-index: 1;
        pointer-events: none;
    }

    /* Decorative separator line */
    .slotsjuicetopgames-mobile-games-container::after {
        content: '';
        position: absolute;
        top: 1rem; /* Moved up */
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: linear-gradient(90deg, transparent, var(--slotsjuicetopgames-juice-orange), transparent);
        border-radius: 2px;
        z-index: 4;
        pointer-events: none;
    }
    
    .slotsjuicetopgames-mobile-game-card {
        border-radius: 20px;
        box-shadow: 0 6px 25px rgba(255, 107, 53, 0.12);
        border: 1px solid rgba(255, 107, 53, 0.15);
        margin-bottom: 1.5rem;
        padding: 1.5rem;
        position: relative;
        transition: var(--slotsjuicetopgames-transition-smooth);
        overflow: hidden;
        background: #ffffff;
        transform: translateZ(0);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Alternating card backgrounds for variety */
    .slotsjuicetopgames-mobile-game-card:nth-child(odd) {
        background: linear-gradient(135deg, #ffffff 0%, #fff8e1 100%);
    }
    
    .slotsjuicetopgames-mobile-game-card:nth-child(even) {
        background: linear-gradient(135deg, #fff8e1 0%, #ffffff 100%);
    }

    /* Top 3 cards get special treatment */
    .slotsjuicetopgames-mobile-game-card:nth-child(1) {
        background: linear-gradient(135deg, #fff8e1 0%, #fffbf0 100%);
        border: 2px solid #FFD700;
        box-shadow: 0 8px 32px rgba(255, 215, 0, 0.2);
        margin-top: 4rem; /* More space to clear transition */
        position: relative;
        z-index: 5; /* Above transition elements */
    }

    .slotsjuicetopgames-mobile-game-card:nth-child(2) {
        background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
        border: 2px solid #C0C0C0;
        box-shadow: 0 8px 32px rgba(192, 192, 192, 0.2);
    }

    .slotsjuicetopgames-mobile-game-card:nth-child(3) {
        background: linear-gradient(135deg, #fff4e6 0%, #ffffff 100%);
        border: 2px solid #CD7F32;
        box-shadow: 0 8px 32px rgba(205, 127, 50, 0.2);
    }
    
    .slotsjuicetopgames-mobile-game-card:hover {
        border-color: var(--slotsjuicetopgames-juice-orange);
        box-shadow: 0 12px 35px rgba(255, 107, 53, 0.15);
        transform: translateY(-2px);
    }
    
    /* Horizontal Article Header */
    .slotsjuicetopgames-mobile-card-header {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 1.2rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1.2rem;
        border-bottom: 2px solid rgba(255, 107, 53, 0.12);
        position: relative;
    }
    
    .slotsjuicetopgames-mobile-rank {
        width: 55px;
        height: 55px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.6rem;
        font-weight: 900;
        color: var(--slotsjuicetopgames-juice-white);
        flex-shrink: 0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        position: relative;
        z-index: 2;
    }
    
    .slotsjuicetopgames-mobile-rank::before {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        border-radius: 50%;
        background: linear-gradient(135deg, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
        z-index: -1;
    }

    /* Different colors for different ranks */
    .slotsjuicetopgames-mobile-game-card:nth-child(1) .slotsjuicetopgames-mobile-rank { background: linear-gradient(135deg, #FFD700, #FFA500); } /* Gold */
    .slotsjuicetopgames-mobile-game-card:nth-child(2) .slotsjuicetopgames-mobile-rank { background: linear-gradient(135deg, #C0C0C0, #A9A9A9); } /* Silver */
    .slotsjuicetopgames-mobile-game-card:nth-child(3) .slotsjuicetopgames-mobile-rank { background: linear-gradient(135deg, #CD7F32, #B8860B); } /* Bronze */
    .slotsjuicetopgames-mobile-game-card:nth-child(n+4) .slotsjuicetopgames-mobile-rank { background: var(--slotsjuicetopgames-juice-gradient); } /* Orange for rest */
    
    /* Hide game image in horizontal layout */
    .slotsjuicetopgames-mobile-game-image {
        display: none;
    }
    
    .slotsjuicetopgames-mobile-game-info {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-left: 0.5rem;
    }
    
    .slotsjuicetopgames-mobile-game-title {
        font-size: 1.4rem;
        font-weight: 800;
        margin: 0 0 0.4rem 0;
        line-height: 1.2;
        color: var(--slotsjuicetopgames-juice-dark);
        text-shadow: none;
        background: none;
        -webkit-text-fill-color: var(--slotsjuicetopgames-juice-dark);
        background-clip: initial;
        -webkit-background-clip: initial;
    }
    
    .slotsjuicetopgames-mobile-game-provider {
        font-size: 0.9rem;
        color: var(--slotsjuicetopgames-juice-gray-dark);
        font-weight: 600;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 0.4rem;
        opacity: 0.8;
    }

    .slotsjuicetopgames-mobile-game-provider svg {
        width: 0.875rem;
        height: 0.875rem;
        fill: currentColor;
    }
    
    /* Clean content section */
    .slotsjuicetopgames-mobile-stats-grid {
        margin: 1.2rem 0;
        padding: 1rem;
        background: rgba(255, 107, 53, 0.04);
        border-radius: 12px;
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        border: 1px solid rgba(255, 107, 53, 0.08);
    }
    
    .slotsjuicetopgames-mobile-stat {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        flex: 1;
        min-width: calc(50% - 0.5rem);
        gap: 0.2rem;
    }
    
    .slotsjuicetopgames-mobile-stat-label {
        font-size: 0.75rem;
        color: var(--slotsjuicetopgames-juice-gray-dark);
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        margin: 0;
        opacity: 0.7;
    }
    
    .slotsjuicetopgames-mobile-stat-value {
        font-size: 1.1rem;
        font-weight: 800;
        color: var(--slotsjuicetopgames-juice-dark);
        margin: 0;
        line-height: 1.2;
    }
    
    .slotsjuicetopgames-mobile-stat-value.slotsjuicetopgames-rtp {
        color: var(--slotsjuicetopgames-juice-orange);
        font-weight: 800;
        text-shadow: 0 1px 2px rgba(255, 107, 53, 0.2);
    }

    .slotsjuicetopgames-mobile-stat-value.slotsjuicetopgames-maxwin {
        color: #27ae60;
        font-weight: 800;
    }
    
    .slotsjuicetopgames-mobile-volatility-badge {
        display: inline-block;
        padding: 0.25rem 0.5rem;
        border-radius: 0.5rem;
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-left: 0.25rem;
    }
    
    .slotsjuicetopgames-mobile-volatility-badge.slotsjuicetopgames-high {
        background: linear-gradient(45deg, #e74c3c, #c0392b);
        color: var(--slotsjuicetopgames-juice-white);
        box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
    }

    .slotsjuicetopgames-mobile-volatility-badge.slotsjuicetopgames-medium {
        background: linear-gradient(45deg, #f39c12, #e67e22);
        color: var(--slotsjuicetopgames-juice-white);
        box-shadow: 0 2px 8px rgba(243, 156, 18, 0.3);
    }

    .slotsjuicetopgames-mobile-volatility-badge.slotsjuicetopgames-low {
        background: linear-gradient(45deg, #27ae60, #2ecc71);
        color: var(--slotsjuicetopgames-juice-white);
        box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
    }
    
    .slotsjuicetopgames-mobile-actions {
        margin-top: 1.8rem;
        display: flex;
        gap: 1.2rem;
        align-items: center;
        justify-content: space-between;
    }
    
    .slotsjuicetopgames-mobile-btn {
        flex: 1;
        padding: 1rem 1.2rem;
        border: none;
        border-radius: 15px;
        font-size: 0.95rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.6px;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        min-height: 50px;
        position: relative;
        overflow: hidden;
        z-index: 1;
    }

    .slotsjuicetopgames-mobile-btn svg {
        width: 1rem;
        height: 1rem;
        fill: currentColor;
    }
    
    .slotsjuicetopgames-mobile-btn-play {
        background: var(--slotsjuicetopgames-juice-gradient);
        color: var(--slotsjuicetopgames-juice-white);
        box-shadow: 0 6px 20px rgba(255, 107, 53, 0.25);
        border: 2px solid transparent;
    }
    
    .slotsjuicetopgames-mobile-btn-play::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
        border-radius: inherit;
        z-index: -1;
    }
    
    .slotsjuicetopgames-mobile-btn-play:hover {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 8px 25px rgba(255, 107, 53, 0.35);
        color: var(--slotsjuicetopgames-juice-white);
        text-decoration: none;
    }
    
    .slotsjuicetopgames-mobile-btn-review {
        background: rgba(255, 255, 255, 0.9);
        color: var(--slotsjuicetopgames-juice-orange);
        border: 2px solid var(--slotsjuicetopgames-juice-orange);
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.15);
    }
    
    .slotsjuicetopgames-mobile-btn-review:hover {
        background: var(--slotsjuicetopgames-juice-orange);
        color: var(--slotsjuicetopgames-juice-white);
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
        text-decoration: none;
    }
}

@media (max-width: 479px) {
    .slotsjuicetopgames-widget-wrapper {
        --slotsjuicetopgames-title-size: 16px;     /* Small mobile scaling */
        --slotsjuicetopgames-subtitle-size: 15px;      
        --slotsjuicetopgames-promo-size: 14px;      
        --slotsjuicetopgames-text-size: 12px;    /* Ultra-compact */
        --slotsjuicetopgames-small-size: 11px;   
        --slotsjuicetopgames-button-size: 10px;
        --slotsjuicetopgames-mobile-spacing: 1rem;
        --slotsjuicetopgames-mobile-radius: 14px;
    }
    
    /* Keep header centered on small mobile */
    .slotsjuicetopgames-header-section {
        text-align: center;
        padding: var(--slotsjuicetopgames-space-md) var(--slotsjuicetopgames-space-sm);
        border-radius: var(--slotsjuicetopgames-juice-radius);
        margin-left: var(--slotsjuicetopgames-space-xs);
        margin-right: var(--slotsjuicetopgames-space-xs);
    }
    
    .slotsjuicetopgames-title-with-crown {
        justify-content: center;
        gap: var(--slotsjuicetopgames-space-sm);
        flex-wrap: nowrap;
        margin-bottom: var(--slotsjuicetopgames-space-xs);
    }
    
    .slotsjuicetopgames-crown-icon {
        width: 2.2rem;
        height: 2.2rem;
    }
    
    .slotsjuicetopgames-main-title {
        font-size: 1.6rem;
        font-weight: 800;
        color: var(--slotsjuicetopgames-juice-white);
        position: relative;
        z-index: 2;
        background: none;
        -webkit-text-fill-color: var(--slotsjuicetopgames-juice-white);
    }
    
    .slotsjuicetopgames-subtitle {
        margin: 0 auto;
        font-size: 0.85rem;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.9);
        line-height: 1.3;
        position: relative;
        z-index: 2;
    }
    
    /* Hide floating icons on small mobile too */
    .slotsjuicetopgames-floating-slots {
        display: none;
    }
    
    .slotsjuicetopgames-container {
        padding: var(--slotsjuicetopgames-space-md) var(--slotsjuicetopgames-space-xs);
        margin: 0 var(--slotsjuicetopgames-space-xs);
    }
    
    .slotsjuicetopgames-main-content-container {
        margin-left: 0;
        margin-right: 0;
        border-radius: var(--slotsjuicetopgames-juice-radius-large);
    }
    
    /* Small mobile full-width footer content */
    .slotsjuicetopgames-description-section {
        margin-left: calc(-1 * var(--slotsjuicetopgames-space-xs));
        margin-right: calc(-1 * var(--slotsjuicetopgames-space-xs));
        padding-left: var(--slotsjuicetopgames-space-xs);
        padding-right: var(--slotsjuicetopgames-space-xs);
        border-radius: 0;
    }
    
    .slotsjuicetopgames-mobile-games-container {
        margin-left: 0;
        margin-right: 0;
    }
    
    .slotsjuicetopgames-mobile-game-card {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: var(--slotsjuicetopgames-space-sm);
        padding: var(--slotsjuicetopgames-space-md);
        border-radius: var(--slotsjuicetopgames-juice-radius);
    }
    
    .slotsjuicetopgames-mobile-card-header {
        gap: var(--slotsjuicetopgames-space-sm);
        margin-bottom: var(--slotsjuicetopgames-space-sm);
    }
    
    .slotsjuicetopgames-mobile-rank {
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
    }
    
    .slotsjuicetopgames-mobile-game-image {
        width: 40px;
        height: 40px;
    }
    
    .slotsjuicetopgames-mobile-game-title {
        font-size: 1rem;
    }
    
    .slotsjuicetopgames-mobile-game-provider {
        font-size: 0.65rem;
    }
    
    .slotsjuicetopgames-mobile-stats-grid {
        padding: var(--slotsjuicetopgames-space-sm);
        gap: var(--slotsjuicetopgames-space-xs);
    }
    
    .slotsjuicetopgames-mobile-stat-label {
        font-size: 0.6rem;
    }
    
    .slotsjuicetopgames-mobile-stat-value {
        font-size: 0.8rem;
    }
    
    .slotsjuicetopgames-mobile-volatility-badge {
        padding: 0.15rem 0.4rem;
        font-size: 0.55rem;
    }
    
    .slotsjuicetopgames-mobile-actions {
        gap: var(--slotsjuicetopgames-space-xs);
    }
    
    .slotsjuicetopgames-mobile-btn {
        padding: var(--slotsjuicetopgames-space-sm) var(--slotsjuicetopgames-space-md);
        font-size: 0.65rem;
        min-height: 40px;
    }
}

/* Elementor Editor Compatibility */
.elementor-editor-active .slotsjuicetopgames-widget-wrapper {
    min-height: 500px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: rgba(13, 17, 23, 0.9) !important;
    border: 2px solid #71d7f7 !important;
    border-radius: var(--slotsjuicetopgames-juice-radius) !important;
}

.elementor-editor-active .slotsjuicetopgames-main-content-container {
    min-height: 400px !important;
    display: block !important;
    visibility: visible !important;
}

/* Performance Optimizations */
.slotsjuicetopgames-widget-wrapper {
    will-change: transform;
    transform: translateZ(0);
}

.slotsjuicetopgames-floating-drop,
.slotsjuicetopgames-floating-icon,
.slotsjuicetopgames-crown-icon {
    will-change: transform, filter;
    transform: translateZ(0);
}

.slotsjuicetopgames-table-body tr,
.slotsjuicetopgames-mobile-game-card {
    will-change: transform, box-shadow;
    transform: translateZ(0);
}

/* Font Loading Optimization */
@font-face {
    font-family: 'Inter';
    font-display: swap;
}
