.page-arcade-games {
    font-family: Arial, sans-serif;
    color: #404040;
    background-color: #F3F3F3;
}

.page-arcade-games__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 10px; /* Small top padding for visual separation */
    background-color: #F3F3F3;
}

.page-arcade-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: none;
}

.page-arcade-games__hero-content {
    text-align: center;
    padding: 30px 20px;
    max-width: 900px;
    margin: 0 auto;
    position: relative; /* Ensure content is above the image if needed, though structure is image then content */
    z-index: 1;
}

.page-arcade-games__main-title {
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #025BE8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.page-arcade-games__description {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.5;
}

.page-arcade-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.page-arcade-games__btn-primary,
.page-arcade-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-arcade-games__btn-primary {
    background-color: #1266EC;
    color: #ffffff;
    border: 2px solid #1266EC;
}

.page-arcade-games__btn-primary:hover {
    background-color: #0d4bbd;
    border-color: #0d4bbd;
}

.page-arcade-games__btn-secondary {
    background-color: #E5EEFD;
    color: #025BE8;
    border: 2px solid #025BE8;
}

.page-arcade-games__btn-secondary:hover {
    background-color: #cddffc;
    border-color: #025BE8;
}

.page-arcade-games__btn-primary--large,
.page-arcade-games__btn-secondary--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

.page-arcade-games__featured-games-section,
.page-arcade-games__about-arcade-section,
.page-arcade-games__game-categories-section,
.page-arcade-games__how-to-play-section,
.page-arcade-games__faq-section,
.page-arcade-games__call-to-action-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #F3F3F3;
}

.page-arcade-games__section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #025BE8;
}

.page-arcade-games__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.5;
}

.page-arcade-games__games-grid,
.page-arcade-games__categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-arcade-games__game-card,
.page-arcade-games__category-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade-games__game-card:hover,
.page-arcade-games__category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-arcade-games__game-image,
.page-arcade-games__category-image {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
    height: auto;
    filter: none;
}

.page-arcade-games__game-title,
.page-arcade-games__category-title {
    font-size: 1.5em;
    font-weight: bold;
    margin: 20px 15px 10px;
    color: #025BE8;
}

.page-arcade-games__game-meta,
.page-arcade-games__category-desc {
    font-size: 0.95em;
    color: #666666;
    margin: 0 15px 20px;
    line-height: 1.4;
}

.page-arcade-games__game-play-btn,
.page-arcade-games__category-btn {
    display: inline-block;
    background-color: #1266EC;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.page-arcade-games__game-play-btn:hover,
.page-arcade-games__category-btn:hover {
    background-color: #0d4bbd;
}

.page-arcade-games__view-all-button-container {
    text-align: center;
    margin-top: 40px;
}

.page-arcade-games__view-all-btn {
    display: inline-block;
    background-color: #025BE8;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.page-arcade-games__view-all-btn:hover {
    background-color: #0143b2;
}

.page-arcade-games__content-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.page-arcade-games__text-content {
    flex: 1;
    min-width: 300px;
}

.page-arcade-games__paragraph {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.page-arcade-games__feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-arcade-games__list-item {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.page-arcade-games__list-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #025BE8;
}

.page-arcade-games__image-content {
    flex: 1;
    min-width: 350px;
    text-align: center;
}

.page-arcade-games__about-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    filter: none;
}

.page-arcade-games__steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-arcade-games__step-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-arcade-games__step-card:hover {
    transform: translateY(-5px);
}

.page-arcade-games__step-icon {
    font-size: 2.5em;
    font-weight: bold;
    color: #025BE8;
    margin-bottom: 15px;
}

.page-arcade-games__step-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #025BE8;
}

.page-arcade-games__step-description {
    font-size: 1em;
    line-height: 1.5;
    margin-bottom: 20px;
}

.page-arcade-games__step-btn {
    display: inline-block;
    background-color: #1266EC;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-arcade-games__step-btn:hover {
    background-color: #0d4bbd;
}

.page-arcade-games__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-arcade-games__faq-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.page-arcade-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: #025BE8;
    cursor: pointer;
    list-style: none;
    transition: background-color 0.3s ease;
}

.page-arcade-games__faq-question:hover {
    background-color: #eaf2ff;
}

.page-arcade-games__faq-question::-webkit-details-marker {
    display: none;
}

.page-arcade-games__faq-qtext {
    flex-grow: 1;
}

.page-arcade-games__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    line-height: 1;
}

.page-arcade-games__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    line-height: 1.6;
    color: #555555;
}

.page-arcade-games__call-to-action-section {
    background-color: #025BE8;
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
    border-radius: 12px;
    margin: 40px auto;
    max-width: 1000px;
}

.page-arcade-games__cta-title {
    font-size: 2.8em;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.page-arcade-games__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    line-height: 1.5;
    color: #f0f8ff;
}

.page-arcade-games__call-to-action-section .page-arcade-games__cta-buttons {
    gap: 30px;
}

.page-arcade-games__call-to-action-section .page-arcade-games__btn-primary {
    background-color: #ffffff;
    color: #1266EC;
    border-color: #ffffff;
}

.page-arcade-games__call-to-action-section .page-arcade-games__btn-primary:hover {
    background-color: #f0f0f0;
    color: #0d4bbd;
    border-color: #f0f0f0;
}

.page-arcade-games__call-to-action-section .page-arcade-games__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.page-arcade-games__call-to-action-section .page-arcade-games__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Image and button responsive styles for mobile */
.page-arcade-games img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-arcade-games__cta-button,
.page-arcade-games__btn-primary,
.page-arcade-games__btn-secondary,
.page-arcade-games a[class*="button"],
.page-arcade-games a[class*="btn"] {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-arcade-games__cta-buttons,
.page-arcade-games__button-group,
.page-arcade-games__btn-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

@media (max-width: 1024px) {
    .page-arcade-games__main-title {
        font-size: 2.5em;
    }
    .page-arcade-games__section-title {
        font-size: 2em;
    }
    .page-arcade-games__cta-title {
        font-size: 2.2em;
    }
    .page-arcade-games__content-wrapper {
        flex-direction: column;
    }
    .page-arcade-games__image-content {
        order: -1;
    }
}

@media (max-width: 768px) {
    .page-arcade-games__hero-content {
        padding: 20px 15px;
    }
    .page-arcade-games__main-title {
        font-size: 2em;
        max-width: 100%;
    }
    .page-arcade-games__description {
        font-size: 1em;
    }
    .page-arcade-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-arcade-games__btn-primary,
    .page-arcade-games__btn-secondary,
    .page-arcade-games a[class*="button"],
    .page-arcade-games a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-arcade-games__cta-buttons,
    .page-arcade-games__button-group,
    .page-arcade-games__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;
    }
    .page-arcade-games__featured-games-section,
    .page-arcade-games__about-arcade-section,
    .page-arcade-games__game-categories-section,
    .page-arcade-games__how-to-play-section,
    .page-arcade-games__faq-section,
    .page-arcade-games__call-to-action-section {
        padding: 40px 15px;
    }
    .page-arcade-games__section-title {
        font-size: 1.8em;
    }
    .page-arcade-games__section-description {
        font-size: 0.95em;
    }
    .page-arcade-games__games-grid,
    .page-arcade-games__categories-grid,
    .page-arcade-games__steps-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-arcade-games__game-card,
    .page-arcade-games__category-card,
    .page-arcade-games__step-card {
        padding: 25px;
    }
    .page-arcade-games__game-title,
    .page-arcade-games__category-title {
        font-size: 1.3em;
    }
    .page-arcade-games__about-image {
        margin-top: 30px;
    }
    .page-arcade-games__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-arcade-games__faq-answer {
        padding: 0 20px 15px;
    }
    .page-arcade-games__cta-title {
        font-size: 2em;
    }
    .page-arcade-games__cta-description {
        font-size: 1.05em;
    }
    .page-arcade-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-arcade-games__section,
    .page-arcade-games__card,
    .page-arcade-games__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}