@charset "UTF-8";

/**
 * Стили для блока слотов в grid 2x2
 */

/* Секция слотов на всю ширину */
.home-slots-section {
    width: 100%;
    padding: 2rem 0;
    margin: 0;
}

.home-slots-section .container {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0 1rem;
    box-sizing: border-box;
}

.home-slots-grid {
    margin: 0;
    padding: 0;
    background: transparent;
}

.slots-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
}

.slot-card {
    position: relative;
    background: var(--color-bg-light);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    aspect-ratio: 1;
    margin: 0;
}

.slot-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.2);
}

.slot-card__link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.slot-card__link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.slot-card:hover .slot-card__link img {
    transform: scale(1.05);
}

.slot-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-bg-light) 0%, var(--color-bg) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.slot-icon {
    font-size: 4rem;
    opacity: 0.5;
}

/* Адаптивность */
@media (max-width: 768px) {
    .home-slots-section {
        padding: 1.5rem 0;
    }
    
    .home-slots-section .container {
        padding: 0 1rem;
    }
    
    .slots-grid-container {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 12px;
    }
    
    .slot-card {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .home-slots-section {
        padding: 1rem 0;
    }
    
    .home-slots-section .container {
        padding: 0 0.5rem;
    }
    
    .slots-grid-container {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 10px;
    }
    
    .slot-card {
        width: 100%;
    }
}

