.page-arcade {
    font-family: Arial, sans-serif;
    color: #333333; /* Dark text on default light body background */
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-arcade__hero-section {
    background-color: #1A202C; /* Dark background for hero */
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    position: relative;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-arcade__hero-content {
    max-width: 800px;
    z-index: 1;
}

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

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

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

.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.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.page-arcade__button--primary {
    background-color: #FFD700; /* Gold button */
    color: #1A202C; /* Dark text on gold */
    border: 2px solid #FFD700;
}

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

.page-arcade__button--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text on dark background */
    border: 2px solid #FFD700;
}

.page-arcade__button--secondary:hover {
    background-color: #FFD700;
    color: #1A202C;
    transform: translateY(-2px);
}

.page-arcade__button--small {
    padding: 10px 20px;
    font-size: 1em;
}

.page-arcade__button--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

.page-arcade__hero-image-wrapper {
    width: 100%;
    max-width: 1000px; /* Limit image width */
    margin-top: 40px;
    z-index: 0;
}

.page-arcade__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-arcade__overview-section,
.page-arcade__game-categories,
.page-arcade__advantage-section,
.page-arcade__get-started-section,
.page-arcade__responsible-gaming-section,
.page-arcade__testimonials-section {
    padding: 60px 0;
    background-color: #ffffff; /* Default light background */
}

.page-arcade__section-title {
    font-size: 2.5em;
    color: #1A202C;
    text-align: center;
    margin-bottom: 20px;
}

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

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

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

.page-arcade__feature-card:hover,
.page-arcade__advantage-item:hover,
.page-arcade__step-card:hover,
.page-arcade__testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-arcade__feature-title,
.page-arcade__advantage-title,
.page-arcade__step-title,
.page-arcade__category-title {
    font-size: 1.8em;
    color: #1A202C;
    margin-bottom: 15px;
}

.page-arcade__feature-text,
.page-arcade__advantage-text,
.page-arcade__step-text,
.page-arcade__category-text {
    font-size: 1em;
    color: #666666;
}

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

.page-arcade__category-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Push button to bottom */
}

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

.page-arcade__category-image {
    width: 100%;
    height: 250px; /* Fixed height for consistent card appearance */
    object-fit: cover; /* Cover the area, crop if necessary */
    display: block;
    border-bottom: 1px solid #eee;
}

.page-arcade__category-card .page-arcade__category-title {
    padding: 20px 20px 0;
    font-size: 1.6em;
}

.page-arcade__category-card .page-arcade__category-text {
    padding: 0 20px 20px;
    flex-grow: 1; /* Allow text to take available space */
}

.page-arcade__category-card .page-arcade__button {
    margin: 0 20px 20px;
    align-self: center; /* Center the button */
}


.page-arcade__advantage-item .page-arcade__button {
    margin-top: 20px;
}

.page-arcade__cta-wrapper {
    text-align: center;
    margin-top: 50px;
}

.page-arcade__responsible-gaming-section {
    background-color: #f0f0f0;
    text-align: center;
}

.page-arcade__responsible-gaming-section .page-arcade__button {
    margin-top: 30px;
}

.page-arcade__testimonial-text {
    font-style: italic;
    font-size: 1.1em;
    color: #444444;
    margin-bottom: 15px;
}

.page-arcade__testimonial-author {
    font-weight: bold;
    color: #1A202C;
}

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

@media (max-width: 768px) {
    .page-arcade {
        padding-top: var(--header-offset, 120px); /* Ensure mobile content is below fixed header */
    }
    .page-arcade__hero-section {
        padding: 60px 15px;
        flex-direction: column;
    }
    .page-arcade__hero-title {
        font-size: 2.2em;
    }
    .page-arcade__hero-description {
        font-size: 1em;
    }
    .page-arcade__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-arcade__button {
        width: 100%;
        max-width: 300px;
    }
    .page-arcade__section-title {
        font-size: 1.8em;
    }
    .page-arcade__section-description {
        font-size: 0.95em;
    }
    .page-arcade__features-grid,
    .page-arcade__advantages-grid,
    .page-arcade__steps-grid,
    .page-arcade__testimonials-grid,
    .page-arcade__category-card-wrapper {
        grid-template-columns: 1fr;
    }
    .page-arcade__category-image {
        height: 200px; /* Adjust height for smaller screens */
    }

    /* Important: Content area images must not overflow on mobile */
    .page-arcade__container img,
    .page-arcade__category-image,
    .page-arcade__hero-image {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-arcade__hero-title {
        font-size: 1.8em;
    }
    .page-arcade__section-title {
        font-size: 1.5em;
    }
    .page-arcade__hero-image-wrapper {
        margin-top: 20px;
    }
}

/* Ensure no filter is applied to images */
.page-arcade img {
    filter: none;
}
/* Ensure content area images are not small */
.page-arcade__container img,
.page-arcade__category-image,
.page-arcade__hero-image {
    min-width: 200px;
    min-height: 200px;
}