/* style/resources-8kbet-account-security.css */

.page-resources-8kbet-account-security {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Body background is handled by shared.css (#000) */
}

/* Fixed header spacing */
.page-resources-8kbet-account-security__hero-section {
    padding-top: var(--header-offset, 120px);
}

/* Hero Section */
.page-resources-8kbet-account-security__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 700px;
    text-align: center;
    overflow: hidden;
    background-color: #0A2E50; /* Primary brand color for hero background */
    color: #ffffff;
    padding: 60px 20px;
    box-sizing: border-box;
}

.page-resources-8kbet-account-security__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3; /* Subtle background image */
}

.page-resources-8kbet-account-security__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none; /* No filter allowed */
}

.page-resources-8kbet-account-security__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
}

.page-resources-8kbet-account-security__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700; /* Secondary brand color for emphasis */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-resources-8kbet-account-security__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

/* Buttons */
.page-resources-8kbet-account-security__btn-primary,
.page-resources-8kbet-account-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;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    max-width: 100%; /* Ensure responsiveness */
}

.page-resources-8kbet-account-security__btn-primary {
    background-color: #FFD700; /* Secondary brand color */
    color: #0A2E50; /* Primary brand color for text */
    border: 2px solid #FFD700;
}

.page-resources-8kbet-account-security__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

.page-resources-8kbet-account-security__btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Secondary brand color */
    border: 2px solid #FFD700;
}

.page-resources-8kbet-account-security__btn-secondary:hover {
    background-color: #FFD700;
    color: #0A2E50;
}

/* General Section Styling */
.page-resources-8kbet-account-security__section {
    padding: 60px 20px;
    background-color: #0A2E50; /* Primary brand color for content sections */
    color: #ffffff;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-8kbet-account-security__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Add padding for mobile responsiveness */
    box-sizing: border-box;
}

.page-resources-8kbet-account-security__section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-resources-8kbet-account-security__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
}

.page-resources-8kbet-account-security__sub-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-resources-8kbet-account-security__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0;
}

/* Content Grid for images and text */
.page-resources-8kbet-account-security__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-resources-8kbet-account-security__content-grid--reverse .page-resources-8kbet-account-security__image-wrapper {
    order: 2;
}

.page-resources-8kbet-account-security__content-grid--reverse .page-resources-8kbet-account-security__text-block {
    order: 1;
}

.page-resources-8kbet-account-security__image-wrapper {
    text-align: center;
}

.page-resources-8kbet-account-security__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    filter: none; /* No filter allowed */
}

/* List Styling */
.page-resources-8kbet-account-security__list {
    list-style: none;
    padding: 0;
}

.page-resources-8kbet-account-security__list-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-resources-8kbet-account-security__list-item .page-resources-8kbet-account-security__sub-title {
    color: #FFD700;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-resources-8kbet-account-security__list-item .page-resources-8kbet-account-security__paragraph {
    color: #f0f0f0;
    margin-bottom: 0;
}

/* FAQ Section */
.page-resources-8kbet-account-security__faq-heading {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 30px;
    color: #FFD700;
    font-size: 2em;
}

.page-resources-8kbet-account-security__faq-list {
    margin-top: 40px;
}

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

.page-resources-8kbet-account-security__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    background-color: #0A2E50;
    transition: background-color 0.3s ease;
}

.page-resources-8kbet-account-security__faq-question:hover {
    background-color: #1a4f8a;
}

.page-resources-8kbet-account-security__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #FFD700;
}

.page-resources-8kbet-account-security__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: rgba(255, 255, 255, 0.05);
}

.page-resources-8kbet-account-security__faq-answer .page-resources-8kbet-account-security__paragraph {
    padding-top: 15px;
    padding-bottom: 15px;
    margin-bottom: 0;
    color: #f0f0f0;
}

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

.page-resources-8kbet-account-security__faq-item.active .page-resources-8kbet-account-security__faq-toggle {
    transform: rotate(0deg);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources-8kbet-account-security__hero-title {
        font-size: 2.5em;
    }

    .page-resources-8kbet-account-security__section-title {
        font-size: 2em;
    }

    .page-resources-8kbet-account-security__sub-title {
        font-size: 1.5em;
    }

    .page-resources-8kbet-account-security__paragraph {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-resources-8kbet-account-security__hero-section {
        min-height: 500px;
        padding: 40px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
    }

    .page-resources-8kbet-account-security__hero-title {
        font-size: 2em;
    }

    .page-resources-8kbet-account-security__hero-description {
        font-size: 1em;
    }

    .page-resources-8kbet-account-security__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .page-resources-8kbet-account-security__btn-primary,
    .page-resources-8kbet-account-security__btn-secondary {
        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-8kbet-account-security__section {
        padding: 40px 15px;
    }

    .page-resources-8kbet-account-security__container {
        padding: 0; /* Remove horizontal padding here, handled by section padding */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-resources-8kbet-account-security__content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .page-resources-8kbet-account-security__content-grid--reverse .page-resources-8kbet-account-security__image-wrapper {
        order: initial;
    }
    .page-resources-8kbet-account-security__content-grid--reverse .page-resources-8kbet-account-security__text-block {
        order: initial;
    }

    .page-resources-8kbet-account-security__image {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Ensure all image containers are responsive */
    .page-resources-8kbet-account-security__image-wrapper,
    .page-resources-8kbet-account-security__text-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-resources-8kbet-account-security__faq-question,
    .page-resources-8kbet-account-security__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Ensure video elements and containers are responsive */
    .page-resources-8kbet-account-security video,
    .page-resources-8kbet-account-security__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-resources-8kbet-account-security__video-section,
    .page-resources-8kbet-account-security__video-container,
    .page-resources-8kbet-account-security__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
}

/* Ensure content area images are not too small */
.page-resources-8kbet-account-security img:not(.shared-header__logo):not(.shared-footer__payment-icon):not(.shared-footer__social-icon):not(.shared-footer__game-provider-icon) {
    min-width: 200px;
    min-height: 200px;
    /* For images within content, ensure they are not shrunk below 200px display size */
    /* However, for responsive design, max-width: 100% is crucial */
}

/* Specific overrides to prevent image filter usage */
.page-resources-8kbet-account-security img {
    filter: none !important;
}