.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #ffffff; /* Default light background, will be overridden by shared.css var(--accent-color) */
}

.page-about__hero-section {
    padding-top: 10px; /* Small top padding as shared.css handles body padding-top */
    padding-bottom: 40px;
    background-color: #017439; /* Primary brand color for hero background */
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-height: 400px; /* Limit hero image height */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

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

.page-about__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-about__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-about__intro-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-about__btn-primary,
.page-about__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;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons are responsive */
    white-space: normal;
    word-wrap: break-word;
}

.page-about__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-about__btn-primary:hover {
    background-color: #e00b0b;
    border-color: #e00b0b;
    color: #ffffff;
}

.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: 60px 0;
}

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

.page-about__section-title {
    font-size: 2.5em;
    color: #017439; /* Primary brand color */
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-about__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: -20px auto 40px auto;
    color: #555555;
}

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

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

.page-about__text-block {
    flex: 1;
    min-width: 300px;
}

.page-about__text-block p {
    margin-bottom: 15px;
    color: #333333;
}

.page-about__image-block {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-about__image-block img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: block;
}

.page-about__section--values {
    background-color: #017439; /* Dark background */
    color: #ffffff;
}

.page-about__section--values .page-about__section-title {
    color: #ffffff;
}

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

.page-about__card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark bg */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    min-height: 200px; /* Minimum height for cards */
}

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

.page-about__card-title {
    font-size: 1.5em;
    color: #FFFF00; /* Yellow for titles on dark background */
    margin-bottom: 15px;
    font-weight: 600;
}

.page-about__card p {
    color: #f0f0f0;
}

.page-about__section--games {
    background-color: #f8f8f8;
}

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

.page-about__game-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.page-about__game-card img {
    width: 100%;
    height: 200px; /* Fixed height for game images */
    object-fit: cover;
    display: block;
}

.page-about__game-title {
    font-size: 1.3em;
    color: #017439;
    margin: 20px 15px 10px;
    font-weight: 600;
}

.page-about__game-card p {
    color: #555555;
    padding: 0 15px 20px;
    font-size: 0.95em;
}

.page-about__btn-link {
    display: inline-block;
    background-color: #017439;
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
    font-size: 0.9em;
    font-weight: 600;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__btn-link:hover {
    background-color: #005a2e;
}

.page-about__section--commitment {
    background-color: #ffffff; /* Light background */
    color: #333333;
}

.page-about__section--commitment .page-about__section-title {
    color: #017439;
}

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

.page-about__commitment-item {
    background-color: #f8f8f8;
    border-left: 5px solid #017439;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-about__commitment-heading {
    font-size: 1.4em;
    color: #017439;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-about__commitment-item p {
    color: #555555;
    margin-bottom: 15px;
}

.page-about__section--future {
    background-color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-about__content-grid {
        flex-direction: column;
    }
    .page-about__content-grid--reverse {
        flex-direction: column;
    }
    .page-about__image-block {
        order: -1; /* Image appears above text on smaller screens */
    }
}

@media (max-width: 768px) {
    .page-about {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-about__hero-section {
        padding-top: 10px !important; /* Small top padding */
        padding-bottom: 30px;
    }

    .page-about__hero-content {
        padding: 0 15px;
    }

    .page-about__main-title {
        font-size: 2.5em;
    }

    .page-about__intro-text {
        font-size: 1em;
    }

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

    .page-about__btn-primary,
    .page-about__btn-secondary,
    .page-about__btn-link {
        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;
    }

    .page-about__section {
        padding: 40px 0;
    }

    .page-about__container {
        padding: 0 15px;
    }

    .page-about__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .page-about__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-about__content-grid {
        flex-direction: column;
        gap: 30px;
    }

    .page-about__content-grid--reverse .page-about__image-block {
        order: -1; /* Image appears above text on smaller screens for reverse grid */
    }

    .page-about__value-cards,
    .page-about__game-categories,
    .page-about__commitment-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-about__card,
    .page-about__game-card,
    .page-about__commitment-item {
        padding: 20px;
    }

    /* Image specific responsive styles */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    
    .page-about__hero-image-wrapper,
    .page-about__image-block,
    .page-about__game-card,
    .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;
    }

    .page-about__game-card img {
         /* Adjust height for mobile game cards */
    }
}