/* style/resources-online-betting-security.css */

.page-resources-online-betting-security {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Dark body background (#1a1a2e), so light text */
    background-color: transparent; /* Body background is handled by shared.css */
}

/* Fixed header offset */
.page-resources-online-betting-security__hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height for hero */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Apply header offset */
    box-sizing: border-box;
}

.page-resources-online-betting-security__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-resources-online-betting-security__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.page-resources-online-betting-security__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
    color: #ffffff;
}

.page-resources-online-betting-security__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-online-betting-security__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-resources-online-betting-security__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-resources-online-betting-security__btn-primary,
.page-resources-online-betting-security__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Ensure padding is included in width */
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-online-betting-security__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-resources-online-betting-security__btn-primary:hover {
    background-color: #e02020;
    border-color: #e02020;
    color: #ffffff;
}

.page-resources-online-betting-security__btn-secondary {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #017439;
}

.page-resources-online-betting-security__btn-secondary:hover {
    background-color: #017439;
    color: #FFFFFF;
}

.page-resources-online-betting-security__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-resources-online-betting-security__section-title {
    font-size: 2.5em;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-resources-online-betting-security__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #017439;
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-resources-online-betting-security__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0;
    text-align: justify;
}

.page-resources-online-betting-security__introduction-section,
.page-resources-online-betting-security__scam-prevention-section,
.page-resources-online-betting-security__faq-section {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark body */
    padding: 60px 0;
    color: #ffffff; /* Light text for dark background */
}

.page-resources-online-betting-security__dark-section {
    background-color: #017439; /* Brand primary color */
    color: #ffffff; /* White text */
    padding: 60px 0;
}

.page-resources-online-betting-security__key-measures-section,
.page-resources-online-betting-security__payment-methods-section,
.page-resources-online-betting-security__conclusion-section {
    padding: 60px 0;
    background-color: rgba(255, 255, 255, 0.08); /* Slightly darker transparent white */
    color: #ffffff;
}

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

.page-resources-online-betting-security__card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.page-resources-online-betting-security__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-resources-online-betting-security__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.page-resources-online-betting-security__card-text {
    font-size: 1em;
    color: #f0f0f0;
    text-align: justify;
}

.page-resources-online-betting-security__light-bg {
    background-color: #FFFFFF;
    color: #333333;
}
.page-resources-online-betting-security__light-bg .page-resources-online-betting-security__card-title {
    color: #017439;
}
.page-resources-online-betting-security__light-bg .page-resources-online-betting-security__card-text {
    color: #333333;
}


.page-resources-online-betting-security__list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-resources-online-betting-security__list-item {
    background-color: rgba(255, 255, 255, 0.05);
    margin-bottom: 10px;
    padding: 15px 20px;
    border-left: 5px solid #017439;
    border-radius: 5px;
    color: #ffffff;
    font-size: 1.1em;
}

.page-resources-online-betting-security__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

.page-resources-online-betting-security__video-section {
    padding: 60px 0;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.page-resources-online-betting-security__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    background-color: #000; /* Fallback background for video */
}

.page-resources-online-betting-security__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block; /* Ensure it behaves as a block element */
    max-width: 100%; /* Ensure responsiveness */
    height: auto; /* Ensure responsiveness */
}

.page-resources-online-betting-security__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.page-resources-online-betting-security__faq-section {
    padding: 60px 0;
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.page-resources-online-betting-security__faq-list {
    margin-top: 40px;
}

.page-resources-online-betting-security__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-online-betting-security__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #017439; /* Primary brand color for question */
    color: #FFFFFF;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-resources-online-betting-security__faq-question:hover {
    background-color: #028a49;
}

.page-resources-online-betting-security__faq-title {
    margin: 0;
    font-size: 1.2em;
}

.page-resources-online-betting-security__faq-toggle {
    font-size: 1.8em;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-resources-online-betting-security__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    background-color: rgba(255, 255, 255, 0.05);
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

.page-resources-online-betting-security__faq-item.active .page-resources-online-betting-security__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px 25px;
}

.page-resources-online-betting-security__conclusion-section {
    padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-online-betting-security__hero-title {
        font-size: 3em;
    }
    .page-resources-online-betting-security__section-title {
        font-size: 2em;
    }
    .page-resources-online-betting-security__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources-online-betting-security__btn-primary,
    .page-resources-online-betting-security__btn-secondary {
        width: 80%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .page-resources-online-betting-security__hero-section {
        height: auto;
        min-height: 600px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-resources-online-betting-security__hero-title {
        font-size: 2.5em;
    }
    .page-resources-online-betting-security__hero-description {
        font-size: 1.1em;
    }
    .page-resources-online-betting-security__section-title {
        font-size: 1.8em;
    }
    .page-resources-online-betting-security__container {
        padding: 30px 15px;
    }
    .page-resources-online-betting-security__grid {
        grid-template-columns: 1fr;
    }
    .page-resources-online-betting-security__card {
        padding: 20px;
    }
    .page-resources-online-betting-security__card-image {
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-resources-online-betting-security__content-image {
        min-width: 200px !important;
        min-height: 200px !important;
    }
    
    /* Mobile responsive images (mandatory) */
    .page-resources-online-betting-security img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    /* Mobile responsive video (mandatory) */
    .page-resources-online-betting-security video,
    .page-resources-online-betting-security__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    .page-resources-online-betting-security__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        margin: 30px auto; /* Center it */
    }

    /* All containers must adapt to mobile width */
    .page-resources-online-betting-security__section,
    .page-resources-online-betting-security__card,
    .page-resources-online-betting-security__container,
    .page-resources-online-betting-security__video-section,
    .page-resources-online-betting-security__cta-buttons,
    .page-resources-online-betting-security__button-group,
    .page-resources-online-betting-security__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Mobile responsive buttons (mandatory) */
    .page-resources-online-betting-security__cta-button,
    .page-resources-online-betting-security__btn-primary,
    .page-resources-online-betting-security__btn-secondary,
    .page-resources-online-betting-security a[class*="button"],
    .page-resources-online-betting-security 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; /* Add padding to prevent text sticking to edges */
        padding-right: 15px;
    }
    .page-resources-online-betting-security__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 15px;
    }
}