/* style/arcade.css */

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

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

/* Hero Section */
.page-arcade__hero-section {
    background-color: #000000; /* Dark background for hero */
    color: #FFFFFF; /* Light text on dark background */
    text-align: center;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.page-arcade__hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-arcade__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FCBC45; /* Login button color for emphasis */
}

.page-arcade__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
}

.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;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
}

.page-arcade__button--primary {
    background-color: #FCBC45; /* Login button color */
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-arcade__button--primary:hover {
    background-color: #e0a53b;
    border-color: #e0a53b;
}

.page-arcade__button--secondary {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.page-arcade__button--secondary:hover {
    background-color: #FFFFFF;
    color: #000000;
}

.page-arcade__button--small {
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 6px;
    background-color: #000000;
    color: #FCBC45;
    border: 2px solid #FCBC45;
}

.page-arcade__button--small:hover {
    background-color: #FCBC45;
    color: #000000;
}

.page-arcade__hero-image {
    width: 100%;
    max-width: 1000px; /* Adjust based on desired hero image display size */
    margin-top: 40px;
}

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

/* General Section Styling */
.page-arcade__features-section,
.page-arcade__game-categories,
.page-arcade__how-to-start,
.page-arcade__promo-banner,
.page-arcade__responsible-gaming,
.page-arcade__faq-section,
.page-arcade__cta-final {
    padding: 60px 0;
    background-color: #FFFFFF; /* Light background for content sections */
}

.page-arcade__section-title {
    font-size: 2.8em;
    color: #000000;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

/* Features Section */
.page-arcade__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-arcade__feature-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

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

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

.page-arcade__feature-card-description {
    color: #666666;
}

.page-arcade__cta-area {
    text-align: center;
    margin-top: 60px;
}

/* Game Categories Section */
.page-arcade__category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-arcade__category-card {
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-arcade__category-card:hover {
    transform: translateY(-5px);
}

.page-arcade__category-card img {
    width: 100%;
    height: 250px; /* Fixed height for consistent card appearance */
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

.page-arcade__category-card-title {
    font-size: 1.8em;
    color: #000000;
    margin-bottom: 15px;
    padding: 0 20px;
}

.page-arcade__category-card-description {
    color: #666666;
    padding: 0 20px 20px;
}

/* How to Start Section */
.page-arcade__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-arcade__step-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    padding-top: 60px; /* Space for number */
}

.page-arcade__step-number {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #FCBC45;
    color: #000000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    border: 2px solid #000000;
}

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

.page-arcade__step-description {
    color: #666666;
    margin-bottom: 20px;
}

/* Promotion Banner */
.page-arcade__promo-banner {
    background-color: #000000;
    color: #FFFFFF;
    text-align: center;
    padding: 80px 20px;
}

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

.page-arcade__promo-description {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 40px;
}

.page-arcade__promo-image {
    width: 100%;
    max-width: 1000px;
    margin: 40px auto;
}

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

/* Responsible Gaming Section */
.page-arcade__responsible-gaming {
    background-color: #f0f0f0;
}

.page-arcade__responsible-gaming-text {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
    color: #666666;
}

/* FAQ Section */
.page-arcade__faq-section {
    background-color: #FFFFFF;
}

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

.page-arcade__faq-question {
    font-size: 1.4em;
    color: #000000;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-arcade__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

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

.page-arcade__faq-answer {
    color: #666666;
    display: none; /* Hidden by default, toggled by JS */
    padding-top: 10px;
    border-top: 1px solid #eee;
    margin-top: 10px;
}

/* Final CTA Section */
.page-arcade__cta-final {
    background-color: #000000;
    color: #FFFFFF;
    text-align: center;
    padding: 80px 20px;
}

.page-arcade__cta-final-title {
    font-size: 3em;
    color: #FCBC45;
    margin-bottom: 20px;
}

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

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

@media (max-width: 768px) {
    .page-arcade {
        padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
    }
    .page-arcade__hero-section {
        padding: 60px 15px;
        gap: 30px;
    }
    .page-arcade__hero-title {
        font-size: 2.5em;
    }
    .page-arcade__hero-description {
        font-size: 1em;
    }
    .page-arcade__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-arcade__button {
        width: 100%;
        max-width: 300px; /* Limit button width on mobile */
    }

    .page-arcade__container {
        padding: 0 15px;
    }

    .page-arcade__section-title {
        font-size: 1.8em;
    }
    .page-arcade__section-intro {
        font-size: 1em;
    }

    .page-arcade__feature-grid,
    .page-arcade__category-grid,
    .page-arcade__steps-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-arcade__category-card img {
        height: 200px; /* Adjust image height for mobile cards */
    }

    .page-arcade__promo-banner {
        padding: 60px 15px;
    }
    .page-arcade__promo-title {
        font-size: 1.8em;
    }
    .page-arcade__promo-description {
        font-size: 1em;
    }

    .page-arcade__cta-final {
        padding: 60px 15px;
    }
    .page-arcade__cta-final-title {
        font-size: 2em;
    }
    .page-arcade__cta-final-description {
        font-size: 1em;
    }

    /* Crucial: Mobile content images must not overflow */
    .page-arcade img {
        max-width: 100%;
        height: auto;
    }

    /* Ensure images within specific content areas are also responsive */
    .page-arcade__category-card img,
    .page-arcade__promo-image img,
    .page-arcade__hero-image img {
        max-width: 100%;
        height: auto;
    }
}

/* Ensure all images within .page-arcade are at least 200px where not explicitly smaller for logos etc. */
/* This rule is for content images, not header/footer icons managed by shared */
.page-arcade img {
    min-width: 200px; /* Enforce minimum width for content images */
    min-height: 200px; /* Enforce minimum height for content images */
    object-fit: cover; /* Ensure images fill their space without distortion */
}

/* Override min-width/height for hero image specifically to allow it to be larger */
.page-arcade__hero-image img {
    min-width: unset;
    min-height: unset;
}
.page-arcade__promo-image img {
    min-width: unset;
    min-height: unset;
}
/* For category cards, the height is fixed at 250px, which is > 200px. Width is 100% of card, which is min 320px */

/* FAQ toggle functionality - JS will handle display:none/block */
/* No specific styles here, just ensuring initial state is hidden */

/* No filter properties for images */
/* No global selectors, no descendant selectors */