/* style/about.css */
.page-about {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color for light body background */
    line-height: 1.6;
    background-color: #FFFFFF; /* Assuming body background is light/white */
}

.page-about__hero-section {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #f8f8f8;
    overflow: hidden;
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-about__hero-content {
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -80px;
    position: relative;
    z-index: 2;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-50px);
}

.page-about__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.page-about__description {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 30px;
}

.page-about__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.8em);
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
}

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

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

.page-about__about-section,
.page-about__why-choose-section,
.page-about__responsible-gaming-section,
.page-about__future-section,
.page-about__faq-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-about__about-section {
    background-color: #f0f7ff;
}

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

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

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

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

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

.page-about__image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: block;
    min-width: 200px;
    min-height: 200px;
}

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

.page-about__feature-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.page-about__feature-icon {
    width: 100%;
    height: auto;
    max-width: 400px;
    margin: 0 auto 20px auto;
    border-radius: 5px;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-about__feature-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-about__feature-description {
    font-size: 1em;
    color: #555555;
}

.page-about__btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Default for desktop, ensure it's not too wide */
    white-space: normal;
    word-wrap: break-word;
}

.page-about__btn-primary {
    background-color: #EA7C07;
    color: #ffffff;
    border: 2px solid #EA7C07;
}

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

.page-about__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-about__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

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

.page-about__faq-section {
    background-color: #f0f7ff;
}

.page-about__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-about__faq-item {
    background-color: #ffffff;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.page-about__faq-item details {
    border: none;
}

.page-about__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.15em;
    font-weight: 600;
    color: #333333;
    cursor: pointer;
    list-style: none;
    position: relative;
    outline: none;
}

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

.page-about__faq-question {
    flex-grow: 1;
    color: #26A9E0;
}

.page-about__faq-toggle {
    font-size: 1.5em;
    color: #26A9E0;
    margin-left: 15px;
}

.page-about__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1em;
    color: #555555;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
    .page-about__hero-content {
        margin-top: -60px;
        transform: translateY(-30px);
    }
}

@media (max-width: 768px) {
    .page-about__hero-section {
        padding-top: 10px !important;
    }

    .page-about__hero-content {
        padding: 30px 15px;
        margin-top: -40px;
        transform: translateY(-20px);
    }

    .page-about__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }

    .page-about__description {
        font-size: 1em;
    }

    .page-about__section-title {
        font-size: clamp(1.6em, 6vw, 2.2em);
        margin-bottom: 30px;
    }

    .page-about__section-description {
        font-size: 0.95em;
    }

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

    .page-about__content-wrapper--reverse {
        flex-direction: column;
    }

    /* Mobile image responsiveness */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-about__hero-image-wrapper,
    .page-about__image-block,
    .page-about__feature-icon {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Mobile button responsiveness */
    .page-about__btn,
    .page-about__btn-primary,
    .page-about__btn-secondary,
    .page-about a[class*="button"],
    .page-about a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-bottom: 10px;
    }

    .page-about__cta-center {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 15px;
    }

    .page-about__cta-center .page-about__btn {
        margin-bottom: 15px;
    }

    .page-about__cta-center .page-about__btn:last-child {
        margin-bottom: 0;
    }

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

    .page-about__faq-item summary {
        font-size: 1em;
        padding: 15px;
    }

    .page-about__faq-answer {
        padding: 0 15px 15px 15px;
    }
}