:root {
    --page-about-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-about-card-bg: #11271B;
    --page-about-background: #08160F;
    --page-about-text-main: #F2FFF6;
    --page-about-text-secondary: #A7D9B8;
    --page-about-border: #2E7A4E;
    --page-about-glow: #57E38D;
    --page-about-gold: #F2C14E;
    --page-about-divider: #1E3A2A;
    --page-about-deep-green: #0A4B2C;
}

.page-about {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-about-text-main); /* Default text color for the page, light for dark body background */
    background-color: var(--page-about-background); /* Ensure consistency if main is not transparent */
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    padding: 0;
    background-color: var(--page-about-deep-green); /* Darker background for hero */
    overflow: hidden;
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-height: 70vh; /* Limit height of the hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-about__hero-content {
    text-align: center;
    padding: 40px 20px 60px;
    max-width: 900px;
    margin-top: -80px; /* Overlap slightly with image for visual appeal, but text is below */
    z-index: 1; /* Ensure content is above any background elements */
    position: relative;
    background: linear-gradient(0deg, var(--page-about-background) 0%, rgba(8, 22, 15, 0.8) 70%, rgba(8, 22, 15, 0) 100%);
    width: 100%;
}

.page-about__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive H1 font size */
    color: var(--page-about-gold);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.4);
}

.page-about__hero-description {
    font-size: 1.15rem;
    color: var(--page-about-text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* General Section Styling */
.page-about__section {
    padding: 80px 0;
    background-color: var(--page-about-background);
    color: var(--page-about-text-main);
}

.page-about__dark-section {
    background-color: var(--page-about-card-bg); /* Darker background for contrast */
    color: var(--page-about-text-main);
}

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

.page-about__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: var(--page-about-gold);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-about__section-description {
    font-size: 1.1rem;
    color: var(--page-about-text-secondary);
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__sub-title {
    font-size: 1.5rem;
    color: var(--page-about-text-main);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-about__content-grid {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.page-about__content-grid--reverse {
    flex-direction: row-reverse;
}

.page-about__text-block {
    flex: 1;
    min-width: 0; /* Allow flex item to shrink */
}

.page-about__text-block p {
    margin-bottom: 15px;
    color: var(--page-about-text-secondary);
}

.page-about__text-block strong {
    color: var(--page-about-text-main);
}

.page-about__image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 200px; /* Minimum image size */
}

.page-about__image-wrapper--center {
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-about__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.page-about__image:hover {
    transform: translateY(-5px);
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    white-space: nowrap; /* Prevent text wrap on desktop */
}

.page-about__btn-primary {
    background: var(--page-about-button-gradient);
    color: #ffffff;
}

.page-about__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-about__btn-secondary {
    background-color: transparent;
    color: var(--page-about-glow);
    border-color: var(--page-about-glow);
}

.page-about__btn-secondary:hover {
    transform: translateY(-3px);
    background-color: rgba(87, 227, 141, 0.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about__cta-center {
    text-align: center;
    margin-top: 50px;
}

/* Core Values Section */
.page-about__values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about__value-card {
    background-color: var(--page-about-card-bg);
    border: 1px solid var(--page-about-border);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-about__value-title {
    font-size: 1.4rem;
    color: var(--page-about-gold);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-about__value-text {
    color: var(--page-about-text-secondary);
    font-size: 1rem;
}

/* Products Section */
.page-about__products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about__product-card {
    background-color: var(--page-about-card-bg);
    border: 1px solid var(--page-about-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.page-about__product-image {
    width: 100%;
    height: 200px; /* Fixed height for product images */
    object-fit: cover;
    display: block;
}

.page-about__product-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 20px 20px 10px;
}

.page-about__product-title a {
    color: var(--page-about-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-about__product-title a:hover {
    color: var(--page-about-glow);
}

.page-about__product-text {
    color: var(--page-about-text-secondary);
    font-size: 0.95rem;
    padding: 0 20px 20px;
    flex-grow: 1;
}

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

.page-about__faq-item {
    background-color: var(--page-about-card-bg);
    border: 1px solid var(--page-about-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-about__faq-item[open] {
    background-color: var(--page-about-deep-green);
    border-color: var(--page-about-glow);
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--page-about-text-main);
    cursor: pointer;
    position: relative;
    user-select: none;
    transition: color 0.3s ease;
}

.page-about__faq-question:hover {
    color: var(--page-about-gold);
}

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

.page-about__faq-qtext {
    flex-grow: 1;
}

.page-about__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 20px;
    color: var(--page-about-glow);
    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: 1rem;
    color: var(--page-about-text-secondary);
    line-height: 1.7;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__content-grid {
        flex-direction: column;
    }
    .page-about__content-grid--reverse {
        flex-direction: column; /* Consistent stacking on smaller screens */
    }
    .page-about__hero-content {
        margin-top: -40px;
        padding: 30px 20px 50px;
    }
}

@media (max-width: 768px) {
    .page-about {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-about__hero-content {
        margin-top: 0; /* Remove overlap on mobile */
        padding: 20px 15px 40px;
    }
    .page-about__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-about__hero-description {
        font-size: 1rem;
    }
    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-about__btn-primary,
    .page-about__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 1rem;
    }
    .page-about__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-about__section {
        padding: 40px 0;
    }
    .page-about__section-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
        margin-bottom: 15px;
    }
    .page-about__section-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    .page-about__sub-title {
        font-size: 1.3rem;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    .page-about__container {
        padding: 0 15px;
    }

    /* Images responsiveness */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-about__section,
    .page-about__card,
    .page-about__container,
    .page-about__image-wrapper,
    .page-about__products-grid,
    .page-about__values-grid,
    .page-about__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Ensure no overflow */
    }
    .page-about__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
    .page-about__product-image {
        height: 180px; /* Adjust height for mobile */
    }
    .page-about__product-title {
        font-size: 1.2rem;
    }
    .page-about__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-about__faq-answer {
        padding: 0 20px 15px;
    }
}

/* Ensure no image filters */
.page-about img {
    filter: none !important;
}

/* Content area image size lower bound check */
.page-about__introduction .page-about__image,
.page-about__core-values .page-about__image,
.page-about__security .page-about__image,
.page-about__responsible-gambling .page-about__image,
.page-about__future-vision .page-about__image {
    min-width: 200px;
    min-height: 200px;
}
/* Product cards already have height set, but ensure min-width for image itself */
.page-about__product-image {
    min-width: 200px;
    min-height: 150px; /* Adjusted for card aspect ratio, but still > 200px width */
}