/* style/about.css */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #DC143C; /* Deep Red */
    --text-light: #F0F0F0;
    --text-dark: #333333;
    --background-dark: #1a1a1a;
    --background-light: #282828;
    --card-background: #333333;
    --border-color: #444444;
}

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

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

.page-about .hero-banner {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    padding: 0 20px;
}

.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);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    padding: 20px;
}

.page-about .hero-title {
    font-size: 3.5em;
    margin-bottom: 15px;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    font-weight: bold;
    line-height: 1.2;
}

.page-about .hero-subtitle {
    font-size: 1.3em;
    max-width: 800px;
    margin-bottom: 30px;
    color: var(--text-light);
}

.page-about .cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: #ffffff;
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid var(--secondary-color);
}

.page-about .cta-button:hover {
    background-color: darken(var(--secondary-color), 10%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-about .section-intro {
    background-color: var(--background-light);
}

.page-about .section-mission-vision {
    background-color: var(--background-dark);
}

.page-about .section-why-choose {
    background-color: var(--background-light);
}

.page-about .section-responsible-gaming {
    background-color: var(--background-dark);
}

.page-about .section-faq {
    background-color: var(--background-light);
    padding-bottom: 80px;
}

.page-about .section-title {
    font-size: 2.8em;
    color: var(--primary-color);
    margin-bottom: 20px;
    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-color: var(--secondary-color);
    border-radius: 2px;
}

.page-about .section-description {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: var(--text-light);
}

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

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

.page-about .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-about .feature-icon {
    width: 120px; /* Increased size, min 200x200 requirement is for image placeholders, not icons within HTML */
    height: 120px; /* Increased size */
    margin-bottom: 20px;
    object-fit: contain;
    filter: brightness(1.2);
}

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

.page-about .feature-text {
    font-size: 1em;
    color: var(--text-light);
}

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

.page-about .mv-item {
    flex: 1;
    min-width: 300px;
    background-color: var(--card-background);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    text-align: left;
}

.page-about .mv-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.page-about .mv-text {
    font-size: 1.05em;
    color: var(--text-light);
}

.page-about .benefit-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    text-align: left;
}

.page-about .benefit-list li {
    background-color: var(--card-background);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about .benefit-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-about .benefit-text {
    font-size: 1em;
    color: var(--text-light);
}

.page-about .cta-block {
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(90deg, var(--secondary-color), darken(var(--secondary-color), 15%));
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-about .cta-block p {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 25px;
    color: #ffffff;
}

.page-about .cta-block .cta-button.primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-dark);
    margin-right: 20px;
}

.page-about .cta-block .cta-button.primary:hover {
    background-color: lighten(var(--primary-color), 10%);
    border-color: lighten(var(--primary-color), 10%);
    transform: translateY(-3px);
}

.page-about .cta-block .cta-button.secondary {
    background-color: transparent;
    border-color: #ffffff;
    color: #ffffff;
}

.page-about .cta-block .cta-button.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.page-about .responsible-gaming-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
    align-items: center;
    text-align: left;
}

.page-about .responsible-gaming-image {
    flex: 1;
    min-width: 300px;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-about .responsible-gaming-list {
    flex: 2;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-about .responsible-gaming-list li {
    background-color: var(--card-background);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.page-about .responsible-gaming-list li p {
    margin: 0;
    color: var(--text-light);
}

.page-about .responsible-gaming-list li strong {
    color: var(--primary-color);
    font-size: 1.1em;
}

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

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

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

.faq-question:hover {
    background: var(--background-dark);
}

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

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

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 20px 25px;
    background: var(--card-background);
}

.faq-answer p {
    margin: 0;
    line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about .hero-title {
        font-size: 2.8em;
    }
    .page-about .hero-subtitle {
        font-size: 1.1em;
    }
    .page-about .section-title {
        font-size: 2.4em;
    }
    .page-about .mv-content, .page-about .responsible-gaming-content {
        flex-direction: column;
    }
    .page-about .mv-item, .page-about .responsible-gaming-image, .page-about .responsible-gaming-list {
        min-width: unset;
        width: 100%;
    }
    .page-about .cta-block .cta-button.primary {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .page-about .hero-banner {
        height: 400px;
    }
    .page-about .hero-title {
        font-size: 2.2em;
    }
    .page-about .hero-subtitle {
        font-size: 1em;
    }
    .page-about .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-about section {
        padding: 40px 0;
    }
    .page-about .section-title {
        font-size: 2em;
    }
    .page-about .section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-about .feature-grid {
        grid-template-columns: 1fr;
    }
    .page-about .feature-item, .page-about .mv-item, .page-about .benefit-list li {
        padding: 20px;
    }
    .page-about .feature-icon {
        width: 100px;
        height: 100px;
    }
    .page-about .feature-heading, .page-about .mv-heading, .page-about .benefit-heading {
        font-size: 1.5em;
    }
    .page-about .cta-block {
        padding: 30px;
    }
    .page-about .cta-block p {
        font-size: 1.2em;
    }
    .page-about .cta-block .cta-button {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }
    .page-about .cta-block .cta-button:last-child {
        margin-bottom: 0;
    }
    .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;
    }
}

@media (max-width: 480px) {
    .page-about .hero-banner {
        height: 350px;
    }
    .page-about .hero-title {
        font-size: 1.8em;
    }
    .page-about .hero-subtitle {
        font-size: 0.9em;
    }
    .page-about .section-title {
        font-size: 1.8em;
    }
    .page-about .responsible-gaming-image {
        height: 250px;
    }
}