/* style/resources-f8bet-security-code-management.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-dark: #0a0a0a; /* Body background from shared.css */
    --button-login-color: #EA7C07;
}

.page-resources-f8bet-security-code-management {
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--background-dark);
}

.page-resources-f8bet-security-code-management__hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Ensure content is below header */
}

.page-resources-f8bet-security-code-management__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-resources-f8bet-security-code-management__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2;
}

.page-resources-f8bet-security-code-management__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
}

.page-resources-f8bet-security-code-management__hero-title {
    font-size: 3.5em;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-resources-f8bet-security-code-management__hero-description {
    font-size: 1.3em;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.page-resources-f8bet-security-code-management__hero-description a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-resources-f8bet-security-code-management__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-resources-f8bet-security-code-management__btn-primary,
.page-resources-f8bet-security-code-management__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;
}

.page-resources-f8bet-security-code-management__btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
}

.page-resources-f8bet-security-code-management__btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
}

.page-resources-f8bet-security-code-management__btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-resources-f8bet-security-code-management__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.page-resources-f8bet-security-code-management__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: var(--secondary-color); /* Light background for content area */
    color: var(--text-dark); /* Dark text for light background */
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-50px);
    position: relative;
    z-index: 4;
}

.page-resources-f8bet-security-code-management__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.page-resources-f8bet-security-code-management p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 20px;
}

.page-resources-f8bet-security-code-management p a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-resources-f8bet-security-code-management__highlight-text {
    font-weight: bold;
    color: var(--primary-color);
}

.page-resources-f8bet-security-code-management__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-f8bet-security-code-management__feature-grid,
.page-resources-f8bet-security-code-management__info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.page-resources-f8bet-security-code-management__card {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
}

.page-resources-f8bet-security-code-management__card h3 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.page-resources-f8bet-security-code-management__list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.8;
}

.page-resources-f8bet-security-code-management__list li {
    margin-bottom: 10px;
}

.page-resources-f8bet-security-code-management__list li strong {
    color: var(--primary-color);
}

.page-resources-f8bet-security-code-management__faq-container {
    margin-top: 40px;
}

.page-resources-f8bet-security-code-management__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-resources-f8bet-security-code-management__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
}

.page-resources-f8bet-security-code-management__faq-question h3 {
    margin: 0;
    color: var(--primary-color);
}

.page-resources-f8bet-security-code-management__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-resources-f8bet-security-code-management__faq-item.active .page-resources-f8bet-security-code-management__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-f8bet-security-code-management__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-dark);
}

.page-resources-f8bet-security-code-management__faq-item.active .page-resources-f8bet-security-code-management__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px;
}

.page-resources-f8bet-security-code-management__faq-answer p {
    margin-bottom: 0;
}

.page-resources-f8bet-security-code-management__faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-resources-f8bet-security-code-management__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.page-resources-f8bet-security-code-management__video-section {
    background-color: var(--background-dark);
    padding: 80px 20px;
    text-align: center;
    color: var(--text-light);
}

.page-resources-f8bet-security-code-management__video-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-resources-f8bet-security-code-management__video-title {
    font-size: 2.2em;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.page-resources-f8bet-security-code-management__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-f8bet-security-code-management__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    cursor: pointer;
}

.page-resources-f8bet-security-code-management__video-cta {
    margin-top: 20px;
    background-color: var(--button-login-color);
    border-color: var(--button-login-color);
}

.page-resources-f8bet-security-code-management__video-cta:hover {
    background-color: darken(var(--button-login-color), 10%);
    border-color: darken(var(--button-login-color), 10%);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-f8bet-security-code-management__hero-title {
        font-size: 3em;
    }
    .page-resources-f8bet-security-code-management__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-resources-f8bet-security-code-management__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure content is below header */
    }
    .page-resources-f8bet-security-code-management__hero-title {
        font-size: 2.5em;
    }
    .page-resources-f8bet-security-code-management__hero-description {
        font-size: 1em;
    }
    .page-resources-f8bet-security-code-management__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources-f8bet-security-code-management__btn-primary,
    .page-resources-f8bet-security-code-management__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-f8bet-security-code-management__content-area {
        padding: 30px 15px;
        transform: translateY(-30px);
    }
    .page-resources-f8bet-security-code-management__section-title {
        font-size: 1.8em;
    }
    .page-resources-f8bet-security-code-management p,
    .page-resources-f8bet-security-code-management__list li {
        font-size: 1em;
    }
    .page-resources-f8bet-security-code-management__feature-grid,
    .page-resources-f8bet-security-code-management__info-cards {
        grid-template-columns: 1fr;
    }
    .page-resources-f8bet-security-code-management__image-full-width {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-f8bet-security-code-management__card {
        padding: 20px;
    }
    .page-resources-f8bet-security-code-management__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-resources-f8bet-security-code-management__faq-answer {
        padding: 0 15px;
    }
    .page-resources-f8bet-security-code-management__faq-item.active .page-resources-f8bet-security-code-management__faq-answer {
        padding: 15px;
    }
    .page-resources-f8bet-security-code-management__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources-f8bet-security-code-management__video-section {
        padding: 50px 15px;
    }
    .page-resources-f8bet-security-code-management__video-title {
        font-size: 1.8em;
    }
    .page-resources-f8bet-security-code-management__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-resources-f8bet-security-code-management__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-f8bet-security-code-management__video-cta {
        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;
    }

    /* Content area images CSS dimensions lower bound */
    .page-resources-f8bet-security-code-management img {
        min-width: 200px;
        min-height: 200px;
    }
    .page-resources-f8bet-security-code-management__image-full-width {
        min-width: 200px;
        min-height: 200px;
    }
}

/* Ensure content area images CSS dimensions lower bound for all screen sizes */
.page-resources-f8bet-security-code-management img {
    min-width: 200px;
    min-height: 200px;
}

/* Contrast fixes for light background elements */
.page-resources-f8bet-security-code-management__light-bg {
    color: var(--text-dark);
    background: var(--secondary-color);
}

.page-resources-f8bet-security-code-management__card {
    color: var(--text-dark);
    background: var(--secondary-color);
}

.page-resources-f8bet-security-code-management__faq-item {
    color: var(--text-dark);
}

.page-resources-f8bet-security-code-management__faq-question h3 {
    color: var(--primary-color);
}

.page-resources-f8bet-security-code-management__faq-answer {
    color: var(--text-dark);
}

/* Button specific styles for contrast */
.page-resources-f8bet-security-code-management__btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-resources-f8bet-security-code-management__btn-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-resources-f8bet-security-code-management__video-cta {
    background-color: var(--button-login-color);
    color: var(--secondary-color);
}