/* 1111Bet Games Block Styles */

.games-section {
    margin: 3rem 0;
    padding: 2rem 0;
}

.games-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.games-title {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    margin: 0;
}

.games-filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 2px solid #ffeb00;
    color: #ffeb00;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
}

.filter-btn:hover,
.filter-btn.active {
    background: #ffeb00;
    color: #191919;
    transform: translateY(-2px);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.game-card {
    position: relative;
    background: #212121;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.game-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.4);
}

.game-image {
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-image {
    transform: scale(1.05);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.play-btn {
    background: linear-gradient(135deg, #ffeb00, #ffd700);
    color: #191919;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.demo-btn {
    color: #fff;
    backdrop-filter: blur(10px);
}

.demo-btn:hover {
    box-shadow: 0 4px 15px rgba(255, 235, 255, 0.5) !important;
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 235, 0, 0.5);
}

.game-info {
    padding: 1rem;
}

.game-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.game-type {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: #ffeb00;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
}

.game-duration {
    color: #ccc;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.game-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
}

.games-cta {
    text-align: center;
    margin-top: 2rem;
}

.cta-btn {
    background: linear-gradient(135deg, #ffeb00, #ffd700);
    color: #191919;
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 235, 0, 0.4);
}

/* Slots specific styles */
.slots-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.sort-btn {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 2px solid #ffeb00;
    color: #ffeb00;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.sort-btn:hover,
.sort-btn.active {
    background: #ffeb00;
    color: #191919;
}

.theme-filters {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.theme-btn {
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.theme-btn:hover,
.theme-btn.active {
    background: #ffeb00;
    color: #191919;
    border-color: #ffeb00;
}

/* Games specific styles */
.games-categories {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.category-btn {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 2px solid #ffeb00;
    color: #ffeb00;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-btn:hover,
.category-btn.active {
    background: #ffeb00;
    color: #191919;
}

.quick-filters {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.quick-btn {
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.quick-btn:hover,
.quick-btn.active {
    background: #ffeb00;
    color: #191919;
    border-color: #ffeb00;
}

/* Responsive Design */
@media (max-width: 768px) {
    .games-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .games-title {
        font-size: 1.5rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .games-filters,
    .slots-filters,
    .games-categories {
        flex-direction: column;
        width: 100%;
    }
    
    .filter-btn,
    .sort-btn,
    .category-btn {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .games-grid {
        grid-template-columns: 1fr;
    }
    

}
