/* style/arcade.css */

/* General page styling */
.page-arcade {
    color: #000000; /* Dark text for light 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__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 40px;
    margin-top: 60px;
    font-weight: bold;
}

.page-arcade__text-content {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #333333;
}

/* Buttons */
.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, color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    border: none;
}

.page-arcade__button--register {
    background-color: #000000; /* Main color for register button */
    color: #FFFFFF; /* Text color for register button */
    margin-right: 15px;
}

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

.page-arcade__button--login {
    background-color: #FCBC45; /* Login button color */
    color: #000000; /* Text color for login button */
    margin-right: 15px;
}

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

.page-arcade__button--explore,
.page-arcade__button--explore-all,
.page-arcade__button--claim-bonus,
.page-arcade__button--register-free,
.page-arcade__button--deposit-now,
.page-arcade__button--download-app,
.page-arcade__button--start-adventure {
    background-color: #FCBC45; /* Consistent button style for CTAs */
    color: #000000;
    margin-right: 15px;
}

.page-arcade__button--explore:hover,
.page-arcade__button--explore-all:hover,
.page-arcade__button--claim-bonus:hover,
.page-arcade__button--register-free:hover,
.page-arcade__button--deposit-now:hover,
.page-arcade__button--download-app:hover,
.page-arcade__button--start-adventure:hover {
    background-color: #e0a53b;
    transform: translateY(-2px);
}

.page-arcade__button--view-all-promos,
.page-arcade__button--learn-more-rg {
    background-color: #000000; /* Secondary button style */
    color: #FFFFFF;
}

.page-arcade__button--view-all-promos:hover,
.page-arcade__button--learn-more-rg:hover {
    background-color: #333333;
    transform: translateY(-2px);
}


/* Hero Section */
.page-arcade__hero-section {
    position: relative;
    overflow: hidden;
    padding: 0;
    min-height: 600px; /* Minimum height for hero */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-arcade__hero-container {
    position: relative;
    width: 100%;
    height: 100%;
    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;
    z-index: -1;
}

.page-arcade__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 40px;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
    border-radius: 15px;
    color: #FFFFFF;
}

.page-arcade__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FCBC45;
}

.page-arcade__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #F0F0F0;
}

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

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

/* Games Section */
.page-arcade__games-section {
    padding: 80px 0;
    background-color: #F8F8F8;
}

.page-arcade__game-category {
    margin-bottom: 60px;
    text-align: center;
}

.page-arcade__category-title {
    font-size: 2em;
    color: #000000;
    margin-bottom: 25px;
    font-weight: bold;
}

.page-arcade__category-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    margin: 30px auto;
    display: block;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    min-height: 200px;
}

.page-arcade__action-center {
    text-align: center;
    margin-top: 50px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* Advantage Section */
.page-arcade__advantage-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

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

.page-arcade__advantage-item {
    background-color: #F8F8F8;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.page-arcade__advantage-item:hover {
    transform: translateY(-5px);
}

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

.page-arcade__advantage-description {
    font-size: 1em;
    color: #555555;
}

/* Promotions Section */
.page-arcade__promotions-section {
    padding: 80px 0;
    background-color: #F8F8F8;
    text-align: center;
}

.page-arcade__promo-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 10px;
    margin: 30px auto;
    display: block;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    min-height: 200px;
}

/* Getting Started Section */
.page-arcade__getting-started-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

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

.page-arcade__step-item {
    background-color: #F8F8F8;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

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

.page-arcade__step-description {
    font-size: 1em;
    color: #555555;
}

/* Mobile Section */
.page-arcade__mobile-section {
    padding: 80px 0;
    background-color: #F8F8F8;
    text-align: center;
}

.page-arcade__mobile-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    margin: 30px auto;
    display: block;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    min-height: 200px;
}

/* Responsible Gaming Section */
.page-arcade__responsible-gaming-section {
    padding: 80px 0;
    background-color: #FFFFFF;
    text-align: center;
}

/* FAQ Section */
.page-arcade__faq-section {
    padding: 80px 0;
    background-color: #F8F8F8;
}

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

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

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

/* CTA Section */
.page-arcade__cta-section {
    padding: 80px 0;
    background-color: #FCBC45; /* Highlight with auxiliary color */
    color: #000000;
    text-align: center;
}

.page-arcade__cta-section .page-arcade__section-title {
    color: #000000;
}

.page-arcade__cta-section .page-arcade__text-content {
    color: #333333;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-arcade__button--start-adventure {
    background-color: #000000; /* Dark button on light background */
    color: #FFFFFF;
}

.page-arcade__button--start-adventure:hover {
    background-color: #333333;
}


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

@media (max-width: 768px) {
    /* Mobile content area images MUST use max-width: 100%; height: auto; */
    .page-arcade img {
        max-width: 100%;
        height: auto;
    }

    /* Prevent horizontal scrolling */
    .page-arcade {
        overflow-x: hidden;
    }

    .page-arcade__hero-title {
        font-size: 2.2em;
    }
    .page-arcade__hero-description {
        font-size: 1em;
    }
    .page-arcade__hero-content {
        padding: 20px;
    }
    .page-arcade__hero-actions {
        flex-direction: column;
        gap: 10px;
    }
    .page-arcade__button {
        width: 100%;
        margin-right: 0;
    }
    .page-arcade__section-title {
        font-size: 1.8em;
        margin-top: 40px;
        margin-bottom: 30px;
    }
    .page-arcade__advantage-list,
    .page-arcade__steps {
        grid-template-columns: 1fr;
    }
    .page-arcade__game-category {
        margin-bottom: 40px;
    }
    .page-arcade__category-title {
        font-size: 1.6em;
    }
    .page-arcade__about-section,
    .page-arcade__games-section,
    .page-arcade__advantage-section,
    .page-arcade__promotions-section,
    .page-arcade__getting-started-section,
    .page-arcade__mobile-section,
    .page-arcade__responsible-gaming-section,
    .page-arcade__faq-section,
    .page-arcade__cta-section {
        padding: 40px 0;
    }
}

/* Ensure the hero-container does not cause overflow due to width: 100% + padding */
.page-arcade__hero-container {
    padding: 0; /* Remove any padding that might add to width */
}