/* style/resources-secure-online-gaming.css */

/* Global styles for this page only */
.page-resources-secure-online-gaming {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Inherit from body or shared */
}

.page-resources-secure-online-gaming__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-resources-secure-online-gaming__section {
    padding: 60px 0;
    text-align: center;
    background-color: var(--dark-bg); /* Ensure sections have a background for contrast */
}

.page-resources-secure-online-gaming__section:nth-of-type(even) {
    background-color: #1a1a1a; /* Slightly different dark background for alternating sections */
}

.page-resources-secure-online-gaming__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold for main titles */
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-resources-secure-online-gaming h3 {
    font-size: 1.8em;
    color: #8B0000; /* Deep red for sub-titles */
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-resources-secure-online-gaming p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-resources-secure-online-gaming ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-resources-secure-online-gaming li {
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 10px;
    padding: 15px;
    border-left: 5px solid #FFD700;
    text-align: left;
    color: #ffffff;
}

/* Buttons */
.page-resources-secure-online-gaming__btn-primary,
.page-resources-secure-online-gaming__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    margin: 10px;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons are responsive */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-resources-secure-online-gaming__btn-primary {
    background-color: #FFD700; /* Gold */
    color: #000000; /* Dark text for gold background */
    border: 2px solid #FFD700;
}

.page-resources-secure-online-gaming__btn-primary:hover {
    background-color: #e6c200;
    color: #000000;
    border-color: #e6c200;
}

.page-resources-secure-online-gaming__btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
}

.page-resources-secure-online-gaming__btn-secondary:hover {
    background-color: #FFD700;
    color: #000000;
    border-color: #FFD700;
}

.page-resources-secure-online-gaming__cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    margin-top: 40px;
}

/* Hero Section */
.page-resources-secure-online-gaming__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    background-color: #0d0d0d; /* Dark background */
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    overflow: hidden;
}

.page-resources-secure-online-gaming__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-resources-secure-online-gaming__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
    filter: none; /* No filter for image color */
}

.page-resources-secure-online-gaming__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    color: #ffffff;
}

.page-resources-secure-online-gaming__hero-title {
    font-size: 3.5em;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-secure-online-gaming__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #f0f0f0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Content Blocks with Images */
.page-resources-secure-online-gaming__container--flex {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.page-resources-secure-online-gaming__content-block {
    flex: 1;
    min-width: 300px;
}

.page-resources-secure-online-gaming__image-block {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-resources-secure-online-gaming__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    filter: none; /* No filter for image color */
}

/* Reverse layout for alternating sections */
.page-resources-secure-online-gaming__container--reverse {
    flex-direction: row-reverse;
}

/* Video Section */
.page-resources-secure-online-gaming__video-section {
    padding: 80px 0;
    background-color: #0d0d0d;
}

.page-resources-secure-online-gaming__video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin-top: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-resources-secure-online-gaming__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer; /* Indicate clickable */
    filter: none; /* No filter for video color */
}

.page-resources-secure-online-gaming__video-caption {
    margin-top: 20px;
    font-style: italic;
    color: #cccccc;
}

/* FAQ Section */
.page-resources-secure-online-gaming__faq-section {
    background-color: #1a1a1a;
    padding-bottom: 80px;
}

.page-resources-secure-online-gaming__faq-list {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-secure-online-gaming__faq-item {
    background-color: #2a2a2a;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-resources-secure-online-gaming__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #3a3a3a;
    cursor: pointer;
    color: #FFD700;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-resources-secure-online-gaming__faq-question:hover {
    background-color: #4a4a4a;
}

.page-resources-secure-online-gaming__faq-question h3 {
    margin: 0;
    color: inherit; /* Inherit color from parent */
    font-size: 1em; /* Adjust font size to fit */
}

.page-resources-secure-online-gaming__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #ffffff; /* White toggle icon */
}

.page-resources-secure-online-gaming__faq-item.active .page-resources-secure-online-gaming__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-secure-online-gaming__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: #f0f0f0;
    text-align: left;
}

.page-resources-secure-online-gaming__faq-item.active .page-resources-secure-online-gaming__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px;
    padding-top: 0; /* Remove top padding when expanded, already has it from question */
}

/* Conclusion Section */
.page-resources-secure-online-gaming__conclusion-section {
    background-color: #0d0d0d;
    padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources-secure-online-gaming__container--flex {
        flex-direction: column;
        gap: 30px;
    }

    .page-resources-secure-online-gaming__container--reverse {
        flex-direction: column; /* Reset to column for mobile */
    }

    .page-resources-secure-online-gaming__hero-title {
        font-size: 2.8em;
    }

    .page-resources-secure-online-gaming__section-title {
        font-size: 2em;
    }

    .page-resources-secure-online-gaming h3 {
        font-size: 1.5em;
    }
}

@media (max-width: 768px) {
    .page-resources-secure-online-gaming {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-resources-secure-online-gaming__section {
        padding: 40px 0;
    }

    .page-resources-secure-online-gaming__container {
        padding: 0 15px;
    }

    .page-resources-secure-online-gaming__hero-section {
        min-height: 450px;
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
    }

    .page-resources-secure-online-gaming__hero-title {
        font-size: 2.2em;
    }

    .page-resources-secure-online-gaming__hero-description {
        font-size: 1em;
    }

    .page-resources-secure-online-gaming__section-title {
        font-size: 1.8em;
    }

    .page-resources-secure-online-gaming h3 {
        font-size: 1.3em;
    }

    /* Mobile image responsive adaptation */
    .page-resources-secure-online-gaming img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* All image containers (section, div, card etc.) in mobile */
    .page-resources-secure-online-gaming__section,
    .page-resources-secure-online-gaming__card,
    .page-resources-secure-online-gaming__container,
    .page-resources-secure-online-gaming__content-block,
    .page-resources-secure-online-gaming__image-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent overflow */
    }

    /* Mobile video responsive adaptation */
    .page-resources-secure-online-gaming video,
    .page-resources-secure-online-gaming__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Video containers mobile adaptation */
    .page-resources-secure-online-gaming__video-section,
    .page-resources-secure-online-gaming__video-container,
    .page-resources-secure-online-gaming__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0; /* Handled by .page-resources-secure-online-gaming__container */
        padding-right: 0; /* Handled by .page-resources-secure-online-gaming__container */
        overflow: hidden !important;
    }

    /* Mobile button responsive adaptation */
    .page-resources-secure-online-gaming__btn-primary,
    .page-resources-secure-online-gaming__btn-secondary,
    .page-resources-secure-online-gaming a[class*="button"],
    .page-resources-secure-online-gaming a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 10px 0 !important; /* Stack buttons vertically */
    }

    /* Button containers mobile adaptation */
    .page-resources-secure-online-gaming__cta-buttons,
    .page-resources-secure-online-gaming__button-group,
    .page-resources-secure-online-gaming__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0; /* Handled by .page-resources-secure-online-gaming__container */
        padding-right: 0; /* Handled by .page-resources-secure-online-gaming__container */
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 10px;
        overflow: hidden !important;
    }

    .page-resources-secure-online-gaming__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }

    .page-resources-secure-online-gaming__faq-answer {
        padding: 0 15px;
    }
}