/* --- СТИЛИ СТРАНИЦЫ ОТЗЫВОВ (reviews-style.css) --- */

/* --- Hero Section --- */
.reviews-hero {
    background: var(--light-color);
    color: var(--text-color);
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.reviews-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.reviews-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #555;
}

/* --- Reviews Stats Bar --- */
.reviews-stats-bar {
    background: #f8f9fa;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.rating-summary {
    display: inline-block;
    font-weight: 700;
    font-size: 1.1rem;
    color: #333;
}

.rating-summary strong {
    color: #ffc107;
    font-size: 1.3rem;
}

.rating-summary span {
    color: #666;
    font-weight: normal;
    font-size: 1rem;
    margin-left: 10px;
}

.filters {
    display: inline-block;
    float: right;
}

.filter-btn {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    background: none;
    border: 1px solid #ddd;
    border-radius: 20px;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: #005A5A;
    color: white;
    border-color: #005A5A;
}

/* --- Reviews Grid --- */
.reviews-grid-section {
    padding: 60px 0;
}

.reviews-main-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.review-card-full {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card-full:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.review-media {
    position: relative;
    height: 200px;
}

.review-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button::before {
    content: '▶';
    color: #005A5A;
    font-size: 20px;
    margin-left: 5px;
}

.review-author-full {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.review-author-full img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.review-author-full h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: #333;
}

.review-author-full span {
    font-size: 0.9rem;
    color: #666;
}

.review-content-full {
    padding: 20px;
}

.review-content-full h3 {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    color: #333;
}

.review-content-full p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.video-review .review-content-full h3 {
    color: #005A5A;
}

/* --- Screenshots Gallery --- */
.screenshot-gallery {
    padding: 60px 0;
    background: #f9f9f9;
}

.screenshot-gallery h2 {
    text-align: center;
    margin-bottom: 40px;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.screenshot {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.screenshot:hover {
    transform: scale(1.05);
}

/* --- CTA Section --- */
.quiz-cta {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.quiz-cta h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.quiz-cta p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 992px) {
    .filters {
        float: none;
        display: block;
        margin-top: 15px;
    }
    
    .filter-btn {
        display: inline-block;
        margin: 5px;
    }
}

@media (max-width: 768px) {
    .reviews-hero h1 {
        font-size: 2rem;
    }
    
    .reviews-hero p {
        font-size: 1rem;
    }
    
    .reviews-grid-section, .screenshot-gallery, .quiz-cta {
        padding: 40px 0;
    }
    
    .reviews-main-grid, .screenshot-grid {
        grid-template-columns: 1fr;
    }
    
    .review-media {
        height: 150px;
    }
}