/* info.css - Информация о товаре */

.product-info {
    background: var(--dark-card);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--border);
}

/* info.css - Информация о товаре */

.product-header {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

/* Обложка - по центру и увеличенная */
.product-cover {
    width: 200px;
    flex-shrink: 0;
    margin: 0 auto;
    text-align: center;
}

.product-cover-img {
    width: 100%;
    max-width: 200px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.product-cover-img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

.product-header-info {
    flex: 1;
}

.product-header-info h1 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: var(--light);
    background: linear-gradient(135deg, #fff, var(--primary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Для мобильных устройств */
@media (max-width: 768px) {
    .product-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .product-cover {
        width: 150px;
    }
    
    .product-cover-img {
        max-width: 150px;
    }
    
    .product-header-info h1 {
        font-size: 1.4rem;
        text-align: center;
    }
}

.product-header-info {
    flex: 1;
}

.product-header-info h1 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--light);
}

.product-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.badge.version {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
}

.badge.age.rating-18 { background: var(--danger); color: white; }
.badge.age.rating-16 { background: #ff6b6b; color: white; }
.badge.age.rating-12 { background: var(--warning); color: black; }
.badge.age.rating-6 { background: var(--success); color: white; }

.badge.status.released { background: var(--success); color: white; }
.badge.status.dev { background: var(--primary); color: white; }
.badge.status.discontinued { background: var(--danger); color: white; }

.badge.new {
    background: linear-gradient(135deg, #ff6b6b, var(--danger));
    color: white;
}

.product-description-short {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    padding: 12px;
    margin: 12px 0;
    line-height: 1.5;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    border-left: 3px solid var(--primary);
}

.product-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.category {
    background: rgba(108, 99, 255, 0.15);
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 0.7rem;
    color: var(--primary);
    border: 1px solid rgba(108, 99, 255, 0.2);
}

.product-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
}

.info-item i {
    width: 22px;
    color: var(--primary);
    font-size: 0.9rem;
}

.info-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.info-item strong {
    font-size: 0.6rem;
    color: var(--gray);
    text-transform: uppercase;
}

.info-item span {
    font-size: 0.8rem;
    color: var(--light);
}

.profile-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.8rem;
}

.profile-link:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.progress-block {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 15px;
    margin-top: 15px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.8rem;
    color: var(--gray);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
    transition: width 0.5s;
}