.page-arcade {
    color: #333333; /* Dark text for light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
}

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

.page-arcade__hero-section {
    background-color: #000000; /* Dark background for hero text */
    color: #ffffff;
    padding: 80px 0 0; /* No padding-top here as it's on .page-arcade already */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-arcade__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin-top: -80px; /* Overlap with text section to create a combined visual */
    z-index: 1;
    position: relative;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

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

.page-arcade__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FCBC45; /* Login button color for emphasis */
    font-weight: bold;
    line-height: 1.2;
}

.page-arcade__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

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

.page-arcade__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-width: 200px; /* Ensure buttons are large enough */
    text-align: center;
}

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

.page-arcade__button--register:hover {
    background-color: transparent;
    color: #FFFFFF;
    border-color: #FFFFFF;
}

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

.page-arcade__button--login:hover {
    background-color: transparent;
    color: #FCBC45;
    border-color: #FCBC45;
}

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

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

/* About Section */
.page-arcade__about-section {
    padding: 60px 0;
    background-color: #f8f8f8;
}

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

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

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

.page-arcade__feature-description {
    color: #555555;
}

/* Popular Games Section */
.page-arcade__popular-games-section {
    padding: 60px 0;
}

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

.page-arcade__game-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
}

.page-arcade__game-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

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

.page-arcade__game-card-description {
    color: #555555;
    padding: 0 20px;
    flex-grow: 1; /* Allows description to take available space */
    margin-bottom: 20px;
}

.page-arcade__button--play-now {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
    margin: 0 20px;
    padding: 12px 25px;
}

.page-arcade__button--play-now:hover {
    background-color: #e0a53b;
    border-color: #e0a53b;
}

/* Advantages Section */
.page-arcade__advantages-section {
    background-color: #000000;
    color: #ffffff;
    padding: 80px 0;
}

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

.page-arcade__advantage-item {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    border-left: 5px solid #FCBC45;
}

.page-arcade__advantage-heading {
    font-size: 1.6em;
    color: #FCBC45;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-arcade__advantage-description {
    color: #f0f0f0;
}

.page-arcade__link {
    color: #FCBC45;
    text-decoration: none;
}

.page-arcade__link:hover {
    text-decoration: underline;
}

/* Get Started Section */
.page-arcade__get-started-section {
    padding: 60px 0;
    background-color: #f8f8f8;
}

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

.page-arcade__step-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-arcade__step-description {
    color: #555555;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-arcade__button--register-step,
.page-arcade__button--deposit-step,
.page-arcade__button--play-step {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
    padding: 12px 25px;
    min-width: 180px;
}

.page-arcade__button--register-step:hover,
.page-arcade__button--deposit-step:hover,
.page-arcade__button--play-step:hover {
    background-color: #e0a53b;
    border-color: #e0a53b;
}

/* Bonus Section */
.page-arcade__bonus-section {
    padding: 60px 0;
}

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

.page-arcade__bonus-card {
    background-color: #000000; /* Dark background for bonus cards */
    color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
}

.page-arcade__bonus-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

.page-arcade__bonus-card-title {
    font-size: 1.8em;
    color: #FCBC45;
    margin-bottom: 15px;
    padding: 0 20px;
    font-weight: bold;
}

.page-arcade__bonus-card-description {
    color: #f0f0f0;
    padding: 0 20px;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-arcade__button--claim-bonus,
.page-arcade__button--view-promos {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
    padding: 12px 25px;
    margin: 0 20px;
}

.page-arcade__button--claim-bonus:hover,
.page-arcade__button--view-promos:hover {
    background-color: #e0a53b;
    border-color: #e0a53b;
}

.page-arcade__bonus-disclaimer {
    font-size: 0.9em;
    text-align: center;
    max-width: 800px;
    margin: 40px auto 0;
    color: #666666;
}

/* CTA Section */
.page-arcade__cta-section {
    background-color: #f8f8f8;
    padding: 80px 0;
    text-align: center;
}

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

.page-arcade__button--register-final,
.page-arcade__button--explore-games {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-width: 220px;
}

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

.page-arcade__button--register-final:hover {
    background-color: #FCBC45;
    color: #000000;
    border-color: #FCBC45;
}

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

.page-arcade__button--explore-games:hover {
    background-color: #e0a53b;
    border-color: #e0a53b;
}

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

@media (max-width: 768px) {
    .page-arcade {
        padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
    }
    .page-arcade__hero-section {
        padding: 60px 0 0;
    }
    .page-arcade__hero-title {
        font-size: 2.5em;
    }
    .page-arcade__hero-description {
        font-size: 1em;
    }
    .page-arcade__hero-buttons,
    .page-arcade__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-arcade__button,
    .page-arcade__button--register-final,
    .page-arcade__button--explore-games {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-arcade__game-image,
    .page-arcade__bonus-image {
        height: 200px; /* Adjust height for smaller screens, maintain min-size */
    }

    /* Enforce max-width for images in content area to prevent overflow */
    .page-arcade img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-arcade__hero-title {
        font-size: 2em;
    }
    .page-arcade__section-title {
        font-size: 1.8em;
    }
    .page-arcade__hero-buttons,
    .page-arcade__cta-buttons {
        width: 100%;
    }
    .page-arcade__button,
    .page-arcade__button--register-final,
    .page-arcade__button--explore-games {
        width: 90%;
    }
    .page-arcade__hero-container {
        padding: 0 15px 30px;
    }
    .page-arcade__container {
        padding: 0 15px;
    }
}