/* ===== Page About RW88 ===== */

.page-about { color: #333333; }

/* Hero Section */
.page-about__hero-section {
    padding: 10px 16px 0;
}

.page-about__hero-image-wrapper {
    width: 100%;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    aspect-ratio: 17/5;
    object-fit: cover;
    display: block;
}

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

.page-about__hero-title {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: #1a67a3;
    margin: 0 0 12px;
}

.page-about__hero-description {
    font-size: 1rem;
    line-height: 1.7;
    max-width: 1000px;
    margin: 0 0 20px;
    color: #333333;
}

.page-about__hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

.page-about__hero-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    color: #FFFFFF;
    text-decoration: none;
    background-color: #EA7C07;
    border: 2px solid #EA7C07;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    box-sizing: border-box;
}

.page-about__hero-btn--secondary {
    background-color: #FFFFFF;
    color: #1a67a3;
    border-color: #1a67a3;
}

.page-about__hero-btn:hover {
    background-color: #FA9C2C;
    border-color: #FA9C2C;
    color: #FFFFFF;
}

.page-about__hero-btn--secondary:hover {
    background-color: #e0f2ff;
    border-color: #0477db;
    color: #0477db;
}

/* Introduction Section */
.page-about__introduction-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    padding: 48px 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-about__intro-image {
    flex: 1 1 300px;
    min-width: 280px;
}

.page-about__intro-image img {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.page-about__intro-text {
    flex: 1 1 400px;
}

.page-about__section-title {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 700;
    line-height: 1.4;
    color: #0477db;
    margin: 0 0 16px;
}

.page-about__section-paragraph {
    font-size: 1rem;
    line-height: 1.8;
    margin: 0 0 12px;
    color: #444444;
}

/* Mission Section */
.page-about__mission-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 16px;
}

.page-about__mission-card {
    flex: 1 1 280px;
    max-width: 340px;
    background-color: #FFFFFF;
    border: 1px solid #eaeff5;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s;
}

.page-about__mission-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.page-about__mission-icon {
    display: block;
    font-size: 2rem;
    margin-bottom: 12px;
}

.page-about__mission-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0477db;
    margin: 0 0 8px;
}

.page-about__mission-text {
    font-size: 0.925rem;
    line-height: 1.7;
    color: #444444;
    margin: 0;
}

/* Stats Section */
.page-about__stats-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 40px 16px;
    background: linear-gradient(135deg, #26A9E0, #0e7fc2);
}

.page-about__stat-item {
    text-align: center;
    padding: 20px 8px;
}

.page-about__stat-number {
    display: block;
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.2;
    margin-bottom: 4px;
}

.page-about__stat-label {
    font-size: 0.925rem;
    color: #e0f2ff;
}

/* Features Section */
.page-about__features-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 16px 24px;
}

.page-about__features-heading {
    text-align: center;
    margin-bottom: 36px;
}

.page-about__features-grid {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.page-about__feature-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 32px;
}

.page-about__feature-item--reverse {
    flex-direction: row-reverse;
}

.page-about__feature-image {
    flex: 1 1 300px;
    min-width: 280px;
}

.page-about__feature-image img {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.page-about__feature-content {
    flex: 1 1 400px;
}

.page-about__feature-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0a5388;
    margin: 0 0 10px;
}

.page-about__feature-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #333333;
    margin: 0;
}

/* Games Section */
.page-about__games-section {
    background-color: #f5fafd;
    padding: 48px 16px;
    text-align: center;
}

.page-about__games-section .page-about__section-title {
    margin-bottom: 8px;
}

.page-about__section-description {
    color: #333333;
    font-size: 1rem;
    max-width: 800px;
    margin: 0 auto 32px;
}

.page-about__games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto 36px;
}

.page-about__game-card {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #eaeff5;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.page-about__game-card-thumbnail {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.page-about__game-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-about__game-card-link {
    text-decoration: none;
}

.page-about__game-card-link:hover .page-about__game-card-title {
    color: #db8d05;
}

.page-about__game-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0477db;
    padding: 16px 16px 4px;
    margin: 0;
    transition: color 0.2s;
}

.page-about__game-card-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #333333;
    padding: 0 16px 20px;
    margin: 0;
}

.page-about__games-cta {
    margin-top: 8px;
}

.page-about__games-btn {
    display: inline-block;
    background: #EA7C07;
    color: #FFFFFF;
    padding: 12px 32px;
    border-radius: 50px;
    border: 2px solid #EA7C07;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s;
}

.page-about__games-btn:hover {
    background-color: #FA9C2C;
    border-color: #FA9C2C;
}

/* Guide Section */
.page-about__guide-section {
    padding-top: 10px;
}

.page-about__guide-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 16px 16px 48px;
}

.page-about__guide-title {
    text-align: center;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 700;
    color: #0477db;
    margin: 0 0 32px;
}

.page-about__guide-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
}

.page-about__guide-item--reverse {
    flex-direction: row-reverse;
}

.page-about__guide-figure {
    flex: 1 1 280px;
    min-width: 250px;
}

.page-about__guide-figure img {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 2/1;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.page-about__guide-info {
    flex: 1 1 300px;
}

.page-about__guide-step-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0a5388;
    margin: 0 0 8px;
}

.page-about__guide-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #333333;
    margin: 0;
}

/* FAQ Section */
.page-about__faq {
    max-width: 850px;
    margin: 0 auto 60px;
    padding: 40px 16px 0;
    width: 100%;
    box-sizing: border-box;
}

.page-about__faq-title {
    text-align: center;
    margin-bottom: 24px;
}

.page-about__faq-item {
    border-bottom: 1px solid #eaeff5;
    padding: 20px 0;
}

.page-about__faq-question {
    font-size: 1.02rem;
    font-weight: 600;
    color: #0477db;
    margin: 0 0 8px;
}

.page-about__faq-answer {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
    margin: 0;
}

.page-about__faq-answer a {
    color: #0477db;
    text-decoration: underline;
}

.page-about__faq-details {
    border-bottom: 1px solid #eaeff5;
}

.page-about__faq-summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.page-about__faq-summary::-webkit-details-marker { display: none; }

.page-about__faq-summary .page-about__faq-question {
    margin: 0;
}

.page-about__faq-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    aspect-ratio: 1;
    background-color: #26A9E0;
    color: #FFFFFF;
    border-radius: 50%;
    font-weight: 700;
    flex-shrink: 0;
}

.page-about__faq-answer-wrapper {
    padding-bottom: 20px;
}

/* ===== Responsive ===== */

/* Tablet & Mobile adjustments */
@media (max-width: 1024px) {
    .page-about__games-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-about__feature-item {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    /* Hero */
    .page-about__hero-section {
        padding-left: 12px;
        padding-right: 12px;
    }

    .page-about__hero-image {
        aspect-ratio: 2/1;
    }

    .page-about__hero-title {
        letter-spacing: -0.01em;
    }

    .page-about__hero-content {
        padding-left: 6px;
        padding-right: 6px;
    }

    .page-about__hero-btn {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        white-space: normal;
        word-wrap: break-word;
        text-align: center;
    }

    .page-about__hero-cta-group {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
        flex-direction: column;
    }

    /* Introduction */
    .page-about__introduction-section {
        padding: 32px 12px;
        flex-direction: column;
    }

    /* Stats */
    .page-about__stats-section {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Features */
    .page-about__features-section {
        padding: 32px 12px;
    }

    .page-about__feature-item,
    .page-about__feature-item--reverse {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    /* Games */
    .page-about__games-section {
        padding: 32px 12px;
    }

    .page-about__games-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 24px;
    }

    .page-about__game-card-text {
        padding-bottom: 16px;
    }

    /* Guide */
    .page-about__guide-inner {
        padding: 16px 12px 32px;
    }

    .page-about__guide-item,
    .page-about__guide-item--reverse {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
        margin-bottom: 24px;
    }

    .page-about__guide-figure {
        width: 100%;
    }

    .page-about__guide-title {
        margin-bottom: 24px;
    }

    /* FAQ */
    .page-about__faq {
        padding: 20px 12px 0;
        margin-bottom: 40px;
    }

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

    .page-about {
        max-width: 100%;
        overflow-x: hidden;
    }
}