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

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

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

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

.page-arcade__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
}

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

.page-arcade__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #FFFFFF;
}

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

.page-arcade__hero-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, color 0.3s ease, transform 0.2s ease;
}

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

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

.page-arcade__hero-button--login {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
}

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

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

.page-arcade__introduction-section,
.page-arcade__game-categories-section,
.page-arcade__why-choose-section,
.page-arcade__cta-section,
.page-arcade__how-to-start-section,
.page-arcade__responsible-gaming-section {
    padding: 60px 0;
    background-color: #FFFFFF;
    text-align: center;
}

.page-arcade__introduction-section,
.page-arcade__how-to-start-section,
.page-arcade__responsible-gaming-section {
    text-align: left;
}

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

.page-arcade__paragraph {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #333333;
}

.page-arcade__game-categories-section {
    background-color: #f8f8f8;
}

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

.page-arcade__category-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-arcade__category-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__category-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #000000;
    font-weight: bold;
}

.page-arcade__category-description {
    font-size: 1em;
    line-height: 1.7;
    color: #555555;
    margin-bottom: 25px;
}

.page-arcade__category-button {
    display: inline-block;
    background-color: #FCBC45;
    color: #000000;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-arcade__category-button:hover {
    background-color: #e0a83f;
    transform: translateY(-2px);
}

.page-arcade__why-choose-section {
    background-color: #000000;
    color: #FFFFFF;
}

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

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

.page-arcade__feature-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.page-arcade__feature-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.page-arcade__feature-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min size, but icon is smaller so this will be overridden by object-fit: contain if img width/height are also small */
    min-height: 200px; /* The HTML for these specific images has width="200" height="150" to ensure min size. */
}

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

.page-arcade__feature-description {
    font-size: 0.95em;
    line-height: 1.6;
    color: #f0f0f0;
}

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

.page-arcade__cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #000000;
}

.page-arcade__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #333333;
}

.page-arcade__cta-button {
    display: inline-block;
    background-color: #000000;
    color: #FFFFFF;
    padding: 18px 40px;
    border-radius: 10px;
    font-size: 1.3em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-arcade__cta-button:hover {
    background-color: #333333;
    transform: translateY(-5px);
}

.page-arcade__how-to-start-section {
    background-color: #FFFFFF;
}

.page-arcade__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    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;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

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

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

.page-arcade__start-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, color 0.3s ease, transform 0.2s ease;
}

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

.page-arcade__start-button--register:hover {
    background-color: #e0a83f;
    transform: translateY(-3px);
}

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

.page-arcade__start-button--download:hover {
    background-color: #333333;
    transform: translateY(-3px);
}

.page-arcade__responsible-gaming-section {
    background-color: #f0f0f0;
}

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

    .page-arcade__hero-description {
        font-size: 1.1em;
    }

    .page-arcade__section-title {
        font-size: 2.2em;
    }

    .page-arcade__cta-title {
        font-size: 2.5em;
    }

    .page-arcade__hero-container,
    .page-arcade__container {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .page-arcade__hero-section {
        padding-top: var(--header-offset, 120px);
    }

    .page-arcade__hero-title {
        font-size: 2.5em;
    }

    .page-arcade__hero-description {
        font-size: 1em;
    }

    .page-arcade__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-arcade__hero-button {
        width: 100%;
        max-width: 300px;
    }

    .page-arcade__section-title {
        font-size: 1.8em;
    }

    .page-arcade__cta-title {
        font-size: 2em;
    }

    .page-arcade__paragraph {
        font-size: 0.95em;
    }

    .page-arcade__category-image,
    .page-arcade__feature-icon {
        max-width: 100%;
        height: auto; /* Ensures images are responsive and do not overflow */
    }

    .page-arcade__start-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-arcade__start-button {
        width: 100%;
        max-width: 300px;
    }

    .page-arcade__container {
        padding: 20px 15px;
    }

    /* Ensure content area does not cause horizontal scroll */
    .page-arcade {
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .page-arcade__hero-title {
        font-size: 2em;
    }

    .page-arcade__cta-title {
        font-size: 1.8em;
    }

    .page-arcade__hero-container {
        padding: 40px 15px;
    }

    .page-arcade__hero-button,
    .page-arcade__cta-button,
    .page-arcade__start-button {
        font-size: 1em;
        padding: 12px 25px;
    }

    .page-arcade__category-card,
    .page-arcade__feature-item,
    .page-arcade__step-item {
        padding: 20px;
    }
}