/* style/resources-cf68-ios-game-security-privacy.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --button-register: #C30808;
    --button-login: #C30808;
    --font-login-register: #FFFF00;
}

.page-resources-cf68-ios-game-security-privacy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Body is light, so default text is dark */
    background-color: var(--secondary-color);
}

.page-resources-cf68-ios-game-security-privacy__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-resources-cf68-ios-game-security-privacy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    min-height: 600px;
    background-color: var(--primary-color);
    overflow: hidden;
    padding: 60px 20px;
    box-sizing: border-box;
}

.page-resources-cf68-ios-game-security-privacy__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-bottom: 40px;
}

.page-resources-cf68-ios-game-security-privacy__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--text-light);
}

.page-resources-cf68-ios-game-security-privacy__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light);
}

.page-resources-cf68-ios-game-security-privacy__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-resources-cf68-ios-game-security-privacy__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-resources-cf68-ios-game-security-privacy__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

/* General Section Styling */
.page-resources-cf68-ios-game-security-privacy__content-section {
    padding: 80px 0;
}

.page-resources-cf68-ios-game-security-privacy__dark-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 80px 0;
}

.page-resources-cf68-ios-game-security-privacy__dark-section .page-resources-cf68-ios-game-security-privacy__section-title,
.page-resources-cf68-ios-game-security-privacy__dark-section .page-resources-cf68-ios-game-security-privacy__text-block,
.page-resources-cf68-ios-game-security-privacy__dark-section .page-resources-cf68-ios-game-security-privacy__list-title,
.page-resources-cf68-ios-game-security-privacy__dark-section .page-resources-cf68-ios-game-security-privacy__list-item p {
    color: var(--text-light);
}

.page-resources-cf68-ios-game-security-privacy__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.page-resources-cf68-ios-game-security-privacy__dark-section .page-resources-cf68-ios-game-security-privacy__section-title {
    color: var(--text-light);
}

.page-resources-cf68-ios-game-security-privacy__text-block {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px auto;
    color: var(--text-dark);
}

.page-resources-cf68-ios-game-security-privacy__dark-section .page-resources-cf68-ios-game-security-privacy__text-block {
    color: var(--text-light);
}

/* Buttons */
.page-resources-cf68-ios-game-security-privacy__btn-primary,
.page-resources-cf68-ios-game-security-privacy__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    text-align: center;
}

.page-resources-cf68-ios-game-security-privacy__btn-primary {
    background-color: var(--button-register);
    color: var(--font-login-register);
    border: 2px solid var(--button-register);
}

.page-resources-cf68-ios-game-security-privacy__btn-primary:hover {
    background-color: darken(var(--button-register), 10%);
    border-color: darken(var(--button-register), 10%);
}

.page-resources-cf68-ios-game-security-privacy__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-resources-cf68-ios-game-security-privacy__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-resources-cf68-ios-game-security-privacy__dark-section .page-resources-cf68-ios-game-security-privacy__btn-secondary {
    color: var(--text-light);
    border-color: var(--text-light);
}

.page-resources-cf68-ios-game-security-privacy__dark-section .page-resources-cf68-ios-game-security-privacy__btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

.page-resources-cf68-ios-game-security-privacy__btn-text-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-resources-cf68-ios-game-security-privacy__btn-text-link:hover {
    color: darken(var(--primary-color), 10%);
    text-decoration: underline;
}

/* Feature Grid */
.page-resources-cf68-ios-game-security-privacy__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-cf68-ios-game-security-privacy__card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    color: var(--text-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.page-resources-cf68-ios-game-security-privacy__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-resources-cf68-ios-game-security-privacy__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-resources-cf68-ios-game-security-privacy__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-resources-cf68-ios-game-security-privacy__card-text {
    font-size: 1em;
    color: var(--text-dark);
}

/* Security List & Responsibility List */
.page-resources-cf68-ios-game-security-privacy__security-list,
.page-resources-cf68-ios-game-security-privacy__responsibility-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.page-resources-cf68-ios-game-security-privacy__list-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    color: var(--text-light);
    text-align: left;
}

.page-resources-cf68-ios-game-security-privacy__list-item .page-resources-cf68-ios-game-security-privacy__list-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: var(--text-light);
}

.page-resources-cf68-ios-game-security-privacy__list-item p {
    font-size: 1em;
    color: var(--text-light);
}

.page-resources-cf68-ios-game-security-privacy__privacy-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-cf68-ios-game-security-privacy__privacy-info .page-resources-cf68-ios-game-security-privacy__card {
    padding: 30px;
    text-align: left;
}

.page-resources-cf68-ios-game-security-privacy__image-center {
    display: block;
    margin: 60px auto 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-resources-cf68-ios-game-security-privacy__faq-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

.page-resources-cf68-ios-game-security-privacy__faq-list {
    max-width: 900px;
    margin: 0 auto;
    border-top: 1px solid #eee;
}

.page-resources-cf68-ios-game-security-privacy__faq-item {
    border-bottom: 1px solid #eee;
}

.page-resources-cf68-ios-game-security-privacy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    transition: color 0.3s ease;
}

.page-resources-cf68-ios-game-security-privacy__faq-question:hover {
    color: darken(var(--primary-color), 10%);
}

.page-resources-cf68-ios-game-security-privacy__faq-toggle {
    font-size: 1.5em;
    font-weight: normal;
    transition: transform 0.3s ease;
}

.page-resources-cf68-ios-game-security-privacy__faq-item.active .page-resources-cf68-ios-game-security-privacy__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-cf68-ios-game-security-privacy__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 15px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-dark);
}

.page-resources-cf68-ios-game-security-privacy__faq-item.active .page-resources-cf68-ios-game-security-privacy__faq-answer {
    max-height: 1000px !important; /* Use !important to ensure it overrides other styles */
    padding: 15px;
}

.page-resources-cf68-ios-game-security-privacy__faq-answer p {
    margin-bottom: 15px;
    color: var(--text-dark);
}

/* CTA Section */
.page-resources-cf68-ios-game-security-privacy__cta-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--text-light);
    text-align: center;
}

.page-resources-cf68-ios-game-security-privacy__cta-content {
    max-width: 900px;
}

.page-resources-cf68-ios-game-security-privacy__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--text-light);
}

.page-resources-cf68-ios-game-security-privacy__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: var(--text-light);
}

.page-resources-cf68-ios-game-security-privacy__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Image and Video Responsiveness */
.page-resources-cf68-ios-game-security-privacy img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-resources-cf68-ios-game-security-privacy video,
.page-resources-cf68-ios-game-security-privacy__video {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}

.page-resources-cf68-ios-game-security-privacy__video-section,
.page-resources-cf68-ios-game-security-privacy__video-container,
.page-resources-cf68-ios-game-security-privacy__video-wrapper {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Mobile Specific Styles */
@media (max-width: 768px) {
    .page-resources-cf68-ios-game-security-privacy {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-resources-cf68-ios-game-security-privacy__hero-section {
        min-height: 450px;
        padding: 40px 15px;
    }

    .page-resources-cf68-ios-game-security-privacy__hero-title {
        font-size: 2.2em;
    }

    .page-resources-cf68-ios-game-security-privacy__hero-description {
        font-size: 1em;
    }

    .page-resources-cf68-ios-game-security-privacy__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-resources-cf68-ios-game-security-privacy__btn-primary,
    .page-resources-cf68-ios-game-security-privacy__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-resources-cf68-ios-game-security-privacy__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-resources-cf68-ios-game-security-privacy__text-block {
        font-size: 1em;
        margin-bottom: 40px;
    }

    .page-resources-cf68-ios-game-security-privacy__card {
        padding: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .page-resources-cf68-ios-game-security-privacy__card-title {
        font-size: 1.3em;
    }

    .page-resources-cf68-ios-game-security-privacy__list-item .page-resources-cf68-ios-game-security-privacy__list-title {
        font-size: 1.2em;
    }

    .page-resources-cf68-ios-game-security-privacy__faq-question {
        font-size: 1.1em;
        padding: 15px 0;
    }

    .page-resources-cf68-ios-game-security-privacy__faq-answer {
        padding: 0 10px;
    }

    .page-resources-cf68-ios-game-security-privacy__faq-item.active .page-resources-cf68-ios-game-security-privacy__faq-answer {
        padding: 10px;
    }

    .page-resources-cf68-ios-game-security-privacy__cta-title {
        font-size: 2em;
    }

    .page-resources-cf68-ios-game-security-privacy__cta-description {
        font-size: 1em;
    }

    /* Force responsive images and containers */
    .page-resources-cf68-ios-game-security-privacy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-resources-cf68-ios-game-security-privacy video,
    .page-resources-cf68-ios-game-security-privacy__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-resources-cf68-ios-game-security-privacy__section,
    .page-resources-cf68-ios-game-security-privacy__card,
    .page-resources-cf68-ios-game-security-privacy__container,
    .page-resources-cf68-ios-game-security-privacy__video-section,
    .page-resources-cf68-ios-game-security-privacy__video-container,
    .page-resources-cf68-ios-game-security-privacy__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure no horizontal scroll */
    }

    .page-resources-cf68-ios-game-security-privacy__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure header offset is applied */
    }
    
    .page-resources-cf68-ios-game-security-privacy__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
}