.product-page {
    padding-top: 80px;
    background: var(--background-color);
}

.product-hero {
    background: var(--surface-color);
    padding: 4rem 5%;
}

.product-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 4rem;
    align-items: start;
}

.product-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-info h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.product-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 2rem 0;
}

.product-meta {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.meta-item i {
    color: #2ecc71;
    font-size: 1.2rem;
}

.product-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.product-buttons .store-button {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.product-features {
    padding: 6rem 5%;
    background: var(--background-color);
}

.product-features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: var(--text-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--surface-color);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: #2ecc71;
}

.feature-card i {
    font-size: 2.5rem;
    color: #2ecc71;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.product-screenshots {
    padding: 6rem 5%;
    background: var(--surface-color);
}

.product-screenshots h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: var(--text-color);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-details {
    padding: 6rem 5%;
    background: var(--background-color);
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.version-history h2,
.language-support h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.version-table,
.language-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface-color);
    border-radius: 8px;
    overflow: hidden;
}

.version-table th,
.language-table th {
    background: rgba(46, 204, 113, 0.1);
    color: var(--text-color);
    text-align: left;
    padding: 1rem;
    font-family: var(--font-special);
}

.version-table td,
.language-table td {
    padding: 0.8rem;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
}

/* Стили для статусов версий */
.status-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-family: var(--font-special);
    margin-right: 0.4rem;
}

.status-dev {
    background: rgba(255, 159, 0, 0.1);
    color: #ff9f00;
}

.status-active {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
}

.status-archive {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.status-beta {
    background: rgba(241, 196, 15, 0.1);
    color: #f1c40f;
}

.status-alpha {
    background: rgba(230, 126, 34, 0.1);
    color: #e67e22;
}

.status-release {
    background: rgba(155, 89, 182, 0.1);
    color: #9b59b6;
}

.status-prerelease {
    background: rgba(52, 73, 94, 0.1);
    color: #34495e;
}

@media (max-width: 1200px) {
    .product-hero-content {
        grid-template-columns: 300px 1fr;
        gap: 2rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .details-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .product-hero {
        padding: 2rem 1rem;
    }

    .product-hero-content {
        grid-template-columns: 1fr;
    }

    .product-image {
        max-width: 300px;
        margin: 0 auto 2rem;
    }

    .product-info {
        text-align: center;
        padding: 0 1rem;
    }

    .product-meta {
        justify-content: center;
        flex-wrap: wrap;
    }

    .game-tags {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .product-buttons {
        flex-direction: column;
    }

    .screenshots-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .version-table,
    .language-table {
        background: transparent;
        border: none;
    }

    .version-table thead,
    .language-table thead {
        display: none;
    }

    .version-table tr,
    .language-table tr {
        display: block;
        background: var(--surface-color);
        margin-bottom: 1rem;
        border-radius: 8px;
        border: 1px solid var(--border-color);
    }

    .version-table td,
    .language-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.8rem 1rem;
        border: none;
        border-bottom: 1px solid var(--border-color);
    }

    .version-table td:last-child,
    .language-table td:last-child {
        border-bottom: none;
    }

    .version-table td::before,
    .language-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-color);
        margin-right: 1rem;
    }

    .status-dev {
        margin-left: auto;
    }

    .language-table td i {
        margin-left: auto;
    }

    .product-details {
        padding: 3rem 1rem;
    }

    .version-history,
    .language-support {
        margin-bottom: 2rem;
    }

    .version-history h2,
    .language-support h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .no-screenshots {
        grid-column: 1 / -1;
        text-align: center;
        padding: 2.5rem 1.5rem;
        background: linear-gradient(145deg, var(--surface-color), rgba(255, 255, 255, 0.02));
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        max-width: 600px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .no-screenshots i {
        font-size: 2.5rem;
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
        color: var(--text-secondary);
        background: rgba(255, 255, 255, 0.05);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        border: 1px solid var(--border-color);
    }

    .no-screenshots p {
        font-size: 1rem;
        color: var(--text-secondary);
        line-height: 1.6;
        max-width: 400px;
        padding: 0 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .details-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
}

.language-table i.fa-check {
    color: #2ecc71;
}

.language-table i.fa-times {
    color: #e74c3c;
}

.no-screenshots {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: var(--surface-color);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.no-screenshots i {
    font-size: 3.5rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border-color);
}

.no-screenshots p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 400px;
    padding: 0 1rem;
}
