:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --bg-color-dark: #0A0A0A;
    --card-bg-color: #111111;
    --text-main-color: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-about {
    font-family: 'Arial', sans-serif;
    color: var(--text-main-color); /* Base text color for the page */
    background-color: var(--bg-color-dark); /* Main background for the page */
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll on desktop */
}

.page-about h1, .page-about h2, .page-about h3, .page-about h4, .page-about h5, .page-about h6 {
    color: var(--secondary-color); /* Headings in accent color */
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-about h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: bold;
    letter-spacing: -0.05em;
    color: var(--primary-color);
}

.page-about h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-about h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-about h3 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 600;
}

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

.page-about a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-about a:hover {
    color: var(--secondary-color);
}

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

.page-about__dark-section {
    background-color: var(--card-bg-color);
    color: var(--text-main-color);
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--bg-color-dark);
}

.page-about__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
}

.page-about__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

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

.page-about__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
}

.page-about__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Sections General */
.page-about__mission-vision-section,
.page-about__why-choose-us-section,
.page-about__responsible-gaming-section,
.page-about__our-story-section,
.page-about__faq-section,
.page-about__cta-bottom-section {
    padding: 80px 0;
}

.page-about__mission-vision-section {
    background-color: var(--card-bg-color);
}

.page-about__why-choose-us-section {
    background-color: var(--bg-color-dark);
}

.page-about__responsible-gaming-section {
    background-color: var(--card-bg-color);
}

.page-about__our-story-section {
    background-color: var(--bg-color-dark);
}

.page-about__faq-section {
    background-color: var(--card-bg-color);
}

.page-about__cta-bottom-section {
    padding: 60px 0;
    text-align: center;
    background-color: var(--bg-color-dark);
}

.page-about__cta-bottom-section .page-about__section-title {
    margin-bottom: 25px;
}

.page-about__cta-bottom-section .page-about__description {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(1rem, 1.8vw, 1.15rem);
}

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

.page-about__card {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-about__card-title {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}

.page-about__card-text {
    color: var(--text-main-color);
}

.page-about__list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-about__list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: var(--text-main-color);
}

.page-about__list li::before {
    content: '✔';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

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

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

.page-about__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-about__feature-icon {
    width: 200px;
    height: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto 20px;
    object-fit: contain;
    border-radius: 8px; /* Ensure images have radius */
}

.page-about__feature-title {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
}

.page-about__feature-description {
    color: var(--text-main-color);
    font-size: 0.95rem;
}

.page-about__story-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    margin: 40px auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    object-fit: cover;
}

/* FAQ Section */
details.page-about__faq-item {
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--card-bg-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

details.page-about__faq-item summary.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}

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

details.page-about__faq-item summary.page-about__faq-question:hover {
    background: rgba(var(--primary-color-rgb, 242, 193, 78), 0.1);
}

.page-about__faq-qtext {
    flex: 1;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--text-main-color);
}

.page-about__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    text-align: center;
}

details.page-about__faq-item .page-about__faq-answer {
    padding: 0 25px 20px;
    background: rgba(var(--card-bg-color-rgb, 17, 17, 17), 0.8);
    border-radius: 0 0 12px 12px;
    color: var(--text-main-color);
    font-size: 15px;
}

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

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

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

    .page-about__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-about__hero-image {
        border-radius: 8px;
        margin-bottom: 20px;
    }

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

    .page-about__description {
        font-size: clamp(0.95rem, 4vw, 1.1rem);
    }

    .page-about__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

    .page-about__section-title::after {
        width: 60px;
        height: 3px;
        margin-top: 10px;
    }

    .page-about__mission-vision-section,
    .page-about__why-choose-us-section,
    .page-about__responsible-gaming-section,
    .page-about__our-story-section,
    .page-about__faq-section,
    .page-about__cta-bottom-section {
        padding: 50px 0;
    }

    .page-about__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-about__card {
        padding: 25px;
    }

    .page-about__card-title {
        font-size: clamp(1.1rem, 4.5vw, 1.4rem);
    }

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

    .page-about__feature-icon {
        width: 150px;
        height: auto;
        margin-bottom: 15px;
    }

    .page-about__feature-title {
        font-size: clamp(1rem, 4vw, 1.25rem);
    }

    .page-about__feature-description {
        font-size: 0.9rem;
    }

    .page-about__story-image {
        margin: 30px auto;
        border-radius: 8px;
    }

    details.page-about__faq-item summary.page-about__faq-question {
        padding: 15px 20px;
    }

    .page-about__faq-qtext {
        font-size: 16px;
    }

    .page-about__faq-toggle {
        font-size: 24px;
        width: 25px;
    }

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

    /* Ensure all images are responsive */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    
    .page-about__section, .page-about__card, .page-about__container, .page-about__cta-bottom-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Global image styles to ensure no filters are applied */
.page-about img {
    filter: none !important;
}