/* Reviews Page Specific Styles */

/* Page Header */
.page-header {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(22, 33, 62, 0.8) 100%);
    margin: 2rem 0;
    border-radius: 15px;
}

.page-header h1 {
    font-size: 2.8rem;
    color: #ffd700;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.page-header p {
    font-size: 1.2rem;
    color: #e0e0e0;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Filter Section */
.filter-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
}

.filter-controls {
    display: flex;
    gap: 2rem;
    align-items: end;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    color: #ffd700;
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-group select {
    padding: 0.8rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1rem;
    min-width: 200px;
}

.filter-group select:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.filter-group select option {
    background: #1a1a2e;
    color: #ffffff;
}

/* Reviews Section */
.reviews-section {
    margin-bottom: 4rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.review-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.3);
}

.review-card:hover::before {
    opacity: 1;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.reviewer-details h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.review-date {
    color: #cccccc;
    font-size: 0.9rem;
}

.review-rating {
    text-align: right;
}

.stars {
    color: #ffd700;
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.rating-text {
    color: #ffd700;
    font-size: 0.9rem;
    font-weight: bold;
}

.review-casino {
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 20px;
    display: inline-block;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.review-casino strong {
    color: #ffd700;
    font-size: 1rem;
}

.review-content {
    margin-bottom: 1.5rem;
}

.review-content p {
    color: #e0e0e0;
    line-height: 1.6;
    font-size: 1rem;
}

.review-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag.positive {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.tag.neutral {
    background: rgba(255, 152, 0, 0.2);
    color: #FF9800;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.tag.negative {
    background: rgba(244, 67, 54, 0.2);
    color: #F44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

/* Load More Section */
.load-more-section {
    text-align: center;
    margin-top: 3rem;
}

#loadMoreReviews {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

/* Review Guidelines */
.review-guidelines {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 15px;
    margin-top: 4rem;
}

.review-guidelines h2 {
    color: #ffd700;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.guidelines-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.guideline-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #ffd700;
}

.guideline-item h3 {
    color: #4CAF50;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.guideline-item p {
    color: #e0e0e0;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Active Navigation */
.main-nav a.active {
    color: #ffd700;
    font-weight: bold;
}

/* Responsive Design for Reviews */
@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .review-card {
        padding: 1.5rem;
    }
    
    .filter-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group select {
        min-width: auto;
        width: 100%;
    }
    
    .review-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .review-rating {
        text-align: left;
    }
    
    .guidelines-content {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .review-card {
        padding: 1rem;
    }
    
    .reviewer-info {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .reviewer-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .review-tags {
        justify-content: center;
    }
    
    .filter-section {
        padding: 1.5rem;
    }
    
    .review-guidelines {
        padding: 2rem 1rem;
    }
}

/* Animation for loading more reviews */
.review-card.loading {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Filter animation */
.review-card.filtered-out {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.review-card.filtered-in {
    opacity: 1;
    transform: scale(1);
    transition: all 0.3s ease;
}
