:root {
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --button-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    --card-bg-color: #17191F;
    --body-bg-color: #0D0E12;
    --text-main-color: #FFF3E6;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange: #D96800;
}

.page-about {
    font-family: 'Arial', sans-serif;
    color: var(--text-main-color);
    background-color: var(--body-bg-color);
    line-height: 1.6;
}

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

.page-about__section {
    padding: 60px 0;
    text-align: center;
}

.page-about__section--mission-vision,
.page-about__section--why-choose-us,
.page-about__section--responsible-gaming,
.page-about__section--future-outlook,
.page-about__section--faq {
    background-color: var(--body-bg-color);
}

.page-about__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--primary-color);
    margin-bottom: 40px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-about__sub-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-about p {
    margin-bottom: 20px;
    color: var(--text-main-color);
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
    padding-bottom: 60px;
    overflow: hidden;
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-height: 600px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7);
}

.page-about__hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
    text-align: center;
    max-width: 900px;
    margin-top: -100px;
    background: rgba(13, 14, 18, 0.8);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-about__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--text-main-color);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__intro-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-main-color);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    width: auto;
}

.page-about__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main-color);
    border: 2px solid transparent;
}

.page-about__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

.page-about__btn-secondary {
    background: none;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-about__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-main-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

/* Mission & Vision Section */
.page-about__content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: left;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .page-about__content-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
    .page-about__text-block:nth-child(1) {
        order: 1;
    }
    .page-about__image-block:nth-child(2) {
        order: 2;
    }
}

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

.page-about__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    filter: none; /* Ensure no CSS filter changes image color */
}

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

.page-about__values-list li {
    background-color: var(--card-bg-color);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: var(--text-main-color);
    font-size: 1rem;
}

.page-about__values-list li strong {
    color: var(--secondary-color);
    display: block;
    margin-bottom: 5px;
}

.page-about__image--values {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Why Choose Us Section */
.page-about__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-about__feature-card {
    background-color: var(--card-bg-color);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 140, 26, 0.3);
}

.page-about__card-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-about__image--security {
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsible Gaming Section */
.page-about__responsible-gaming-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about__feature-item {
    background-color: var(--card-bg-color);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: left;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-about__item-title {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

/* Future Outlook Section */
.page-about__cta-buttons--bottom {
    margin-top: 40px;
}

/* FAQ Section */
.page-about__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-about__faq-item {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.page-about__faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(255, 140, 26, 0.3);
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.15rem;
    position: relative;
    list-style: none;
}

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

.page-about__faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-about__faq-item[open] .page-about__faq-toggle {
    transform: rotate(45deg);
}

.page-about__faq-answer {
    padding: 0 20px 20px;
    color: var(--text-main-color);
    font-size: 1rem;
    line-height: 1.6;
    overflow: hidden;
    max-height: 0; /* Hidden by default for JS controlled div, or for details it will be auto */
    transition: max-height 0.3s ease-out;
}

.page-about__faq-item[open] .page-about__faq-answer {
    max-height: 1000px; /* Sufficient height for most answers */
}

/* Specific styling for .keyword span */
.page-about .keyword {
    color: var(--primary-color);
    font-weight: 600;
}

/* Ensure content area images are not too small */
.page-about__content-area img,
.page-about__text-block img,
.page-about__image-block img,
.page-about__feature-card img {
    min-width: 200px;
    min-height: 200px;
}

/* No CSS filters on images, except brightness for readability */
.page-about img {
    filter: none;
}
.page-about__hero-image {
    filter: brightness(0.7); /* Allowed for readability, not color change */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-about__hero-content {
        margin-top: -50px;
    }
}

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

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