:root {
    --main-color: #113B7A;
    --auxiliary-color: #1D5FD1;
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    --card-bg: #10233F;
    --text-main: #F3F8FF;
    --text-secondary: #AFC4E8;
    --border-color: #244D84;
    --glow-color: #4FA8FF;
    --gold: #F2C14E;
    --divider-color: #1B3357;
    --deep-navy: #08162B;
}

.page-about {
    background-color: var(--deep-navy); /* #08162B */
    color: var(--text-main); /* #F3F8FF */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.page-about__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    background: linear-gradient(180deg, var(--deep-navy) 0%, var(--main-color) 100%); /* #08162B to #113B7A */
    text-align: center;
    overflow: hidden; /* Prevent content overflow */
}

.page-about__hero-image-wrapper {
    margin-bottom: 20px;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16/9; /* Adjusted for a common hero aspect ratio */
}

.page-about__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-about__main-title {
    font-size: clamp(2rem, 5vw, 3.5rem); /* Responsive H1 font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--gold); /* #F2C14E */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__intro-text {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: var(--text-secondary); /* #AFC4E8 */
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--button-gradient); /* linear-gradient(180deg, #2B73F6 0%, #1144A6 100%) */
    color: var(--text-main); /* #F3F8FF */
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-about__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* General Section Styling */
.page-about__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-about__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--gold); /* #F2C14E */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

/* Mission Section */
.page-about__mission-section {
    padding: 60px 0;
    background-color: var(--card-bg); /* #10233F */
}

.page-about__mission-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.page-about__mission-card {
    background-color: var(--deep-navy); /* #08162B */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    padding-bottom: 20px;
}

.page-about__card-image {
    width: 100%;
    height: auto;
    min-height: 200px; /* Min size for image */
    object-fit: cover;
    margin-bottom: 20px;
}

.page-about__card-title {
    font-size: 1.6rem;
    color: var(--gold); /* #F2C14E */
    margin-bottom: 10px;
    padding: 0 20px;
}

.page-about__card-description {
    font-size: 1rem;
    color: var(--text-secondary); /* #AFC4E8 */
    padding: 0 20px;
}

/* Values Section */
.page-about__values-section {
    padding: 60px 0;
    background-color: var(--main-color); /* #113B7A */
}

.page-about__values-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.page-about__value-item {
    background-color: var(--card-bg); /* #10233F */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color); /* #244D84 */
}

.page-about__value-heading {
    font-size: 1.5rem;
    color: var(--gold); /* #F2C14E */
    margin-bottom: 10px;
}

.page-about__value-description {
    font-size: 1rem;
    color: var(--text-secondary); /* #AFC4E8 */
}

/* Responsible Gaming Section */
.page-about__responsible-gaming-section {
    padding: 60px 0;
    background-color: var(--deep-navy); /* #08162B */
}

.page-about__content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.page-about__text-content {
    max-width: 600px;
    text-align: center;
}

.page-about__text-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-secondary); /* #AFC4E8 */
}

.page-about__link-button {
    display: inline-block;
    padding: 12px 25px;
    background: var(--auxiliary-color); /* #1D5FD1 */
    color: var(--text-main); /* #F3F8FF */
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.page-about__link-button:hover {
    background-color: #174bb0; /* Darker shade of auxiliary color */
}

.page-about__responsible-gaming-image {
    width: 100%;
    max-width: 800px; /* Max width for content image */
    height: auto;
    min-height: 200px; /* Min size for image */
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Join Us Section */
.page-about__join-us-section {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--main-color) 0%, var(--deep-navy) 100%); /* #113B7A to #08162B */
    text-align: center;
}

.page-about__join-us-content {
    max-width: 800px;
}

.page-about__join-us-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--text-secondary); /* #AFC4E8 */
}

.page-about__cta-button--large {
    padding: 18px 40px;
    font-size: 1.25rem;
}

/* Responsive Design */
@media (min-width: 768px) {
    .page-about__mission-grid {
        grid-template-columns: 1fr 1fr;
    }

    .page-about__values-list {
        grid-template-columns: 1fr 1fr;
    }

    .page-about__content-wrapper {
        flex-direction: row;
        text-align: left;
        justify-content: center;
    }
    .page-about__text-content {
        text-align: left;
    }
    .page-about__text-content p {
        margin-bottom: 15px;
    }
    .page-about__responsible-gaming-image {
        max-width: 50%; /* Adjust width for side-by-side layout */
    }
}

@media (max-width: 768px) {
    .page-about__hero-image {
        aspect-ratio: 4/3; /* Adjust aspect ratio for mobile hero */
    }
    .page-about__hero-section {
        padding-bottom: 30px;
    }
    .page-about__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
    .page-about__intro-text {
        font-size: 1rem;
    }
    .page-about__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    .page-about__section-title {
        font-size: clamp(1.6rem, 6vw, 2rem);
    }
    .page-about__card-title {
        font-size: 1.4rem;
    }
    .page-about__value-heading {
        font-size: 1.3rem;
    }
    .page-about__text-content p,
    .page-about__join-us-description {
        font-size: 1rem;
    }
    .page-about__cta-button--large {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
    .page-about__container {
        padding: 15px;
    }
    /* Ensure all content images are responsive and don't overflow */
    .page-about img:not(.page-about__hero-image) { /* Exclude hero as it has its own aspect-ratio */
        max-width: 100%;
        height: auto;
        display: block;
        min-width: 200px; /* Ensure minimum size */
        min-height: 200px; /* Ensure minimum size */
    }
    .page-about__card-image, .page-about__responsible-gaming-image {
        min-width: 200px;
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .page-about__hero-image {
        aspect-ratio: 16/10; /* Slightly wider aspect for smaller mobiles */
    }
    .page-about__hero-section {
        padding-bottom: 20px;
    }
    .page-about__main-title {
        font-size: clamp(1.6rem, 9vw, 2.2rem);
    }
    .page-about__intro-text {
        font-size: 0.95rem;
    }
    .page-about__section-title {
        font-size: clamp(1.4rem, 7vw, 1.8rem);
    }
}

/* Ensure images meet minimum size requirements */
.page-about img {
    min-width: 200px;
    min-height: 200px;
}