/* Games Page Specific Styles */

/* Game Catalog Header */
.game-catalog-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('') no-repeat center center;
    background-size: cover;
    border-radius: 10px;
    padding: 40px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    background-color: var(--gradient-start);
}

.game-catalog-header h1 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.game-catalog-header p {
    font-size: 16px;
    max-width: 800px;
    opacity: 0.9;
}

/* Game Section Content */
.game-section, .info-section {
	margin-top: 40px;
}

.game-section-content {
    margin-bottom: 25px;
    padding: 0 15px;
    border-left: 3px solid var(--primary-color);
}

.game-section-content h3 {
    font-size: 20px;
    margin: 20px 0 10px;
    color: var(--secondary-color);
}

.game-section-content p {
    margin-bottom: 15px;
}

/* Game Categories */
.game-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.game-category {
    padding: 8px 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.game-category:hover,
.game-category.active {
    background-color: var(--primary-color);
    color: #fff;
}

.game-category i {
    margin-right: 5px;
    font-size: 12px;
}

/* Game Providers */
.provider-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 25px 0;
}

.provider-logo {
    width: 80px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.provider-logo:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Game Filters */
.game-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background-color: var(--dark-bg);
    border-radius: 10px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-label {
    font-size: 14px;
    color: var(--secondary-color);
}

.filter-select {
    padding: 8px 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 5px;
    color: var(--light-text);
    font-size: 14px;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--primary-color);
}

.filter-btn {
    padding: 8px 15px;
    background-color: var(--primary-color);
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: var(--primary-color);
    opacity: 0.9;
}

/* Game Grid Enhancement */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.game-card {
    background-color: var(--dark-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.game-provider {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 12px;
    z-index: 2;
}

.game-thumbnail {
    height: 150px;
    background-color: rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
}

.game-card:nth-child(1) { --animation-order: 0; }
.game-card:nth-child(2) { --animation-order: 1; }
.game-card:nth-child(3) { --animation-order: 2; }
.game-card:nth-child(4) { --animation-order: 3; }
.game-card:nth-child(5) { --animation-order: 4; }
.game-card:nth-child(6) { --animation-order: 5; }

.play-btn {
    position: absolute;
    z-index: 2;
    opacity: 0;
    transition: all 0.3s ease;
    transform: scale(0.8);
}

.game-thumbnail:hover .play-btn {
    opacity: 1;
    transform: scale(1);
}

.play-btn a {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.play-btn i {
    font-size: 20px;
    color: #fff;
}

.game-title {
    padding: 15px;
    font-size: 16px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Game Info Overlay */
.game-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 15px;
    transform: translateY(100%);
    transition: all 0.3s ease;
    z-index: 2;
}

.game-card:hover .game-info-overlay {
    transform: translateY(0);
}

.game-info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 12px;
}

.game-info-label {
    color: var(--secondary-color);
}

.game-info-value {
    color: #fff;
}

/* Load More Button */
.load-more {
    text-align: center;
    margin: 30px 0;
}

.load-more .btn {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--light-text);
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more .btn:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Game Details Modal */
.game-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.game-modal {
    width: 90%;
    max-width: 800px;
    background-color: var(--dark-bg);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.game-modal-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.game-modal-close {
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 24px;
    cursor: pointer;
}

.game-modal-body {
    padding: 20px;
}

.game-preview {
    height: 300px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--secondary-color);
}

.game-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.game-detail-item {
    margin-bottom: 15px;
}

.game-detail-label {
    font-size: 14px;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.game-detail-value {
    font-size: 16px;
}

.game-modal-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .game-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
    
    .game-filters {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .game-details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .game-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .game-catalog-header {
        padding: 30px 20px;
    }
    
    .game-catalog-header h1 {
        font-size: 28px;
    }
    
    .provider-logos {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .game-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .game-thumbnail {
        height: 120px;
    }
    
    .game-title {
        font-size: 14px;
        padding: 10px;
    }
    
    .game-catalog-header h1 {
        font-size: 24px;
    }
} 