:root {
    --primary-color: #1A202C;
    --secondary-color: #FFD700;
    --text-light: #FFFFFF;
    --text-dark: #1A202C;
    --background-light: #F5F5F5;
    --background-dark: #1A202C;
    --border-color: #e0e0e0;
}

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

.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: 20px;
}

.page-about h1,
.page-about h2,
.page-about h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-about h1 {
    font-size: 2.8em;
    text-align: center;
    color: var(--text-light);
}

.page-about h2 {
    font-size: 2.2em;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
}

.page-about h3 {
    font-size: 1.6em;
    margin-bottom: 15px;
}

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

.page-about__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-about__cta-button:hover {
    background: #e6c200; /* Slightly darker gold */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-about__button {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.page-about__button:hover {
    background: #3a475e; /* Slightly lighter primary */
}

/* Hero Section */
.page-about__hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #3a475e 100%);
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
}

.page-about__hero-section .page-about__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.page-about__hero-content {
    max-width: 800px;
}

.page-about__hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 25px;
    color: var(--text-light);
}

.page-about__hero-content p {
    font-size: 1.15em;
    line-height: 1.8;
    opacity: 0.9;
}

.page-about__hero-content a {
    color: var(--secondary-color);
}

.page-about__hero-content a:hover {
    color: #e6c200;
}

.page-about__hero-image {
    width: 100%;
    max-width: 800px;
}

.page-about__hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    min-height: 250px; /* Minimum size for content images */
}

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

.page-about__mission-vision .page-about__container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-about__mission-vision .page-about__text-content {
    flex: 1;
}

.page-about__mission-vision .page-about__image-content {
    flex: 1;
}

.page-about__mission-vision .page-about__image-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    min-height: 250px;
}

/* Values Section */
.page-about__values {
    background-color: #f9f9f9;
    padding: 60px 0;
}

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

.page-about__value-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-about__value-item img {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    object-fit: cover;
    min-height: 200px;
    border-radius: 5px;
}

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

/* Journey Section */
.page-about__journey {
    padding: 60px 0;
    background-color: var(--background-light);
}

.page-about__journey .page-about__container {
    display: flex;
    flex-direction: row-reverse; /* Image on left, text on right */
    align-items: center;
    gap: 40px;
}

.page-about__journey .page-about__text-content {
    flex: 1;
}

.page-about__journey .page-about__image-content {
    flex: 1;
}

.page-about__journey .page-about__image-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    min-height: 250px;
}

/* Game Ecosystem Section */
.page-about__game-ecosystem {
    padding: 60px 0;
    background-color: #f0f0f0;
    text-align: center;
}

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

.page-about__game-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-about__game-card img {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    min-height: 200px;
}

.page-about__game-card h3 {
    padding: 15px 20px 0;
    font-size: 1.5em;
    color: var(--primary-color);
}

.page-about__game-card p {
    padding: 0 20px 15px;
    font-size: 0.95em;
    color: #555;
}

.page-about__game-card .page-about__button {
    margin: 0 20px 20px;
    width: calc(100% - 40px);
    text-align: center;
}

/* Commitment Section */
.page-about__commitment {
    padding: 60px 0;
    background-color: var(--background-dark);
    color: var(--text-light);
}

.page-about__commitment .page-about__container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-about__commitment h2 {
    color: var(--secondary-color);
}

.page-about__commitment p {
    opacity: 0.9;
}

.page-about__commitment .page-about__text-content {
    flex: 1;
}

.page-about__commitment .page-about__image-content {
    flex: 1;
}

.page-about__commitment .page-about__image-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    min-height: 250px;
}

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

.page-about__commitment a:hover {
    color: #e6c200;
}

/* Customer Service Section */
.page-about__customer-service {
    padding: 60px 0;
    background-color: var(--background-light);
    text-align: center;
}

.page-about__service-details {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-about__service-image {
    flex: 1;
}

.page-about__service-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    min-height: 250px;
}

.page-about__service-text {
    flex: 1;
    text-align: left;
}

.page-about__service-text p {
    font-size: 1.05em;
}

/* Promotions Section */
.page-about__promotions {
    padding: 60px 0;
    background-color: #f0f0f0;
    text-align: center;
}

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

.page-about__promo-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-about__promo-item img {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    object-fit: cover;
    min-height: 200px;
    border-radius: 5px;
}

.page-about__promo-item h3 {
    color: var(--primary-color);
    font-size: 1.8em;
    margin-bottom: 10px;
}

.page-about__text-center {
    text-align: center;
    margin-top: 40px;
}

/* Payments Section */
.page-about__payments {
    padding: 60px 0;
    background-color: var(--background-light);
}

.page-about__payments .page-about__container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-about__payments .page-about__text-content {
    flex: 1;
}

.page-about__payments .page-about__image-content {
    flex: 1;
}

.page-about__payments .page-about__image-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    min-height: 250px;
}

.page-about__payments ul {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 15px;
}

.page-about__payments li {
    margin-bottom: 8px;
}

/* Future Vision Section */
.page-about__future-vision {
    padding: 60px 0;
    background-color: var(--background-dark);
    color: var(--text-light);
    text-align: center;
}

.page-about__future-vision h2 {
    color: var(--secondary-color);
}

.page-about__future-vision p {
    max-width: 900px;
    margin: 0 auto 15px;
    font-size: 1.1em;
    opacity: 0.9;
}

.page-about__future-vision a {
    color: var(--secondary-color);
}

.page-about__future-vision a:hover {
    color: #e6c200;
}

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

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

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: #ffffff;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #ffffff;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f5f5f5;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--primary-color);
}

.faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    color: #444;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height for content */
    padding: 15px 25px;
    background: #f9f9f9;
    border-top: 1px solid var(--border-color);
    border-radius: 0 0 8px 8px;
}

.faq-item.active .faq-answer p {
    margin-bottom: 0;
}

/* Contact Info Section */
.page-about__contact-info {
    padding: 60px 0;
    background-color: #f0f0f0;
    text-align: center;
}

.page-about__contact-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: inline-block; /* Center the list */
    text-align: left;
}

.page-about__contact-list li {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: #333;
}

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

/* Copyright */
.page-about__copyright {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 20px;
    text-align: center;
    font-size: 0.9em;
}

.page-about__copyright a {
    color: var(--secondary-color);
    margin: 0 5px;
}

.page-about__copyright a:hover {
    color: #e6c200;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-about h1 {
        font-size: 2.5em;
    }
    .page-about h2 {
        font-size: 1.8em;
    }
    .page-about h3 {
        font-size: 1.4em;
    }
    .page-about__hero-section .page-about__container,
    .page-about__mission-vision .page-about__container,
    .page-about__journey .page-about__container,
    .page-about__commitment .page-about__container,
    .page-about__customer-service .page-about__service-details,
    .page-about__payments .page-about__container {
        flex-direction: column;
        text-align: center;
    }
    .page-about__hero-content,
    .page-about__mission-vision .page-about__text-content,
    .page-about__journey .page-about__text-content,
    .page-about__commitment .page-about__text-content,
    .page-about__customer-service .page-about__service-text,
    .page-about__payments .page-about__text-content {
        order: 2;
    }
    .page-about__hero-image,
    .page-about__mission-vision .page-about__image-content,
    .page-about__journey .page-about__image-content,
    .page-about__commitment .page-about__image-content,
    .page-about__customer-service .page-about__service-image,
    .page-about__payments .page-about__image-content {
        order: 1;
    }
    .page-about__journey .page-about__container {
        flex-direction: column; /* Reset for mobile */
    }
    .page-about__journey .page-about__text-content {
        order: 1;
    }
    .page-about__journey .page-about__image-content {
        order: 2;
    }
}

@media (max-width: 768px) {
    .page-about__container {
        padding: 15px;
    }
    .page-about h1 {
        font-size: 2em;
    }
    .page-about h2 {
        font-size: 1.6em;
    }
    .page-about h3 {
        font-size: 1.3em;
    }
    .page-about__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-about__hero-section {
        padding: 60px 0;
    }
    .page-about__hero-content h1 {
        font-size: 2.5em;
    }
    .page-about__hero-content p {
        font-size: 1em;
    }
    .page-about__values-grid,
    .page-about__games-grid,
    .page-about__promotions-grid {
        grid-template-columns: 1fr;
    }
    .faq-question {
        padding: 15px 20px;
    }
    .faq-question h3 {
        font-size: 1.1em;
    }
    .faq-toggle {
        font-size: 20px;
    }
    .faq-answer {
        padding: 0 20px;
    }
    .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
    .page-about__contact-list {
        text-align: center;
    }
}