:root {
    --winph-primary: #F2C14E;
    --winph-secondary: #FFD36B;
    --winph-card-bg: #111111;
    --winph-background: #0A0A0A;
    --winph-text-main: #FFF6D6;
    --winph-border: #3A2A12;
    --winph-glow: #FFD36B;
}

.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--winph-text-main); /* Light text for dark background */
    background-color: var(--winph-background); /* Ensure consistent background */
    padding-bottom: 60px; /* Space above footer */
}

.page-about__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom padding */
    overflow: hidden;
    background-color: var(--winph-background);
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
}

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

.page-about__hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
    padding: 0 15px;
}

.page-about__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
    color: var(--winph-secondary);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-about__hero-description {
    font-size: 1.1em;
    color: var(--winph-text-main);
    margin-bottom: 30px;
}

.page-about__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-about__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

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

.page-about__btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: rgba(255, 211, 107, 0.1); /* Slight glow effect */
}

/* General Section Styles */
.page-about__section {
    padding: 60px 20px;
    background-color: var(--winph-background);
    color: var(--winph-text-main);
}

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

.page-about__section-title {
    font-size: 2.5em;
    color: var(--winph-primary);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.3;
}

.page-about__sub-title {
    font-size: 1.8em;
    color: var(--winph-secondary);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-about__text-block {
    font-size: 1.05em;
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--winph-text-main);
}

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

.page-about__value-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-about__list-item {
    font-size: 1.1em;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: var(--winph-text-main);
}

.page-about__list-item::before {
    content: '★';
    color: var(--winph-secondary);
    position: absolute;
    left: 0;
    font-size: 1.2em;
    line-height: 1;
}

/* Game Categories */
.page-about__game-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 40px auto;
    max-width: 1000px;
}

.page-about__category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--winph-card-bg);
    border: 1px solid var(--winph-border);
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    color: var(--winph-text-main);
    width: 120px;
    min-width: 120px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-about__category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border-color: var(--winph-primary);
}

.page-about__category-icon {
    width: 30px; /* Allowed small icon size */
    height: 30px; /* Allowed small icon size */
    margin-bottom: 10px;
    object-fit: contain;
}

.page-about__category-name {
    font-size: 1em;
    font-weight: bold;
    text-align: center;
}

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

.page-about__faq-item {
    background-color: var(--winph-card-bg);
    border: 1px solid var(--winph-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: var(--winph-card-bg);
    color: var(--winph-text-main);
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

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

.page-about__faq-title {
    margin: 0;
    font-size: 1.1em;
    color: var(--winph-text-main);
}

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

.page-about__faq-item.active .page-about__faq-toggle {
    transform: rotate(45deg); /* Plus to X (minus) */
}

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

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

.page-about__faq-answer p {
    margin: 0;
    font-size: 1em;
    color: var(--winph-text-main);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__main-title {
        font-size: clamp(2em, 5vw, 2.8em);
    }
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__sub-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-about {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-about__hero-section {
        padding: 10px 15px 40px;
    }

    .page-about__hero-content {
        padding: 0 10px;
    }

    .page-about__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }

    .page-about__hero-description {
        font-size: 1em;
    }

    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px; /* Constrain buttons for better mobile look */
        margin-left: auto;
        margin-right: auto;
    }

    .page-about__btn-primary,
    .page-about__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-about__section {
        padding: 40px 15px;
    }

    .page-about__container {
        padding: 0 10px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-about__sub-title {
        font-size: 1.4em;
        margin-top: 30px;
    }

    .page-about__text-block {
        font-size: 0.95em;
    }

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

    .page-about__category-card {
        width: calc(50% - 10px); /* Two cards per row */
        min-width: unset;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .page-about__main-title {
        font-size: clamp(1.5em, 8vw, 2em);
    }
    .page-about__section-title {
        font-size: 1.6em;
    }
    .page-about__sub-title {
        font-size: 1.2em;
    }
    .page-about__category-card {
        width: 100%; /* One card per row */
    }
}