.page-arcade {
    color: #333333; /* Dark text for light body background */
    line-height: 1.6;
    font-family: Arial, sans-serif;
}

.page-arcade__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    background-color: #000000; /* Main color for hero background */
    color: #FFFFFF;
    text-align: center;
    overflow: hidden;
}

.page-arcade__hero-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-arcade__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4; /* Slightly dim the background image for text readability */
    z-index: 0;
}

.page-arcade__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.page-arcade__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-arcade__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    line-height: 1.5;
    color: #f0f0f0;
}

.page-arcade__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-arcade__button {
    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, transform 0.3s ease;
    min-width: 150px; /* Ensure button minimum size */
}

.page-arcade__button--register {
    background-color: #FFFFFF;
    color: #000000;
    border: 2px solid #FFFFFF;
}

.page-arcade__button--register:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
}

.page-arcade__button--login {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-arcade__button--login:hover {
    background-color: #e0a53b;
    transform: translateY(-3px);
}

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

.page-arcade__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-arcade__section-intro {
    font-size: 1.1em;
    color: #555555;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-arcade__games-overview {
    background-color: #f9f9f9;
}

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

.page-arcade__game-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-arcade__game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.page-arcade__game-card-image {
    width: 100%;
    max-width: 400px; /* Ensure images are not too small */
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-arcade__game-card-title {
    font-size: 1.8em;
    color: #000000;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-arcade__game-card-description {
    font-size: 1em;
    color: #666666;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-arcade__button--play {
    background-color: #FCBC45;
    color: #000000;
    border: none;
}

.page-arcade__button--play:hover {
    background-color: #e0a53b;
    transform: translateY(-3px);
}

.page-arcade__why-choose {
    background-color: #FFFFFF;
}

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

.page-arcade__feature-item {
    background-color: #f0f0f0;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-arcade__feature-icon {
    width: 100%;
    max-width: 250px; /* Example display size */
    height: auto;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-arcade__feature-title {
    font-size: 1.6em;
    color: #000000;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-arcade__feature-description {
    font-size: 0.95em;
    color: #666666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-arcade__button--download, .page-arcade__button--view-promo {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #000000;
}

.page-arcade__button--download:hover, .page-arcade__button--view-promo:hover {
    background-color: #333333;
    transform: translateY(-3px);
}

.page-arcade__how-to-play {
    background-color: #f9f9f9;
}

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

.page-arcade__step-item {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-arcade__step-title {
    font-size: 1.7em;
    color: #000000;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-arcade__step-description {
    font-size: 1em;
    color: #666666;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-arcade__button--register-small, .page-arcade__button--deposit, .page-arcade__button--play-now {
    background-color: #FCBC45;
    color: #000000;
    border: none;
}

.page-arcade__button--register-small:hover, .page-arcade__button--deposit:hover, .page-arcade__button--play-now:hover {
    background-color: #e0a53b;
    transform: translateY(-3px);
}

.page-arcade__faq {
    background-color: #FFFFFF;
}

.page-arcade__faq-items {
    margin-top: 30px;
}

.page-arcade__faq-item {
    background-color: #f0f0f0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.page-arcade__faq-question {
    font-size: 1.3em;
    color: #000000;
    margin-bottom: 10px;
    cursor: pointer;
    font-weight: bold;
}

.page-arcade__faq-answer {
    font-size: 1em;
    color: #555555;
    line-height: 1.6;
}

.page-arcade__button--view-all-faq {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #000000;
    margin-top: 30px;
}

.page-arcade__button--view-all-faq:hover {
    background-color: #333333;
    transform: translateY(-3px);
}

.page-arcade__call-to-action {
    background-color: #000000;
    color: #FFFFFF;
    text-align: center;
    padding: 60px 20px;
}

.page-arcade__call-to-action .page-arcade__section-title {
    color: #FFFFFF;
}

.page-arcade__call-to-action .page-arcade__section-intro {
    color: #f0f0f0;
}

.page-arcade__cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.page-arcade__button--join-now {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-arcade__button--join-now:hover {
    background-color: #e0a53b;
    transform: translateY(-3px);
}

.page-arcade__button--explore-games {
    background-color: #FFFFFF;
    color: #000000;
    border: 2px solid #FFFFFF;
}

.page-arcade__button--explore-games:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
}

.page-arcade__responsible-gaming, .page-arcade__about-us, .page-arcade__contact {
    background-color: #f9f9f9;
    padding: 40px 20px;
    text-align: center;
}

.page-arcade__button--learn-more, .page-arcade__button--about-us, .page-arcade__button--contact {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #000000;
    margin-top: 20px;
}

.page-arcade__button--learn-more:hover, .page-arcade__button--about-us:hover, .page-arcade__button--contact:hover {
    background-color: #333333;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-arcade__hero-title {
        font-size: 3em;
    }
}

@media (max-width: 768px) {
    .page-arcade__hero-section {
        padding-top: var(--header-offset, 120px); /* Ensure mobile header offset */
        padding-bottom: 40px;
    }

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

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

    .page-arcade__section-title {
        font-size: 2em;
    }

    .page-arcade__section-intro {
        font-size: 0.95em;
    }

    .page-arcade__game-cards, .page-arcade__features, .page-arcade__steps {
        grid-template-columns: 1fr;
    }

    .page-arcade__game-card-image, .page-arcade__feature-icon {
        max-width: 100%;
        min-width: 200px; /* Ensure images are not too small on mobile */
        min-height: 200px;
        height: auto; /* Ensure images scale correctly */
    }

    .page-arcade__button {
        padding: 12px 25px;
        font-size: 1em;
        min-width: unset;
        width: 100%;
    }

    .page-arcade__hero-actions, .page-arcade__cta-actions {
        flex-direction: column;
        gap: 15px;
    }

    /* Ensure content images do not overflow on mobile */
    .page-arcade img {
        max-width: 100% !important;
        height: auto !important;
    }
    .page-arcade {
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .page-arcade__hero-title {
        font-size: 1.8em;
    }

    .page-arcade__section-title {
        font-size: 1.8em;
    }
}