/* SlotsJuice Text Widget CSS - Version 1.4.0 */

/* SlotsJuice Brand Identity CSS Variables */
:root {
    --slotsjuice-orange: #FF6B35;
    --slotsjuice-orange-dark: #E55A2B;
    --slotsjuice-orange-light: #FF8A65;
    --slotsjuice-cream: #FFF8E1;
    --slotsjuice-green: #2E7D32;
    --slotsjuice-white: #FFFFFF;
    --slotsjuice-dark: #1A1A1A;
    --slotsjuice-gradient: linear-gradient(135deg, #FF6B35, #E55A2B);
    --slotsjuice-gradient-hero: linear-gradient(135deg, #FF6B35 0%, #E55A2B 50%, #FF8A65 100%);
    --slotsjuice-radius: 12px;
    --slotsjuice-radius-large: 20px;
    --slotsjuice-radius-drop: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

/* Base Container */
.slotsjuice-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Article Wrapper */
.slotsjuice-article-wrapper {
    background: var(--slotsjuice-white);
    border: 2px solid rgba(255, 107, 53, 0.2);
    border-radius: var(--slotsjuice-radius-large);
    padding: 40px 35px;
    margin: 20px 0;
    box-shadow: 0 6px 28px rgba(255, 107, 53, 0.08);
    position: relative;
    overflow: hidden;
    color: var(--slotsjuice-dark);
    line-height: 1.6;
}

/* Modern Compact Header Section - No Icons */
.slotsjuice-article-header {
    position: relative;
    margin-bottom: 30px;
    padding: 20px 18px;
    background: linear-gradient(135deg, rgba(255, 248, 225, 0.6) 0%, rgba(255, 107, 53, 0.05) 100%);
    border-radius: 14px;
    border: 1px solid rgba(255, 107, 53, 0.15);
    overflow: hidden;
    text-align: center;
}

.slotsjuice-article-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--slotsjuice-gradient-hero);
    z-index: 2;
}

.slotsjuice-article-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Hide all icons and icon containers */
.slotsjuice-header-top {
    display: none;
}

.slotsjuice-header-icon {
    display: none;
}

.slotsjuice-slot-reels {
    display: none;
}

.slotsjuice-reel {
    display: none;
}

.slotsjuice-article-title {
    font-size: 26px;
    font-weight: 700;
    background: var(--slotsjuice-gradient-hero);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    letter-spacing: -0.4px;
    position: relative;
    font-family: 'Inter', sans-serif;
    text-align: center;
    line-height: 1.2;
}

.slotsjuice-article-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--slotsjuice-gradient);
    border-radius: 1px;
}

.slotsjuice-article-subtitle {
    font-size: 18px;
    color: rgba(26, 26, 26, 0.75);
    font-weight: 500;
    max-width: 500px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
    text-align: center;
    line-height: 1.4;
    position: relative;
    z-index: 3;
}

/* Content Sections */
.slotsjuice-content-section {
    margin-bottom: 35px;
    padding: 25px;
    background: rgba(255, 248, 225, 0.3);
    border-radius: var(--slotsjuice-radius);
    border-left: 4px solid var(--slotsjuice-orange);
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}

.slotsjuice-content-section:hover,
.slotsjuice-content-section.slotsjuice-hover-active {
    background: rgba(255, 248, 225, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.12);
}

/* Dynamic content animations */
.slotsjuice-fade-in {
    animation: slotsjuiceFadeInUp 0.6s ease forwards;
}

@keyframes slotsjuiceFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Elementor editor specific styles */
.elementor-editor-active .slotsjuice-content-section {
    position: relative;
}

.elementor-editor-active .slotsjuice-content-section::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px dashed transparent;
    border-radius: var(--slotsjuice-radius);
    transition: all 0.3s ease;
    pointer-events: none;
}

.elementor-editor-active .slotsjuice-content-section:hover::before {
    border-color: var(--slotsjuice-orange);
    background: rgba(255, 107, 53, 0.05);
}

.slotsjuice-section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--slotsjuice-orange-dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
}

.slotsjuice-section-icon {
    color: var(--slotsjuice-orange);
    font-size: 18px;
}

.slotsjuice-section-content {
    font-size: 15px;
    color: var(--slotsjuice-dark);
    line-height: 1.7;
    font-family: 'Inter', sans-serif;
}

.slotsjuice-section-content p {
    margin-bottom: 15px;
}

.slotsjuice-highlight {
    color: var(--slotsjuice-orange);
    font-weight: 700;
}

.slotsjuice-juice-link {
    color: var(--slotsjuice-orange);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.slotsjuice-juice-link:hover {
    color: var(--slotsjuice-orange-dark);
    border-bottom-color: var(--slotsjuice-orange-light);
    text-decoration: none;
}

/* Fresh Badge */
.slotsjuice-fresh-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--slotsjuice-gradient);
    color: var(--slotsjuice-white);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    animation: slotsjuiceDropFloat 3s ease-in-out infinite;
    z-index: 10;
}

/* Floating Drops */
.slotsjuice-floating-drop {
    position: absolute;
    font-size: 2rem;
    z-index: 1;
    opacity: 0.6;
    animation: slotsjuiceDropFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(255, 107, 53, 0.2));
    pointer-events: none;
}

.slotsjuice-floating-drop:nth-child(1) {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.slotsjuice-floating-drop:nth-child(2) {
    top: 25%;
    right: 15%;
    animation-delay: 1s;
}

.slotsjuice-floating-drop:nth-child(3) {
    bottom: 30%;
    left: 8%;
    animation-delay: 2s;
}

.slotsjuice-floating-drop:nth-child(4) {
    bottom: 20%;
    right: 12%;
    animation-delay: 3s;
}

/* Animations */
/* Modern Header Animations */
@keyframes slotsjuiceGlow {
    0%, 100% { 
        box-shadow: 0 4px 16px rgba(255, 107, 53, 0.25);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 6px 24px rgba(255, 107, 53, 0.4);
        transform: scale(1.02);
    }
}

@keyframes slotsjuiceSpinReel {
    0%, 100% { 
        transform: rotateY(0deg); 
    }
    50% { 
        transform: rotateY(180deg); 
    }
}

@keyframes slotsjuiceHeaderFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slotsjuicePulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Header entrance animation */
.slotsjuice-article-header {
    animation: slotsjuiceHeaderFadeIn 0.8s ease-out;
}

.slotsjuice-article-title::after {
    animation: slotsjuicePulse 2s ease-in-out infinite;
}

@keyframes slotsjuiceDropFloat {
    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));
    }
}

/* Responsive Design - Desktop & Large Laptops (1200px and above) */
@media (min-width: 1200px) {
    .slotsjuice-article-title { font-size: 24px; }
    .slotsjuice-article-subtitle { font-size: 22px; }
    .slotsjuice-section-title { font-size: 20px; }
    .slotsjuice-section-content { font-size: 15px; }
    .slotsjuice-article-wrapper { padding: 40px 35px; }
}

/* Laptops & Medium Screens (1024px - 1199px) */
@media (max-width: 1199px) and (min-width: 1024px) {
    .slotsjuice-article-title { font-size: 22px; }
    .slotsjuice-article-subtitle { font-size: 20px; }
    .slotsjuice-section-title { font-size: 18px; }
    .slotsjuice-section-content { font-size: 14px; }
    .slotsjuice-article-wrapper { padding: 35px 28px; }
    .slotsjuice-container { max-width: 100%; }
}

/* Small Laptops & Tablets (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
    .slotsjuice-article-header {
        padding: 18px 16px;
        margin-bottom: 25px;
        border-radius: 12px;
    }
    
    .slotsjuice-article-header::before {
        height: 2.5px;
    }
    
    .slotsjuice-article-header::after {
        width: 200px;
        height: 200px;
    }
    
    /* Ensure icons stay hidden on tablets */
    .slotsjuice-header-top {
        display: none !important;
    }
    
    .slotsjuice-header-icon {
        display: none !important;
    }
    
    .slotsjuice-slot-reels {
        display: none !important;
    }
    
    .slotsjuice-article-title { 
        font-size: 23px; 
        margin-bottom: 10px;
    }
    
    .slotsjuice-article-title::after {
        width: 45px;
    }
    
    .slotsjuice-article-subtitle { 
        font-size: 16px; 
        max-width: 450px;
    }
    
    .slotsjuice-section-title { font-size: 17px; }
    .slotsjuice-section-content { font-size: 13px; }
    .slotsjuice-article-wrapper { padding: 30px 22px; }
    .slotsjuice-container { max-width: 100%; }
}

/* Mobile Devices (767px and below) */
@media (max-width: 767px) {
    .slotsjuice-container { 
        padding: 0; 
        margin: 0;
        max-width: 100%;
    }
    
    .slotsjuice-article-wrapper {
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-top: none;
        border-bottom: none;
        padding: 15px 12px;
        margin: 0;
        width: 100%;
        box-shadow: none;
    }
    
    /* Ultra Compact Mobile Header - No Icons */
    .slotsjuice-article-header {
        margin-bottom: 15px;
        padding: 15px 12px;
        border-radius: 10px;
        background: linear-gradient(135deg, rgba(255, 248, 225, 0.8) 0%, rgba(255, 107, 53, 0.08) 100%);
    }
    
    .slotsjuice-article-header::before {
        height: 2px;
    }
    
    .slotsjuice-article-header::after {
        width: 150px;
        height: 150px;
        top: -40%;
        right: -20%;
        background: radial-gradient(circle, rgba(255, 107, 53, 0.04) 0%, transparent 70%);
    }
    
    /* Ensure icons stay hidden on mobile */
    .slotsjuice-header-top {
        display: none !important;
    }
    
    .slotsjuice-header-icon {
        display: none !important;
    }
    
    .slotsjuice-slot-reels {
        display: none !important;
    }
    
    /* Ultra Compact Mobile Title */
    .slotsjuice-article-title { 
        font-size: 20px;
        line-height: 1.1;
        margin-bottom: 8px;
        letter-spacing: -0.2px;
        background: var(--slotsjuice-gradient-hero);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-align: center;
        padding: 0;
        border: none;
        box-shadow: none;
    }
    
    .slotsjuice-article-title::before {
        display: none;
    }
    
    .slotsjuice-article-title::after {
        width: 35px;
        height: 1.5px;
        bottom: -4px;
    }
    
    .slotsjuice-article-subtitle { 
        font-size: 14px;
        line-height: 1.2;
        margin-bottom: 0;
        padding: 0;
        text-align: center;
        color: rgba(26, 26, 26, 0.7);
        max-width: 100%;
    }
    
    /* Enhanced Section Titles for Mobile */
    .slotsjuice-section-title { 
        font-size: 16px;
        line-height: 1.3;
        margin-bottom: 10px;
        padding: 10px 12px;
        background: linear-gradient(90deg, rgba(255, 107, 53, 0.08) 0%, transparent 100%);
        border-left: 3px solid var(--slotsjuice-orange);
        border-radius: 0 6px 6px 0;
        position: relative;
        overflow: hidden;
    }
    
    .slotsjuice-section-title::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 30px;
        height: 100%;
        background: linear-gradient(90deg, transparent 0%, rgba(255, 107, 53, 0.1) 100%);
    }
    
    .slotsjuice-section-icon {
        margin-right: 8px;
        font-size: 14px;
    }
    
    /* Compact Content Sections */
    .slotsjuice-content-section {
        padding: 12px 0;
        margin-bottom: 15px;
        background: transparent;
        border-left: none;
        border-radius: 0;
        box-shadow: none;
    }
    
    .slotsjuice-content-section:hover {
        transform: none;
        background: transparent;
        box-shadow: none;
    }
    
    /* Optimized Content Text */
    .slotsjuice-section-content { 
        font-size: 14px;
        line-height: 1.6;
        padding: 0 8px;
        text-align: justify;
        hyphens: auto;
        word-wrap: break-word;
    }
    
    .slotsjuice-section-content p {
        margin-bottom: 12px;
    }
    
    /* Fresh Badge Mobile Position */
    .slotsjuice-fresh-badge {
        position: static;
        align-self: flex-start;
        margin-bottom: 15px;
        margin-left: 8px;
        margin-right: auto;
        font-size: 0.7rem;
        padding: 6px 12px;
        border-radius: 15px;
    }
    
    /* Hide floating drops for performance */
    .slotsjuice-floating-drop {
        display: none;
    }
    
    /* Links styling on mobile */
    .slotsjuice-juice-link {
        word-break: break-word;
        text-decoration: underline;
        text-decoration-color: rgba(255, 107, 53, 0.4);
        text-underline-offset: 2px;
    }
    
    .slotsjuice-juice-link:hover {
        text-decoration-color: var(--slotsjuice-orange);
    }
    
    /* Slot reels compact version */
    .slotsjuice-slot-reels {
        gap: 6px;
    }
    
    .slotsjuice-reel {
        font-size: 1.4rem;
    }
    
    /* Remove extra margins and ensure full width */
    .slotsjuice-container,
    .slotsjuice-article-wrapper,
    .slotsjuice-content-section,
    .slotsjuice-section-content {
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
    }
    
    /* Ensure text spans full width on mobile */
    .slotsjuice-section-content,
    .slotsjuice-article-subtitle {
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Enhanced readability for long text */
    .slotsjuice-section-content {
        text-align: left;
        word-spacing: 0.05em;
        letter-spacing: 0.01em;
    }
    
    /* Mobile-specific container behavior */
    body .slotsjuice-container {
        overflow-x: hidden;
        width: 100vw;
        margin: 0;
        padding: 0;
    }
    
    /* Improved mobile title visibility */
    .slotsjuice-article-title {
        margin-left: -2px;
        margin-right: -2px;
        width: calc(100% + 4px);
    }
    
    /* Section titles with better mobile spacing */
    .slotsjuice-section-title {
        margin-left: -2px;
        margin-right: 0;
        width: calc(100% + 2px);
    }
}

/* Very Small Mobile Devices (479px and below) */
@media (max-width: 479px) {
    .slotsjuice-article-wrapper { 
        padding: 10px 6px; 
    }
    
    .slotsjuice-article-header {
        padding: 12px 10px;
        margin-bottom: 12px;
        border-radius: 8px;
    }
    
    .slotsjuice-article-header::before {
        height: 1.5px;
    }
    
    .slotsjuice-article-header::after {
        width: 120px;
        height: 120px;
        background: radial-gradient(circle, rgba(255, 107, 53, 0.03) 0%, transparent 70%);
    }
    
    /* Ensure icons stay hidden on very small mobile */
    .slotsjuice-header-top {
        display: none !important;
    }
    
    .slotsjuice-header-icon {
        display: none !important;
    }
    
    .slotsjuice-slot-reels {
        display: none !important;
    }
    
    .slotsjuice-reel {
        display: none !important;
    }
    
    .slotsjuice-article-title { 
        font-size: 18px;
        line-height: 1.1;
        margin-bottom: 6px;
        letter-spacing: -0.1px;
    }
    
    .slotsjuice-article-title::after {
        width: 30px;
        height: 1px;
        bottom: -3px;
    }
    
    .slotsjuice-article-subtitle { 
        font-size: 13px;
        line-height: 1.2;
    }
    
    .slotsjuice-section-title { 
        font-size: 15px;
        padding: 8px 10px;
        line-height: 1.2;
    }
    
    .slotsjuice-section-content { 
        font-size: 13px;
        padding: 0 6px;
        line-height: 1.5;
    }
    
    .slotsjuice-content-section { 
        padding: 10px 0;
        margin-bottom: 12px;
    }
    
    .slotsjuice-fresh-badge {
        font-size: 0.65rem;
        padding: 5px 10px;
        margin-left: 6px;
    }
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
    .slotsjuice-header-icon,
    .slotsjuice-reel,
    .slotsjuice-fresh-badge,
    .slotsjuice-floating-drop {
        animation: none;
    }
    
    .slotsjuice-content-section {
        transition: none;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .slotsjuice-floating-drop {
        filter: none; /* Remove drop-shadow on high DPI for better performance */
    }
}

/* Print Styles */
@media print {
    .slotsjuice-floating-drop,
    .slotsjuice-fresh-badge {
        display: none;
    }
    
    .slotsjuice-article-wrapper {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .slotsjuice-article-title {
        background: none !important;
        -webkit-text-fill-color: initial;
        color: #333 !important;
    }
}