/* style/index-security-guarantees.css */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background-dark: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

.page-index-security-guarantees {
    background-color: var(--background-dark);
    color: var(--text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-index-security-guarantees__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-index-security-guarantees__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    text-align: center;
    overflow: hidden;
}

.page-index-security-guarantees__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Adjust as needed */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-index-security-guarantees__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-index-security-guarantees__hero-content {
    padding: 40px 20px;
    max-width: 900px;
    margin-top: 20px;
}

.page-index-security-guarantees__hero-title {
    color: var(--gold-color);
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    /* No fixed large font-size, relying on other properties */
}

.page-index-security-guarantees__hero-description {
    color: var(--text-secondary);
    font-size: 1.1em;
    margin-bottom: 30px;
}

.page-index-security-guarantees__hero-ctas {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Buttons */
.page-index-security-guarantees__btn-primary,
.page-index-security-guarantees__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    text-align: center;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-index-security-guarantees__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: 2px solid transparent;
}

.page-index-security-guarantees__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-index-security-guarantees__btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-index-security-guarantees__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-main);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Section Titles */
.page-index-security-guarantees__section-title {
    color: var(--gold-color);
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.3;
}

/* Text Blocks */
.page-index-security-guarantees__text-block {
    color: var(--text-secondary);
    font-size: 1.05em;
    margin-bottom: 20px;
    text-align: justify;
}

/* General Section Styling */
.page-index-security-guarantees__introduction-section,
.page-index-security-guarantees__financial-security-section,
.page-index-security-guarantees__responsible-gaming-section,
.page-index-security-guarantees__support-section,
.page-index-security-guarantees__conclusion-section {
    padding: 60px 0;
    background-color: var(--background-dark);
}

.page-index-security-guarantees__data-security-section,
.page-index-security-guarantees__fraud-prevention-section,
.page-index-security-guarantees__licensing-section,
.page-index-security-guarantees__faq-section {
    padding: 60px 0;
    background-color: var(--card-bg);
}

.page-index-security-guarantees__dark-section .page-index-security-guarantees__section-title,
.page-index-security-guarantees__dark-section .page-index-security-guarantees__text-block {
    color: var(--text-main);
}

/* Content Flex Layout */
.page-index-security-guarantees__content-flex {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.page-index-security-guarantees__content-flex--reverse {
    flex-direction: row-reverse;
}

.page-index-security-guarantees__content-text-block {
    flex: 1;
    min-width: 300px;
}

.page-index-security-guarantees__content-image-wrapper {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-index-security-guarantees__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    display: block;
}

/* Links in text */
.page-index-security-guarantees__text-block a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-index-security-guarantees__text-block a:hover {
    color: var(--glow-color);
}

/* FAQ Section */
.page-index-security-guarantees__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-security-guarantees__faq-item {
    background-color: var(--background-dark);
    border: 1px solid var(--divider-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-main);
}

.page-index-security-guarantees__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 1.1em;
    color: var(--text-main);
    background-color: var(--deep-green);
    border-bottom: 1px solid var(--divider-color);
}

.page-index-security-guarantees__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-index-security-guarantees__faq-item summary:hover {
    background-color: var(--primary-color);
}

.page-index-security-guarantees__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-index-security-guarantees__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
}

.page-index-security-guarantees__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: var(--text-secondary);
    background-color: var(--background-dark);
}

.page-index-security-guarantees__faq-answer p {
    margin: 0;
}

/* CTA Buttons Group */
.page-index-security-guarantees__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-index-security-guarantees__hero-title {
        font-size: 2.5em;
    }
    .page-index-security-guarantees__section-title {
        font-size: 1.8em;
    }
    .page-index-security-guarantees__content-flex {
        flex-direction: column;
        gap: 30px;
    }
    .page-index-security-guarantees__content-flex--reverse {
        flex-direction: column;
    }
    .page-index-security-guarantees__hero-ctas {
        flex-direction: column;
        align-items: center;
    }
    .page-index-security-guarantees__btn-primary,
    .page-index-security-guarantees__btn-secondary {
        width: 80%;
    }
}

@media (max-width: 768px) {
    .page-index-security-guarantees__hero-section {
        padding-bottom: 40px;
    }
    .page-index-security-guarantees__hero-title {
        font-size: clamp(1.8em, 7vw, 2.2em); /* Using clamp for H1 on mobile */
    }
    .page-index-security-guarantees__hero-description {
        font-size: 1em;
    }
    .page-index-security-guarantees__section-title {
        font-size: 1.6em;
        margin-bottom: 30px;
    }
    .page-index-security-guarantees__text-block {
        font-size: 0.95em;
    }
    .page-index-security-guarantees__introduction-section,
    .page-index-security-guarantees__data-security-section,
    .page-index-security-guarantees__financial-security-section,
    .page-index-security-guarantees__fraud-prevention-section,
    .page-index-security-guarantees__responsible-gaming-section,
    .page-index-security-guarantees__licensing-section,
    .page-index-security-guarantees__support-section,
    .page-index-security-guarantees__faq-section,
    .page-index-security-guarantees__conclusion-section {
        padding: 40px 0;
    }

    /* Mobile image responsiveness */
    .page-index-security-guarantees img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-index-security-guarantees__section,
    .page-index-security-guarantees__card,
    .page-index-security-guarantees__container,
    .page-index-security-guarantees__hero-image-wrapper,
    .page-index-security-guarantees__content-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-index-security-guarantees__hero-section {
        padding-top: 10px !important;
    }

    /* Mobile button responsiveness */
    .page-index-security-guarantees__cta-button,
    .page-index-security-guarantees__btn-primary,
    .page-index-security-guarantees__btn-secondary,
    .page-index-security-guarantees a[class*="button"],
    .page-index-security-guarantees a[class*="btn"] {
        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-index-security-guarantees__cta-buttons,
    .page-index-security-guarantees__button-group,
    .page-index-security-guarantees__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px;
        overflow: hidden !important;
    }
    .page-index-security-guarantees__faq-item summary {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-index-security-guarantees__faq-answer {
        padding: 15px 20px;
    }
}