.page-about {
    color: #333333; /* Default text color for light body background */
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-about__hero-section {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

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

.page-about__hero-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.page-about__hero-content {
    position: relative;
    z-index: 3;
    color: #ffffff;
    max-width: 800px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

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

.page-about__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.6;
}

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

.page-about__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1.1em;
    cursor: pointer;
}

.page-about__button--primary {
    background-color: #FFD700;
    color: #4A148C;
    border: 2px solid #FFD700;
}

.page-about__button--primary:hover {
    background-color: #E6C200;
    transform: translateY(-2px);
}

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

.page-about__button--secondary:hover {
    background-color: #4A148C;
    color: #FFD700;
    transform: translateY(-2px);
}

.page-about__section--padded {
    padding: 80px 20px;
}

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

.page-about__section-title {
    font-size: 2.8em;
    color: #4A148C;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-about__section-title--light {
    color: #FFD700;
}

.page-about__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-about__section-title--light::after {
    background-color: #4A148C;
}

.page-about__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.page-about__content-grid--reverse {
    grid-template-columns: 1fr 1fr;
}

.page-about__text-content p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 20px;
}

.page-about__image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-about__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce min-width */
    min-height: 200px; /* Enforce min-height */
}

.page-about__content-image--center {
    display: block;
    margin: 40px auto 0;
}

.page-about__link-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background-color: #4A148C;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-about__link-button:hover {
    background-color: #6A1B9A;
    transform: translateY(-2px);
}

.page-about__section--dark {
    background-color: #4A148C;
    color: #ffffff;
}

.page-about__section-intro--light {
    color: #f0f0f0;
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 50px;
}

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

.page-about__feature-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
}

.page-about__feature-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-about__feature-description {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.page-about__game-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.page-about__game-list li {
    margin-bottom: 8px;
}

.page-about__game-link {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-about__game-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.page-about__section--accent {
    background-color: #FFD700;
    color: #4A148C;
}

.page-about__section--accent .page-about__section-title {
    color: #4A148C;
}

.page-about__section--accent .page-about__section-title::after {
    background-color: #4A148C;
}

.page-about__values-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about__value-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.page-about__value-title {
    font-size: 1.8em;
    color: #4A148C;
    margin-bottom: 10px;
}

.page-about__value-description {
    font-size: 1em;
    line-height: 1.6;
    color: #333333;
}

.page-about__cta-section {
    background-color: #f8f8f8;
}

.page-about__cta-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.page-about__cta-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce min-width */
    min-height: 200px; /* Enforce min-height */
}

.page-about__cta-content {
    text-align: left;
}

.page-about__cta-description {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 30px;
}

.page-about__cta-actions {
    display: flex;
    gap: 20px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-about__hero-title {
        font-size: 3em;
    }
    .page-about__section-title {
        font-size: 2.2em;
    }
    .page-about__content-grid,
    .page-about__cta-container {
        grid-template-columns: 1fr;
    }
    .page-about__content-grid--reverse {
        grid-template-columns: 1fr;
    }
    .page-about__image-wrapper {
        order: -1; /* Image first on smaller screens */
    }
    .page-about__cta-content {
        text-align: center;
    }
    .page-about__cta-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .page-about__hero-section {
        height: auto;
        padding: 40px 20px;
    }
    .page-about__hero-title {
        font-size: 2.5em;
    }
    .page-about__hero-description {
        font-size: 1em;
    }
    .page-about__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-about__button {
        width: 100%;
    }
    .page-about__section--padded {
        padding: 60px 15px;
    }
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__content-image, .page-about__cta-image {
        max-width: 100%;
        height: auto; /* Ensure images are responsive */
    }
    /* Ensure all content area images are responsive and don't overflow */
    .page-about img {
        max-width: 100% !important;
        height: auto !important;
    }
}

@media (max-width: 480px) {
    .page-about__hero-title {
        font-size: 2em;
    }
    .page-about__section-title {
        font-size: 1.8em;
    }
    .page-about__feature-title, .page-about__value-title {
        font-size: 1.5em;
    }
}