/* style/resources-mm88-security-features.css */

/* Custom properties for colors */
:root {
    --primary-color: #017439; /* Main green */
    --secondary-color: #FFFFFF; /* Auxiliary white */
    --register-button-bg: #C30808; /* Red for register */
    --login-button-bg: #C30808; /* Red for login */
    --button-text-color: #FFFF00; /* Yellow for button text */
    --text-color-dark: #333333; /* Dark text for light backgrounds */
    --text-color-light: #ffffff; /* Light text for dark backgrounds */
    --border-color: #e0e0e0;
    --card-bg: #ffffff;
}

/* Base styles for the page content */
.page-resources-mm88-security-features {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark); /* Default text color for light body background */
    background: var(--secondary-color); /* Body background is white */
}

/* Fixed header offset */
.page-resources-mm88-security-features__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

/* Section styling */
.page-resources-mm88-security-features__section {
    padding: 60px 0;
    margin-bottom: 0; /* No extra margin between sections */
}

.page-resources-mm88-security-features__section--about,
.page-resources-mm88-security-features__section--player-tips,
.page-resources-mm88-security-features__section--faq {
    background: var(--secondary-color); /* Light background for these sections */
    color: var(--text-color-dark);
}

.page-resources-mm88-security-features__section--features {
    background: #f9f9f9; /* Slightly off-white for visual separation */
    color: var(--text-color-dark);
}

.page-resources-mm88-security-features__section--compliance,
.page-resources-mm88-security-features__section--benefits {
    background: var(--primary-color); /* Dark background for these sections */
    color: var(--text-color-light);
}

.page-resources-mm88-security-features__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-resources-mm88-security-features__section-title {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: inherit; /* Inherit color from section for contrast */
}

/* Hero Section */
.page-resources-mm88-security-features__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #018C4E 100%); /* Green gradient */
    color: var(--text-color-light);
}

.page-resources-mm88-security-features__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1; /* Ensure content is above any potential overlay */
}

.page-resources-mm88-security-features__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-resources-mm88-security-features__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-resources-mm88-security-features__hero-content {
    text-align: center;
    width: 100%;
}

.page-resources-mm88-security-features__main-title {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--text-color-light);
    line-height: 1.2;
}

.page-resources-mm88-security-features__intro-text {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-color-light);
}

.page-resources-mm88-security-features__cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-resources-mm88-security-features__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-mm88-security-features__btn-register {
    background: var(--register-button-bg); /* Red */
    color: var(--button-text-color); /* Yellow */
    border: 2px solid var(--register-button-bg);
}

.page-resources-mm88-security-features__btn-register:hover {
    background: #A60707; /* Darken on hover */
    border-color: #A60707;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-resources-mm88-security-features__btn-login {
    background: var(--login-button-bg); /* Red */
    color: var(--button-text-color); /* Yellow */
    border: 2px solid var(--login-button-bg);
}

.page-resources-mm88-security-features__btn-login:hover {
    background: #A60707; /* Darken on hover */
    border-color: #A60707;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-resources-mm88-security-features__feature-card,
.page-resources-mm88-security-features__benefit-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
    color: var(--text-color-dark);
}

.page-resources-mm88-security-features__feature-card:hover,
.page-resources-mm88-security-features__benefit-card:hover {
    transform: translateY(-5px);
}

.page-resources-mm88-security-features__feature-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 20px;
    max-width: 100%; /* Ensure images are responsive */
    display: block;
}

.page-resources-mm88-security-features__benefit-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 40px auto 0;
    border-radius: 8px;
    object-fit: cover;
}

.page-resources-mm88-security-features__card-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: inherit;
}

.page-resources-mm88-security-features__card p {
    font-size: 15px;
    color: inherit;
}

/* List styling */
.page-resources-mm88-security-features__list {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 30px;
    color: var(--text-color-dark);
}

.page-resources-mm88-security-features__list li {
    margin-bottom: 10px;
    font-size: 16px;
    color: var(--text-color-dark);
}

.page-resources-mm88-security-features__list li strong {
    color: var(--primary-color);
}

/* CTA Bottom Section */
.page-resources-mm88-security-features__cta-bottom {
    text-align: center;
    margin-top: 60px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on green background */
    border-radius: 8px;
    color: var(--text-color-light);
}

.page-resources-mm88-security-features__cta-bottom p {
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--text-color-light);
}

/* FAQ Section */
.page-resources-mm88-security-features__faq-list {
    margin-top: 40px;
}

.page-resources-mm88-security-features__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    background: var(--card-bg); /* Ensure FAQ items have a light background */
    color: var(--text-color-dark); /* Ensure text is dark on light background */
}

.page-resources-mm88-security-features__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.3s ease;
    padding: 0 15px;
    opacity: 0;
    background: #f0f0f0; /* Slightly different background for answer */
}

.page-resources-mm88-security-features__faq-item.active .page-resources-mm88-security-features__faq-answer {
    max-height: 2000px !important; /* Sufficiently large */
    padding: 20px 15px !important;
    opacity: 1;
    background: #f0f0f0;
    border-radius: 0 0 5px 5px;
}

.page-resources-mm88-security-features__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-resources-mm88-security-features__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-resources-mm88-security-features__faq-question:active {
    background: #eeeeee;
}

.page-resources-mm88-security-features__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none; /* Prevent h3 from blocking click event */
    color: var(--text-color-dark);
}

.page-resources-mm88-security-features__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none; /* Prevent icon from blocking click event */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-resources-mm88-security-features__faq-item.active .page-resources-mm88-security-features__faq-toggle {
    color: var(--primary-color); /* Change color when active */
    transform: rotate(45deg); /* Optional: rotate for 'x' effect */
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-mm88-security-features__main-title {
        font-size: 40px;
    }
    .page-resources-mm88-security-features__intro-text {
        font-size: 16px;
    }
    .page-resources-mm88-security-features__section-title {
        font-size: 28px;
    }
    .page-resources-mm88-security-features__feature-card img {
        
    }
}

@media (max-width: 768px) {
    .page-resources-mm88-security-features__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Mobile specific padding-top */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-mm88-security-features__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .page-resources-mm88-security-features__intro-text {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .page-resources-mm88-security-features__cta-group {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }

    .page-resources-mm88-security-features__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        width: 100% !important; /* Ensure buttons take full width */
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-resources-mm88-security-features__section {
        padding: 40px 0;
    }

    .page-resources-mm88-security-features__section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .page-resources-mm88-security-features__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-resources-mm88-security-features__feature-grid,
.page-resources-mm88-security-features__benefit-grid {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 20px;
    }

    .page-resources-mm88-security-features__feature-card img {
        
    }

    .page-resources-mm88-security-features__card-title {
        font-size: 20px;
    }

    .page-resources-mm88-security-features__list {
        padding-left: 20px;
    }

    .page-resources-mm88-security-features__list li {
        font-size: 15px;
    }

    .page-resources-mm88-security-features__cta-bottom {
        margin-top: 40px;
        padding: 20px;
    }

    .page-resources-mm88-security-features__cta-bottom p {
        font-size: 18px;
        margin-bottom: 20px;
    }

    /* Images responsiveness for mobile */
    .page-resources-mm88-security-features img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }

    .page-resources-mm88-security-features__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-resources-mm88-security-features__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    
    .page-resources-mm88-security-features__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    
    .page-resources-mm88-security-features__faq-answer {
        padding: 0 15px;
    }
    
    .page-resources-mm88-security-features__faq-item.active .page-resources-mm88-security-features__faq-answer {
        padding: 15px !important;
    }
}