.page-about {
    font-family: Arial, sans-serif;
    color: #333333; /* Dark text for light body background */
    line-height: 1.6;
    background-color: #f8f8f8; /* A very light grey for main content area */
}

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

/* Hero Section */
.page-about__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #f0f0f0;
    margin-bottom: 40px;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    max-height: 600px; /* Limit height for desktop */
}

.page-about__hero-content {
    padding: 40px 20px;
    text-align: center;
    background-color: #ffffff; /* White background for text content */
    border-radius: 8px;
    margin: -80px auto 0; /* Overlap slightly with image */
    max-width: 800px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative; /* Ensure z-index works if needed */
    z-index: 1;
}

.page-about__main-title {
    font-size: 3.2em;
    font-weight: 700;
    color: #26A9E0; /* Primary brand color for H1 */
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    max-width: 900px; /* Limit width */
    margin-left: auto;
    margin-right: auto;
}

.page-about__description {
    font-size: 1.2em;
    color: #555555;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* General Section Styling */
.page-about__section {
    padding: 40px 0;
    margin-bottom: 30px;
}

.page-about__section:nth-of-type(odd) {
    background-color: #ffffff;
}

.page-about__section:nth-of-type(even) {
    background-color: #f0f8ff; /* Light blue tint */
}

.page-about__dark-section {
    background-color: #26A9E0; /* Primary brand color for dark section */
    color: #ffffff; /* White text for dark background */
}

.page-about__dark-section .page-about__section-title,
.page-about__dark-section .page-about__text-block,
.page-about__dark-section .page-about__security-item {
    color: #ffffff;
}

.page-about__section-title {
    font-size: 2.2em;
    font-weight: 600;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    position: relative;
}

.page-about__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #EA7C07; /* Login color for accent */
    border-radius: 2px;
}

.page-about__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__image-content {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Feature List (Offerings) */
.page-about__feature-list,
.page-about__security-list,
.page-about__support-channels {
    list-style: none;
    padding: 0;
    margin: 20px auto;
    max-width: 900px;
}

.page-about__feature-item,
.page-about__security-item,
.page-about__support-item {
    background-color: #ffffff;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    font-size: 1.05em;
    color: #333333;
    border-left: 5px solid #26A9E0; /* Accent color */
}

.page-about__dark-section .page-about__security-item {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-left-color: #EA7C07;
}

.page-about__feature-item strong,
.page-about__security-item strong {
    color: #26A9E0;
    margin-right: 8px;
}
.page-about__dark-section .page-about__security-item strong {
    color: #EA7C07;
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
    margin-right: 15px;
}

.page-about__btn-primary:hover {
    background-color: #1e87c2;
    border-color: #1e87c2;
}

.page-about__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-about__btn-secondary:hover {
    background-color: #f0f8ff;
    color: #1e87c2;
    border-color: #1e87c2;
}

.page-about__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* Link in responsible gaming section */
.page-about__responsible-gaming a {
    color: #26A9E0;
    text-decoration: underline;
    font-weight: bold;
}

.page-about__responsible-gaming a:hover {
    color: #1e87c2;
}


/* --- Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
    .page-about__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Hero Section */
    .page-about__hero-section {
        padding-top: 10px !important; /* Ensure small padding */
        margin-bottom: 20px;
    }
    
    .page-about__hero-image {
        max-height: 300px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-about__hero-content {
        padding: 25px 15px;
        margin: -40px auto 0;
        border-radius: 5px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-about__main-title {
        font-size: 2.2em;
        margin-bottom: 10px;
    }

    .page-about__description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    /* General Section Styling */
    .page-about__section {
        padding: 30px 0;
        margin-bottom: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-about__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }

    .page-about__text-block {
        font-size: 1em;
        margin-bottom: 15px;
    }

    .page-about__image-content {
        margin: 20px auto;
        max-width: 100% !important;
        height: auto !important;
        width: 100% !important;
    }

    /* Feature List */
    .page-about__feature-item,
    .page-about__security-item,
    .page-about__support-item {
        padding: 12px 15px;
        font-size: 0.95em;
        border-left-width: 3px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Buttons */
    .page-about__btn-primary,
    .page-about__btn-secondary,
    .page-about a[class*="button"],
    .page-about 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;
        margin-right: 0 !important; /* Remove desktop margin */
        margin-bottom: 10px; /* Add vertical spacing */
    }

    .page-about__cta-buttons {
        flex-direction: column !important;
        gap: 10px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Ensure all images are responsive */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    /* Ensure content containers don't overflow */
    .page-about__section,
    .page-about__card,
    .page-about__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}