/* style/arcade.css */

/* Base styles for the arcade page content */
.page-arcade {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text on light background */
    background-color: #FFFFFF; /* White background */
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    overflow-x: hidden; /* Prevent horizontal scroll on main content */
}

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

/* Section Titles and Descriptions */
.page-arcade__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

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

/* Buttons */
.page-arcade__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    border: none;
    min-width: 150px; /* Ensure buttons are not too small */
}

.page-arcade__btn--primary {
    background-color: #FCBC45; /* Login color */
    color: #000000;
}

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

.page-arcade__btn--secondary {
    background-color: #000000; /* Main color */
    color: #FFFFFF; /* Register color */
    border: 2px solid #000000;
    margin-left: 15px;
}

.page-arcade__btn--secondary:hover {
    background-color: #333333;
    border-color: #333333;
}

.page-arcade__btn--play,
.page-arcade__btn--promo,
.page-arcade__btn--download,
.page-arcade__btn--cta {
    background-color: #FCBC45; /* Login color */
    color: #000000;
    margin-top: 20px;
}

.page-arcade__btn--play:hover,
.page-arcade__btn--promo:hover,
.page-arcade__btn--download:hover,
.page-arcade__btn--cta:hover {
    background-color: #e0a53b;
}

.page-arcade__btn--small {
    padding: 8px 15px;
    font-size: 0.9em;
    min-width: unset;
}

.page-arcade__btn--support {
    background-color: #000000;
    color: #FFFFFF;
    margin-top: 30px;
}

.page-arcade__btn--support:hover {
    background-color: #333333;
}

/* Links */
.page-arcade__link {
    color: #FCBC45;
    text-decoration: none;
    font-weight: bold;
}

.page-arcade__link:hover {
    text-decoration: underline;
}

/* Hero Section */
.page-arcade__hero-section {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.page-arcade__hero-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.page-arcade__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Darken image for text readability */
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

.page-arcade__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    color: #FFFFFF;
}

.page-arcade__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    color: #FFFFFF;
}

.page-arcade__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.5;
}

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

/* Introduction Section */
.page-arcade__introduction-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

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

.page-arcade__feature-card {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    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-icon {
    width: 200px; /* Force display width to 200px */
    height: 200px; /* Force display height to 200px */
    object-fit: contain; /* Use contain to ensure the image fits within 200x200 without cropping */
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

.page-arcade__feature-text {
    color: #666666;
}

/* Games Showcase Section */
.page-arcade__games-showcase {
    padding: 80px 0;
}

.page-arcade__game-category {
    margin-bottom: 60px;
}

.page-arcade__game-category:last-child {
    margin-bottom: 0;
}

.page-arcade__category-title {
    font-size: 2em;
    color: #000000;
    text-align: center;
    margin-bottom: 30px;
}

.page-arcade__category-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
}

.page-arcade__game-category--reverse .page-arcade__category-content {
    flex-direction: row-reverse;
}

.page-arcade__category-image {
    flex: 1;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
    object-fit: cover;
}

.page-arcade__category-text {
    flex: 1;
    font-size: 1.1em;
    color: #444444;
}

/* How to Play Section */
.page-arcade__how-to-play {
    padding: 80px 0;
    background-color: #f8f8f8;
}

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

.page-arcade__step-card {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.page-arcade__step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background-color: #FCBC45;
    color: #000000;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
}

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

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

/* Promotions Section */
.page-arcade__promotions-section {
    padding: 80px 0;
}

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

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

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

.page-arcade__promo-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

.page-arcade__promo-card h3 {
    font-size: 1.5em;
    color: #000000;
    margin: 20px 20px 10px 20px;
}

.page-arcade__promo-card p {
    color: #666666;
    padding: 0 20px 20px 20px;
}

.page-arcade__promo-note {
    text-align: center;
    margin-top: 40px;
    font-size: 0.95em;
    color: #777777;
}

/* Security Section */
.page-arcade__security-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

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

.page-arcade__security-item {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.page-arcade__security-icon {
    width: 200px; /* Force display width to 200px */
    height: 200px; /* Force display height to 200px */
    object-fit: contain; /* Use contain to ensure the image fits within 200x200 without cropping */
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-arcade__security-item-title {
    font-size: 1.5em;
    color: #000000;
    margin-bottom: 10px;
}

.page-arcade__security-item-text {
    color: #666666;
}

/* Mobile Section */
.page-arcade__mobile-section {
    padding: 80px 0;
}

.page-arcade__mobile-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
}

.page-arcade__mobile-image {
    flex: 1;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
    object-fit: cover;
}

.page-arcade__mobile-text {
    flex: 1;
    font-size: 1.1em;
    color: #444444;
}

.page-arcade__mobile-features {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-arcade__mobile-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.page-arcade__mobile-feature-icon {
    color: #FCBC45;
    font-size: 1.2em;
    margin-right: 10px;
}

/* Responsible Gaming Section */
.page-arcade__responsible-gaming {
    padding: 80px 0;
    background-color: #f8f8f8;
    text-align: center;
}

.page-arcade__text {
    max-width: 800px;
    margin: 20px auto 30px auto;
    font-size: 1.1em;
    color: #444444;
}

/* FAQ Section */
.page-arcade__faq-section {
    padding: 80px 0;
}

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

.page-arcade__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-arcade__faq-question {
    font-size: 1.3em;
    color: #000000;
    padding: 20px;
    cursor: pointer;
    margin: 0;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.page-arcade__faq-question.active::after {
    content: '-';
    transform: rotate(0deg); /* No rotation for minus sign */
}


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

.page-arcade__faq-answer.active {
    max-height: 200px; /* Adjust based on expected content length */
    padding-top: 10px;
}

/* Call to Action Section */
.page-arcade__cta-section {
    padding: 80px 0;
    background-color: #000000; /* Main color */
    color: #FFFFFF;
    text-align: center;
}

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

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


/* Responsive Design */
@media (max-width: 1024px) {
    .page-arcade__hero-title {
        font-size: 2.8em;
    }
    .page-arcade__hero-description {
        font-size: 1.1em;
    }
    .page-arcade__section-title {
        font-size: 2em;
    }
    .page-arcade__category-content {
        flex-direction: column;
        text-align: center;
    }
    .page-arcade__game-category--reverse .page-arcade__category-content {
        flex-direction: column;
    }
    .page-arcade__category-image {
        margin-bottom: 30px;
    }
    .page-arcade__mobile-content {
        flex-direction: column;
        text-align: center;
    }
    .page-arcade__mobile-image {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-arcade {
        padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
    }
    .page-arcade__hero-content {
        padding: 15px;
    }
    .page-arcade__hero-title {
        font-size: 2.2em;
    }
    .page-arcade__hero-description {
        font-size: 1em;
    }
    .page-arcade__hero-actions {
        flex-direction: column;
        gap: 10px;
    }
    .page-arcade__btn--secondary {
        margin-left: 0;
    }
    .page-arcade__section-title {
        font-size: 1.8em;
    }
    .page-arcade__section-description {
        font-size: 1em;
    }
    .page-arcade__features-grid,
    .page-arcade__steps-grid,
    .page-arcade__promo-grid,
    .page-arcade__security-points {
        grid-template-columns: 1fr;
    }
    .page-arcade__category-content,
    .page-arcade__mobile-content {
        gap: 20px;
    }
    .page-arcade__promo-image {
        height: 200px;
    }
    .page-arcade__cta-title {
        font-size: 2em;
    }

    /* Ensure images do not overflow on mobile */
    .page-arcade img {
        max-width: 100%;
        height: auto;
    }

    /* Overriding specific icon sizes to meet the 200px minimum display requirement */
    .page-arcade__feature-icon,
    .page-arcade__security-icon {
        width: 200px; /* Force display width to 200px */
        height: 200px; /* Force display height to 200px */
        object-fit: contain; /* Use contain to ensure the image fits within 200x200 without cropping */
        margin-left: auto;
        margin-right: auto;
    }
}

/* Ensure all images within page-arcade maintain minimum display size as per requirement */
.page-arcade img {
    min-width: 200px;
    min-height: 200px;
}

/* No CSS filter allowed for images */
.page-arcade img {
    filter: none !important;
}