.page-arcade-games {
    background-color: #0A0A0A;
    color: #FFF6D6;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: 10px; /* Small padding as body handles header offset */
}

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

.page-arcade-games__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.page-arcade-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 400px; /* Ensure hero image is large enough */
}

.page-arcade-games__intro-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #111111;
    border-radius: 10px;
    margin-top: -80px; /* Pull up over hero image slightly */
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-arcade-games__main-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #FFD36B;
    letter-spacing: 0.05em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-arcade-games__description {
    font-size: 1.1rem;
    max-width: 900px;
    margin: 0 auto 30px auto;
}

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

.page-arcade-games__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
    color: #FFF6D6; /* Default text color for buttons */
    border: none;
}

.page-arcade-games__btn--primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111; /* Darker text for primary button */
}

.page-arcade-games__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 211, 107, 0.4);
}

.page-arcade-games__btn--secondary {
    background-color: #3A2A12;
    border: 1px solid #F2C14E;
    color: #FFF6D6;
}

.page-arcade-games__btn--secondary:hover {
    transform: translateY(-2px);
    background-color: #F2C14E;
    color: #111111;
    box-shadow: 0 4px 10px rgba(242, 193, 78, 0.4);
}

.page-arcade-games__btn--outline {
    background-color: transparent;
    border: 2px solid #F2C14E;
    color: #F2C14E;
}

.page-arcade-games__btn--outline:hover {
    background-color: #F2C14E;
    color: #111111;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(242, 193, 78, 0.4);
}

.page-arcade-games__btn--small {
    padding: 8px 15px;
    font-size: 0.9rem;
}

.page-arcade-games__games-showcase-section,
.page-arcade-games__features-section,
.page-arcade-games__faq-section {
    padding: 60px 0;
    text-align: center;
}

.page-arcade-games__section-title {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    color: #FFD36B;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-arcade-games__section-description {
    font-size: 1.05rem;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #E5E5E5;
}

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

.page-arcade-games__game-card {
    background-color: #111111;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #3A2A12;
    display: flex;
    flex-direction: column;
}

.page-arcade-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6), 0 0 15px #FFD36B;
}

.page-arcade-games__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-bottom: 1px solid #3A2A12;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-arcade-games__game-title {
    font-size: 1.4rem;
    color: #F2C14E;
    margin: 15px 15px 10px 15px;
    font-weight: 600;
}

.page-arcade-games__game-link {
    color: inherit;
    text-decoration: none;
}

.page-arcade-games__game-link:hover {
    text-decoration: underline;
    color: #FFD36B;
}

.page-arcade-games__game-description {
    font-size: 0.95rem;
    color: #E5E5E5;
    padding: 0 15px 15px 15px;
    flex-grow: 1;
}

.page-arcade-games__game-card .page-arcade-games__btn {
    margin: 0 15px 15px 15px;
    text-align: center;
    width: calc(100% - 30px);
}

.page-arcade-games__feature-item {
    background-color: #111111;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border: 1px solid #3A2A12;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.page-arcade-games__feature-icon {
    width: 200px; /* Adjusted to meet minimum 200px display size */
    height: 200px; /* Adjusted to meet minimum 200px display size */
    object-fit: contain;
    margin-bottom: 20px;
}

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

.page-arcade-games__feature-description {
    font-size: 0.95rem;
    color: #E5E5E5;
    text-align: center;
}

.page-arcade-games__cta-section {
    margin-top: 40px;
    padding: 30px;
    background-color: #111111;
    border-radius: 12px;
    border: 1px solid #3A2A12;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.page-arcade-games__cta-text {
    font-size: 1.2rem;
    color: #FFF6D6;
    margin: 0;
}

.page-arcade-games__faq-list {
    text-align: left;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-arcade-games__faq-item {
    background-color: #111111;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid #3A2A12;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.page-arcade-games__faq-answer {
    font-size: 1rem;
    color: #E5E5E5;
    margin-bottom: 0;
}

.page-arcade-games__faq-answer a {
    color: #FFD36B;
    text-decoration: none;
}

.page-arcade-games__faq-answer a:hover {
    text-decoration: underline;
}

.page-arcade-games__view-all {
    margin-top: 20px;
}

@media (max-width: 768px) {
    .page-arcade-games__container {
        padding: 15px;
    }

    .page-arcade-games__intro-section {
        margin-top: -60px;
        padding: 30px 15px;
    }

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

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

    .page-arcade-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-arcade-games__btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

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

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

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

    .page-arcade-games__game-image,
    .page-arcade-games__feature-icon {
        width: 100%;
        height: auto;
        min-width: 200px; /* Ensure minimum display size for content images */
        min-height: 200px;
        object-fit: cover;
    }

    .page-arcade-games__game-card .page-arcade-games__btn {
        width: auto; 
        max-width: 200px; 
        margin: 0 auto 15px auto;
    }
}