/* style/bookmaker-reviews.css */
:root {
    --primary-color: #1A73E8;
    --secondary-color: #FFD700;
    --dark-bg-1: #0d0d0d; /* From shared.css, assuming a dark background */
    --light-text-color: #ffffff;
    --dark-text-color: #333333;
    --light-gray-bg: #f1f3ff;
    --medium-gray-border: #e0e0e0;
}

.page-bookmaker-reviews {
    color: var(--light-text-color); /* Default to light text for overall page, assuming dark body bg */
    background-color: var(--dark-bg-1);
}

/* Fixed navigation bar padding for desktop */
.page-bookmaker-reviews__hero-intro-section,
.page-bookmaker-reviews__criteria-section,
.page-bookmaker-reviews__featured-platforms-section,
.page-bookmaker-reviews__guide-section,
.page-bookmaker-reviews__advice-section,
.page-bookmaker-reviews__faq-section {
    padding-top: 120px; /* Adjust based on actual header height */
    padding-bottom: 60px;
}

/* Specific adjustment for the first section if it's not a hero */
.page-bookmaker-reviews__hero-intro-section {
    padding-top: 180px; /* More aggressive padding for the very top section */
    background: linear-gradient(135deg, #1A73E8, #2e81f7); /* A gradient that is dark */
    color: var(--light-text-color);
}

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

.page-bookmaker-reviews__main-title {
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: var(--light-text-color);
    line-height: 1.2;
}

.page-bookmaker-reviews__intro-text {
    font-size: 18px;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

.page-bookmaker-reviews__intro-text a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-bookmaker-reviews__intro-text a:hover {
    text-decoration: underline;
}

.page-bookmaker-reviews__section-title {
    font-size: 38px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: var(--light-text-color);
    line-height: 1.3;
}

.page-bookmaker-reviews__section-description {
    font-size: 17px;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

.page-bookmaker-reviews__section-description a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-bookmaker-reviews__section-description a:hover {
    text-decoration: underline;
}

.page-bookmaker-reviews__criteria-section {
    background-color: var(--light-gray-bg);
    color: var(--dark-text-color);
    padding: 80px 0;
}

.page-bookmaker-reviews__criteria-section .page-bookmaker-reviews__section-title,
.page-bookmaker-reviews__criteria-section .page-bookmaker-reviews__section-description {
    color: var(--dark-text-color);
}

.page-bookmaker-reviews__criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-bookmaker-reviews__criteria-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--dark-text-color);
    border: 1px solid var(--medium-gray-border);
}

.page-bookmaker-reviews__criteria-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-bookmaker-reviews__card-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-bookmaker-reviews__card-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark-text-color);
}

.page-bookmaker-reviews__card-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-bookmaker-reviews__card-text a:hover {
    text-decoration: underline;
}

.page-bookmaker-reviews__featured-platforms-section {
    padding: 80px 0;
    background-color: var(--dark-bg-1);
    color: var(--light-text-color);
}

.page-bookmaker-reviews__platform-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-bookmaker-reviews__platform-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-bookmaker-reviews__platform-card:hover {
    transform: translateY(-8px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-bookmaker-reviews__platform-logo {
    width: 150px;
    height: auto;
    max-width: 100%;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: contain;
}

.page-bookmaker-reviews__platform-name {
    font-size: 28px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-bookmaker-reviews__platform-description {
    font-size: 16px;
    line-height: 1.7;
    color: #e0e0e0;
    margin-bottom: 25px;
}

.page-bookmaker-reviews__platform-description a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-bookmaker-reviews__platform-description a:hover {
    text-decoration: underline;
}

.page-bookmaker-reviews__btn-detail {
    display: inline-block;
    background: var(--primary-color);
    color: var(--light-text-color);
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-bookmaker-reviews__btn-detail:hover {
    background: #0d5ee3;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-bookmaker-reviews__guide-section {
    background-color: var(--light-gray-bg);
    color: var(--dark-text-color);
    padding: 80px 0;
}

.page-bookmaker-reviews__guide-section .page-bookmaker-reviews__section-title,
.page-bookmaker-reviews__guide-section .page-bookmaker-reviews__section-description {
    color: var(--dark-text-color);
}

.page-bookmaker-reviews__guide-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-bookmaker-reviews__guide-list li {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px 25px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    font-size: 17px;
    line-height: 1.6;
    color: var(--dark-text-color);
    border-left: 5px solid var(--primary-color);
}

.page-bookmaker-reviews__guide-list li strong {
    color: var(--primary-color);
    font-size: 18px;
}

.page-bookmaker-reviews__btn-download {
    display: block;
    width: fit-content;
    margin: 30px auto 0 auto;
    background: linear-gradient(135deg, var(--secondary-color), #ffc107);
    color: var(--dark-text-color);
    padding: 15px 35px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}

.page-bookmaker-reviews__btn-download:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, #ffc107, #ffa500);
}

.page-bookmaker-reviews__advice-section {
    padding: 80px 0;
    background-color: var(--dark-bg-1);
    color: var(--light-text-color);
}

.page-bookmaker-reviews__advice-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-bookmaker-reviews__advice-list li {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 20px 25px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-size: 17px;
    line-height: 1.6;
    color: #e0e0e0;
    border-left: 5px solid var(--secondary-color);
}

.page-bookmaker-reviews__advice-list li strong {
    color: var(--secondary-color);
    font-size: 18px;
}

.page-bookmaker-reviews__advice-list li a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-bookmaker-reviews__advice-list li a:hover {
    text-decoration: underline;
}

.page-bookmaker-reviews__faq-section {
    background-color: var(--light-gray-bg);
    color: var(--dark-text-color);
    padding: 80px 0;
}

.page-bookmaker-reviews__faq-section .page-bookmaker-reviews__section-title {
    color: var(--dark-text-color);
}

.page-bookmaker-reviews__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-bookmaker-reviews__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-bookmaker-reviews__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 15px;
    opacity: 0;
    color: var(--dark-text-color);
}

.page-bookmaker-reviews__faq-item.active .page-bookmaker-reviews__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
}

.page-bookmaker-reviews__faq-answer p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark-text-color);
}

.page-bookmaker-reviews__faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-bookmaker-reviews__faq-answer a:hover {
    text-decoration: underline;
}

.page-bookmaker-reviews__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--medium-gray-border);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-bookmaker-reviews__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-bookmaker-reviews__faq-question:active {
    background: #eeeeee;
}

.page-bookmaker-reviews__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--dark-text-color);
}

.page-bookmaker-reviews__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.page-bookmaker-reviews__faq-item.active .page-bookmaker-reviews__faq-toggle {
    color: var(--primary-color);
    transform: rotate(45deg); /* Change + to X */
}

.page-bookmaker-reviews__faq-more-info {
    text-align: center;
    font-size: 16px;
    margin-top: 30px;
    color: var(--dark-text-color);
}

.page-bookmaker-reviews__faq-more-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-bookmaker-reviews__faq-more-info a:hover {
    text-decoration: underline;
}

/* Image specific styles */
.page-bookmaker-reviews__image-wrapper {
    text-align: center;
    margin: 40px 0;
}

.page-bookmaker-reviews__content-image {
    max-width: 800px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

/* Responsive design */
@media (max-width: 1024px) {
    .page-bookmaker-reviews__main-title {
        font-size: 40px;
    }
    .page-bookmaker-reviews__section-title {
        font-size: 32px;
    }
    .page-bookmaker-reviews__intro-text,
    .page-bookmaker-reviews__section-description {
        font-size: 17px;
    }
    .page-bookmaker-reviews__content-image {
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    /* Mobile padding adjustment for fixed header */
    .page-bookmaker-reviews__hero-intro-section,
    .page-bookmaker-reviews__criteria-section,
    .page-bookmaker-reviews__featured-platforms-section,
    .page-bookmaker-reviews__guide-section,
    .page-bookmaker-reviews__advice-section,
    .page-bookmaker-reviews__faq-section {
        padding-top: 100px !important; /* Mobile specific padding */
        padding-bottom: 40px;
    }

    .page-bookmaker-reviews__container {
        padding: 0 15px;
    }

    .page-bookmaker-reviews__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-bookmaker-reviews__intro-text {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-bookmaker-reviews__section-title {
        font-size: 28px;
        margin-bottom: 25px;
    }
    .page-bookmaker-reviews__section-description {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .page-bookmaker-reviews__criteria-card,
    .page-bookmaker-reviews__platform-card {
        padding: 25px;
    }
    .page-bookmaker-reviews__card-title {
        font-size: 22px;
    }
    .page-bookmaker-reviews__card-text {
        font-size: 15px;
    }
    .page-bookmaker-reviews__platform-name {
        font-size: 24px;
    }
    .page-bookmaker-reviews__platform-description {
        font-size: 15px;
    }
    .page-bookmaker-reviews__btn-detail {
        padding: 10px 20px;
        font-size: 15px;
    }

    .page-bookmaker-reviews__guide-list li,
    .page-bookmaker-reviews__advice-list li {
        padding: 18px 20px;
        font-size: 15px;
    }
    .page-bookmaker-reviews__guide-list li strong,
    .page-bookmaker-reviews__advice-list li strong {
        font-size: 16px;
    }
    .page-bookmaker-reviews__btn-download {
        padding: 12px 25px;
        font-size: 16px;
    }

    .page-bookmaker-reviews__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-bookmaker-reviews__faq-question h3 {
        font-size: 16px;
        width: calc(100% - 40px);
    }
    .page-bookmaker-reviews__faq-toggle {
        margin-left: 10px;
        width: 28px;
        height: 28px;
        font-size: 24px;
    }
    .page-bookmaker-reviews__faq-answer {
        padding: 0 15px;
    }
    .page-bookmaker-reviews__faq-item.active .page-bookmaker-reviews__faq-answer {
        padding: 15px !important;
    }
    .page-bookmaker-reviews__faq-answer p {
        font-size: 15px;
    }
    .page-bookmaker-reviews__faq-more-info {
        font-size: 15px;
    }

    /* Mobile image responsive override */
    .page-bookmaker-reviews img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-bookmaker-reviews__image-wrapper,
    .page-bookmaker-reviews__content-image,
    .page-bookmaker-reviews__platform-logo {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-bookmaker-reviews__platform-logo {
        width: 120px;
    }
}