.page-arcade {
    color: #ffffff; /* Light text for dark body background */
    background-color: #1a1a1a; /* Ensure consistency with shared body background */
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

.page-arcade__section-title {
    font-size: 2.8rem;
    color: #E3B505; /* Auxiliary color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-arcade__section-description {
    font-size: 1.1rem;
    color: #f0f0f0;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.page-arcade__button {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1.1rem;
    text-align: center;
}

.page-arcade__button--primary {
    background-color: #E3B505; /* Auxiliary color */
    color: #0A2463; /* Main color as text */
    border: 2px solid #E3B505;
}

.page-arcade__button--primary:hover {
    background-color: #f5db9c;
    color: #0A2463;
    transform: translateY(-2px);
}

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

.page-arcade__button--secondary:hover {
    background-color: #E3B505;
    color: #0A2463;
    transform: translateY(-2px);
}

.page-arcade__button--small {
    padding: 10px 20px;
    font-size: 0.95rem;
}

.page-arcade__button--large {
    padding: 18px 40px;
    font-size: 1.25rem;
}

.page-arcade__button--centered {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
}

/* Hero Section */
.page-arcade__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background-color: #0A2463; /* Main color for hero background */
    position: relative;
    overflow: hidden;
}

.page-arcade__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin-bottom: 40px;
}

.page-arcade__hero-title {
    font-size: 3.8rem;
    color: #E3B505; /* Auxiliary color for hero title */
    margin-bottom: 25px;
    font-weight: 800;
    line-height: 1.1;
}

.page-arcade__hero-description {
    font-size: 1.3rem;
    color: #f0f0f0;
    margin-bottom: 40px;
    line-height: 1.6;
}

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

.page-arcade__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.2; /* Subtle overlay for background image */
}

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

/* About Section */
.page-arcade__about-section {
    padding: 80px 0;
    background-color: #1a1a1a;
}

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

.page-arcade__feature-card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-arcade__feature-icon {
    width: 200px; /* Min image size 200x200 */
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-arcade__feature-title {
    font-size: 1.8rem;
    color: #E3B505;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-arcade__feature-text {
    font-size: 1rem;
    color: #cccccc;
    line-height: 1.6;
}

/* Game Showcase Section */
.page-arcade__game-showcase {
    padding: 80px 0;
    background-color: #0A2463;
}

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

.page-arcade__game-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-arcade__game-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-arcade__game-card h3 {
    font-size: 1.6rem;
    color: #E3B505;
    padding: 20px 20px 10px;
    font-weight: 700;
}

.page-arcade__game-card p {
    font-size: 0.95rem;
    color: #cccccc;
    padding: 0 20px 20px;
    line-height: 1.5;
}

.page-arcade__game-card .page-arcade__button {
    margin: 0 20px 20px;
    width: calc(100% - 40px);
}

/* Mobile Experience Section */
.page-arcade__mobile-experience {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.page-arcade__mobile-experience .page-arcade__container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.page-arcade__mobile-content {
    flex: 1;
    text-align: left;
}

.page-arcade__mobile-content .page-arcade__section-title {
    text-align: left;
}

.page-arcade__mobile-content .page-arcade__section-description {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.page-arcade__mobile-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.page-arcade__mobile-image-wrapper {
    flex: 1;
    text-align: center;
}

.page-arcade__mobile-image {
    width: 400px; /* Display width for desktop */
    height: 500px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Promotions Section */
.page-arcade__promotions-section {
    padding: 80px 0;
    background-color: #0A2463;
}

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

.page-arcade__promo-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade__promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-arcade__promo-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-arcade__promo-title {
    font-size: 1.6rem;
    color: #E3B505;
    padding: 20px 20px 10px;
    font-weight: 700;
}

.page-arcade__promo-text {
    font-size: 0.95rem;
    color: #cccccc;
    padding: 0 20px 20px;
    line-height: 1.5;
}

.page-arcade__promo-card .page-arcade__button {
    margin: 0 20px 20px;
    width: calc(100% - 40px);
}

/* Safety Section */
.page-arcade__safety-section {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.page-arcade__safety-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-arcade__safety-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-arcade__safety-icon {
    width: 200px; /* Min image size 200x200 */
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-arcade__safety-title {
    font-size: 1.8rem;
    color: #E3B505;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-arcade__safety-text {
    font-size: 1rem;
    color: #cccccc;
    line-height: 1.6;
}

/* FAQ Section */
.page-arcade__faq-section {
    padding: 80px 0;
    background-color: #0A2463;
}

.page-arcade__faq-list {
    margin-top: 50px;
}

.page-arcade__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 25px 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.page-arcade__faq-question {
    font-size: 1.4rem;
    color: #E3B505;
    margin-bottom: 10px;
    cursor: pointer;
    font-weight: 600;
}

.page-arcade__faq-answer {
    font-size: 1rem;
    color: #cccccc;
    line-height: 1.6;
}

/* CTA Section */
.page-arcade__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #1a1a1a;
}

.page-arcade__cta-section .page-arcade__section-title {
    font-size: 3.2rem;
}

.page-arcade__cta-section .page-arcade__section-description {
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-arcade__hero-title {
        font-size: 3.2rem;
    }
    .page-arcade__section-title {
        font-size: 2.4rem;
    }
    .page-arcade__mobile-experience .page-arcade__container {
        flex-direction: column;
        text-align: center;
    }
    .page-arcade__mobile-content {
        text-align: center;
    }
    .page-arcade__mobile-content .page-arcade__section-title,
    .page-arcade__mobile-content .page-arcade__section-description {
        text-align: center;
    }
    .page-arcade__mobile-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .page-arcade {
        padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
    }
    .page-arcade__hero-section {
        padding: 60px 15px;
    }
    .page-arcade__hero-title {
        font-size: 2.5rem;
    }
    .page-arcade__hero-description {
        font-size: 1.1rem;
    }
    .page-arcade__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-arcade__button {
        width: 100%;
    }
    .page-arcade__section-title {
        font-size: 2rem;
    }
    .page-arcade__section-description {
        font-size: 1rem;
    }
    .page-arcade__features-grid,
    .page-arcade__game-grid,
    .page-arcade__promo-cards,
    .page-arcade__safety-features {
        grid-template-columns: 1fr;
    }
    .page-arcade__game-image,
    .page-arcade__promo-image {
        height: 200px;
    }
    .page-arcade__mobile-image {
        width: 100%;
        height: auto; /* Ensure images scale correctly */
        max-width: 400px; /* Max width for mobile image */
    }
    /* Mobile image scaling for all content images */
    .page-arcade img {
        max-width: 100%;
        height: auto;
    }
    .page-arcade__cta-section .page-arcade__section-title {
        font-size: 2.2rem;
    }
    .page-arcade__cta-section .page-arcade__section-description {
        font-size: 1.05rem;
    }
    .page-arcade__faq-question {
        font-size: 1.2rem;
    }
    .page-arcade__feature-icon, .page-arcade__safety-icon {
        width: 150px; /* Ensure images are not smaller than 200px, but scale responsively */
        height: 150px;
        max-width: 100%;
    }
    /* Ensure all content area images are at least 200px wide or scale down responsively */
    .page-arcade__hero-image,
    .page-arcade__feature-icon,
    .page-arcade__game-image,
    .page-arcade__mobile-image,
    .page-arcade__promo-image,
    .page-arcade__safety-icon {
        min-width: 200px; /* Enforce minimum width for non-scaling elements */
        min-height: 200px;
        width: auto; /* Allow width to be determined by max-width */
        height: auto; /* Allow height to be determined by max-width */
        max-width: 100%; /* Ensure images do not overflow on mobile */
    }
}

@media (max-width: 480px) {
    .page-arcade__hero-title {
        font-size: 2rem;
    }
    .page-arcade__section-title {
        font-size: 1.8rem;
    }
    .page-arcade__feature-title,
    .page-arcade__game-title,
    .page-arcade__promo-title,
    .page-arcade__safety-title {
        font-size: 1.5rem;
    }
    .page-arcade__faq-question {
        font-size: 1.1rem;
    }
    .page-arcade__mobile-buttons {
        flex-direction: column;
    }
}