:root {
    --primary-color: #113B7A;
    --secondary-color: #1D5FD1;
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    --card-bg: #10233F;
    --text-main: #F3F8FF;
    --text-secondary: #AFC4E8;
    --border-color: #244D84;
    --glow-color: #4FA8FF;
    --gold-color: #F2C14E;
    --divider-color: #1B3357;
    --deep-navy: #08162B; /* Body background */
}

.page-about {
    font-family: Arial, sans-serif;
    color: var(--text-main); /* Light text for dark body background */
    line-height: 1.6;
    background-color: var(--deep-navy); /* Ensure body background is respected */
}

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

.page-about__section-title {
    font-size: 36px;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    position: relative;
    padding-bottom: 10px;
}

.page-about__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--button-gradient);
    border-radius: 2px;
}

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

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

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

.page-about a:hover {
    color: var(--gold-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;
    overflow: hidden;
    background-color: var(--primary-color);
}

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

.page-about__hero-image-wrapper {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-about__hero-image-wrapper img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 12px;
}

.page-about__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-about__main-title {
    font-size: clamp(28px, 4vw, 48px);
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.page-about__hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    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: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border: none;
    cursor: pointer;
}

.page-about__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.page-about__cta-button--small {
    padding: 12px 30px;
    font-size: 16px;
}

/* Intro Section */
.page-about__intro-section {
    background-color: var(--card-bg);
    padding: 60px 0;
    border-bottom: 1px solid var(--divider-color);
}

/* Mission Vision Section */
.page-about__mission-vision-section {
    padding: 60px 0;
    background-color: var(--deep-navy);
    border-bottom: 1px solid var(--divider-color);
}

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

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

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

.page-about__card img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
    border-radius: 8px;
    object-fit: cover;
}

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

.page-about__value-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

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

.page-about__value-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--glow-color);
    font-weight: bold;
}

/* Why Choose Us Section */
.page-about__why-choose-us-section {
    background-color: var(--card-bg);
    padding: 60px 0;
    border-bottom: 1px solid var(--divider-color);
}

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

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

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

.page-about__feature-item img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
    border-radius: 8px;
    object-fit: cover;
}

.page-about__feature-title {
    font-size: 22px;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: bold;
}

/* Responsible Gaming Section */
.page-about__responsible-gaming-section {
    background-color: var(--deep-navy);
    padding: 60px 0;
    border-bottom: 1px solid var(--divider-color);
}

.page-about__responsible-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.page-about__responsible-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
    color: var(--text-secondary);
}

.page-about__responsible-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--glow-color);
    font-size: 24px;
    line-height: 1;
}

/* Contact Section */
.page-about__contact-section {
    background-color: var(--card-bg);
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid var(--divider-color);
}

.page-about__contact-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 40px 0;
    text-align: center;
}

.page-about__contact-list li {
    margin-bottom: 10px;
    font-size: 18px;
    color: var(--text-main);
}

.page-about__contact-list strong {
    color: var(--gold-color);
}

.page-about__contact-link {
    color: var(--glow-color);
    font-weight: bold;
}

/* FAQ Section */
.page-about__faq-section {
    background-color: var(--deep-navy);
    padding: 60px 0;
}

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

details.page-about__faq-item {
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--card-bg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: border-color 0.3s ease;
}

details.page-about__faq-item:hover {
    border-color: var(--glow-color);
}

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;
    background-color: var(--card-bg);
    color: var(--text-main);
    font-weight: bold;
    font-size: 18px;
}

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-color: rgba(var(--primary-color), 0.5);
}

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

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

details.page-about__faq-item .page-about__faq-answer {
    padding: 0 25px 25px;
    background: var(--card-bg);
    border-radius: 0 0 12px 12px;
    color: var(--text-secondary);
}

.page-about__faq-answer p {
    margin: 0;
    padding-top: 10px;
    color: var(--text-secondary);
}

/* Image and button responsive styles */
.page-about img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-about__cta-button,
.page-about a[class*="button"],
.page-about a[class*="btn"] {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__hero-image-wrapper,
.page-about__content-grid,
.page-about__feature-grid,
.page-about__faq-list {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-about {
        font-size: 15px;
    }

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

    .page-about__hero-image-wrapper img {
        border-radius: 8px;
    }

    .page-about__main-title {
        font-size: clamp(24px, 7vw, 36px);
    }

    .page-about__hero-description {
        font-size: 16px;
    }

    .page-about__cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }

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

    .page-about__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .page-about__content-grid,
    .page-about__feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-about__card,
    .page-about__feature-item {
        padding: 25px;
        border-radius: 10px;
    }

    .page-about__card-title,
    .page-about__feature-title {
        font-size: 20px;
    }

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

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

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

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

    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-about__section,
    .page-about__card,
    .page-about__container,
    .page-about__hero-section,
    .page-about__intro-section,
    .page-about__mission-vision-section,
    .page-about__why-choose-us-section,
    .page-about__responsible-gaming-section,
    .page-about__contact-section,
    .page-about__faq-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-about__cta-button,
    .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;
        padding-right: 15px;
    }
}