/* ================================================
   PREMIUM GRID LAYOUT - CSS STYLES
   Template 1: Multi-Service Streaming Widget
   Version: 2.1.0
   ================================================ */

/* CSS RESET für Widget */
.streaming-premium,
.streaming-premium * {
    box-sizing: border-box !important;
}

/* MAIN CONTAINER */
.streaming-premium {
    background: white !important;
    border-radius: 20px !important;
    padding: 40px !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08) !important;
    border: 1px solid #e8ecf1 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 30px 0 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    color: #2c3e50 !important;
    line-height: 1.6 !important;
}

/* HEADER */
.streaming-header {
    text-align: center !important;
    margin-bottom: 40px !important;
    padding-bottom: 30px !important;
    border-bottom: 2px solid #f0f3f7 !important;
}

.streaming-header h3 {
    font-size: 2rem !important;
    color: #1a1a1a !important;
    margin-bottom: 15px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

.streaming-meta {
    display: flex !important;
    justify-content: center !important;
    gap: 30px !important;
    flex-wrap: wrap !important;
    font-size: 0.95rem !important;
    color: #666 !important;
}

.streaming-meta span {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* SERVICE CATEGORIES */
.service-category {
    margin-bottom: 40px !important;
}

.category-header {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 20px !important;
    padding: 12px 20px !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    border-radius: 12px !important;
    border-left: 4px solid #667eea !important;
}

.category-header h4 {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #2c3e50 !important;
    margin: 0 !important;
}

/* SERVICES GRID */
.services-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 25px !important;
    margin-bottom: 35px !important;
    width: 100% !important;
}

/* SERVICE CARD */
.service-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    border: 2px solid #e8ecf1 !important;
    border-radius: 15px !important;
    padding: 25px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: visible !important;
    width: 100% !important;
    min-width: 0 !important;
}

.service-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12) !important;
    border-color: #667eea !important;
}

/* SERVICE BADGES */
.service-badge {
    position: absolute !important;
    top: -12px !important;
    right: 20px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    padding: 6px 16px !important;
    border-radius: 20px !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4) !important;
    z-index: 10 !important;
}

.service-badge.new {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
}

.service-badge.leaving {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%) !important;
    color: #2c3e50 !important;
}

/* SERVICE HEADER */
.service-header {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    margin-bottom: 20px !important;
}

.service-logo {
    width: 50px !important;
    height: 50px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.5rem !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3) !important;
    flex-shrink: 0 !important;
}

/* Service-spezifische Logos */
.service-logo.netflix {
    background: linear-gradient(135deg, #E50914 0%, #B20710 100%) !important;
}

.service-logo.prime {
    background: linear-gradient(135deg, #00A8E1 0%, #0081B3 100%) !important;
}

.service-logo.disney {
    background: linear-gradient(135deg, #0063E5 0%, #004CA3 100%) !important;
}

.service-logo.apple {
    background: linear-gradient(135deg, #000000 0%, #2c2c2c 100%) !important;
}

.service-info {
    flex: 1 !important;
}

.service-info h5 {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin-bottom: 5px !important;
    margin-top: 0 !important;
}

.service-type {
    display: inline-block !important;
    padding: 4px 12px !important;
    background: #e8ecf1 !important;
    border-radius: 8px !important;
    font-size: 0.8rem !important;
    color: #667eea !important;
    font-weight: 600 !important;
}

/* SERVICE DETAILS */
.service-details {
    display: grid !important;
    gap: 12px !important;
    margin-bottom: 20px !important;
    padding: 15px !important;
    background: #f8f9fa !important;
    border-radius: 10px !important;
}

.detail-row {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 0.9rem !important;
}

.detail-icon {
    width: 28px !important;
    height: 28px !important;
    background: white !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.9rem !important;
    flex-shrink: 0 !important;
}

.detail-label {
    color: #666 !important;
    font-weight: 600 !important;
}

.detail-value {
    color: #1a1a1a !important;
    font-weight: 700 !important;
}

/* QUALITY BADGES */
.quality-badges {
    display: flex !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}

.quality-badge {
    padding: 4px 10px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    border-radius: 6px !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
}

/* SERVICE BUTTON */
.service-button {
    display: block !important;
    width: 100% !important;
    padding: 15px 25px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    text-align: center !important;
    text-decoration: none !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3) !important;
    border: none !important;
    cursor: pointer !important;
}

.service-button:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4) !important;
    text-decoration: none !important;
}

.service-button:focus {
    outline: 2px solid #667eea !important;
    outline-offset: 2px !important;
}

/* SPARTIPP BOX */
.spartipp-box,
.wg-sp-spartipp {
    background: linear-gradient(135deg, #fff9e6 0%, #fffbf0 100%) !important;
    border: 2px solid #ffd700 !important;
    border-radius: 15px !important;
    padding: 25px !important;
    margin: 35px 0 !important;
    color: #2c3e50 !important;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.15) !important;
    display: flex !important;
    gap: 15px !important;
    align-items: flex-start !important;
}

.spartipp-box h4,
.wg-sp-spartipp-content strong {
    font-size: 1.3rem !important;
    margin-bottom: 12px !important;
    margin-top: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-weight: 700 !important;
    color: #2c3e50 !important;
}

.spartipp-box p,
.wg-sp-spartipp-content {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    opacity: 0.95 !important;
    margin: 0 !important;
    color: #2c3e50 !important;
    flex: 1 !important;
}

.spartipp-box strong,
.wg-sp-spartipp-content strong {
    font-weight: 700 !important;
    color: #d97706 !important;
}

.wg-sp-spartipp-icon {
    font-size: 2rem !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
}

.wg-sp-spartipp-savings {
    display: inline-block !important;
    background: #27ae60 !important;
    color: white !important;
    padding: 4px 12px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    margin-left: 8px !important;
    font-size: 0.95rem !important;
}

/* RESPONSIVE DESIGN */

/* Large Screens (3 Spalten) */
@media (min-width: 1400px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Medium Screens (2 Spalten) */
@media (min-width: 768px) and (max-width: 1399px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Mobile (1 Spalte) */
@media (max-width: 767px) {
    .streaming-premium {
        padding: 25px !important;
        border-radius: 15px !important;
    }

    .streaming-header h3 {
        font-size: 1.5rem !important;
    }

    .streaming-meta {
        gap: 15px !important;
        font-size: 0.85rem !important;
    }

    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .service-card {
        padding: 20px !important;
    }

    .service-badge {
        top: -10px !important;
        right: 15px !important;
        font-size: 0.7rem !important;
        padding: 5px 12px !important;
    }

    .service-logo {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.3rem !important;
    }

    .service-info h5 {
        font-size: 1.1rem !important;
    }

    .spartipp-box,
    .wg-sp-spartipp {
        padding: 20px !important;
        flex-direction: column !important;
        text-align: center !important;
    }

    .spartipp-box h4,
    .wg-sp-spartipp-content strong {
        font-size: 1.1rem !important;
    }

    .spartipp-box p,
    .wg-sp-spartipp-content {
        font-size: 0.9rem !important;
    }

    .wg-sp-spartipp-icon {
        font-size: 1.5rem !important;
    }
}

/* ANIMATIONS */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.streaming-premium {
    animation: fadeIn 0.5s ease-out !important;
}

/* ACCESSIBILITY */
.service-button:focus-visible {
    outline: 3px solid #667eea !important;
    outline-offset: 3px !important;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .streaming-premium,
    .service-card,
    .service-button {
        animation: none !important;
        transition: none !important;
    }

    .service-card:hover {
        transform: none !important;
    }
}

/* PRINT STYLES */
@media print {
    .streaming-premium {
        border: 1px solid #000 !important;
        box-shadow: none !important;
        background: white !important;
    }

    .service-card {
        border: 1px solid #ccc !important;
        box-shadow: none !important;
        page-break-inside: avoid !important;
    }

    .service-button {
        background: #667eea !important;
    }
}

/* DARK MODE SUPPORT (Optional) */
@media (prefers-color-scheme: dark) {
    .streaming-premium {
        background: #1a1a1a !important;
        border-color: #333 !important;
        color: #e0e0e0 !important;
    }

    .streaming-header h3,
    .category-header h4,
    .service-info h5 {
        color: #e0e0e0 !important;
    }

    .service-card {
        background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%) !important;
        border-color: #444 !important;
    }

    .service-details {
        background: #2a2a2a !important;
    }

    .detail-icon {
        background: #1a1a1a !important;
    }

    .detail-label {
        color: #999 !important;
    }

    .detail-value {
        color: #e0e0e0 !important;
    }

    .spartipp-box,
    .wg-sp-spartipp {
        background: linear-gradient(135deg, #3a3a2a 0%, #2f2f1f 100%) !important;
        border-color: #998800 !important;
        color: #f0f0f0 !important;
    }

    .spartipp-box strong,
    .wg-sp-spartipp-content strong {
        color: #ffa500 !important;
    }
}

/* Dateiname: premium-grid-layout.css */
/* Pfad: /wp-content/plugins/wg-streaming/assets/css/premium-grid-layout.css */
