.page-arcade {
    color: #333333; /* Dark text for light body background */
}

.page-arcade__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    position: relative;
    text-align: center;
    overflow: hidden;
    background-color: #000000; /* Dark background for hero text */
    color: #ffffff;
    padding-bottom: 80px;
}

.page-arcade__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 2;
}

.page-arcade__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-arcade__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    color: #f0f0f0;
}

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

.page-arcade__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

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

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

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

.page-arcade__button--login:hover {
    background-color: rgba(252, 188, 69, 0.1);
    transform: translateY(-2px);
}

.page-arcade__hero-image {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-arcade__about-section, .page-arcade__games-section, .page-arcade__promo-section, .page-arcade__why-choose-section, .page-arcade__mobile-app-section, .page-arcade__cta-section, .page-arcade__faq-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-arcade__about-section {
    background-color: #f9f9f9;
}

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

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

.page-arcade__text-content {
    font-size: 1.1em;
    line-height: 1.8;
    color: #444444;
    margin-bottom: 20px;
    text-align: justify;
}

.page-arcade__button--play {
    background-color: #FCBC45;
    color: #000000;
    border: none;
    margin-top: 20px;
    display: table;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-arcade__game-card {
    background-color: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-arcade__game-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

.page-arcade__game-title {
    font-size: 1.8em;
    color: #000000;
    margin-bottom: 15px;
    padding: 0 20px;
}

.page-arcade__game-description {
    font-size: 1em;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 25px;
    padding: 0 20px;
    flex-grow: 1;
}

.page-arcade__button--details {
    background-color: #000000;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    margin-top: auto; /* Push to bottom */
}

.page-arcade__button--details:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

.page-arcade__promo-card {
    display: flex;
    align-items: center;
    background-color: #000000;
    color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    margin-bottom: 40px;
    overflow: hidden;
}

.page-arcade__promo-card--reverse {
    flex-direction: row-reverse;
}

.page-arcade__promo-image {
    flex: 1;
    width: 100%;
    height: auto;
    object-fit: cover;
    min-width: 300px;
}

.page-arcade__promo-content {
    flex: 1;
    padding: 40px;
}

.page-arcade__promo-title {
    font-size: 2.2em;
    margin-bottom: 15px;
    color: #FCBC45;
}

.page-arcade__promo-description {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 25px;
    color: #f0f0f0;
}

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

.page-arcade__button--claim:hover {
    background-color: #e0a73b;
    transform: translateY(-2px);
}

.page-arcade__button--view {
    background-color: #ffffff;
    color: #000000;
    border: none;
}

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

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

.page-arcade__feature-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-arcade__feature-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-arcade__mobile-app-section {
    background-color: #000000;
    color: #ffffff;
}

.page-arcade__mobile-app-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-arcade__mobile-text {
    flex: 1;
}

.page-arcade__mobile-app-section .page-arcade__section-title {
    color: #FCBC45;
    text-align: left;
}

.page-arcade__mobile-app-section .page-arcade__section-subtitle {
    color: #f0f0f0;
    text-align: left;
    margin-bottom: 30px;
}

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

.page-arcade__button--download:hover {
    background-color: #e0a73b;
    transform: translateY(-2px);
}

.page-arcade__mobile-image {
    flex: 1;
    width: 100%;
    height: auto;
    object-fit: contain;
    min-width: 300px;
}

.page-arcade__cta-section {
    background-color: #FCBC45;
    color: #000000;
    text-align: center;
    padding: 80px 0;
}

.page-arcade__cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #000000;
    font-weight: bold;
}

.page-arcade__cta-description {
    font-size: 1.4em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
    color: #333333;
}

.page-arcade__button--join {
    background-color: #000000;
    color: #ffffff;
    border: none;
    padding: 18px 40px;
    font-size: 1.2em;
}

.page-arcade__button--join:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

.page-arcade__faq-section {
    background-color: #f9f9f9;
}

.page-arcade__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

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

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-arcade__hero-title {
        font-size: 2.8em;
    }
    .page-arcade__section-title {
        font-size: 2.2em;
    }
    .page-arcade__promo-card {
        flex-direction: column;
    }
    .page-arcade__promo-card--reverse {
        flex-direction: column;
    }
    .page-arcade__promo-content {
        padding: 30px;
    }
    .page-arcade__mobile-app-content {
        flex-direction: column-reverse;
        text-align: center;
    }
    .page-arcade__mobile-app-section .page-arcade__section-title,
    .page-arcade__mobile-app-section .page-arcade__section-subtitle {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-arcade__hero-title {
        font-size: 2.2em;
    }
    .page-arcade__hero-description {
        font-size: 1.1em;
    }
    .page-arcade__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-arcade__button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-arcade__section-title {
        font-size: 1.8em;
    }
    .page-arcade__section-subtitle {
        font-size: 1em;
    }
    .page-arcade__game-grid {
        grid-template-columns: 1fr;
    }
    .page-arcade__promo-title {
        font-size: 1.8em;
    }
    .page-arcade__promo-description {
        font-size: 1em;
    }
    .page-arcade__cta-title {
        font-size: 2.2em;
    }
    .page-arcade__cta-description {
        font-size: 1.1em;
    }
    .page-arcade__faq-question {
        font-size: 1.2em;
    }
    /* Ensure content images do not overflow */
    .page-arcade img {
        max-width: 100%;
        height: auto;
    }
    .page-arcade__hero-image,
    .page-arcade__game-image,
    .page-arcade__promo-image,
    .page-arcade__feature-icon,
    .page-arcade__mobile-image {
        max-width: 100%;
        height: auto;
    }
    .page-arcade {
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .page-arcade__hero-section, .page-arcade__about-section, .page-arcade__games-section, .page-arcade__promo-section, .page-arcade__why-choose-section, .page-arcade__mobile-app-section, .page-arcade__cta-section, .page-arcade__faq-section {
        padding: 40px 0;
    }
    .page-arcade__hero-title {
        font-size: 1.8em;
    }
    .page-arcade__hero-description {
        font-size: 0.95em;
    }
    .page-arcade__button {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-arcade__section-title {
        font-size: 1.6em;
    }
    .page-arcade__section-subtitle {
        font-size: 0.9em;
    }
    .page-arcade__text-content {
        font-size: 0.95em;
    }
    .page-arcade__promo-title {
        font-size: 1.6em;
    }
    .page-arcade__promo-description {
        font-size: 0.95em;
    }
    .page-arcade__cta-title {
        font-size: 1.8em;
    }
    .page-arcade__cta-description {
        font-size: 0.95em;
    }
    .page-arcade__faq-question {
        font-size: 1.1em;
    }
    .page-arcade__faq-answer {
        font-size: 0.9em;
    }
}