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

.page-arcade__hero-section {
    padding-top: var(--header-offset, 120px);
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: #FFFFFF;
    color: #000000;
}

.page-arcade__hero-container {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

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

.page-arcade__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.6;
    color: #333333;
}

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

.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.3s ease;
    cursor: pointer;
}

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

.page-arcade__button--primary:hover {
    background-color: #e0a53a;
    transform: translateY(-3px);
}

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

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

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

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

.page-arcade__button--small {
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 5px;
    background-color: #FCBC45;
    color: #000000;
    border: 1px solid #FCBC45;
}

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

.page-arcade__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.8;
}

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

.page-arcade__about-section,
.page-arcade__features-section,
.page-arcade__games-showcase,
.page-arcade__how-to-play,
.page-arcade__cta-section,
.page-arcade__responsible-gaming {
    padding: 80px 0;
    background-color: #FFFFFF;
    text-align: center;
}

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

.page-arcade__section-paragraph {
    font-size: 1.1em;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 40px;
    color: #333333;
}

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

.page-arcade__feature-card,
.page-arcade__game-card,
.page-arcade__step-card {
    background-color: #f8f8f8;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade__feature-card:hover,
.page-arcade__game-card:hover,
.page-arcade__step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.page-arcade__feature-image,
.page-arcade__game-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    min-height: 200px; /* Ensure min height */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.page-arcade__feature-description,
.page-arcade__game-description,
.page-arcade__step-description {
    font-size: 1em;
    line-height: 1.7;
    color: #555555;
    margin-bottom: 20px;
}

.page-arcade__cta-section {
    background-color: #000000;
    color: #FFFFFF;
    padding: 100px 0;
}

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

.page-arcade__cta-section .page-arcade__section-paragraph {
    color: #f0f0f0;
}

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

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

@media (max-width: 768px) {
    .page-arcade__hero-section {
        padding-top: var(--header-offset, 120px);
        padding: 60px 20px;
    }
    .page-arcade__hero-title {
        font-size: 2.5em;
    }
    .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-paragraph {
        font-size: 1em;
    }
    .page-arcade__features-grid,
    .page-arcade__game-grid,
    .page-arcade__steps-grid {
        grid-template-columns: 1fr;
    }
    /* Mobile image overflow prevention */
    .page-arcade img {
        max-width: 100%;
        height: auto;
    }
    .page-arcade__feature-image, .page-arcade__game-image {
        min-width: 200px;
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .page-arcade__hero-title {
        font-size: 2em;
    }
    .page-arcade__hero-description {
        font-size: 0.95em;
    }
    .page-arcade__section-title {
        font-size: 1.5em;
    }
    .page-arcade__button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-arcade__about-section,
    .page-arcade__features-section,
    .page-arcade__games-showcase,
    .page-arcade__how-to-play,
    .page-arcade__cta-section,
    .page-arcade__responsible-gaming {
        padding: 50px 0;
    }
}