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

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

.page-arcade__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.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: 2;
    text-align: center;
    color: #FFFFFF; /* Light text over dark/rich image */
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay for readability */
    padding: 40px;
    border-radius: 10px;
    max-width: 800px;
}

.page-arcade__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FCBC45; /* Login button color for emphasis */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-arcade__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
}

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

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

.page-arcade__button--register {
    background-color: #FFFFFF;
    color: #000000;
}

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

.page-arcade__button--login {
    background-color: #FCBC45;
    color: #000000;
}

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

.page-arcade__button--play,
.page-arcade__button--claim,
.page-arcade__button--join-now {
    background-color: #FCBC45;
    color: #000000;
}

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

.page-arcade__button--learn-more {
    background-color: #000000;
    color: #FFFFFF;
    border: 1px solid #FCBC45;
}

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

.page-arcade__about-section,
.page-arcade__featured-games-section,
.page-arcade__benefits-section,
.page-arcade__promotions-section,
.page-arcade__responsible-gaming-section,
.page-arcade__cta-section {
    padding: 60px 0;
    background-color: #FFFFFF;
}

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

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

.page-arcade__section-subtitle {
    font-size: 1.3em;
    color: #555555;
    text-align: center;
    margin-bottom: 40px;
}

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

.page-arcade__text-content--small {
    font-size: 0.9em;
    text-align: center;
    color: #777777;
}

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

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

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

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

.page-arcade__game-description {
    font-size: 1em;
    color: #555555;
    padding: 0 15px 20px;
    flex-grow: 1;
}

.page-arcade__game-card .page-arcade__button--play {
    margin: 0 15px 20px;
    width: calc(100% - 30px);
}

.page-arcade__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-arcade__benefit-item {
    background-color: #f0f0f0;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-arcade__benefit-icon {
    width: 150px; /* Min 200x200px rule for content images, this is an icon in a card */
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

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

.page-arcade__benefit-description {
    color: #555555;
    font-size: 0.95em;
}

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

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

.page-arcade__promo-card {
    background-color: #000000;
    color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

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

.page-arcade__promo-description {
    font-size: 1.1em;
    margin-bottom: 25px;
}

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

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

.page-arcade__cta-section .page-arcade__section-subtitle {
    color: #FFFFFF;
    margin-bottom: 50px;
}

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

@media (max-width: 768px) {
    .page-arcade__hero-section {
        min-height: 400px;
        padding: 40px 15px;
    }
    .page-arcade__hero-content {
        padding: 30px;
    }
    .page-arcade__hero-title {
        font-size: 2.2em;
    }
    .page-arcade__hero-description {
        font-size: 1em;
    }
    .page-arcade__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-arcade__button {
        width: 100%;
        padding: 12px 20px;
    }
    .page-arcade__section-title {
        font-size: 1.8em;
    }
    .page-arcade__section-subtitle {
        font-size: 1.1em;
    }
    .page-arcade__text-content {
        font-size: 1em;
    }
    .page-arcade__game-grid,
    .page-arcade__benefits-grid,
    .page-arcade__promo-cards {
        grid-template-columns: 1fr;
    }
    /* Mobile content area images must be constrained */
    .page-arcade img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-arcade__hero-section {
        min-height: 300px;
    }
    .page-arcade__hero-title {
        font-size: 1.8em;
    }
    .page-arcade__hero-description {
        font-size: 0.9em;
    }
    .page-arcade__section-title {
        font-size: 1.5em;
    }
    .page-arcade__section-subtitle {
        font-size: 1em;
    }
    .page-arcade__game-image {
        height: 200px;
    }
    .page-arcade__benefit-icon {
        width: 120px; /* Still >200px equivalent for the image as content, not icon */
        height: 80px;
    }
    .page-arcade__about-section,
    .page-arcade__featured-games-section,
    .page-arcade__benefits-section,
    .page-arcade__promotions-section,
    .page-arcade__responsible-gaming-section,
    .page-arcade__cta-section {
        padding: 40px 0;
    }
}