/* style/arcade.css */

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

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

.page-arcade__container--center {
    text-align: center;
}

/* Hero Section */
.page-arcade__hero-section {
    position: relative;
    overflow: hidden;
    background-color: #1A1A1A; /* Dark background for hero */
    padding: 80px 20px;
    text-align: center;
    color: #f0f0f0; /* Light text for dark hero background */
    display: flex; /* For centering content */
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Ensure hero section has a minimum height */
}

.page-arcade__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.page-arcade__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Make it a subtle background image */
    display: block;
}

.page-arcade__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.page-arcade__hero-title {
    font-size: 3.5em;
    color: #FFD700; /* Gold for main title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-arcade__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Buttons */
.page-arcade__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

.page-arcade__btn--primary {
    background-color: #FFD700; /* Gold background */
    color: #1A1A1A; /* Dark text */
    border: 2px solid #FFD700;
}

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

.page-arcade__btn--secondary {
    background-color: #1A1A1A; /* Dark background */
    color: #FFD700; /* Gold text */
    border: 2px solid #1A1A1A;
}

.page-arcade__btn--secondary:hover {
    background-color: #333333; /* Slightly lighter dark on hover */
    border-color: #333333;
    color: #FFD700;
    transform: translateY(-2px);
}

.page-arcade__btn--small {
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 30px;
}

/* Section Titles and Intros */
.page-arcade__section-title {
    font-size: 2.5em;
    color: #1A1A1A;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

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

/* Feature Grid */
.page-arcade__features-grid,
.page-arcade__game-grid,
.page-arcade__advantages-grid,
.page-arcade__steps-grid,
.page-arcade__promo-grid,
.page-arcade__security-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* Cards */
.page-arcade__feature-card,
.page-arcade__game-card,
.page-arcade__promo-card,
.page-arcade__step-card,
.page-arcade__advantage-item,
.page-arcade__security-item {
    background-color: #ffffff; /* Light background for cards */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-arcade__feature-card img,
.page-arcade__game-card img,
.page-arcade__promo-card img,
.page-arcade__mobile-showcase img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-height: 200px; /* Minimum image size */
}

.page-arcade__card-title,
.page-arcade__step-title,
.page-arcade__advantage-title,
.page-arcade__security-title {
    font-size: 1.5em;
    color: #1A1A1A;
    margin-bottom: 15px;
}

.page-arcade__card-description,
.page-arcade__step-description,
.page-arcade__advantage-description,
.page-arcade__security-description {
    font-size: 1em;
    color: #666666;
    flex-grow: 1; /* Allow description to take up available space */
    margin-bottom: 20px;
}

/* Full Width CTA */
.page-arcade__cta-full-width {
    background-color: #1A1A1A;
    color: #f0f0f0;
    padding: 40px 20px;
    text-align: center;
    border-radius: 10px;
    margin: 40px auto;
    max-width: 1000px;
}

.page-arcade__cta-text {
    font-size: 1.4em;
    margin-bottom: 25px;
    line-height: 1.4;
}

/* Mobile Showcase */
.page-arcade__mobile-showcase {
    text-align: center;
    margin-bottom: 60px;
}

.page-arcade__mobile-showcase img {
    max-width: 800px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    min-height: 200px; /* Minimum image size */
}

/* FAQ Section */
.page-arcade__faq-item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 25px 30px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-arcade__faq-question {
    font-size: 1.3em;
    color: #1A1A1A; /* Dark text for FAQ questions */
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
    font-weight: bold; /* Added for emphasis and better readability */
}

.page-arcade__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2em;
    color: #FFD700; /* Gold icon */
}

.page-arcade__faq-question.active::after {
    content: '-';
    color: #FFD700; /* Gold icon */
}

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

.page-arcade__faq-question.active + .page-arcade__faq-answer {
    display: block;
}


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

@media (max-width: 768px) {
    .page-arcade {
        padding-top: var(--header-offset, 80px); /* Adjust padding for smaller header on mobile */
    }
    .page-arcade__hero-section {
        padding: 60px 15px;
        min-height: 400px;
    }
    .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__btn {
        width: 100%;
        max-width: 300px;
    }
    .page-arcade__section-title {
        font-size: 1.8em;
    }
    .page-arcade__section-intro {
        font-size: 0.95em;
        margin-bottom: 40px;
    }
    .page-arcade__features-grid,
    .page-arcade__game-grid,
    .page-arcade__advantages-grid,
    .page-arcade__steps-grid,
    .page-arcade__promo-grid,
    .page-arcade__security-points {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-arcade__feature-card img,
    .page-arcade__game-card img,
    .page-arcade__promo-card img,
    .page-arcade__mobile-showcase img {
        max-width: 100%; /* Ensure images don't overflow */
        height: auto;
        min-height: 200px; /* Minimum image size */
    }
    /* Ensure content area images do not cause horizontal scroll */
    .page-arcade img {
        max-width: 100%;
        height: auto;
    }
    .page-arcade__cta-full-width {
        padding: 30px 15px;
    }
    .page-arcade__cta-text {
        font-size: 1.2em;
    }
    .page-arcade__card-title,
    .page-arcade__step-title,
    .page-arcade__advantage-title,
    .page-arcade__security-title {
        font-size: 1.3em;
    }
    .page-arcade__faq-question {
        font-size: 1.1em;
    }
}