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

.page-arcade__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* For fixed header offset */
    background-color: #f0f0f0;
}

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

.page-arcade__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    min-height: 200px;
}

.page-arcade__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    max-width: 90%;
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 10px;
}

.page-arcade__hero-title {
    font-size: 3.5em;
    margin-bottom: 15px;
    color: #FFD700; /* Gold for title */
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

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

.page-arcade__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    min-width: 180px;
}

.page-arcade__button--primary {
    background-color: #CC0000; /* Primary Red */
    color: #ffffff;
    border: 2px solid #CC0000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-arcade__button--primary:hover {
    background-color: #990000;
    border-color: #990000;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.page-arcade__button--secondary {
    background-color: #FFD700; /* Secondary Gold */
    color: #333333;
    border: 2px solid #FFD700;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-arcade__button--secondary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.page-arcade__button--small {
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 30px;
}

.page-arcade__button--link {
    background: none;
    color: #CC0000;
    border: 2px solid #CC0000;
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 30px;
}

.page-arcade__button--link:hover {
    background-color: #CC0000;
    color: #ffffff;
}

.page-arcade__section-title {
    font-size: 2.8em;
    color: #CC0000; /* Primary Red for section titles */
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.page-arcade__sub-title {
    font-size: 1.8em;
    color: #CC0000;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-arcade__features-section,
.page-arcade__games-showcase-section,
.page-arcade__how-to-play-section,
.page-arcade__promo-cta-section,
.page-arcade__faq-section,
.page-arcade__cta-section,
.page-arcade__long-content-section {
    padding: 60px 20px;
    background-color: #ffffff;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-arcade__features-container,
.page-arcade__games-showcase-container,
.page-arcade__how-to-play-container,
.page-arcade__promo-cta-container,
.page-arcade__faq-container,
.page-arcade__cta-container,
.page-arcade__long-content-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.page-arcade__feature-card,
.page-arcade__game-card,
.page-arcade__step-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-arcade__feature-card:hover,
.page-arcade__game-card:hover,
.page-arcade__step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-arcade__feature-icon img,
.page-arcade__game-image img {
    width: 100%; /* Ensure images take full width of card */
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px; /* Enforce minimum size for content images */
}

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

.page-arcade__feature-text,
.page-arcade__game-description,
.page-arcade__step-text {
    font-size: 1em;
    color: #666666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-arcade__step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #FFD700;
    color: #CC0000;
    border-radius: 50%;
    font-size: 2em;
    font-weight: bold;
    margin: 0 auto 20px auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-arcade__promo-cta-section {
    background-color: #CC0000;
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
    border-radius: 10px;
}

.page-arcade__promo-cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.page-arcade__promo-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px; /* Enforce minimum size for content images */
}

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

.page-arcade__promo-description {
    font-size: 1.3em;
    max-width: 900px;
    margin-bottom: 40px;
}

.page-arcade__faq-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.page-arcade__faq-question {
    font-size: 1.4em;
    color: #CC0000;
    margin-bottom: 10px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-arcade__faq-answer {
    font-size: 1.1em;
    color: #555555;
    padding-top: 10px;
    border-top: 1px solid #eee;
    display: none; /* Hidden by default, toggled by JS */
}

.page-arcade__cta-section {
    background-color: #FFD700;
    color: #333333;
    padding: 80px 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.page-arcade__cta-description {
    font-size: 1.3em;
    max-width: 900px;
    margin-bottom: 40px;
    margin-left: auto;
    margin-right: auto;
}

.page-arcade__long-content-section {
    background-color: #fdfdfd;
    padding: 60px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-size: 1.1em;
    line-height: 1.8;
}

.page-arcade__long-content-section p {
    margin-bottom: 1em;
    color: #444444;
}

.page-arcade__long-content-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-arcade__hero-title {
        font-size: 3em;
    }
    .page-arcade__hero-description {
        font-size: 1.2em;
    }
    .page-arcade__section-title,
    .page-arcade__promo-title,
    .page-arcade__cta-title {
        font-size: 2.5em;
    }
    .page-arcade__feature-grid,
    .page-arcade__game-grid,
    .page-arcade__steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-arcade__hero-section {
        padding-top: var(--header-offset-mobile, 80px); /* Adjust for mobile header offset */
    }
    .page-arcade__hero-content {
        padding: 20px;
        max-width: 95%;
    }
    .page-arcade__hero-title {
        font-size: 2.2em;
    }
    .page-arcade__hero-description {
        font-size: 1em;
    }
    .page-arcade__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-arcade__button {
        width: 100%;
        max-width: 300px;
    }
    .page-arcade__section-title,
    .page-arcade__promo-title,
    .page-arcade__cta-title {
        font-size: 2em;
        margin-bottom: 20px;
    }
    .page-arcade__section-subtitle,
    .page-arcade__promo-description,
    .page-arcade__cta-description {
        font-size: 1em;
    }
    .page-arcade__feature-grid,
    .page-arcade__game-grid,
    .page-arcade__steps-grid {
        grid-template-columns: 1fr;
    }
    .page-arcade__feature-card,
    .page-arcade__game-card,
    .page-arcade__step-card {
        padding: 20px;
    }
    .page-arcade__promo-cta-section,
    .page-arcade__cta-section,
    .page-arcade__features-section,
    .page-arcade__games-showcase-section,
    .page-arcade__how-to-play-section,
    .page-arcade__faq-section,
    .page-arcade__long-content-section {
        padding: 40px 15px;
    }
    /* Mobile content images must be responsive */
    .page-arcade img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Ensure images are not too small */
        min-height: 200px;
    }
    .page-arcade__feature-icon img, 
    .page-arcade__game-image img, 
    .page-arcade__promo-image {
        max-width: 100% !important; 
        height: auto !important;
    }
    .page-arcade__long-content-cta {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .page-arcade__hero-title {
        font-size: 1.8em;
    }
    .page-arcade__hero-description {
        font-size: 0.9em;
    }
    .page-arcade__section-title,
    .page-arcade__promo-title,
    .page-arcade__cta-title {
        font-size: 1.8em;
    }
    .page-arcade__button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-arcade__button--small {
        padding: 8px 15px;
        font-size: 0.85em;
    }
    .page-arcade__feature-title,
    .page-arcade__game-title,
    .page-arcade__step-title {
        font-size: 1.3em;
    }
    .page-arcade__faq-question {
        font-size: 1.2em;
    }
    .page-arcade__faq-answer {
        font-size: 1em;
    }
}