/*!
 * SlotsJuice Title Description Widget Styles
 * Version: 1.0.6
 * Mobile-first responsive design with Goldilocks Zone optimization
 * Optimized for Desktop, Laptop, Tablet, and Mobile devices
 */

/* Import Inter font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ==========================================
   CSS CUSTOM PROPERTIES - SlotsJuice Brand
   ========================================== */
:root {
    --juice-orange: #FF6B35;
    --juice-orange-dark: #E55A2B;
    --juice-orange-light: #FF8A65;
    --juice-cream: #FFF8E1;
    --juice-green: #2E7D32;
    --juice-white: #FFFFFF;
    --juice-dark: #1A1A1A;
    --juice-gradient: linear-gradient(135deg, #FF6B35, #E55A2B);
    --juice-gradient-hero: linear-gradient(135deg, #FF6B35 0%, #E55A2B 50%, #FF8A65 100%);
    --juice-radius: 12px;
    --juice-radius-large: 20px;
    
    /* Mobile-first sizing variables */
    --juice-container-padding: 0;
    --juice-section-padding: 20px 15px;
    --juice-section-margin: 15px 0;
    --juice-title-size: 1.5rem; /* 24px */
    --juice-subtitle-size: 1.25rem; /* 20px */
    --juice-text-size: 0.9375rem; /* 15px */
    --juice-list-padding: 15px 10px;
    --juice-button-padding: 12px 20px;
    --juice-button-size: 0.9rem;
}

/* ==========================================
   MOBILE FIRST - BASE STYLES (320px+)
   ========================================== */

.slotsjuice-titledesc-widget {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #FFF8E1 0%, #FFFFFF 50%, #F5F5F5 100%);
    color: var(--juice-dark);
    line-height: 1.5;
    position: relative;
    width: 100%;
    margin: 0;
    padding: var(--juice-container-padding);
    box-sizing: border-box;
}

/* Remove margins on mobile for full width utilization */
.slotsjuice-titledesc-widget * {
    box-sizing: border-box;
}

/* Common section styles */
.slotsjuice-section {
    background: linear-gradient(135deg, #FFFFFF 0%, var(--juice-cream) 100%);
    border: 1px solid rgba(255, 107, 53, 0.15);
    border-radius: var(--juice-radius);
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.08);
    margin: var(--juice-section-margin);
    padding: var(--juice-section-padding);
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* ==========================================
   BONUS SECTION STYLES
   ========================================== */

.bonus-section {
    border-color: rgba(255, 107, 53, 0.15);
}

.bonus-header {
    text-align: center;
    margin-bottom: 20px;
}

.bonus-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: var(--juice-title-size);
    font-weight: 800;
    color: var(--juice-orange);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    margin: 0 0 8px 0;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.intro-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: var(--juice-text-size);
    color: #555;
    margin: 15px 0;
    text-align: left;
    line-height: 1.6;
}

.bonus-list {
    background: white;
    border-radius: var(--juice-radius);
    padding: var(--juice-list-padding);
    margin: 20px 0;
    border: 1px solid rgba(255, 107, 53, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.bonus-list ol {
    list-style: none;
    counter-reset: bonus-counter;
    margin: 0;
    padding: 0;
}

.bonus-list li {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    counter-increment: bonus-counter;
    margin-bottom: 10px;
    padding: 10px 12px;
    background: linear-gradient(135deg, var(--juice-cream) 0%, #FFFFFF 100%);
    border-radius: var(--juice-radius);
    border-left: 3px solid var(--juice-orange);
    position: relative;
    font-size: var(--juice-text-size);
    color: #333;
    line-height: 1.5;
}

.bonus-list li::before {
    content: counter(bonus-counter);
    position: absolute;
    left: -8px;
    top: 10px;
    background: var(--juice-gradient);
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.7rem;
    box-shadow: 0 2px 6px rgba(255, 107, 53, 0.3);
}

.highlight-text {
    color: var(--juice-orange);
    font-weight: 700;
}

.brand-highlight {
    color: var(--juice-orange);
    font-weight: 700;
}

.additional-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: var(--juice-text-size);
    color: #555;
    margin: 15px 0;
    text-align: left;
    line-height: 1.6;
}

.register-btn {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--juice-green), #388e3c);
    color: white;
    border: none;
    padding: var(--juice-button-padding);
    border-radius: var(--juice-radius);
    font-size: var(--juice-button-size);
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
    display: block;
    margin: 20px auto;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    width: 100%;
    text-align: center;
}

.register-btn:hover {
    background: linear-gradient(135deg, #388e3c, var(--juice-green));
}

.register-btn i {
    margin-right: 8px;
    font-size: 0.9em;
}

/* ==========================================
   PROMOTIONS SECTION STYLES
   ========================================== */

.promotions-section {
    border-color: rgba(46, 125, 50, 0.15);
}

.promotions-header {
    text-align: center;
    margin-bottom: 20px;
}

.promotions-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: var(--juice-title-size);
    font-weight: 800;
    color: var(--juice-green);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    margin: 0 0 8px 0;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.promo-subsection {
    margin: 20px 0;
    padding: 15px;
    background: white;
    border-radius: var(--juice-radius);
    border: 1px solid rgba(46, 125, 50, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.promo-subtitle {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.0625rem; /* 17px */
    font-weight: 600;
    color: var(--juice-orange);
    margin: 0 0 12px 0;
    text-align: left;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.promo-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: var(--juice-text-size);
    color: #555;
    text-align: left;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================
   FLOATING BACKGROUND ANIMATION
   ========================================== */

.slotsjuice-titledesc-widget::before {
    content: '🍊';
    position: absolute;
    top: 8%;
    left: 3%;
    font-size: 2rem;
    opacity: 0.04;
    z-index: -1;
    animation: float 12s ease-in-out infinite;
    pointer-events: none;
}

.slotsjuice-titledesc-widget::after {
    content: '🎰';
    position: absolute;
    bottom: 12%;
    right: 5%;
    font-size: 1.8rem;
    opacity: 0.04;
    z-index: -1;
    animation: float 15s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(6deg); }
}

/* ==========================================
   ENTRANCE ANIMATIONS - DISABLED FOR IMMEDIATE VISIBILITY
   ========================================== */

.slotsjuice-animated .slotsjuice-section {
    opacity: 1;
    transform: translateY(0);
}

.slotsjuice-animated .slotsjuice-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   SMALL MOBILE OPTIMIZATION (375px+)
   ========================================== */

@media (min-width: 375px) {
    :root {
        --juice-title-size: 1.5rem; /* 24px */
        --juice-subtitle-size: 1.25rem; /* 20px */
        --juice-text-size: 0.9375rem; /* 15px */
        --juice-button-size: 0.95rem;
    }
}

/* ==========================================
   LARGE MOBILE OPTIMIZATION (425px+)
   ========================================== */

@media (min-width: 425px) {
    :root {
        --juice-title-size: 1.5rem; /* 24px */
        --juice-subtitle-size: 1.25rem; /* 20px */
        --juice-text-size: 0.9375rem; /* 15px */
        --juice-section-padding: 25px 20px;
        --juice-list-padding: 20px 15px;
        --juice-button-padding: 14px 24px;
        --juice-button-size: 1rem;
    }
}

/* ==========================================
   TABLET OPTIMIZATION (768px+) - Goldilocks Zone
   ========================================== */

@media (min-width: 768px) {
    :root {
        --juice-container-padding: 0 15px;
        --juice-section-padding: 30px 25px;
        --juice-section-margin: 20px 0;
        --juice-title-size: 1.5rem; /* 24px */
        --juice-subtitle-size: 1.25rem; /* 20px */
        --juice-text-size: 0.9375rem; /* 15px */
        --juice-list-padding: 25px 20px;
        --juice-button-padding: 16px 32px;
        --juice-button-size: 1.1rem;
    }
    
    .slotsjuice-titledesc-widget {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .register-btn {
        width: auto;
        min-width: 200px;
    }
    
    .intro-text,
    .additional-text,
    .promo-text {
        text-align: justify;
    }
    
    .bonus-list li {
        padding: 12px 18px;
        margin-bottom: 12px;
    }
    
    .bonus-list li::before {
        width: 20px;
        height: 20px;
        left: -10px;
        top: 12px;
        font-size: 0.8rem;
    }
}

/* ==========================================
   LAPTOP OPTIMIZATION (1024px+) - Goldilocks Zone
   ========================================== */

@media (min-width: 1024px) {
    :root {
        --juice-container-padding: 0 20px;
        --juice-section-padding: 35px 30px;
        --juice-section-margin: 25px 0;
        --juice-title-size: 1.5rem; /* 24px */
        --juice-subtitle-size: 1.25rem; /* 20px */
        --juice-text-size: 0.9375rem; /* 15px */
        --juice-list-padding: 30px 25px;
    }
    
    .slotsjuice-titledesc-widget {
        max-width: 950px; /* Laptop optimization - not too wide */
    }
    
    .bonus-title::before,
    .bonus-title::after,
    .promotions-title::before,
    .promotions-title::after {
        content: '◆';
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1rem;
    }
    
    .bonus-title::before,
    .promotions-title::before {
        left: -40px;
        color: #FFD700;
    }
    
    .bonus-title::after,
    .promotions-title::after {
        right: -40px;
    }
    
    .bonus-title::after {
        color: #FFD700;
    }
    
    .promotions-title::after {
        color: #32CD32;
    }
}

/* ==========================================
   DESKTOP OPTIMIZATION (1200px+) - Goldilocks Zone
   ========================================== */

@media (min-width: 1200px) {
    :root {
        --juice-section-padding: 40px 35px;
        --juice-section-margin: 30px 0;
        --juice-title-size: 1.5rem; /* 24px */
        --juice-subtitle-size: 1.25rem; /* 20px */
        --juice-text-size: 0.9375rem; /* 15px */
    }
    
    .slotsjuice-titledesc-widget {
        max-width: 1000px; /* Desktop optimization */
    }
    
    .intro-text {
        max-width: 850px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .bonus-title::before,
    .bonus-title::after,
    .promotions-title::before,
    .promotions-title::after {
        font-size: 1.2rem;
    }
    
    .bonus-title::before,
    .promotions-title::before {
        left: -50px;
    }
    
    .bonus-title::after,
    .promotions-title::after {
        right: -50px;
    }
    
    .bonus-list li {
        padding: 15px 20px;
        margin-bottom: 15px;
    }
    
    .bonus-list li::before {
        width: 24px;
        height: 24px;
        left: -12px;
        top: 15px;
        font-size: 0.9rem;
    }
}

/* ==========================================
   LARGE DESKTOP OPTIMIZATION (1400px+)
   ========================================== */

@media (min-width: 1400px) {
    :root {
        --juice-title-size: 1.5rem; /* 24px */
        --juice-text-size: 0.9375rem; /* 15px */
    }
    
    .slotsjuice-titledesc-widget {
        max-width: 1200px; /* Maximum width for very large screens */
    }
}

/* ==========================================
   PRINT STYLES
   ========================================== */

@media print {
    .slotsjuice-titledesc-widget {
        background: white !important;
        box-shadow: none !important;
    }
    
    .register-btn {
        display: none !important;
    }
    
    .slotsjuice-titledesc-widget::before,
    .slotsjuice-titledesc-widget::after {
        display: none !important;
    }
}

/* ==========================================
   ACCESSIBILITY IMPROVEMENTS
   ========================================== */

@media (prefers-reduced-motion: reduce) {
    .slotsjuice-animated .slotsjuice-section,
    .register-btn,
    .bonus-list li {
        transition: none !important;
        animation: none !important;
    }
    
    .slotsjuice-titledesc-widget::before,
    .slotsjuice-titledesc-widget::after {
        animation: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .slotsjuice-section {
        border-width: 2px;
        border-color: #000;
    }
    
    .bonus-list li {
        border-left-width: 4px;
        border-left-color: #000;
    }
}