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

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

.page-arcade__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    position: relative;
    overflow: hidden;
    color: #ffffff; /* Light text for dark hero background */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px; /* Minimum height for hero section */
}

.page-arcade__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-arcade__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 40px;
    background: rgba(0, 32, 96, 0.7); /* Semi-transparent primary color background */
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-arcade__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700; /* Secondary color for title */
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-arcade__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

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

.page-arcade__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    border: none;
}

.page-arcade__button--primary {
    background-color: #FFD700; /* Secondary color */
    color: #002060; /* Primary color */
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

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

.page-arcade__button--secondary {
    background-color: #002060; /* Primary color */
    color: #FFD700; /* Secondary color */
    border: 2px solid #FFD700;
    box-shadow: 0 4px 15px rgba(0, 32, 96, 0.4);
}

.page-arcade__button--secondary:hover {
    background-color: #001a4d;
    transform: translateY(-3px);
}

.page-arcade__section-title {
    font-size: 2.8em;
    color: #002060; /* Primary color */
    text-align: center;
    margin-bottom: 30px;
    padding-top: 60px;
    font-weight: bold;
}

.page-arcade__section-intro {
    font-size: 1.2em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: #555555;
}

.page-arcade__about-section,
.page-arcade__games-section,
.page-arcade__faq-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.page-arcade__about-section {
    background-color: #ffffff;
}

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

.page-arcade__feature-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-arcade__feature-card:hover {
    transform: translateY(-10px);
}

.page-arcade__feature-icon {
    width: 200px; /* Min size */
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-arcade__feature-title {
    font-size: 1.8em;
    color: #002060;
    margin-bottom: 15px;
}

.page-arcade__feature-description {
    font-size: 1em;
    color: #666;
}

.page-arcade__game-category {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-bottom: 50px;
    text-align: center;
}

.page-arcade__category-title {
    font-size: 2.2em;
    color: #002060;
    margin-bottom: 20px;
}

.page-arcade__category-description {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 30px;
    text-align: justify;
}

.page-arcade__category-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-arcade__cta-section {
    background-color: #002060; /* Primary color background */
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

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

.page-arcade__cta-description {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

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

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

.page-arcade__faq-item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.page-arcade__faq-question {
    font-size: 1.6em;
    color: #002060;
    margin-bottom: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-arcade__faq-answer {
    font-size: 1.1em;
    color: #555;
    padding-left: 10px;
    border-left: 3px solid #FFD700;
}

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

@media (max-width: 768px) {
    .page-arcade__hero-section {
        min-height: 500px;
        padding: 40px 15px;
    }
    .page-arcade__hero-content {
        padding: 30px;
    }
    .page-arcade__hero-title {
        font-size: 2.2em;
    }
    .page-arcade__hero-description {
        font-size: 1.1em;
    }
    .page-arcade__hero-actions,
    .page-arcade__cta-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-arcade__button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-arcade__section-title {
        font-size: 2em;
        padding-top: 40px;
    }
    .page-arcade__section-intro {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-arcade__about-section,
    .page-arcade__games-section,
    .page-arcade__faq-section {
        padding: 60px 0;
    }
    .page-arcade__features-grid {
        grid-template-columns: 1fr;
    }
    .page-arcade__feature-icon {
        width: 250px;
        height: 187px;
    }
    .page-arcade__category-description {
        text-align: left;
    }
    .page-arcade__cta-title {
        font-size: 2.2em;
    }
    .page-arcade__cta-description {
        font-size: 1.1em;
    }
    .page-arcade__faq-question {
        font-size: 1.4em;
    }
    .page-arcade__faq-answer {
        font-size: 1em;
    }

    /* Mobile overflow prevention for images */
    .page-arcade img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-arcade__hero-title {
        font-size: 1.8em;
    }
    .page-arcade__hero-description {
        font-size: 1em;
    }
    .page-arcade__section-title {
        font-size: 1.8em;
    }
    .page-arcade__cta-title {
        font-size: 1.8em;
    }
    .page-arcade__faq-question {
        font-size: 1.2em;
    }
    .page-arcade__hero-content {
        padding: 20px;
    }
}