/* style/index-security-guarantee.css */
/* Base styles for the page content, ensuring light text on dark background */
.page-index-security-guarantee {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
    padding-bottom: 60px; /* Ensure space above footer */
}

/* Hero Section */
.page-index-security-guarantee__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above, text below */
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    text-align: center;
    background-color: #08160F; /* Background */
}

.page-index-security-guarantee__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Max width for the image */
    margin-bottom: 30px; /* Space between image and content */
    overflow: hidden; /* Ensure image doesn't overflow */
    border-radius: 10px;
}

.page-index-security-guarantee__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
    min-width: 200px;
    min-height: 200px;
}

.page-index-security-guarantee__hero-content {
    max-width: 900px;
    margin: 0 auto;
    color: #F2FFF6; /* Text Main */
}

.page-index-security-guarantee__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive H1 font size */
    font-weight: bold;
    margin-bottom: 20px;
    color: #F2FFF6; /* Text Main */
    line-height: 1.2;
}

.page-index-security-guarantee__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #A7D9B8; /* Text Secondary */
}

.page-index-security-guarantee__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%; /* Ensure container takes full width for responsive buttons */
    max-width: 600px; /* Limit button group width */
    margin: 0 auto;
    box-sizing: border-box;
}

.page-index-security-guarantee__btn-primary,
.page-index-security-guarantee__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Responsive button width */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
    text-align: center;
}

.page-index-security-guarantee__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-index-security-guarantee__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

.page-index-security-guarantee__btn-secondary {
    background: transparent;
    color: #11A84E; /* Main color */
    border: 2px solid #11A84E; /* Border color */
}

.page-index-security-guarantee__btn-secondary:hover {
    background: rgba(17, 168, 78, 0.1);
    color: #2AD16F; /* Lighter green on hover */
    transform: translateY(-2px);
}

/* General Section Styles */
.page-index-security-guarantee__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-index-security-guarantee__section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-index-security-guarantee__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #2AD16F; /* Brighter green for underline */
    border-radius: 2px;
}

.page-index-security-guarantee__text-block {
    font-size: 1.05em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #A7D9B8; /* Text Secondary */
    text-align: justify;
}

/* Feature Grid Section */
.page-index-security-guarantee__core-measures-section {
    background-color: #08160F; /* Background */
    padding: 80px 0;
}

.page-index-security-guarantee__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-index-security-guarantee__feature-card {
    background-color: #11271B; /* Card BG */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #F2FFF6; /* Text Main */
    border: 1px solid #2E7A4E; /* Border color */
}

.page-index-security-guarantee__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-index-security-guarantee__feature-icon {
    width: 100%;
    max-width: 250px; /* Constrain icon size */
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-index-security-guarantee__feature-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #F2FFF6; /* Text Main */
}

.page-index-security-guarantee__feature-description {
    font-size: 0.95em;
    color: #A7D9B8; /* Text Secondary */
    line-height: 1.7;
    text-align: justify;
}

/* Account Protection & Financial Transactions Sections */
.page-index-security-guarantee__account-protection-section,
.page-index-security-guarantee__financial-transactions-section,
.page-index-security-guarantee__responsible-gaming-section {
    padding: 80px 0;
    background-color: #0A4B2C; /* Deep Green - slightly lighter than background */
}

.page-index-security-guarantee__content-block {
    background-color: #11271B; /* Card BG */
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #2E7A4E; /* Border color */
}

.page-index-security-guarantee__content-block:last-child {
    margin-bottom: 0;
}

.page-index-security-guarantee__content-subtitle {
    font-size: 1.8em;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
    border-bottom: 1px solid #1E3A2A; /* Divider */
    padding-bottom: 10px;
}

/* FAQ Section */
.page-index-security-guarantee__faq-section {
    padding: 80px 0;
    background-color: #08160F; /* Background */
}

.page-index-security-guarantee__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-index-security-guarantee__faq-item {
    background-color: #11271B; /* Card BG */
    border-radius: 10px;
    border: 1px solid #2E7A4E; /* Border color */
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    color: #F2FFF6; /* Text Main */
}

.page-index-security-guarantee__faq-item summary {
    list-style: none; /* Hide default marker */
}

.page-index-security-guarantee__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit */
}

.page-index-security-guarantee__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: #1E3A2A; /* Darker background for question */
    color: #F2FFF6; /* Text Main */
    transition: background-color 0.3s ease;
}

.page-index-security-guarantee__faq-question:hover {
    background-color: #2E7A4E; /* Border color on hover */
}

.page-index-security-guarantee__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
    line-height: 1.7;
    background-color: #11271B; /* Card BG */
    border-top: 1px solid #1E3A2A; /* Divider */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-security-guarantee__main-title {
        font-size: clamp(1.8em, 5vw, 3em);
    }
    .page-index-security-guarantee__section-title {
        font-size: 2em;
    }
    .page-index-security-guarantee__content-subtitle {
        font-size: 1.5em;
    }
}

@media (max-width: 768px) {
    .page-index-security-guarantee {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-index-security-guarantee__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body already handles header offset */
    }

    .page-index-security-guarantee__main-title {
        font-size: clamp(1.5em, 7vw, 2.5em);
    }

    .page-index-security-guarantee__description {
        font-size: 1em;
    }

    .page-index-security-guarantee__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        flex-wrap: wrap !important; /* Important for button group */
    }

    .page-index-security-guarantee__btn-primary,
    .page-index-security-guarantee__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-index-security-guarantee__container,
    .page-index-security-guarantee__overview-section,
    .page-index-security-guarantee__core-measures-section,
    .page-index-security-guarantee__account-protection-section,
    .page-index-security-guarantee__financial-transactions-section,
    .page-index-security-guarantee__responsible-gaming-section,
    .page-index-security-guarantee__faq-section {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-index-security-guarantee__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-index-security-guarantee__feature-grid {
        grid-template-columns: 1fr;
    }

    .page-index-security-guarantee__feature-card {
        padding: 25px;
    }

    .page-index-security-guarantee__feature-icon {
        max-width: 200px;
    }

    .page-index-security-guarantee__feature-title {
        font-size: 1.3em;
    }

    .page-index-security-guarantee__content-block {
        padding: 25px;
        margin-bottom: 20px;
    }

    .page-index-security-guarantee__content-subtitle {
        font-size: 1.3em;
    }

    .page-index-security-guarantee__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }

    .page-index-security-guarantee__faq-answer {
        padding: 15px 20px;
        font-size: 0.95em;
    }

    /* All images must be responsive */
    .page-index-security-guarantee img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
}