/* Optimized Custom Styles for deutschelabzone.com */

/* Header Styles */
.s-header-type-2 {
    background: linear-gradient(135deg, #1a0b2e 0%, #2d1b69 50%, #4a148c 100%);
    border-bottom: 3px solid #ffd700;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

/* Main Section Styles */
.s-main-type-6 {
    background: linear-gradient(135deg, #1a0b2e 0%, #2d1b69 50%, #4a148c 100%);
}

.s-main-type-6__wave-icon path {
    fill: #ffd700;
}

/* Optimized Advantages Blocks */
.s-advantages-blocks-type-4__wrapper {
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(255, 107, 157, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 10px;
    padding: 25px 20px;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.s-advantages-blocks-type-4__wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(255, 107, 157, 0.4);
    border-color: #ffd700;
}

/* Gallery Section */
.s-gallery-type-10 {
    background: linear-gradient(135deg, #1a0b2e 0%, #2d1b69 50%, #4a148c 100%);
}

.s-gallery-type-10 h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 900;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

/* Game Cards - Optimized */
.games-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.card {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.2);
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.3);
    border-color: #ffd700;
}

.card a {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.card a div {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.card:hover a div {
    transform: scale(1.02);
}

/* Text Section */
.s-text-type-4 {
    background: linear-gradient(135deg, #1a0b2e 0%, #2d1b69 50%, #4a148c 100%);
}

.s-text-type-4__title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

.s-text-type-4__subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.8;
}

/* Advantages Section */
.s-advantages-type-6 {
    background: linear-gradient(135deg, #1a0b2e 0%, #2d1b69 50%, #4a148c 100%);
}

.s-advantages-type-6__item {
    background: rgba(255, 215, 0, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin: 15px 0;
    border-left: 4px solid #ffd700;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.2);
}

.s-advantages-type-6__item:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: translateX(10px) scale(1.01);
    box-shadow: 0 12px 25px rgba(255, 215, 0, 0.3);
}

.s-advantages-type-6__din-number {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    color: #ffd700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}

.s-advantages-type-6__text-wrapper h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    font-size: 1.2rem;
}

.s-advantages-type-6__text-wrapper p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: #e0e0e0;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Footer */
.s-footer-customer-type-4 {
    background: linear-gradient(135deg, #1a0b2e 0%, #2d1b69 50%, #4a148c 100%);
    border-top: 3px solid #ffd700;
    box-shadow: 0 -5px 20px rgba(255, 215, 0, 0.3);
}

.s-footer-customer-type-4__logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 900;
    color: #ffd700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}

.s-footer-customer-type-4__link {
    color: #ffffff;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
}

.s-footer-customer-type-4__link:hover {
    color: #ffd700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.8);
    transform: translateY(-2px);
}

/* Bevel Sections */
.s-bevel-type-1 .sb-background_top-background,
.s-bevel-type-1 .sb-background_bottom-background {
    background: linear-gradient(135deg, #1a0b2e 0%, #2d1b69 50%, #4a148c 100%);
}

/* Responsive Design - Optimized */
@media screen and (max-width: 1200px) {
    .games-container {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
}

@media screen and (max-width: 768px) {
    .games-container {
        grid-template-columns: 1fr;
        max-width: 400px;
        gap: 20px;
    }
    
    .card a div {
        height: 160px;
        padding: 25px;
    }
    
    .card a div h3 {
        font-size: 1.1rem !important;
    }
    
    .card a div p {
        font-size: 0.9rem !important;
    }
    
    .s-advantages-blocks-type-4__wrapper {
        margin: 10px;
        padding: 20px;
    }
}

@media screen and (max-width: 600px) {
    .sb-p-6-bottom {
        flex-direction: column;
    }
    
    .s-advantages-type-6__item {
        padding: 20px;
        margin: 15px 0;
    }
}

/* Custom Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 30px;
    padding: 18px 35px;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(255, 107, 157, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 157, 0.4);
    color: #ffffff;
    border-color: #ffd700;
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
    .card,
    .s-advantages-blocks-type-4__wrapper,
    .s-advantages-type-6__item,
    .s-footer-customer-type-4__link,
    .btn-primary {
        transition: none;
    }
    
    .card:hover,
    .s-advantages-blocks-type-4__wrapper:hover,
    .s-advantages-type-6__item:hover,
    .btn-primary:hover {
        transform: none;
    }
}