/* style/arcade.css */

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

.page-arcade__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    background-color: #003366;
    color: #ffffff;
    text-align: center;
}

.page-arcade__hero-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    gap: 20px;
}

.page-arcade__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    max-width: 1200px; /* Ensure image scales correctly */
}

.page-arcade__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.page-arcade__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold accent for title */
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-arcade__hero-actions {
    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: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

.page-arcade__button--primary {
    background-color: #FFD700; /* Gold */
    color: #003366; /* Deep blue */
    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 */
    border: 2px solid #FFD700;
}

.page-arcade__button--secondary:hover {
    background-color: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

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

.page-arcade__section-title {
    font-size: 2.5em;
    color: #003366; /* Deep blue */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-arcade__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-arcade__section-subtitle {
    font-size: 1.2em;
    text-align: center;
    color: #666666;
    margin-bottom: 50px;
}

.page-arcade__about-section .page-arcade__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.page-arcade__about-section .page-arcade__text-content {
    flex: 1;
    min-width: 300px;
}

.page-arcade__about-section .page-arcade__text-content p {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #555555;
}

.page-arcade__about-section .page-arcade__image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

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

.page-arcade__button--inline {
    margin-top: 20px;
    background-color: #003366;
    color: #ffffff;
    border: 2px solid #003366;
}

.page-arcade__button--inline:hover {
    background-color: #002244;
    border-color: #002244;
}

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

.page-arcade__feature-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px 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(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-arcade__feature-icon {
    width: 100%;
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px;
}

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

.page-arcade__feature-description {
    font-size: 1em;
    color: #666666;
}

.page-arcade__how-to-play-section {
    background-color: #f8f8f8;
    padding: 60px 0;
}

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

.page-arcade__step-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-arcade__step-number {
    font-size: 3em;
    font-weight: bold;
    color: #FFD700;
    position: absolute;
    top: 15px;
    left: 15px;
    opacity: 0.2;
    z-index: 0;
}

.page-arcade__step-card h3, .page-arcade__step-card p, .page-arcade__step-card a {
    position: relative;
    z-index: 1;
}

.page-arcade__step-title {
    font-size: 1.6em;
    color: #003366;
    margin-bottom: 15px;
    margin-top: 20px;
}

.page-arcade__step-description {
    font-size: 1em;
    color: #666666;
    margin-bottom: 25px;
}

.page-arcade__button--small {
    padding: 10px 20px;
    font-size: 0.9em;
    background-color: #003366;
    color: #ffffff;
    border: 2px solid #003366;
}

.page-arcade__button--small:hover {
    background-color: #002244;
    border-color: #002244;
}

.page-arcade__game-showcase-section {
    padding: 60px 0;
}

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

.page-arcade__game-card {
    background-color: #003366;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.page-arcade__game-image {
    width: 100%;
    height: 250px; /* Fixed height for consistent card appearance */
    object-fit: cover;
    display: block;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px;
}

.page-arcade__game-title {
    font-size: 1.6em;
    color: #FFD700;
    margin: 20px 15px 10px;
}

.page-arcade__game-description {
    font-size: 0.95em;
    color: #f0f0f0;
    padding: 0 15px 20px;
}

.page-arcade__button--game {
    background-color: #FFD700;
    color: #003366;
    border: 2px solid #FFD700;
    margin-bottom: 20px;
    padding: 12px 25px;
    font-size: 1em;
}

.page-arcade__button--game:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

.page-arcade__testimonials-section {
    background-color: #f8f8f8;
    padding: 60px 0;
}

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

.page-arcade__testimonial-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
}

.page-arcade__testimonial-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid #FFD700;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px;
}

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

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

.page-arcade__faq-section {
    padding: 60px 0;
}

.page-arcade__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px;
}

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

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

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

.page-arcade__faq-answer {
    font-size: 1.05em;
    color: #666666;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding-left: 10px;
}

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

.page-arcade__cta-section {
    background-color: #003366;
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
    border-radius: 10px;
    margin: 40px auto;
    max-width: 1200px;
}

.page-arcade__cta-title {
    font-size: 3em;
    color: #FFD700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-arcade__cta-description {
    font-size: 1.4em;
    margin-bottom: 40px;
    color: #f0f0f0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-arcade__button--large {
    padding: 18px 40px;
    font-size: 1.3em;
    background-color: #FFD700;
    color: #003366;
    border: 2px solid #FFD700;
}

.page-arcade__button--large:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-3px);
}

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

@media (max-width: 768px) {
    .page-arcade__hero-section {
        padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    }
    .page-arcade__hero-container {
        padding: 30px 15px;
    }
    .page-arcade__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-arcade__hero-description {
        font-size: 1.1em;
        margin-bottom: 25px;
    }
    .page-arcade__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-arcade__button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-arcade__container {
        padding: 30px 15px;
    }
    .page-arcade__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-arcade__about-section .page-arcade__content-wrapper {
        flex-direction: column;
    }
    .page-arcade__feature-icon, .page-arcade__image, .page-arcade__game-image, .page-arcade__testimonial-avatar {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce min image size */
        min-height: 200px;
    }
    .page-arcade__feature-card, .page-arcade__step-card, .page-arcade__game-card, .page-arcade__testimonial-card {
        padding: 25px;
    }
    .page-arcade__step-title {
        font-size: 1.4em;
    }
    .page-arcade__game-title {
        font-size: 1.4em;
    }
    .page-arcade__faq-question {
        font-size: 1.1em;
    }
    .page-arcade__cta-title {
        font-size: 2em;
    }
    .page-arcade__cta-description {
        font-size: 1.1em;
    }
    /* Mobile overflow prevention */
    .page-arcade img {
        max-width: 100%;
        height: auto;
    }
    .page-arcade {
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .page-arcade__hero-title {
        font-size: 1.8em;
    }
    .page-arcade__hero-description {
        font-size: 1em;
    }
    .page-arcade__section-title {
        font-size: 1.6em;
    }
    .page-arcade__cta-title {
        font-size: 1.8em;
    }
    .page-arcade__cta-description {
        font-size: 1em;
    }
    .page-arcade__button--large {
        font-size: 1.1em;
        padding: 15px 30px;
    }
}