.page-about {
    font-family: 'Arial', sans-serif;
    color: #1F2D3D;
    line-height: 1.6;
    background-color: #F4F7FB;
}

.page-about__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 40px;
    background-color: #F4F7FB;
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-about__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.page-about__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em);
    color: #000000;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-about__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #1F2D3D;
}

.page-about__cta-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.page-about__cta-group--center {
    justify-content: center;
}

.page-about__btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
}

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

.page-about__btn--primary:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(47, 107, 255, 0.3);
}

.page-about__btn--secondary {
    background: #ffffff;
    color: #2F6BFF;
    border: 2px solid #2F6BFF;
}

.page-about__btn--secondary:hover {
    background: #F4F7FB;
    color: #2F6BFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(47, 107, 255, 0.1);
}

.page-about__section-padding {
    padding: 60px 0;
}

.page-about__container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-about__container--center {
    text-align: center;
}

.page-about__section-title {
    font-size: 2.5em;
    color: #000000;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.3;
}

.page-about__section-title--light {
    color: #ffffff;
}

.page-about__sub-title {
    font-size: 1.8em;
    color: #000000;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: left;
}

.page-about__text-block {
    font-size: 1em;
    margin-bottom: 20px;
    text-align: left;
    color: #1F2D3D;
}

.page-about__text-link {
    color: #2F6BFF;
    text-decoration: none;
    font-weight: 600;
}

.page-about__text-link:hover {
    text-decoration: underline;
}

.page-about__image-figure {
    margin: 40px auto;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-about__image-figure--center {
    margin-left: auto;
    margin-right: auto;
}

.page-about__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.page-about__image-caption {
    font-size: 0.9em;
    color: #666666;
    margin-top: 10px;
}

.page-about__image-caption--light {
    color: #e0e0e0;
}

.page-about__dark-section {
    background: #2F6BFF;
    color: #ffffff;
}

.page-about__dark-section .page-about__text-block,
.page-about__dark-section .page-about__description {
    color: #ffffff;
}

.page-about__dark-section .page-about__sub-title {
    color: #ffffff;
}

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

.page-about__feature-card {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid #6FA3FF;
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.page-about__card-title {
    font-size: 1.4em;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-about__card-text {
    font-size: 0.95em;
    color: #f0f0f0;
}

.page-about__game-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-about__game-item {
    background: #ffffff;
    border: 1px solid #D6E2FF;
    border-radius: 12px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__game-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-about__game-title {
    font-size: 1.3em;
    color: #2F6BFF;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-about__game-description {
    font-size: 0.9em;
    color: #1F2D3D;
}

.page-about__conclusion {
    text-align: center;
}

/* --- Responsive Styles --- */

/* Desktop (max-width: 1024px) */
@media (max-width: 1024px) {
    .page-about__container {
        padding: 0 15px;
    }

    .page-about__main-title {
        font-size: clamp(2em, 3.5vw, 3em);
    }

    .page-about__section-title {
        font-size: 2.2em;
    }

    .page-about__sub-title {
        font-size: 1.6em;
    }

    .page-about__feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .page-about__game-list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    /* 1. Top section title + Dual CTA */
    .page-about__hero-section {
        padding-top: 10px !important; /* Small top padding */
        padding-bottom: 30px;
    }

    .page-about__hero-content {
        padding: 15px;
    }

    .page-about__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
        margin-bottom: 15px;
    }

    .page-about__description {
        font-size: 1em;
        margin-bottom: 25px;
    }

    .page-about__cta-group {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }

    .page-about__btn {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95em;
    }

    /* 2. Single column long text containers */
    .page-about__section-padding {
        padding: 40px 0;
    }

    .page-about__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        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;
        margin-bottom: 15px;
    }

    .page-about__text-block,
    .page-about__card-text,
    .page-about__game-description {
        font-size: 0.9em;
    }

    /* 3. General images and figure */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-about__image-figure {
        margin: 30px auto;
    }

    .page-about__image-caption {
        font-size: 0.8em;
    }

    /* 4. Buttons and button containers */
    .page-about__cta-buttons,
    .page-about__button-group,
    .page-about__btn-container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      flex-wrap: wrap !important;
      gap: 10px;
      flex-direction: column; /* Ensure vertical stacking for multiple buttons */
    }

    /* 5. Registration tutorial and FAQ sections (N/A for this page, but placeholder for checklist) */
    /* .page-about__faq-item, .page-about__registration-step {} */

    .page-about__feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-about__feature-card {
        padding: 25px;
    }

    .page-about__card-title {
        font-size: 1.2em;
    }

    .page-about__game-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-about__game-item {
        padding: 20px;
    }

    .page-about__game-title {
        font-size: 1.1em;
    }
}