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

.page-arcade__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    background: linear-gradient(135deg, #FFD700, #8B0000); /* Gold and Deep Red gradient */
    color: #ffffff;
    text-align: center;
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.page-arcade__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

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

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

.page-arcade__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Main brand gold */
    color: #8B0000; /* Deep red text for contrast */
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid #FFD700;
}

.page-arcade__cta-button:hover {
    background-color: #b39700; /* Darker gold on hover */
    color: #ffffff;
    transform: translateY(-3px);
    border-color: #b39700;
}

.page-arcade__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.2;
    overflow: hidden;
}

.page-arcade__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

.page-arcade__introduction-section, .page-arcade__why-play-section, .page-arcade__popular-games-section, .page-arcade__getting-started-section, .page-arcade__responsible-gaming-section, .page-arcade__faq-section, .page-arcade__cta-bottom-section {
    padding: 60px 0;
    text-align: center;
}

.page-arcade__section-title {
    font-size: 2.8em;
    color: #8B0000; /* Auxiliary deep red */
    margin-bottom: 30px;
    font-weight: 700;
}

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

.page-arcade__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    min-height: 200px;
}

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

.page-arcade__feature-card, .page-arcade__step-card, .page-arcade__game-card {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.page-arcade__feature-card:hover, .page-arcade__step-card:hover, .page-arcade__game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.page-arcade__feature-card img, .page-arcade__game-card img {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-arcade__card-title, .page-arcade__step-title, .page-arcade__game-title {
    font-size: 1.8em;
    color: #8B0000;
    margin-bottom: 15px;
    font-weight: 600;
}

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

.page-arcade__step-button, .page-arcade__game-button {
    display: inline-block;
    background-color: #FFD700;
    color: #8B0000;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    font-size: 0.95em;
}

.page-arcade__step-button:hover, .page-arcade__game-button:hover {
    background-color: #b39700;
    color: #ffffff;
}

.page-arcade__faq-item {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-arcade__faq-question {
    font-size: 1.4em;
    color: #8B0000;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-arcade__faq-answer {
    font-size: 1.05em;
    line-height: 1.7;
    color: #444444;
}

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

.page-arcade__responsible-gaming-section a {
    color: #8B0000;
    text-decoration: underline;
    font-weight: bold;
}

.page-arcade__responsible-gaming-section a:hover {
    color: #b30000;
}

.page-arcade__cta-bottom-section {
    background-color: #8B0000;
    color: #ffffff;
    padding: 80px 0;
}

.page-arcade__cta-bottom-content {
    max-width: 800px;
    margin: 0 auto;
}

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

.page-arcade__cta-bottom-description {
    font-size: 1.2em;
    line-height: 1.7;
    margin-bottom: 40px;
    color: #f0f0f0;
}

/* 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: 40px 15px;
    }
    .page-arcade__hero-title {
        font-size: 2.5em;
    }
    .page-arcade__hero-description {
        font-size: 1.1em;
    }
    .page-arcade__cta-button {
        padding: 12px 30px;
        font-size: 1.1em;
    }
    .page-arcade__introduction-section, .page-arcade__why-play-section, .page-arcade__popular-games-section, .page-arcade__getting-started-section, .page-arcade__responsible-gaming-section, .page-arcade__faq-section, .page-arcade__cta-bottom-section {
        padding: 40px 0;
    }
    .page-arcade__section-title {
        font-size: 2em;
    }
    .page-arcade__section-paragraph {
        font-size: 1em;
    }
    .page-arcade__features-grid, .page-arcade__steps-grid, .page-arcade__game-showcase {
        grid-template-columns: 1fr;
    }
    .page-arcade__feature-card img, .page-arcade__game-card img {
        height: auto; /* Allow image to scale */
        max-width: 100%;
    }
    .page-arcade__card-title, .page-arcade__step-title, .page-arcade__game-title {
        font-size: 1.5em;
    }
    .page-arcade__faq-question {
        font-size: 1.2em;
    }
    .page-arcade__cta-bottom-title {
        font-size: 2.2em;
    }
    .page-arcade__cta-bottom-description {
        font-size: 1em;
    }
    /* Mobile content area images must not overflow */
    .page-arcade img {
        max-width: 100%;
        height: auto;
    }
    .page-arcade__hero-image {
        opacity: 0.1;
    }
}

@media (max-width: 480px) {
    .page-arcade__hero-title {
        font-size: 2em;
    }
    .page-arcade__section-title {
        font-size: 1.8em;
    }
    .page-arcade__cta-bottom-title {
        font-size: 1.8em;
    }
    .page-arcade__container {
        padding: 0 15px;
    }
}