/* style/casino-reviews.css */
:root {
    --primary-color: #1A2A44;
    --secondary-color: #FFCC00;
    --dark-bg-1: #0d0d0d;
    --text-light: #ffffff;
    --text-dark: #333333;
    --accent-color: #e74c3c;
}

.page-casino-reviews {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light backgrounds */
    background-color: var(--dark-bg-1); /* Body background from shared.css */
}

.page-casino-reviews__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Top padding for fixed header */
.page-casino-reviews__hero-banner {
    padding-top: 180px; /* Desktop: Adjust based on fixed header height */
}

.page-casino-reviews__section-title {
    font-size: 36px;
    color: var(--text-light); /* Default for dark sections */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-casino-reviews__text-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-casino-reviews__text-link:hover {
    color: #ffd700;
    text-decoration: underline;
}

.page-casino-reviews__highlight {
    color: var(--secondary-color);
    font-weight: bold;
}

/* Hero Banner Section */
.page-casino-reviews__hero-banner {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, #3a4a64 100%); /* Slightly lighter variant for visual depth */
    padding-bottom: 60px;
}

.page-casino-reviews__hero-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-casino-reviews__hero-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-casino-reviews__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

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

.page-casino-reviews__main-title .page-casino-reviews__link-in-title {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-casino-reviews__main-title .page-casino-reviews__link-in-title:hover {
    color: #ffd700;
    text-decoration: underline;
}

.page-casino-reviews__hero-description {
    font-size: 20px;
    color: #e0e0e0;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-casino-reviews__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-casino-reviews__cta-button:hover {
    background: #ffd700;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Introduction Section */
.page-casino-reviews__introduction-section {
    padding: 60px 0;
    color: var(--text-light);
}

.page-casino-reviews__introduction-section p {
    font-size: 18px;
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Criteria Section */
.page-casino-reviews__criteria-section {
    padding: 80px 0;
    background: #ffffff;
    color: var(--text-dark);
}

.page-casino-reviews__criteria-section .page-casino-reviews__section-title {
    color: var(--primary-color);
}

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

.page-casino-reviews__criteria-card {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.page-casino-reviews__criteria-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-casino-reviews__criteria-icon {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
    object-fit: contain;
}

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

.page-casino-reviews__criteria-card p {
    font-size: 16px;
    color: #555555;
    line-height: 1.7;
}

/* Top Platforms Section */
.page-casino-reviews__top-platforms-section {
    padding: 80px 0;
    background: var(--dark-bg-1);
    color: var(--text-light);
}

.page-casino-reviews__top-platforms-section .page-casino-reviews__section-title {
    color: var(--text-light);
}

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

.page-casino-reviews__platform-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
}

.page-casino-reviews__platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-casino-reviews__platform-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-casino-reviews__platform-name {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-casino-reviews__platform-description {
    font-size: 15px;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 90px; /* Ensure consistent card height */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.page-casino-reviews__card-actions {
    display: flex;
    justify-content: space-around;
    gap: 15px;
    margin-top: auto; /* Push to bottom */
}

.page-casino-reviews__btn-primary,
.page-casino-reviews__btn-secondary {
    display: block;
    flex: 1;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: none;
    text-align: center;
}

.page-casino-reviews__btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.page-casino-reviews__btn-primary:hover {
    background: #ffd700;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-casino-reviews__btn-secondary {
    background: var(--primary-color);
    color: var(--text-light);
}

.page-casino-reviews__btn-secondary:hover {
    background: #3a4a64;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-casino-reviews__view-all-button-wrapper {
    text-align: center;
    margin-top: 50px;
}

/* Benefits Section */
.page-casino-reviews__benefits-section {
    padding: 80px 0;
    background: #ffffff;
    color: var(--text-dark);
}

.page-casino-reviews__benefits-section .page-casino-reviews__section-title {
    color: var(--primary-color);
}

.page-casino-reviews__benefits-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-casino-reviews__benefits-list li {
    background: #f9f9f9;
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-size: 17px;
    color: #444444;
    border-left: 5px solid var(--secondary-color);
}

.page-casino-reviews__benefits-list li strong {
    color: var(--primary-color);
}

.page-casino-reviews__benefits-section p {
    font-size: 18px;
    text-align: center;
    margin-top: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* How to Choose Section */
.page-casino-reviews__how-to-choose-section {
    padding: 80px 0;
    background: var(--dark-bg-1);
    color: var(--text-light);
}

.page-casino-reviews__how-to-choose-section .page-casino-reviews__section-title {
    color: var(--text-light);
}

.page-casino-reviews__choice-steps {
    list-style: none;
    counter-reset: choice-step-counter;
    padding: 0;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-casino-reviews__choice-steps li {
    counter-increment: choice-step-counter;
    background: #1f304e; /* Darker variant of primary for contrast */
    padding: 25px 30px 25px 70px;
    margin-bottom: 15px;
    border-radius: 8px;
    position: relative;
    font-size: 17px;
    color: #e0e0e0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.page-casino-reviews__choice-steps li::before {
    content: counter(choice-step-counter);
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--secondary-color);
    color: var(--primary-color);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-casino-reviews__choice-steps li strong {
    color: var(--secondary-color);
}

.page-casino-reviews__how-to-choose-section p {
    font-size: 18px;
    text-align: center;
    margin-top: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Section */
.page-casino-reviews__faq-section {
    padding: 80px 0;
    background: #ffffff;
    color: var(--text-dark);
}

.page-casino-reviews__faq-section .page-casino-reviews__section-title {
    color: var(--primary-color);
}

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

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

.page-casino-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;
    padding: 0 15px;
    opacity: 0;
}

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

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

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

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

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

.page-casino-reviews__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: var(--secondary-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: 28px;
    height: 28px;
}

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

.page-casino-reviews__faq-answer p {
    font-size: 16px;
    color: #555555;
    line-height: 1.7;
}

/* Conclusion Section */
.page-casino-reviews__conclusion-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #3a4a64 100%);
    color: var(--text-light);
    text-align: center;
}

.page-casino-reviews__conclusion-section p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-casino-reviews__main-title {
        font-size: 40px;
    }
    .page-casino-reviews__hero-description {
        font-size: 18px;
    }
    .page-casino-reviews__section-title {
        font-size: 30px;
    }
    .page-casino-reviews__criteria-title {
        font-size: 22px;
    }
    .page-casino-reviews__platform-name {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .page-casino-reviews__hero-banner {
        padding-top: 160px !important; /* Mobile: Adjust based on fixed header height */
        padding-bottom: 40px;
    }
    .page-casino-reviews__hero-image {
        max-height: 300px;
        margin-bottom: 20px;
    }
    .page-casino-reviews__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-casino-reviews__hero-description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .page-casino-reviews__cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
    .page-casino-reviews__introduction-section, 
    .page-casino-reviews__criteria-section, 
    .page-casino-reviews__top-platforms-section, 
    .page-casino-reviews__benefits-section, 
    .page-casino-reviews__how-to-choose-section, 
    .page-casino-reviews__faq-section, 
    .page-casino-reviews__conclusion-section {
        padding: 40px 0;
    }
    .page-casino-reviews__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-casino-reviews__section-title {
        font-size: 26px;
        margin-bottom: 30px;
    }
    .page-casino-reviews__criteria-grid, .page-casino-reviews__platform-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-casino-reviews__criteria-card, .page-casino-reviews__platform-card {
        padding: 20px;
    }
    .page-casino-reviews__criteria-icon {
        width: 80px;
        margin-bottom: 15px;
    }
    .page-casino-reviews__criteria-title {
        font-size: 20px;
    }
    .page-casino-reviews__platform-image {
        height: 150px;
    }
    .page-casino-reviews__platform-name {
        font-size: 18px;
    }
    .page-casino-reviews__platform-description {
        font-size: 14px;
        min-height: auto; /* Allow dynamic height on mobile */
    }
    .page-casino-reviews__card-actions {
        flex-direction: column;
        gap: 10px;
    }
    .page-casino-reviews__btn-primary, .page-casino-reviews__btn-secondary {
        font-size: 14px;
        padding: 10px 15px;
    }
    .page-casino-reviews__benefits-list li {
        font-size: 15px;
        padding: 15px 20px;
    }
    .page-casino-reviews__choice-steps li {
        font-size: 15px;
        padding: 20px 20px 20px 60px;
    }
    .page-casino-reviews__choice-steps li::before {
        width: 30px;
        height: 30px;
        font-size: 16px;
        left: 15px;
    }
    .page-casino-reviews__faq-question {
        padding: 15px;
    }
    .page-casino-reviews__faq-question h3 {
        font-size: 15px;
    }
    .page-casino-reviews__faq-toggle {
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-casino-reviews__faq-item.active .page-casino-reviews__faq-answer {
        padding: 15px !important;
    }
    .page-casino-reviews__introduction-section p,
    .page-casino-reviews__benefits-section p,
    .page-casino-reviews__how-to-choose-section p,
    .page-casino-reviews__conclusion-section p {
        font-size: 16px;
    }
    /* Mobile image responsive */
    .page-casino-reviews img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 480px) {
    .page-casino-reviews__main-title {
        font-size: 28px;
    }
    .page-casino-reviews__section-title {
        font-size: 22px;
    }
    .page-casino-reviews__cta-button {
        padding: 10px 25px;
        font-size: 15px;
    }
    .page-casino-reviews__platform-image {
        height: 120px;
    }
    .page-casino-reviews__platform-description {
        min-height: auto;
    }
}