/* style/about.css */
.page-about {
    background-color: #0D0E12; /* Background */
    color: #FFF3E6; /* Text Main */
    font-family: sans-serif; /* General font */
    padding-top: 10px; /* Small top padding for the first section, relying on body for header offset */
}

.page-about__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    overflow-x: hidden; /* Prevent horizontal overflow */
}

.page-about__hero-section {
    display: flex;
    flex-direction: column; /* Default for mobile, will change for desktop */
    align-items: center;
    text-align: center;
    padding: 40px 0;
    background-color: #17191F; /* Card BG for section */
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Max width for the image wrapper */
    margin-bottom: 20px; /* Space between image and content on mobile/column layout */
}

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

.page-about__hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.page-about__main-title {
    font-size: clamp(1.8rem, 4vw, 3rem); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #FF8C1A, #FFA53A); /* Gold to Orange gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Fallback for browsers not supporting text-fill-color */
}

.page-about__intro-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.page-about__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
    color: #FFF3E6;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 200px;
    text-align: center;
}

.page-about__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(255, 140, 26, 0.4);
}

.page-about__section-title {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    background: linear-gradient(90deg, #FF8C1A, #FFA53A); /* Gold to Orange gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Fallback for browsers not supporting text-fill-color */
}

.page-about__story-section,
.page-about__mission-vision-section,
.page-about__why-choose-us-section,
.page-about__responsible-gaming-section,
.page-about__contact-cta-section {
    padding: 60px 0;
    margin-bottom: 40px;
    background-color: #17191F; /* Card BG */
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid #A84F0C; /* Border */
}

.page-about__paragraph {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 30px auto;
    max-width: 800px;
    object-fit: cover;
}

.page-about__mission-vision-section .page-about__container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.page-about__mission-card,
.page-about__vision-card {
    flex: 1;
    min-width: 300px;
    background-color: #0D0E12; /* Background */
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #A84F0C; /* Border */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.page-about__card-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #FF8C1A; /* Main color */
}

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

.page-about__feature-item {
    background-color: #0D0E12; /* Background */
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #A84F0C; /* Border */
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.page-about__feature-icon {
    width: 100%; /* Ensure image fills card width */
    max-width: 250px; /* Limit max width of icon within card */
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
    border-radius: 4px;
    object-fit: cover;
}

.page-about__feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #FFA53A; /* Accent color */
}

.page-about__read-more-button,
.page-about__contact-button {
    display: block;
    width: fit-content;
    margin: 30px auto 0 auto;
    padding: 12px 25px;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
    color: #FFF3E6;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    min-width: 180px;
}

.page-about__read-more-button:hover,
.page-about__contact-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(255, 140, 26, 0.3);
}

/* Responsive adjustments */
@media (min-width: 769px) {
    .page-about__hero-section {
        flex-direction: column; /* Still column, but image wrapper has more width */
        padding: 60px 0;
    }

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

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

    .page-about__story-section .page-about__paragraph {
        text-align: left;
    }

    .page-about__mission-card,
    .page-about__vision-card {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .page-about__container {
        padding: 15px;
    }

    .page-about__hero-section {
        padding: 20px 0;
    }

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

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

    .page-about__main-title {
        font-size: clamp(1.6rem, 7vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-about__intro-text {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-about__cta-button {
        padding: 12px 25px;
        font-size: 0.95rem;
        min-width: unset;
        width: 100%;
        max-width: 280px;
    }

    .page-about__section-title {
        font-size: clamp(1.3rem, 6vw, 2rem);
        margin-bottom: 20px;
    }

    .page-about__story-section,
    .page-about__mission-vision-section,
.page-about__why-choose-us-section,
.page-about__responsible-gaming-section,
.page-about__contact-cta-section {
        padding: 40px 0;
        margin-bottom: 30px;
    }

    .page-about__paragraph {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .page-about__image {
        margin: 20px auto;
    }

    .page-about__mission-card,
    .page-about__vision-card {
        min-width: unset;
        width: 100%;
        padding: 20px;
    }

    .page-about__card-title {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }

    .page-about__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .page-about__feature-item {
        padding: 20px;
    }

    .page-about__feature-icon {
        margin-bottom: 15px;
    }

    .page-about__feature-title {
        font-size: 1.2rem;
    }

    .page-about__read-more-button,
    .page-about__contact-button {
        padding: 10px 20px;
        font-size: 0.9rem;
        min-width: unset;
        width: 100%;
        max-width: 250px;
    }
    /* Ensure all images inside page-about are responsive */
    .page-about img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 549px) {
    .page-about__main-title {
        font-size: clamp(1.4rem, 8vw, 2.2rem);
    }
    .page-about__section-title {
        font-size: clamp(1.2rem, 7vw, 1.8rem);
    }
    .page-about__cta-button,
    .page-about__read-more-button,
    .page-about__contact-button {
        max-width: 200px; /* Even smaller max-width for very small screens */
    }
}

/* Ensure content area images do not cause overflow */
.page-about .page-about__story-section img,
.page-about .page-about__why-choose-us-section img {
    max-width: 100%;
    height: auto;
    display: block;
}