/* Reviews Module Styles */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

.reviews-page {
    padding: 40px 0;
    background: transparent;
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    min-height: 100vh;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 2.5em;
    color: #ff8c00;
    margin-bottom: 10px;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-header p {
    font-size: 1.2em;
    color: #ccc;
}

/* Filters */
.reviews-filters {
    background: linear-gradient(135deg, #ff8c00 0%, #ff6b00 100%);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
}

.filter-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.filter-group input,
.filter-group select {
    padding: 10px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 6px;
    font-size: 1em;
    background: rgba(255,255,255,0.95);
    font-family: 'Nunito', sans-serif;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: #fff;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.2);
}

.filter-actions {
    display: flex;
    gap: 10px;
}

.results-info {
    margin-bottom: 20px;
    color: #ccc;
    font-weight: 600;
}

/* Reviews Grid */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.review-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid rgba(255, 140, 0, 0.3);
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(255, 140, 0, 0.4);
    border-color: #ff8c00;
}

.review-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.review-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

.review-content {
    padding: 20px;
}

.review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.platform {
    background: linear-gradient(135deg, #ff8c00 0%, #ff6b00 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 6px rgba(255, 140, 0, 0.4);
}

.rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    color: #ffb700;
    font-size: 1.2em;
    letter-spacing: 2px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.rating-value {
    font-weight: 700;
    color: #ffb700;
    font-size: 1.1em;
}

.review-title {
    margin: 0 0 10px 0;
    font-size: 1.3em;
    font-weight: 700;
}

.review-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.review-title a:hover {
    color: #ff8c00;
}

.game-title {
    color: #aaa;
    font-size: 0.95em;
    margin-bottom: 15px;
    font-style: italic;
}

.review-excerpt {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 15px;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid #444;
    font-size: 0.9em;
    color: #888;
    margin-bottom: 15px;
}

.review-footer .author {
    color: #666;
}

.review-footer .author strong {
    color: #ff8c00;
    font-weight: 600;
}

/* Social Share Buttons */
.social-share {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    flex-wrap: wrap;
}

.share-label {
    font-weight: 700;
    color: #fff;
    margin-right: 10px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    color: white;
}

.twitter-btn {
    background: #1DA1F2;
}

.twitter-btn:hover {
    background: #0d8bd9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 161, 242, 0.4);
}

.facebook-btn {
    background: #1877F2;
}

.facebook-btn:hover {
    background: #0c63d4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

.copy-btn {
    background: #6c757d;
}

.copy-btn:hover {
    background: #545b62;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.4);
}

.share-btn svg {
    flex-shrink: 0;
}

/* Single Review Page */
.single-review {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    border: 2px solid #ff8c00;
}

.review-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #ff8c00;
}

.review-header h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: #ff8c00;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.game-info {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 30px;
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(135deg, #ff8c00 0%, #ff6b00 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
}

.game-info img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.game-details h3 {
    margin-top: 0;
    color: #fff;
    font-weight: 700;
    font-size: 1.3em;
}

.game-details p {
    margin: 8px 0;
    color: rgba(255,255,255,0.95);
    font-weight: 600;
}

.game-details strong {
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.review-body {
    line-height: 1.8;
    font-size: 1.1em;
    color: #333;
    padding: 20px;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    margin: 20px 0;
}

.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.pros, .cons {
    padding: 20px;
    border-radius: 8px;
}

.pros {
    background: #d4edda;
    border-left: 4px solid #28a745;
}

.cons {
    background: #f8d7da;
    border-left: 4px solid #dc3545;
}

.pros h3, .cons h3 {
    margin-top: 0;
}

/* Comments Section */
.comments-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #eee;
}

/* Related Reviews Section */
.related-reviews {
    margin-top: 60px;
}

.related-section {
    margin-bottom: 50px;
}

.related-section h2 {
    color: #ff8c00;
    font-size: 1.8em;
    margin-bottom: 25px;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.related-section .reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.related-section .review-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid rgba(255, 140, 0, 0.3);
}

.related-section .review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(255, 140, 0, 0.4);
}

.comment {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 15px;
}

.comment.reply {
    margin-left: 40px;
    background: #e9ecef;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.comment-author {
    font-weight: bold;
    color: #007bff;
}

.comment-date {
    color: #888;
    font-size: 0.9em;
}

.comment-content {
    line-height: 1.6;
    color: #333;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 1em;
}

.btn:hover {
    background: #0056b3;
}

.btn-secondary {
    background: #6c757d;
}

.btn-secondary:hover {
    background: #545b62;
}

.btn-read-more {
    width: 100%;
    text-align: center;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.page-numbers {
    display: flex;
    gap: 5px;
}

.page-num {
    padding: 8px 12px;
}

.page-num.active {
    background: #0056b3;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 8px;
}

.no-results p {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .filter-form {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .game-info {
        grid-template-columns: 1fr;
    }
    
    .pros-cons {
        grid-template-columns: 1fr;
    }
    
    .comment.reply {
        margin-left: 20px;
    }
}
