.page-about {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

.page-about__hero-section {
    position: relative;
    padding: 100px 20px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    background-color: #017439; /* Ensure a base color for the hero section */
}

.page-about__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.3;
    filter: none !important;
}

.page-about__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

.page-about__hero-title {
    font-size: 3.5em;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__hero-description {
    font-size: 1.2em;
    color: #f0f0f0;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__btn-primary {
    background-color: #017439;
    color: #ffffff;
    border: 2px solid #017439;
}

.page-about__btn-primary:hover {
    background-color: #005f2e;
    border-color: #005f2e;
}

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

.page-about__btn-secondary:hover {
    background-color: #ffffff;
    color: #017439;
}

.page-about__section {
    padding: 80px 0;
    text-align: center;
}

.page-about__section.page-about__dark-bg {
    background-color: #017439;
    color: #ffffff;
}

.page-about__section.page-about__light-text {
    background-color: #1a1a1a; /* Slightly lighter dark background for contrast with body's #121212 */
    color: #ffffff;
}

.page-about__section-title {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: inherit;
}

.page-about__sub-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 20px;
    color: inherit;
}

.page-about__text-block {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 20px;
    color: inherit;
}

.page-about__content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-about__card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
}

.page-about__card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
    filter: none !important;
}

.page-about__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-about__card-text {
    font-size: 1em;
    line-height: 1.5;
    color: #f0f0f0;
}

.page-about__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-about__feature-item {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-about__feature-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
    object-fit: contain;
    filter: none !important;
}

.page-about__feature-title {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-about__feature-description {
    font-size: 0.95em;
    line-height: 1.5;
    color: #f0f0f0;
}

.page-about__responsible-gaming-content,
.page-about__global-local-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    text-align: left;
}

.page-about__responsible-gaming-text,
.page-about__global-local-list {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

.page-about__responsible-gaming-image,
.page-about__global-local-image,
.page-about__community-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    filter: none !important;
}

.page-about__responsible-gaming-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.page-about__global-local-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.page-about__community-image {
    margin-top: 40px;
    border-radius: 10px;
}

.page-about__tech-list,
.page-about__global-local-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 40px auto 0;
    text-align: left;
}

.page-about__list-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-left: 5px solid #017439;
    border-radius: 5px;
    color: #ffffff;
    font-size: 1.05em;
}

.page-about__list-item strong {
    color: #ffffff;
}

.page-about__list-item a {
    color: #FFFF00; /* Highlight internal links */
    text-decoration: underline;
}

.page-about__list-item a:hover {
    color: #f0f000;
}

/* FAQ Section */
.page-about__faq-section {
    background-color: #017439;
    color: #ffffff;
    padding-bottom: 80px;
}

.page-about__faq-list {
    max-width: 800px;
    margin: 40px auto 0;
    text-align: left;
}

.page-about__faq-item {
    background-color: rgba(255, 255, 255, 0.15);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    color: #ffffff;
}

.page-about__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: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.page-about__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-about__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-about__faq-item[open] .page-about__faq-toggle {
    transform: rotate(45deg);
}

.page-about__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    line-height: 1.6;
    color: #f0f0f0;
}

.page-about__faq-answer p {
    margin-bottom: 10px;
}

.page-about__faq-item summary {
    list-style: none;
}

.page-about__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-about__faq-answer a {
    color: #FFFF00; /* Highlight internal links */
    text-decoration: underline;
}

.page-about__faq-answer a:hover {
    color: #f0f000;
}

/* General image styling */
.page-about img {
    max-width: 100%;
    height: auto;
    display: block;
    filter: none !important;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-about__hero-title {
        font-size: 3em;
    }
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__hero-description {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-about__hero-section {
        padding: 80px 15px 40px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-about__hero-title {
        font-size: 2.2em;
    }
    .page-about__hero-description {
        font-size: 1em;
    }
    .page-about__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-about__btn-primary,
    .page-about__btn-secondary {
        width: 100%;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-about__section {
        padding: 60px 0;
    }
    .page-about__section-title {
        font-size: 1.8em;
    }
    .page-about__sub-title {
        font-size: 1.5em;
    }
    .page-about__text-block {
        font-size: 0.95em;
    }

    .page-about__content-grid,
    .page-about__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-about__responsible-gaming-content,
    .page-about__global-local-content {
        flex-direction: column;
        gap: 30px;
    }

    .page-about__responsible-gaming-text,
    .page-about__global-local-list {
        max-width: 100%;
    }

    .page-about__responsible-gaming-image,
    .page-about__global-local-image,
    .page-about__community-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-about__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-about__card,
    .page-about__feature-item,
    .page-about__list-item,
    .page-about__faq-item {
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .page-about__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-about__faq-answer {
        padding: 0 20px 15px;
    }

    .page-about__section,
    .page-about__card,
    .page-about__container,
    .page-about__cta-buttons,
    .page-about__hero-buttons,
    .page-about__content-grid,
    .page-about__features-grid,
    .page-about__responsible-gaming-content,
    .page-about__global-local-content,
    .page-about__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .page-about__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }
}