/* Games Page Specific Styles */
.page-header {
    background: linear-gradient(to right, #0f0c29, #302b63, #24243e);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: var(--shadow);
}

.page-header h1 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 10px;
}

.page-header p {
    color: #ddd;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Game Intro Section */
.game-intro {
    background-color: var(--darker);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.game-intro > p {
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Game Categories Tabs */
.game-categories-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.tab-btn {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ccc;
    padding: 12px 20px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tab-btn:hover {
    background-color: rgba(255, 193, 7, 0.1);
    color: var(--primary);
}

.tab-btn.active {
    background-color: rgba(255, 193, 7, 0.2);
    color: var(--primary);
    border-color: var(--primary);
}

.tab-content {
    display: none;
    padding: 15px 0;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.category-description ul {
    padding-left: 20px;
    margin-top: 15px;
}

.category-description li {
    margin-bottom: 10px;
    position: relative;
    list-style-type: disc;
    color: #ccc;
}

/* Game Features */
.game-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.feature {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 5px;
    flex: 1 1 calc(50% - 10px);
}

.feature i {
    color: var(--primary);
    font-size: 24px;
    margin-right: 15px;
}

.feature p {
    font-size: 14px;
    color: #ddd;
}

/* Games Showcase Sections */
.games-showcase {
    margin-bottom: 40px;
}

.games-showcase h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.games-showcase h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary);
}

/* Enhanced Game Cards */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 20px;
}

.game-card {
    background-color: var(--darker);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.game-thumbnail {
    height: 180px;
    background: linear-gradient(to right, #0f0c29, #302b63);
    position: relative;
}

.hot-badge, .jackpot-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
}

.hot-badge {
    background-color: #ff5722;
    color: #fff;
}

.jackpot-badge {
    background-color: #6200ea;
    color: #fff;
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.play-btn, .demo-btn {
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    margin: 5px;
    transform: translateY(20px);
    opacity: 0;
}

.game-card:hover .play-btn,
.game-card:hover .demo-btn {
    transform: translateY(0);
    opacity: 1;
}

.play-btn {
    background-color: var(--primary);
    color: var(--dark);
    transition-delay: 0.1s;
}

.demo-btn {
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
    transition-delay: 0.2s;
}

.play-btn:hover {
    background-color: var(--primary-dark);
}

.demo-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.game-card h4 {
    padding: 15px 15px 5px;
    font-size: 1rem;
    color: #fff;
}

.game-info {
    display: flex;
    justify-content: space-between;
    padding: 0 15px 15px;
    font-size: 12px;
    color: #aaa;
}

.rating {
    color: var(--primary);
}

/* Sidebar Filters */
.sidebar-filters {
    margin-top: 20px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 20px;
}

.sidebar-filters h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    color: #ccc;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group h4 {
    font-size: 14px;
    color: #fff;
    margin-bottom: 10px;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-options label {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #ccc;
    cursor: pointer;
}

.filter-options input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
}

.apply-filters {
    background-color: var(--primary);
    color: var(--dark);
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
}

.apply-filters:hover {
    background-color: var(--primary-dark);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(to right, #ff5722, #ff9800);
    border-radius: 10px;
    padding: 40px;
    margin-top: 40px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-content h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.cta-btn.primary {
    background-color: #fff;
    color: #ff5722;
}

.cta-btn.secondary {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.cta-btn.primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-btn.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .feature {
        flex: 1 1 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .game-categories-tabs {
        flex-direction: column;
        gap: 10px;
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-section {
        padding: 30px 20px;
    }
    
    .cta-content h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header {
        padding: 20px;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
} 