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

/* Base Styles for the Page */
.page-resources-secure-gaming-tips {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Default text color for dark background */
    background-color: var(--dark-bg-color, #0d0d0d); /* Assuming shared.css defines --dark-bg-color */
}

/* Container for content */
.page-resources-secure-gaming-tips__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Section Titles */
.page-resources-secure-gaming-tips__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-resources-secure-gaming-tips__section-title--light {
    color: #ffffff;
}

/* Sub-titles */
.page-resources-secure-gaming-tips__sub-title {
    font-size: 1.8em;
    color: #26A9E0; /* Brand color */
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

/* Text Blocks */
.page-resources-secure-gaming-tips__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0; /* Light text for dark background */
}

.page-resources-secure-gaming-tips__text-block--light {
    color: #ffffff;
}

/* Call to Action Buttons */
.page-resources-secure-gaming-tips__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    max-width: 100%; /* Responsive button */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-secure-gaming-tips__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-resources-secure-gaming-tips__btn-primary:hover {
    background-color: #1e87b6;
    transform: translateY(-2px);
}

.page-resources-secure-gaming-tips__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-resources-secure-gaming-tips__btn-secondary:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

.page-resources-secure-gaming-tips__cta-center {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-resources-secure-gaming-tips__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Hero Section */
.page-resources-secure-gaming-tips__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 600px;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    background-color: #0a0a0a; /* Darker background for hero */
}

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

.page-resources-secure-gaming-tips__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
    filter: brightness(0.7); /* Darken image slightly, NO COLOR FILTER */
}

.page-resources-secure-gaming-tips__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay */
    border-radius: 10px;
    color: #ffffff;
}

.page-resources-secure-gaming-tips__hero-title {
    font-size: 3.5em;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: bold;
}

.page-resources-secure-gaming-tips__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

/* Intro Section */
.page-resources-secure-gaming-tips__intro-section {
    padding: 80px 0;
    background-color: var(--dark-bg-color, #0d0d0d);
}

.page-resources-secure-gaming-tips__image-content-flex {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping */
}

.page-resources-secure-gaming-tips__image-wrapper {
    flex: 1;
    min-width: 300px;
}

.page-resources-secure-gaming-tips__content-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-resources-secure-gaming-tips__text-column {
    flex: 2;
    min-width: 300px;
}

/* Tips Section (Cards) */
.page-resources-secure-gaming-tips__tips-section {
    padding: 80px 0;
    background-color: #1a1a1a; /* Slightly lighter dark background */
}

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

.page-resources-secure-gaming-tips__card {
    background-color: #2a2a2a; /* Dark card background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #f0f0f0;
    display: flex;
    flex-direction: column;
}

.page-resources-secure-gaming-tips__card-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-resources-secure-gaming-tips__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-resources-secure-gaming-tips__list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    font-size: 1em;
    color: #e0e0e0;
}

.page-resources-secure-gaming-tips__list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #26A9E0;
    font-size: 1.1em;
    top: 0;
}

/* Video Section */
.page-resources-secure-gaming-tips__video-section {
    padding: 80px 0;
    background-color: var(--dark-bg-color, #0d0d0d);
    text-align: center;
}

.page-resources-secure-gaming-tips__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-resources-secure-gaming-tips__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    cursor: pointer;
}

.page-resources-secure-gaming-tips__video-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Make the link clickable over the video */
}

.page-resources-secure-gaming-tips__video-caption {
    margin-top: 20px;
    font-size: 1em;
    color: #cccccc;
}

/* Responsibility Section */
.page-resources-secure-gaming-tips__responsibility-section {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.page-resources-secure-gaming-tips__responsibility-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.page-resources-secure-gaming-tips__responsibility-list li {
    background-color: #2a2a2a;
    padding: 20px;
    border-left: 5px solid #26A9E0;
    border-radius: 5px;
    font-size: 1.05em;
    color: #e0e0e0;
}

/* FAQ Section */
.page-resources-secure-gaming-tips__faq-section {
    padding: 80px 0;
    background-color: var(--dark-bg-color, #0d0d0d);
}

.page-resources-secure-gaming-tips__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-secure-gaming-tips__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-gaming-tips__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: #26A9E0;
    color: #ffffff;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.page-resources-secure-gaming-tips__faq-question:hover {
    background-color: #1e87b6;
}

.page-resources-secure-gaming-tips__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-resources-secure-gaming-tips__faq-item.active .page-resources-secure-gaming-tips__faq-toggle {
    transform: rotate(45deg); /* Plus to X/Minus */
}

.page-resources-secure-gaming-tips__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    color: #e0e0e0;
    background-color: #3a3a3a; /* Darker background for answer */
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-resources-secure-gaming-tips__faq-item.active .page-resources-secure-gaming-tips__faq-answer {
    max-height: 1000px !important; /* Ensure it expands */
    padding: 20px 25px;
}

.page-resources-secure-gaming-tips__faq-answer p {
    margin: 0;
    font-size: 1em;
}

/* Bottom CTA Section */
.page-resources-secure-gaming-tips__cta-bottom-section {
    padding: 80px 0;
    text-align: center;
}

.page-resources-secure-gaming-tips__cta-bottom-section .page-resources-secure-gaming-tips__container {
    background-color: #26A9E0; /* Brand color background */
    padding: 60px 30px;
    border-radius: 10px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-resources-secure-gaming-tips__hero-title {
        font-size: 3em;
    }
    .page-resources-secure-gaming-tips__hero-description {
        font-size: 1.2em;
    }
    .page-resources-secure-gaming-tips__section-title {
        font-size: 2em;
    }
    .page-resources-secure-gaming-tips__sub-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-resources-secure-gaming-tips__hero-section {
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-resources-secure-gaming-tips__hero-content {
        padding: 30px 15px;
    }
    .page-resources-secure-gaming-tips__hero-title {
        font-size: 2.2em;
    }
    .page-resources-secure-gaming-tips__hero-description {
        font-size: 1em;
    }
    .page-resources-secure-gaming-tips__section-title {
        font-size: 1.8em;
    }
    .page-resources-secure-gaming-tips__sub-title {
        font-size: 1.4em;
    }
    .page-resources-secure-gaming-tips__intro-section,
    .page-resources-secure-gaming-tips__tips-section,
    .page-resources-secure-gaming-tips__video-section,
    .page-resources-secure-gaming-tips__responsibility-section,
    .page-resources-secure-gaming-tips__faq-section,
    .page-resources-secure-gaming-tips__cta-bottom-section {
        padding: 40px 0;
    }
    .page-resources-secure-gaming-tips__container {
        padding: 0 15px;
    }

    /* Images responsiveness */
    .page-resources-secure-gaming-tips img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-secure-gaming-tips__image-wrapper,
    .page-resources-secure-gaming-tips__image-content-flex {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-resources-secure-gaming-tips__image-content-flex {
        flex-direction: column;
    }

    /* Video responsiveness */
    .page-resources-secure-gaming-tips video,
    .page-resources-secure-gaming-tips__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-secure-gaming-tips__video-section,
    .page-resources-secure-gaming-tips__video-container,
    .page-resources-secure-gaming-tips__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-resources-secure-gaming-tips__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    /* Button responsiveness */
    .page-resources-secure-gaming-tips__cta-button,
    .page-resources-secure-gaming-tips__btn-primary,
    .page-resources-secure-gaming-tips__btn-secondary,
    .page-resources-secure-gaming-tips a[class*="button"],
    .page-resources-secure-gaming-tips 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-secure-gaming-tips__cta-buttons,
    .page-resources-secure-gaming-tips__button-group,
    .page-resources-secure-gaming-tips__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px !important;
    }

    /* FAQ item padding for mobile */
    .page-resources-secure-gaming-tips__faq-question,
    .page-resources-secure-gaming-tips__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-resources-secure-gaming-tips__faq-item.active .page-resources-secure-gaming-tips__faq-answer {
        padding: 15px !important;
    }
}