.page-arcade-games {
    padding-top: 10px;
    background-color: #0A0A0A;
    color: #FFF6D6;
    font-family: Arial, sans-serif;
}

.page-arcade-games__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 40px;
    max-width: 100%;
    overflow: hidden;
}

.page-arcade-games__hero-image-wrapper {
    width: 100%;
    margin-bottom: 30px;
}

.page-arcade-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.page-arcade-games__hero-content {
    max-width: 900px;
    padding: 0 20px;
}

.page-arcade-games__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: #F2C14E;
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.page-arcade-games__intro-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #E5E5E5;
}

.page-arcade-games__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-arcade-games__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-arcade-games__games-showcase,
.page-arcade-games__features-section,
.page-arcade-games__faq-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-arcade-games__section-title {
    font-size: 2.5rem;
    color: #F2C14E;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

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

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

.page-arcade-games__game-card {
    background-color: #111111;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #3A2A12;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 350px; /* Ensure cards have a minimum height */
}

.page-arcade-games__game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(242, 193, 78, 0.3);
}

.page-arcade-games__game-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-arcade-games__game-title {
    font-size: 1.5rem;
    color: #FFD36B;
    margin: 15px 15px 5px;
    font-weight: 600;
}

.page-arcade-games__game-genre {
    font-size: 0.95rem;
    color: #E5E5E5;
    margin: 0 15px 15px;
}

.page-arcade-games__game-button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1rem;
    margin: 0 15px 15px;
    align-self: flex-start;
    transition: background 0.3s ease;
}

.page-arcade-games__game-button:hover {
    background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%);
}

.page-arcade-games__view-all-button {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 15px 40px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-arcade-games__view-all-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-arcade-games__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-arcade-games__feature-item {
    background-color: #111111;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #3A2A12;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-arcade-games__feature-icon {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: none; /* Ensure no CSS filter is applied */
}

.page-arcade-games__feature-title {
    font-size: 1.8rem;
    color: #FFD36B;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-arcade-games__feature-description {
    font-size: 1rem;
    color: #E5E5E5;
    line-height: 1.6;
}

.page-arcade-games__faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-arcade-games__faq-item {
    background-color: #111111;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #3A2A12;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-arcade-games__faq-question {
    font-size: 1.3rem;
    color: #F2C14E;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-arcade-games__faq-answer {
    font-size: 1rem;
    color: #E5E5E5;
    line-height: 1.6;
}

.page-arcade-games__inline-link {
    color: #FFD36B;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s ease;
}

.page-arcade-games__inline-link:hover {
    color: #F2C14E;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .page-arcade-games__hero-section {
        padding-bottom: 30px;
    }

    .page-arcade-games__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .page-arcade-games__intro-description {
        font-size: 1rem;
    }

    .page-arcade-games__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .page-arcade-games__games-showcase,
    .page-arcade-games__features-section,
    .page-arcade-games__faq-section {
        padding: 40px 15px;
    }

    .page-arcade-games__section-title {
        font-size: 2rem;
    }

    .page-arcade-games__section-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .page-arcade-games__game-grid {
        grid-template-columns: 1fr;
    }

    .page-arcade-games__feature-title {
        font-size: 1.5rem;
    }

    .page-arcade-games__feature-icon {
        width: 120px;
        height: 120px;
    }

    .page-arcade-games__faq-question {
        font-size: 1.1rem;
    }

    .page-arcade-games__faq-answer {
        font-size: 0.95rem;
    }

    /* Ensure images do not overflow on mobile */
    .page-arcade-games__hero-image,
    .page-arcade-games__game-thumbnail,
    .page-arcade-games__feature-icon {
        max-width: 100%;
        height: auto;
    }

    /* Ensure content area images maintain min-size constraint */
    .page-arcade-games__game-thumbnail {
        min-width: 200px;
        min-height: 200px;
    }
    .page-arcade-games__feature-icon {
        min-width: 200px;
        min-height: 200px;
    }
}