/* style/about.css */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #4B0082; /* Dark Purple */
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --bg-light: #F8F8F8;
    --bg-dark: #2A0050;
    --border-color: #E0E0E0;
}

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

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

.page-about section {
    padding: 60px 0;
    text-align: center;
}

.page-about section:nth-of-type(even) {
    background-color: #F0F0F0; /* Slightly different background for contrast */
}

.page-about .section-title {
    font-size: 3em;
    color: var(--secondary-color);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

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

.page-about .section-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #555;
}

/* Hero Banner */
.page-about .hero-banner {
    background: linear-gradient(135deg, var(--secondary-color), #6A0DAD);
    color: var(--text-light);
    padding: 100px 0;
}

.page-about .hero-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-about .hero-title {
    font-size: 3.8em;
    margin-bottom: 20px;
    color: var(--primary-color);
    line-height: 1.2;
}

.page-about .hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 40px;
    opacity: 0.9;
}

.page-about .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-about .cta-button:hover {
    background-color: #FFC107;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-about .secondary-cta:hover {
    background-color: #6A0DAD;
    color: #FFFFFF;
    border-color: #FFC107;
}

/* Intro Section */
.page-about .section-intro {
    background-color: var(--bg-light);
}

.page-about .content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.page-about .content-wrapper:nth-child(even) {
    flex-direction: row-reverse;
}

.page-about .text-content {
    flex: 1;
}

.page-about .text-content p {
    margin-bottom: 15px;
    font-size: 1.05em;
    color: #444;
}

.page-about .image-content {
    flex: 1;
    min-width: 300px;
}

.page-about .about-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Mission & Vision */
.page-about .section-mission-vision {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-about .section-mission-vision .section-title {
    color: var(--primary-color);
}

.page-about .mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    text-align: left;
    margin-top: 40px;
}

.page-about .mv-item {
    background-color: #3A006A;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.page-about .mv-item p {
    color: #E0E0E0;
    font-size: 1.05em;
}

/* Why Choose Us */
.page-about .section-why-choose {
    background-color: var(--bg-light);
}

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

.page-about .feature-card {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about .feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-about .feature-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
}

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

.page-about .feature-card p {
    color: #555;
    font-size: 1em;
}

/* Commitment Section */
.page-about .section-commitment {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-about .section-commitment .section-title {
    color: var(--primary-color);
}

.page-about .commitment-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.page-about .commitment-item {
    background-color: #3A006A;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: left;
    max-width: 350px;
}

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

.page-about .commitment-item p {
    color: #E0E0E0;
    font-size: 1.05em;
}

/* Games Section */
.page-about .section-games {
    background-color: var(--bg-light);
}

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

.page-about .game-card {
    display: block;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-decoration: none;
    color: var(--text-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.page-about .game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-about .game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.page-about .game-title {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin: 15px 20px 10px;
}

.page-about .game-text {
    font-size: 1em;
    color: #555;
    margin: 0 20px 20px;
}

/* Future Section */
.page-about .section-future {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-about .section-future .section-title {
    color: var(--primary-color);
}

.page-about .section-future .text-content p {
    color: #E0E0E0;
}

/* FAQ Section */
.page-about .section-faq {
    background-color: var(--bg-light);
}

.page-about .faq-list {
    max-width: 800px;
    margin: 40px auto 0;
    text-align: left;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background-color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.faq-question:hover {
    background-color: #F5F5F5;
}

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

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

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

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

.faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 15px 25px;
    border-top: 1px solid #EEE;
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .page-about .hero-title {
        font-size: 3em;
    }
    .page-about .hero-subtitle {
        font-size: 1.2em;
    }
    .page-about .content-wrapper {
        flex-direction: column;
    }
    .page-about .content-wrapper:nth-child(even) {
        flex-direction: column;
    }
    .page-about .mv-grid {
        grid-template-columns: 1fr;
    }
    .page-about .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-about .game-cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-about .section-title {
        font-size: 2.5em;
    }
    .page-about .hero-title {
        font-size: 2.5em;
    }
    .page-about .hero-subtitle {
        font-size: 1.1em;
    }
    .page-about .cta-button {
        padding: 12px 30px;
        font-size: 1.1em;
    }
    .page-about section {
        padding: 40px 0;
    }
    .page-about .feature-title, .page-about .mv-title, .page-about .commitment-heading, .page-about .game-title {
        font-size: 1.5em;
    }
    .faq-question {
        padding: 15px 20px;
    }
    .faq-question h3 {
        font-size: 1.1em;
    }
    .faq-toggle {
        font-size: 1.5em;
    }
    .faq-answer {
        padding: 0 20px;
    }
    .faq-item.active .faq-answer {
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .page-about .section-title {
        font-size: 2em;
    }
    .page-about .hero-title {
        font-size: 2em;
    }
    .page-about .hero-subtitle {
        font-size: 1em;
    }
    .page-about .cta-button {
        padding: 10px 25px;
        font-size: 1em;
    }
    .page-about .feature-icon {
        width: 80px;
        height: 80px;
    }
    .page-about .feature-card, .page-about .mv-item, .page-about .commitment-item {
        padding: 20px;
    }
    .page-about .game-card {
        margin: 0 auto;
        max-width: 300px;
    }
}