/* Free Spins List Widget - Desktop Styles */

.freespins-list-widget {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: transparent;
    color: #333;
    line-height: 1.6;
}

.freespins-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.freespins-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 30px 40px;
    border-radius: 15px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.freespins-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.freespins-header-title {
    font-size: 2.2rem;
    font-weight: 600;
    text-align: center;
    margin: 0;
    position: relative;
    z-index: 1;
}

.freespins-rainbow-divider {
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffeaa7, #dda0dd, #ff8c94);
    margin: 20px 0;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.freespins-rainbow-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.freespins-intro {
    padding: 25px 15px;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    background: #f8f9fa;
    position: relative;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.freespins-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: textShimmer 4s infinite;
}

@keyframes textShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.freespins-intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    text-align: justify;
    position: relative;
    margin: 0;
}

.freespins-types-container {
    display: grid;
    gap: 25px;
    margin-top: 20px;
}

.freespins-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.freespins-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #ff8c00;
}

.freespins-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 140, 0, 0.05), transparent);
    transition: left 0.5s ease;
}

.freespins-item:hover::before {
    left: 100%;
}

.freespins-icon-container {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    font-size: 2.5rem;
    position: relative;
}

.freespins-icon-container.slots {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.freespins-icon-container.no-deposit {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.freespins-icon-container.vip {
    background: linear-gradient(135deg, #ffd700, #ffb347);
    color: #2c3e50;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.freespins-icon-container.tournament {
    background: linear-gradient(135deg, #9c27b0, #673ab7);
    color: white;
    box-shadow: 0 4px 15px rgba(156, 39, 176, 0.3);
}

.freespins-item-content {
    flex: 1;
}

.freespins-item-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    margin-top: 0;
}

.freespins-item-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

.freespins-link {
    color: #667eea;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}

.freespins-link:hover {
    color: #ff8c00;
}

/* Highlight styles */
.highlight-orange {
    color: #ff8c00;
    font-weight: 600;
}

.highlight-pink {
    color: #e91e63;
    font-weight: 600;
}

.highlight-purple {
    color: #9c27b0;
    font-weight: 600;
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) {
    .freespins-container {
        padding: 15px;
    }
    
    .freespins-header {
        padding: 25px 30px;
    }
    
    .freespins-header-title {
        font-size: 2rem;
    }
}

/* Responsive Design - Small Tablet */
@media (max-width: 768px) {
    .freespins-container {
        padding: 15px;
        border-radius: 15px;
    }

    .freespins-header {
        padding: 25px 20px;
    }

    .freespins-header-title {
        font-size: 1.8rem;
    }

    .freespins-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }

    .freespins-icon-container {
        width: 70px;
        height: 70px;
        font-size: 2rem;
        align-self: center;
    }

    .freespins-intro {
        padding: 20px 15px;
    }

    .freespins-intro-text {
        font-size: 1rem;
    }

    .freespins-item-title {
        font-size: 1.3rem;
    }

    .freespins-item-description {
        font-size: 0.95rem;
    }
}

/* Full Width Support */
.elementor-section-full_width .freespins-list-widget .freespins-container {
    max-width: 100%;
}

.elementor-section-stretched .freespins-list-widget .freespins-container {
    max-width: 100%;
}

/* Performance Optimizations */
.freespins-list-widget * {
    will-change: auto;
}

.freespins-item {
    contain: layout style;
}

.freespins-icon-container {
    contain: layout style paint;
}

/* Accessibility */
.freespins-link:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .freespins-header::before,
    .freespins-rainbow-divider::after,
    .freespins-intro::before,
    .freespins-item::before {
        animation: none;
    }
    
    .freespins-item {
        transition: none;
    }
} 