/* INFINITE GAME - Products Page Styles */

/* Product Showcase Section */
.product-showcase {
    padding-top: 120px;
    padding-bottom: 80px;
}

.page-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-color);
}

.page-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
    color: #666;
}

/* Product Categories */
.product-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.category-btn {
    background-color: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-btn:hover {
    background-color: #f0f0f0;
}

.category-btn.active {
    background-color: var(--primary-color);
    color: white;
}

/* Product List */
.product-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* Product Item */
.product-item {
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background-color: white;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Product Header */
.product-header {
    display: flex;
    padding: 25px;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.product-icon {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    overflow: hidden;
    margin-right: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.product-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-title {
    flex: 1;
}

.product-title h2 {
    margin: 0 0 5px 0;
    font-size: 1.8rem;
    color: var(--text-color);
}

.product-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.9rem;
    color: #666;
}

.rating, .downloads {
    display: flex;
    align-items: center;
}

.rating i, .downloads i {
    margin-right: 5px;
    color: var(--primary-color);
}

/* Product Screenshots */
.product-screenshots {
    display: flex;
    overflow-x: auto;
    padding: 25px;
    gap: 15px;
    background-color: #f8f9fa;
}

.screenshot {
    flex: 0 0 auto;
    width: 200px;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.screenshot:hover {
    transform: scale(1.05);
}

.screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Video Screenshot */
.video-screenshot {
    width: 350px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-screenshot iframe {
    border-radius: 10px;
}

/* Highlight Screenshot with Overlay */
.highlight-screenshot {
    position: relative;
    overflow: hidden;
}

.screenshot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.highlight-screenshot:hover .screenshot-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    padding: 20px;
    color: white;
}

.overlay-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: white;
}

.overlay-content p {
    font-size: 0.9rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

/* Product Description */
.product-description {
    padding: 25px;
}

.product-description h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.product-description p {
    line-height: 1.6;
    margin-bottom: 20px;
    color: #555;
}

.feature-list {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.feature-list li {
    margin-bottom: 10px;
    line-height: 1.5;
}

/* Product CTA */
.product-cta {
    padding: 0 25px 25px;
    text-align: center;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.download-btn:hover {
    background-color: var(--secondary-color);
}

.download-btn i {
    font-size: 1.2rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.2rem;
    }
    
    .page-description {
        font-size: 1rem;
    }
    
    .product-header {
        flex-direction: column;
        text-align: center;
    }
    
    .product-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .product-meta {
        justify-content: center;
    }
    
    .screenshot {
        width: 150px;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .product-screenshots {
        padding: 15px;
    }
    
    .screenshot {
        width: 120px;
        height: 240px;
    }
    
    .download-btn {
        width: 100%;
    }
}
