/* style/resources-32win2-game-fairness.css */

/* Base styles for the page content */
.page-resources-32win2-game-fairness {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: var(--black-color); /* Inherit from shared.css */
}

.page-resources-32win2-game-fairness__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-resources-32win2-game-fairness__hero-section {
    position: relative;
    padding: 100px 0;
    text-align: center;
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-resources-32win2-game-fairness__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6); /* Overlay for readability */
    z-index: 1;
}

.page-resources-32win2-game-fairness__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-resources-32win2-game-fairness__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.page-resources-32win2-game-fairness__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.page-resources-32win2-game-fairness__hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Section Titles */
.page-resources-32win2-game-fairness__section-title {
    font-size: 2.5em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 50px;
    padding-top: 60px;
}

/* Text Blocks */
.page-resources-32win2-game-fairness__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0;
    text-align: justify;
}

.page-resources-32win2-game-fairness__text-block--center {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-resources-32win2-game-fairness__btn-primary,
.page-resources-32win2-game-fairness__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    text-align: center;
}

.page-resources-32win2-game-fairness__btn-primary {
    background: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-resources-32win2-game-fairness__btn-primary:hover {
    background: #1e87b7;
    border-color: #1e87b7;
}

.page-resources-32win2-game-fairness__btn-secondary {
    background: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-resources-32win2-game-fairness__btn-secondary:hover {
    background: #26A9E0;
    color: #ffffff;
}

.page-resources-32win2-game-fairness__btn-primary--large,
.page-resources-32win2-game-fairness__btn-secondary--large {
    padding: 18px 35px;
    font-size: 1.1em;
}

/* Color schemes */
.page-resources-32win2-game-fairness__dark-bg {
    background-color: #0d0d0d; /* Slightly darker than default black for contrast */
    color: #ffffff;
}

.page-resources-32win2-game-fairness__light-bg {
    background-color: #f5f5f5;
    color: #333333;
}

/* Intro Section */
.page-resources-32win2-game-fairness__intro-section {
    padding: 80px 0;
}

.page-resources-32win2-game-fairness__intro-section .page-resources-32win2-game-fairness__section-title {
    color: #333333;
}

.page-resources-32win2-game-fairness__intro-section .page-resources-32win2-game-fairness__text-block {
    color: #555555;
}


/* Feature Section & Technical Section */
.page-resources-32win2-game-fairness__feature-section,
.page-resources-32win2-game-fairness__technical-section {
    padding: 80px 0;
}

.page-resources-32win2-game-fairness__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-32win2-game-fairness__card {
    background: rgba(255, 255, 255, 0.05); /* Slightly transparent white for dark bg */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 400px; /* Ensure cards have some height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    color: #ffffff;
}

.page-resources-32win2-game-fairness__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources-32win2-game-fairness__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
    object-fit: cover;
}

.page-resources-32win2-game-fairness__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #26A9E0; /* Brand color for titles */
}

.page-resources-32win2-game-fairness__card-description {
    font-size: 1em;
    color: #f0f0f0;
    flex-grow: 1; /* Allow description to take available space */
}

.page-resources-32win2-game-fairness__cta-buttons--center {
    text-align: center;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Protection and Transparency Sections */
.page-resources-32win2-game-fairness__protection-section,
.page-resources-32win2-game-fairness__transparency-section {
    padding: 80px 0;
}

.page-resources-32win2-game-fairness__protection-section .page-resources-32win2-game-fairness__section-title,
.page-resources-32win2-game-fairness__transparency-section .page-resources-32win2-game-fairness__section-title {
    color: #333333;
}

.page-resources-32win2-game-fairness__protection-section .page-resources-32win2-game-fairness__text-block,
.page-resources-32win2-game-fairness__transparency-section .page-resources-32win2-game-fairness__text-block {
    color: #555555;
}

.page-resources-32win2-game-fairness__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-resources-32win2-game-fairness__content-wrapper--reverse {
    flex-direction: row-reverse;
}

.page-resources-32win2-game-fairness__image-wrapper {
    flex: 1;
    min-width: 300px;
}

.page-resources-32win2-game-fairness__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
    object-fit: cover;
}

.page-resources-32win2-game-fairness__text-wrapper {
    flex: 1;
}

.page-resources-32win2-game-fairness__sub-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-top: 20px;
    margin-bottom: 15px;
}

/* FAQ Section */
.page-resources-32win2-game-fairness__faq-section {
    padding: 80px 0;
}

.page-resources-32win2-game-fairness__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

.page-resources-32win2-game-fairness__faq-item {
    background: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark bg */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-resources-32win2-game-fairness__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transition: background-color 0.3s ease;
    list-style: none; /* Remove default marker for details summary */
}

.page-resources-32win2-game-fairness__faq-question::-webkit-details-marker {
    display: none; /* Remove default marker for webkit browsers */
}

.page-resources-32win2-game-fairness__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-resources-32win2-game-fairness__faq-qtext {
    flex-grow: 1;
    color: #ffffff;
}

.page-resources-32win2-game-fairness__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #26A9E0; /* Brand color for toggle */
}

.page-resources-32win2-game-fairness__faq-answer {
    padding: 0 25px 20px;
    font-size: 1.1em;
    color: #f0f0f0;
}

/* CTA Section */
.page-resources-32win2-game-fairness__cta-section {
    background: linear-gradient(135deg, #26A9E0, #1e87b7); /* Gradient using brand colors */
    padding: 80px 0;
    text-align: center;
    color: #ffffff;
}

.page-resources-32win2-game-fairness__cta-container {
    max-width: 800px;
}

.page-resources-32win2-game-fairness__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-resources-32win2-game-fairness__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-32win2-game-fairness__hero-title {
        font-size: 3em;
    }
    .page-resources-32win2-game-fairness__section-title {
        font-size: 2em;
    }
    .page-resources-32win2-game-fairness__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-resources-32win2-game-fairness {
        font-size: 16px;
        line-height: 1.6;
    }

    /* Fixed header offset for mobile */
    .page-resources-32win2-game-fairness__hero-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-resources-32win2-game-fairness__hero-title {
        font-size: 2.2em;
    }

    .page-resources-32win2-game-fairness__hero-description {
        font-size: 1em;
    }

    .page-resources-32win2-game-fairness__hero-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-resources-32win2-game-fairness__btn-primary,
    .page-resources-32win2-game-fairness__btn-secondary,
    .page-resources-32win2-game-fairness a[class*="button"],
    .page-resources-32win2-game-fairness a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-32win2-game-fairness__cta-buttons,
    .page-resources-32win2-game-fairness__button-group,
    .page-resources-32win2-game-fairness__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        flex-direction: column; /* Stack buttons vertically on mobile */
    }

    .page-resources-32win2-game-fairness__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-resources-32win2-game-fairness__text-block {
        font-size: 1em;
    }

    .page-resources-32win2-game-fairness__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-resources-32win2-game-fairness__card {
        padding: 20px;
        min-height: auto;
    }

    .page-resources-32win2-game-fairness__card-title {
        font-size: 1.3em;
    }

    .page-resources-32win2-game-fairness__content-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .page-resources-32win2-game-fairness__content-wrapper--reverse {
        flex-direction: column; /* Keep consistent for mobile */
    }

    .page-resources-32win2-game-fairness__sub-title {
        font-size: 1.5em;
    }

    .page-resources-32win2-game-fairness__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-resources-32win2-game-fairness__faq-answer {
        font-size: 1em;
        padding: 0 20px 15px;
    }

    .page-resources-32win2-game-fairness__cta-title {
        font-size: 1.8em;
    }

    .page-resources-32win2-game-fairness__cta-description {
        font-size: 1em;
    }

    /* Image responsiveness */
    .page-resources-32win2-game-fairness img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-resources-32win2-game-fairness__section,
    .page-resources-32win2-game-fairness__card,
    .page-resources-32win2-game-fairness__container,
    .page-resources-32win2-game-fairness__image-wrapper,
    .page-resources-32win2-game-fairness__text-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Video responsiveness (if any, although not explicitly added yet) */
    .page-resources-32win2-game-fairness video,
    .page-resources-32win2-game-fairness__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-resources-32win2-game-fairness__video-section,
    .page-resources-32win2-game-fairness__video-container,
    .page-resources-32win2-game-fairness__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }
}

@media (max-width: 480px) {
    .page-resources-32win2-game-fairness__hero-section {
        padding: 80px 0;
    }
    .page-resources-32win2-game-fairness__hero-title {
        font-size: 1.8em;
    }
    .page-resources-32win2-game-fairness__section-title {
        font-size: 1.5em;
    }
    .page-resources-32win2-game-fairness__cta-title {
        font-size: 1.5em;
    }
}

/* Ensure images maintain original colors (no filter) */
.page-resources-32win2-game-fairness img {
    filter: none; /* Explicitly ensure no filters are applied */
}