:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --button-register-login-bg: #C30808;
    --button-register-login-text: #FFFF00;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #ffffff;
    --background-dark: #017439; /* Using primary color for dark background sections */
    --card-bg-dark: rgba(255, 255, 255, 0.1);
    --border-light: #e0e0e0;
}

.page-index-security-and-trust {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light backgrounds */
    background-color: var(--background-light); /* Default background */
}

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

.page-index-security-and-trust__section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.page-index-security-and-trust__section-title--light {
    color: var(--text-light);
}

.page-index-security-and-trust__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-index-security-and-trust__text-block--light {
    color: var(--text-light);
}

.page-index-security-and-trust__btn-primary,
.page-index-security-and-trust__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    cursor: pointer;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
    max-width: 100%; /* Ensure button doesn't overflow */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.page-index-security-and-trust__btn-primary {
    background-color: var(--button-register-login-bg); /* Custom color for register/login */
    color: var(--button-register-login-text); /* Custom font color for register/login */
    border: 2px solid var(--button-register-login-bg);
}

.page-index-security-and-trust__btn-primary:hover {
    background-color: #e00b0b; /* Slightly darker red */
    border-color: #e00b0b;
}

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

.page-index-security-and-trust__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* Hero Section */
.page-index-security-and-trust__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image then text */
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
    overflow: hidden;
}

.page-index-security-and-trust__hero-image-wrapper {
    width: 100%;
    max-height: 70vh; /* Limit height for hero image */
    overflow: hidden;
    position: relative;
    z-index: 1; /* Ensure image is below text if text was positioned */
}

.page-index-security-and-trust__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 200px; /* Ensure minimum size */
}

.page-index-security-and-trust__hero-content {
    position: relative; /* Not absolute, to flow below image */
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.9); /* Semi-transparent background for readability */
    border-radius: 10px;
    margin-top: -80px; /* Overlap slightly with the image for visual flow */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    color: var(--text-dark);
}

.page-index-security-and-trust__hero-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive H1 font size */
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--primary-color);
    max-width: 100%;
}

.page-index-security-and-trust__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-security-and-trust__hero-cta {
    margin-top: 20px;
}

/* General Section Styles */
.page-index-security-and-trust__intro-section,
.page-index-security-and-trust__license-section,
.page-index-security-and-trust__responsible-gaming-section,
.page-index-security-and-trust__faq-section {
    padding: 80px 0;
    background-color: var(--background-light);
    color: var(--text-dark);
}

.page-index-security-and-trust__security-system-section,
.page-index-security-and-trust__transaction-policy-section,
.page-index-security-and-trust__community-section,
.page-index-security-and-trust__cta-final-section {
    padding: 80px 0;
    background-color: var(--background-dark);
    color: var(--text-light);
}