:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #1A2B3C; /* Dark Blue */
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-dark: #1A2B3C;
    --background-light: #ffffff;
    --accent-color: #ffd700; /* For highlights, buttons */
    --border-color: rgba(255, 255, 255, 0.1);
}

.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default text color for the page, assuming dark body background */
    background-color: var(--background-dark); /* Ensure page background is consistent with body if needed */
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Account for fixed header */
}

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

.page-about__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

.page-about__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
    color: var(--text-light);
}

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

.page-about__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light);
}

/* General Sections */
.page-about__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: var(--background-dark); /* Ensure background for content areas */
    color: var(--text-light);
}

.page-about__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-about__section-title--light {
    color: var(--primary-color); /* Already light, ensuring it's not overridden */
}

.page-about__text-block {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 30px auto;
    color: var(--text-light);
}

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

/* Mission & Vision Section */
.page-about__mission-vision-section {
    background-color: var(--background-dark);
    padding: 60px 20px;
    color: var(--text-light);
}

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

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

.page-about__card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-light); /* Light text for dark card background */
    border: 1px solid var(--border-color);
}

.page-about__card-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Values Section */
.page-about__values-section {
    background-color: var(--background-dark);
    padding: 60px 20px;
    color: var(--text-light);
}

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

.page-about__value-item {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

.page-about__value-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-about__value-title {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Video Section */
.page-about__video-section {
    position: relative;
    padding: 60px 20px;
    background-color: var(--background-dark);
    color: var(--text-light);
    text-align: center;
}

.page-about__video-wrapper {
    max-width: 960px; /* Standard video width */
    margin: 0 auto 30px auto;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background-color: #000; /* Fallback for video area */
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-about__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer; /* Indicate clickable */
}

.page-about__video-caption {
    max-width: 900px;
    margin: 0 auto;
}

.page-about__video-title {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-about__video-description {
    font-size: 1.1em;
    margin-bottom: 30px;
}


/* Responsible Gaming Section */
.page-about__responsible-gaming-section {
    background-color: var(--background-dark);
    padding: 60px 20px;
    color: var(--text-light);
}

.page-about__link-text {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: bold;
}

.page-about__link-text:hover {
    color: var(--text-light);
}

/* FAQ Section */
.page-about__faq-section {
    background-color: var(--background-dark);
    padding: 60px 20px;
    color: var(--text-light);
}

.page-about__faq-list {
    max-width: 900px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
}

.page-about__faq-item {
    border-bottom: 1px solid var(--border-color);
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.page-about__faq-question:hover {
    color: var(--primary-color);
}

.page-about__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.page-about__faq-item.active .page-about__faq-toggle {
    transform: rotate(45deg); /* Plus to X for active */
}

.page-about__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 15px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-light);
    font-size: 1.1em;
}

.page-about__faq-item.active .page-about__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px;
}

/* Call to Action Section */
.page-about__cta-section {
    background-color: var(--background-dark);
    padding: 60px 20px;
    text-align: center;
    color: var(--text-light);
}

.page-about__cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-about__cta-title {
    font-size: 2.8em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.page-about__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: var(--text-light);
}

.page-about__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* For mobile responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-about__btn-primary {
    background-color: var(--primary-color);
    color: var(--background-dark); /* Dark text for gold button */
    border: 2px solid var(--primary-color);
}

.page-about__btn-primary:hover {
    background-color: #e6c200; /* Slightly darker gold */
    color: var(--background-dark);
}

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

.page-about__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--background-dark);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__hero-title {
        font-size: 3em;
    }
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__cta-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-about__hero-section {
        height: 500px;
    }
    .page-about__hero-title {
        font-size: 2.5em;
    }
    .page-about__hero-description {
        font-size: 1em;
    }
    .page-about__section-title {
        font-size: 1.8em;
    }
    .page-about__card-grid,
    .page-about__values-grid {
        grid-template-columns: 1fr;
    }
    .page-about__cta-title {
        font-size: 2em;
    }
    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-about__btn-primary,
    .page-about__btn-secondary {
        width: 100%;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Images responsiveness */
    .page-about img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-about__section,
    .page-about__card,
    .page-about__container,
    .page-about__value-item,
    .page-about__cta-content,
    .page-about__intro-section,
    .page-about__responsible-gaming-section,
    .page-about__mission-vision-section,
    .page-about__faq-section,
    .page-about__values-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    /* Note: Hero section already has padding-top for header offset */
    .page-about__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        padding-bottom: 56.25% !important; /* Ensure aspect ratio is maintained */
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
    .page-about__video {
        max-width: 100% !important;
        width: 100% !important;
        height: 100% !important; /* Use 100% height for absolute positioned video */
        display: block !important;
    }
}

@media (max-width: 480px) {
    .page-about__hero-title {
        font-size: 2em;
    }
    .page-about__hero-description {
        font-size: 0.9em;
    }
    .page-about__section-title {
        font-size: 1.5em;
    }
    .page-about__cta-title {
        font-size: 1.8em;
    }
    .page-about__hero-section {
        height: 400px;
    }
    .page-about__faq-question {
        font-size: 1.1em;
    }
    .page-about__faq-answer {
        font-size: 1em;
    }
}