/* --- REVIEWS & GUIDES PAGE STYLES --- */

/* --- 1. Page Hero --- */
.page-hero {
    height: 60vh;
    background: linear-gradient(rgba(240, 240, 240, 0.6), rgba(240, 240, 240, 0.7)), 
                url('image/banner.jpg') center center/cover no-repeat;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.page-hero .hero-content h1 {
    font-size: 3rem;
}

@media(max-width: 768px) {
    .page-hero .hero-content h1 {
        font-size: 2.5rem;
    }
    .tab-buttons {
        flex-direction: column;
    }
}

/* --- 2. How We Rate Section --- */
.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}
.criteria-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* --- 3. Spotlight Alt Section --- */
.spotlight-alt {
    background-color: var(--light-color);
}
.rating-summary {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.rating-summary span {
    font-size: 1.2rem;
    font-weight: 600;
}

/* --- 4. Card Rating Badge --- */
.game-card {
    position: relative;
}
.card-rating {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}
.card-rating i {
    color: #f39c12;
}


/* --- 5/6. Tabs --- */
.tabs-container {
    width: 100%;
    max-width: 800px;
    margin: auto;
}
.tab-buttons {
    display: flex;
    border-bottom: 2px solid #eee;
    margin-bottom: 1.5rem;
}
.tab-button {
    padding: 1rem 1.5rem;
    border: none;
    background: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    color: #999;
    position: relative;
    transition: color 0.3s ease;
}
.tab-button:hover {
    color: var(--dark-color);
}
.tab-button.active {
    color: var(--primary-color);
}
.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}
.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}
.tab-content.active {
    display: block;
}
.tab-content h3 { margin-bottom: 1rem; }
.tab-content p { line-height: 1.8; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- 7. Comparison Table --- */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 10px;
    overflow: hidden;
}
.comparison-table th, .comparison-table td {
    padding: 1rem;
    border: 1px solid #eee;
}
.comparison-table thead {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    font-size: 1.1rem;
}
.comparison-table tbody tr:nth-child(even) {
    background-color: var(--light-color);
}
.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
}
@media (max-width: 768px) {
    .comparison-table {
        display: block;
        width: 100%;
        overflow-x: auto;
    }
    .comparison-table thead {
        display: block;
        width: 100%;
    }
    .comparison-table tbody {
        display: block;
        width: 100%;
        overflow-x: scroll;

    }
}

/* --- 8. Accordion --- */
.accordion {
    max-width: 800px;
    margin: auto;
}
.accordion-item {
    border-bottom: 1px solid #ddd;
}
.accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: var(--font-family);
    color: var(--dark-color);
    transition: background-color 0.3s ease;
}
.accordion-header:hover {
    background-color: #e9e3f5;
}
.accordion-header i {
    transition: transform 0.3s ease;
}
.accordion-header.active i {
    transform: rotate(45deg);
    color: var(--primary-color);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: var(--white-color);
}
.accordion-content p {
    padding: 0 1rem 1.5rem 1rem;
}


/* --- 10. Experts Section --- */
.experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}
.expert-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--white-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}
.expert-card h3 {
    color: var(--primary-color);
}

/* --- 11. Upcoming Section --- */
.upcoming-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.upcoming-grid span {
    font-size: 1.5rem;
    font-weight: 600;
    color: #aaa;
    border: 2px dashed #ddd;
    padding: 1.5rem 2rem;
    border-radius: 10px;
}