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

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

.page-arcade__hero-section {
    background-color: #0A2E36; /* Main color */
    color: #ffffff;
    padding: var(--header-offset, 120px) 20px 60px; /* Ensure space for fixed header */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.page-arcade__hero-content {
    max-width: 800px;
    text-align: center;
}

.page-arcade__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700; /* Auxiliary color for emphasis */
    line-height: 1.2;
}

.page-arcade__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-arcade__hero-button {
    display: inline-block;
    background-color: #FFD700; /* Auxiliary color */
    color: #0A2E36; /* Main color for text */
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-arcade__hero-image-wrapper {
    width: 100%;
    max-width: 1000px; /* Limit hero image width */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-arcade__hero-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    min-height: 200px; /* Ensure minimum size */
}

.page-arcade__section-title {
    font-size: 2.5em;
    color: #0A2E36; /* Main color */
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.page-arcade__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
}

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

.page-arcade__about-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.page-arcade__content-grid {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-arcade__text-content {
    flex: 1;
}

.page-arcade__text-content p {
    margin-bottom: 20px;
    font-size: 1.05em;
    color: #444444;
}

.page-arcade__primary-button {
    display: inline-block;
    background-color: #0A2E36; /* Main color */
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 20px;
}

.page-arcade__primary-button:hover {
    background-color: #1a4f5c;
    transform: translateY(-2px);
}

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

.page-arcade__about-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    min-height: 200px; /* Ensure minimum size */
}

.page-arcade__game-categories {
    padding: 80px 0;
    background-color: #ffffff;
}

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

.page-arcade__category-card {
    background-color: #fefefe;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    padding-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade__category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-arcade__category-image {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 20px;
    min-height: 200px; /* Ensure minimum size */
}

.page-arcade__card-title {
    font-size: 1.5em;
    color: #0A2E36;
    margin-bottom: 15px;
    padding: 0 15px;
}

.page-arcade__card-text {
    font-size: 0.95em;
    color: #666666;
    margin-bottom: 25px;
    padding: 0 15px;
}

.page-arcade__card-button {
    display: inline-block;
    background-color: #FFD700;
    color: #0A2E36;
    padding: 10px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease;
}

.page-arcade__card-button:hover {
    background-color: #e6c200;
}

.page-arcade__why-choose-us {
    background-color: #0A2E36;
    padding: 80px 0;
    color: #ffffff;
}

.page-arcade__why-choose-us .page-arcade__section-title {
    color: #FFD700;
}

.page-arcade__why-choose-us .page-arcade__section-description {
    color: #e0e0e0;
}

.page-arcade__why-choose-us .page-arcade__section-title::after {
    background-color: #ffffff;
}

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

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

.page-arcade__feature-item:hover {
    transform: translateY(-5px);
}

.page-arcade__feature-icon {
    width: 200px; /* Override to minimum 200px */
    height: 200px; /* Override to minimum 200px */
    object-fit: contain;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

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

.page-arcade__feature-text {
    font-size: 1em;
    color: #e0e0e0;
}

.page-arcade__faq-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.page-arcade__faq-list {
    max-width: 900px;
    margin: 50px auto 0;
}

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

.page-arcade__faq-question {
    font-size: 1.3em;
    color: #0A2E36;
    margin-bottom: 10px;
    cursor: pointer;
}

.page-arcade__faq-question--active {
    font-weight: bold;
}

.page-arcade__faq-answer {
    font-size: 1em;
    color: #555555;
    margin-bottom: 15px;
    display: none; /* Hidden by default, toggled by JS */
}

.page-arcade__faq-button {
    display: inline-block;
    background-color: #FFD700;
    color: #0A2E36;
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-arcade__faq-button:hover {
    background-color: #e6c200;
}

.page-arcade__cta-section {
    background: linear-gradient(135deg, #0A2E36, #1a4f5c);
    padding: 80px 20px;
    text-align: center;
    color: #ffffff;
}

.page-arcade__cta-title {
    font-size: 2.8em;
    color: #FFD700;
    margin-bottom: 20px;
}

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

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

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

.page-arcade__cta-button--primary {
    background-color: #FFD700;
    color: #0A2E36;
}

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

.page-arcade__cta-button--secondary {
    background-color: transparent;
    border: 2px solid #FFD700;
    color: #FFD700;
}

.page-arcade__cta-button--secondary:hover {
    background-color: #FFD700;
    color: #0A2E36;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-arcade__hero-title {
        font-size: 2.8em;
    }
    .page-arcade__section-title {
        font-size: 2em;
    }
    .page-arcade__content-grid {
        flex-direction: column;
    }
    .page-arcade__image-wrapper {
        order: -1; /* Image above text on smaller screens */
    }
}

@media (max-width: 768px) {
    .page-arcade__hero-section {
        padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
        padding-bottom: 40px;
    }
    .page-arcade__hero-title {
        font-size: 2.2em;
    }
    .page-arcade__hero-description {
        font-size: 1.1em;
    }
    .page-arcade__hero-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-arcade__section-title {
        font-size: 1.8em;
    }
    .page-arcade__section-description {
        font-size: 1em;
    }
    .page-arcade__game-categories,
    .page-arcade__why-choose-us,
    .page-arcade__faq-section,
    .page-arcade__cta-section {
        padding: 60px 0;
    }
    .page-arcade__categories-grid,
    .page-arcade__features-grid {
        grid-template-columns: 1fr;
    }
    .page-arcade__category-image {
        height: auto;
    }
    .page-arcade__about-image,
    .page-arcade__hero-image,
    .page-arcade__category-image {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Ensure minimum size */
        min-height: 200px; /* Ensure minimum size */
    }
    .page-arcade__cta-title {
        font-size: 2em;
    }
    .page-arcade__cta-description {
        font-size: 1em;
    }
    .page-arcade__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-arcade__cta-button {
        width: 100%;
        max-width: 300px; /* Limit button width on small screens */
    }
}

@media (max-width: 480px) {
    .page-arcade__hero-title {
        font-size: 1.8em;
    }
    .page-arcade__section-title {
        font-size: 1.5em;
    }
    .page-arcade__hero-section {
        padding-top: var(--header-offset, 60px);
    }
    .page-arcade__hero-image-wrapper {
        border-radius: 8px;
    }
}

/* Ensure all content images are never smaller than 200px in display */
.page-arcade img {
    min-width: 200px;
    min-height: 200px;
    object-fit: cover; /* Maintain aspect ratio */
}