/* style/about.css */

:root {
    --primary-color: #0A2239;
    --secondary-color: #FFD700;
    --text-on-dark: #ffffff;
    --text-on-light: #333333;
    --light-bg: #f8f8f8;
    --dark-bg: #0A2239;
}

.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-on-dark); /* Default text color for body background #000000 */
    background-color: #000000; /* Body background color from shared.css */
}

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

.page-about__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    color: var(--secondary-color);
    font-weight: bold;
}

.page-about__section-title--center {
    text-align: center;
}

.page-about__section-description {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1em;
    color: var(--text-on-dark);
}

.page-about__sub-title {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__hero-section {
    position: relative;
    padding: 100px 0;
    text-align: center;
    background-color: var(--primary-color);
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('[GALLERY:hero_bg:1920x1080:ku_casino_999,abstract,gaming,background,dark,gold]');
    background-size: cover;
    background-position: center;
    color: var(--text-on-dark);
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-about__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-on-dark);
}

.page-about__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    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: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    box-sizing: border-box;
}

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

.page-about__btn-primary:hover {
    background-color: darken(var(--secondary-color), 10%);
    color: var(--primary-color);
    border-color: darken(var(--secondary-color), 10%);
}

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

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

.page-about__introduction-section,
.page-about__game-variety-section,
.page-about__why-choose-us-section,
.page-about__faq-section {
    padding: 80px 0;
    color: var(--text-on-light);
}

.page-about__values-section,
.page-about__security-section,
.page-about__cta-section {
    padding: 80px 0;
    color: var(--text-on-dark);
    background-color: var(--primary-color);
}

.page-about__light-bg {
    background-color: var(--light-bg);
    color: var(--text-on-light);
}

.page-about__dark-section {
    background-color: var(--primary-color);
    color: var(--text-on-dark);
}

.page-about__grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.page-about__grid-layout--reverse {
    grid-template-areas: "image text";
}

.page-about__grid-layout--reverse .page-about__text-content {
    grid-area: text;
}

.page-about__grid-layout--reverse .page-about__image-wrapper {
    grid-area: image;
}

.page-about__text-content p {
    margin-bottom: 15px;
    font-size: 1.05em;
}

.page-about__image-wrapper {
    text-align: center;
}

.page-about__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    display: block;
    margin: 0 auto;
}

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

.page-about__value-card,
.page-about__feature-card {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
    color: var(--text-on-dark);
}

.page-about__light-bg .page-about__value-card,
.page-about__light-bg .page-about__feature-card {
    background-color: #ffffff;
    color: var(--text-on-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

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

.page-about__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-weight: bold;
}

.page-about__feature-icon {
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-about__cta-box {
    background-color: var(--primary-color);
    padding: 50px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    margin-top: 50px;
    margin-bottom: 50px;
    color: var(--text-on-dark);
    border: 1px solid var(--secondary-color);
}

.page-about__light-bg .page-about__cta-box {
    background-color: #ffffff;
    color: var(--text-on-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.page-about__cta-buttons--center {
    margin-top: 30px;
}

.page-about__text--center {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1em;
}

.page-about__faq-list {
    margin-top: 40px;
}

.page-about__faq-item {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark background */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-on-dark);
}

.page-about__light-bg .page-about__faq-item {
    background-color: #ffffff;
    color: var(--text-on-light);
    border: 1px solid #e0e0e0;
}

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

.page-about__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-about__light-bg .page-about__faq-question:hover {
    background-color: #f0f0f0;
}

.page-about__faq-question h3 {
    margin: 0;
    color: var(--secondary-color);
}

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

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

.page-about__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-on-dark);
}

.page-about__light-bg .page-about__faq-answer {
    color: var(--text-on-light);
}

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

.page-about__faq-answer p {
    margin: 0;
    font-size: 1.05em;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-about__hero-title {
        font-size: 2.8em;
    }
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__grid-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .page-about__grid-layout--reverse {
        grid-template-areas: unset;
    }
    .page-about__grid-layout--reverse .page-about__text-content,
    .page-about__grid-layout--reverse .page-about__image-wrapper {
        grid-area: unset;
    }
    .page-about__hero-section,
    .page-about__introduction-section,
    .page-about__values-section,
    .page-about__game-variety-section,
    .page-about__security-section,
    .page-about__why-choose-us-section,
    .page-about__cta-section,
    .page-about__faq-section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .page-about {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-about__container {
        padding: 0 15px;
    }
    .page-about__hero-title {
        font-size: 2.2em;
    }
    .page-about__hero-description {
        font-size: 1.1em;
    }
    .page-about__section-title {
        font-size: 1.8em;
    }
    .page-about__sub-title {
        font-size: 1.5em;
    }
    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-about__btn-primary,
    .page-about__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-about__cta-buttons,
    .page-about__button-group,
    .page-about__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-about__image,
    .page-about__feature-icon {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-about__section,
    .page-about__card,
    .page-about__container,
    .page-about__image-wrapper,
    .page-about__video-section,
    .page-about__video-container,
    .page-about__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-about__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 60px;
    }
    .page-about__value-card,
    .page-about__feature-card {
        padding: 25px;
    }
    .page-about__cta-box {
        padding: 30px;
    }
    .page-about p,
    .page-about li {
        font-size: 1em;
    }
    .page-about__faq-question,
    .page-about__faq-question h3 {
        font-size: 1.1em;
    }
    .page-about__faq-answer p {
        font-size: 0.95em;
    }
}