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

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

.page-arcade__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly dim the image to make text pop, but not change color */
}

.page-arcade__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: #FFFFFF;
    max-width: 900px;
    padding: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-arcade__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-arcade__hero-actions {
    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;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

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

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

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

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

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

.page-arcade__introduction-section,
.page-arcade__featured-games-section,
.page-arcade__advantages-section,
.page-arcade__how-to-play-section,
.page-arcade__faq-section,
.page-arcade__cta-section {
    padding: 60px 0;
    background-color: #FFFFFF;
}

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

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

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

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

.page-arcade__game-card {
    background-color: #F8F8F8;
    border-radius: 12px;
    box-shadow: 0 4px 15px 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;
    justify-content: space-between;
}

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

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

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

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

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

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

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

.page-arcade__advantage-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

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

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

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

.page-arcade__step-item {
    background-color: #F8F8F8;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

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

.page-arcade__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-arcade__faq-item {
    background-color: #F8F8F8;
    border-radius: 10px;
    padding: 25px;
    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;
}

.page-arcade__faq-answer a {
    color: #FCBC45;
    text-decoration: none;
}

.page-arcade__faq-answer a:hover {
    text-decoration: underline;
}

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

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

.page-arcade__cta-section .page-arcade__section-description {
    color: #E0E0E0;
}

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

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

.page-arcade__button--download:hover {
    background-color: #FCBC45;
    color: #FFFFFF;
    border-color: #FCBC45;
    transform: translateY(-3px);
}

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

@media (max-width: 768px) {
    .page-arcade__hero-section {
        padding: 40px 15px;
    }
    .page-arcade__hero-content {
        padding: 15px;
    }
    .page-arcade__hero-title {
        font-size: 2em;
        margin-bottom: 15px;
    }
    .page-arcade__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-arcade__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-arcade__button {
        padding: 12px 25px;
        font-size: 1em;
        width: 100%;
        max-width: 250px;
    }
    .page-arcade__content-wrapper {
        padding: 30px 15px;
    }
    .page-arcade__section-title {
        font-size: 1.8em;
    }
    .page-arcade__game-grid,
    .page-arcade__advantages-grid,
    .page-arcade__steps-list {
        grid-template-columns: 1fr;
    }
    .page-arcade__game-image,
    .page-arcade__advantage-icon {
        width: 100%;
        height: auto;
        min-width: 200px; /* Ensure min size on mobile */
        min-height: 200px; /* Ensure min size on mobile */
    }
    .page-arcade__cta-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-arcade__cta-actions .page-arcade__button {
        max-width: 250px;
        margin: 0 auto;
    }
    /* Mobile specific image constraint */
    .page-arcade img {
        max-width: 100%;
        height: auto;
    }
    .page-arcade {
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .page-arcade__hero-title {
        font-size: 1.8em;
    }
    .page-arcade__hero-description {
        font-size: 0.9em;
    }
    .page-arcade__section-title {
        font-size: 1.6em;
    }
    .page-arcade__game-card,
    .page-arcade__advantage-item,
    .page-arcade__step-item,
    .page-arcade__faq-item {
        padding: 20px;
    }
}