.page-arcade {
    color: #333333; /* Dark text for default light body background */
}

.page-arcade__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    background-color: #f8f8f8;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 60px;
}

.page-arcade__hero-content {
    max-width: 900px;
    padding: 40px 20px;
    z-index: 1;
}

.page-arcade__hero-title {
    font-size: 3.5em;
    color: #8B0000; /* Secondary color for emphasis */
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-arcade__hero-description {
    font-size: 1.2em;
    color: #555555;
    margin-bottom: 30px;
    line-height: 1.6;
}

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

.page-arcade__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    min-width: 180px;
    text-align: center;
}

.page-arcade__button--primary {
    background-color: #FFD700; /* Primary color */
    color: #8B0000;
    border: 2px solid #FFD700;
}

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

.page-arcade__button--secondary {
    background-color: #8B0000; /* Secondary color */
    color: #ffffff;
    border: 2px solid #8B0000;
}

.page-arcade__button--secondary:hover {
    background-color: #6a0000;
    transform: translateY(-2px);
}

.page-arcade__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-top: 40px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-arcade__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

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

.page-arcade__section-title {
    font-size: 2.8em;
    color: #8B0000;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.3;
}

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

.page-arcade__about-section,
.page-arcade__games-showcase,
.page-arcade__why-choose-us,
.page-arcade__faq-section {
    padding: 80px 0;
    background-color: #ffffff;
}

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

.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: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-arcade__feature-icon {
    width: 200px; /* Minimum size */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-arcade__feature-title {
    font-size: 1.8em;
    color: #8B0000;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-arcade__feature-text {
    font-size: 1em;
    color: #555;
    line-height: 1.6;
}

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

.page-arcade__game-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-arcade__game-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency, will be overridden by object-fit */
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.page-arcade__game-title {
    font-size: 1.8em;
    color: #8B0000;
    margin: 20px 15px 10px 15px;
    font-weight: 600;
}

.page-arcade__game-text {
    font-size: 0.95em;
    color: #555;
    padding: 0 20px 20px 20px;
    line-height: 1.6;
}

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

.page-arcade__why-choose-us {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%); /* Gradient with primary color */
    color: #8B0000;
}

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

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

.page-arcade__advantages-list {
    list-style: none;
    padding: 0;
    margin: 50px auto;
    max-width: 800px;
}

.page-arcade__advantages-list li {
    background-color: rgba(255, 255, 255, 0.2);
    margin-bottom: 15px;
    padding: 18px 25px;
    border-radius: 10px;
    font-size: 1.1em;
    color: #8B0000;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-arcade__list-icon {
    font-size: 1.5em;
    margin-right: 15px;
    color: #8B0000;
}

.page-arcade__call-to-action {
    text-align: center;
    margin-top: 60px;
}

.page-arcade__call-to-action-text {
    font-size: 1.5em;
    color: #8B0000;
    margin-bottom: 30px;
    font-weight: 600;
}

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

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

.page-arcade__faq-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
    margin-bottom: 20px;
    padding: 25px 30px;
}

.page-arcade__faq-question {
    font-size: 1.4em;
    color: #8B0000;
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.page-arcade__faq-question::after {
    content: '+';
    font-size: 1.2em;
    color: #FFD700;
    transition: transform 0.3s ease;
}

.page-arcade__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-arcade__faq-answer {
    font-size: 1em;
    color: #555;
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding-top: 0;
}

.page-arcade__faq-answer.active {
    max-height: 200px; /* Adjust as needed for content */
    padding-top: 15px;
}

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

@media (max-width: 768px) {
    .page-arcade__hero-section {
        flex-direction: column;
        padding: 40px 15px;
    }

    .page-arcade__hero-content {
        padding: 20px 15px;
    }

    .page-arcade__hero-title {
        font-size: 2.5em;
    }

    .page-arcade__hero-description {
        font-size: 1em;
    }

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

    .page-arcade__button {
        width: 100%;
        max-width: 300px;
    }

    .page-arcade__hero-image-wrapper {
        margin-top: 30px;
    }

    .page-arcade__section-title {
        font-size: 2em;
    }

    .page-arcade__section-description {
        font-size: 0.95em;
        margin-bottom: 40px;
    }

    .page-arcade__about-section,
    .page-arcade__games-showcase,
    .page-arcade__why-choose-us,
    .page-arcade__faq-section {
        padding: 50px 0;
    }

    .page-arcade__features-grid,
    .page-arcade__game-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-arcade__feature-card,
    .page-arcade__game-card {
        padding: 20px;
    }

    .page-arcade__feature-icon {
        width: 200px; /* Ensure minimum size */
        height: auto;
    }

    .page-arcade__game-image {
        height: 200px;
    }

    .page-arcade__feature-title,
    .page-arcade__game-title {
        font-size: 1.5em;
    }

    .page-arcade__advantages-list li {
        font-size: 1em;
        padding: 15px 20px;
    }

    .page-arcade__call-to-action-text {
        font-size: 1.2em;
    }

    .page-arcade__button--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }

    .page-arcade__faq-question {
        font-size: 1.2em;
    }

    .page-arcade__faq-answer {
        font-size: 0.95em;
    }

    /* Ensure all images within .page-arcade are responsive and don't cause overflow */
    .page-arcade img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-arcade__hero-title {
        font-size: 2em;
    }
    .page-arcade__section-title {
        font-size: 1.8em;
    }
    .page-arcade__hero-buttons {
        gap: 10px;
    }
    .page-arcade__button {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-arcade__feature-title,
    .page-arcade__game-title {
        font-size: 1.3em;
    }
    .page-arcade__faq-question {
        font-size: 1.1em;
    }
}