/* style/platform-reviews.css */

/* General styles for the page content */
.page-platform-reviews {
    font-family: 'Arial', sans-serif;
    color: #F8F8F8; /* Light text for dark background, contrast with #1A202C */
    background-color: #1A202C; /* Primary dark background */
    line-height: 1.6;
}

.page-platform-reviews__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-platform-reviews__hero {
    background: linear-gradient(135deg, #1A202C 0%, #3a475a 100%); /* Slightly lighter gradient for hero */
    padding: 80px 0;
    text-align: center;
    color: #FFD700; /* Gold for hero title */
}

.page-platform-reviews__title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for main title */
    font-weight: bold;
}

.page-platform-reviews__subtitle {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #D1D1D1; /* Slightly lighter text for subtitle, contrast with dark background */
}

.page-platform-reviews__cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-platform-reviews__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    font-size: 1.1em;
    text-align: center;
    white-space: nowrap;
}

.page-platform-reviews__btn--primary {
    background-color: #FFD700; /* Gold background */
    color: #1A202C; /* Dark text, contrast with gold */
    border: 2px solid #FFD700;
}

.page-platform-reviews__btn--primary:hover {
    background-color: #e5c100; /* Darker gold */
    transform: translateY(-2px);
}

.page-platform-reviews__btn--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text, contrast with dark background */
    border: 2px solid #FFD700;
}

.page-platform-reviews__btn--secondary:hover {
    background-color: #FFD700; /* Gold background */
    color: #1A202C; /* Dark text */
    transform: translateY(-2px);
}

.page-platform-reviews__btn--download {
    background-color: #4A5568; /* A darker grey for download buttons */
    color: #FFD700; /* Gold text, contrast with dark grey */
    border: 2px solid #4A5568;
}

.page-platform-reviews__btn--download:hover {
    background-color: #3a475a;
    border-color: #3a475a;
    transform: translateY(-2px);
}

.page-platform-reviews__btn--small {
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 5px;
    background-color: #4A5568;
    color: #FFD700;
    border: 1px solid #4A5568;
}

.page-platform-reviews__btn--small:hover {
    background-color: #3a475a;
    border-color: #3a475a;
}

.page-platform-reviews__section {
    padding: 60px 0;
    border-bottom: 1px solid #3A404E; /* Subtle separator, contrast with background */
}

.page-platform-reviews__section:last-of-type {
    border-bottom: none;
}

.page-platform-reviews__section-title {
    font-size: 2.2em;
    color: #FFD700; /* Gold for section titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.page-platform-reviews__section-title.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.page-platform-reviews__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
}

.page-platform-reviews__sub-title {
    font-size: 1.6em;
    color: #FFD700; /* Gold for sub-titles */
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: left;
}

.page-platform-reviews__content-wrapper p {
    margin-bottom: 1em;
    color: #D1D1D1; /* Lighter grey for paragraph text, contrast with dark background */
    font-size: 1.05em;
    text-align: justify;
}

.page-platform-reviews__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 1.5em;
    color: #D1D1D1;
}

.page-platform-reviews__list li {
    margin-bottom: 0.5em;
}

.page-platform-reviews__numbered-list {
    list-style-type: decimal;
    margin-left: 25px;
    margin-bottom: 1.5em;
    color: #D1D1D1;
}

.page-platform-reviews__numbered-list li {
    margin-bottom: 0.5em;
}

.page-platform-reviews__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 30px auto;
    display: block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-platform-reviews__cta-final {
    text-align: center;
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Detail cards for related reviews */
.page-platform-reviews__detail-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-platform-reviews__card {
    background-color: #2D3748; /* Slightly lighter dark for cards, contrast with #1A202C */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; /* Added border-color for JS hover */
    border: 1px solid transparent; /* Initial transparent border */
}

.page-platform-reviews__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-platform-reviews__card-title {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-platform-reviews__card-title a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-platform-reviews__card-title a:hover {
    color: #e5c100;
    text-decoration: underline;
}

.page-platform-reviews__card-description {
    color: #D1D1D1;
    font-size: 0.95em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-platform-reviews__app-download-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-platform-reviews__title {
        font-size: 2.2em;
    }

    .page-platform-reviews__section-title {
        font-size: 1.8em;
    }

    .page-platform-reviews__sub-title {
        font-size: 1.4em;
    }

    .page-platform-reviews__btn {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-platform-reviews__cta-group,
    .page-platform-reviews__cta-final,
    .page-platform-reviews__app-download-links {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .page-platform-reviews__title {
        font-size: 1.8em;
    }

    .page-platform-reviews__subtitle {
        font-size: 1em;
    }

    .page-platform-reviews__section-title {
        font-size: 1.5em;
    }

    .page-platform-reviews__sub-title {
        font-size: 1.2em;
    }

    .page-platform-reviews__btn {
        width: 100%;
        max-width: 280px;
    }
}