/* style/arcade.css */

/* Base styles for the arcade page */
.page-arcade {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light background */
    background-color: #FFFFFF; /* Explicitly setting background to white */
    padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
}

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

.page-arcade__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-arcade__text-content {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-arcade__text-link {
    color: #FCBC45; /* Gold color for links */
    text-decoration: none;
    font-weight: bold;
}

.page-arcade__text-link:hover {
    text-decoration: underline;
}

/* Buttons */
.page-arcade__button--primary {
    display: inline-block;
    background-color: #FCBC45; /* Login button color */
    color: #000000;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-arcade__button--primary:hover {
    background-color: #e0a53b; /* Slightly darker gold */
    transform: translateY(-2px);
}

.page-arcade__button--secondary {
    display: inline-block;
    background-color: #000000; /* Main color */
    color: #FFFFFF;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-arcade__button--secondary:hover {
    background-color: #333333; /* Slightly lighter black */
    transform: translateY(-2px);
}


/* Hero Section */
.page-arcade__hero-section {
    position: relative;
    padding: 80px 20px 60px; /* Adjusted padding to ensure text is visible */
    text-align: center;
    overflow: hidden; /* To contain the image */
    background-color: #000000; /* Dark background for hero text contrast */
    color: #FFFFFF; /* White text for dark background */
}

.page-arcade__hero-container {
    position: relative;
    z-index: 2; /* Ensures text is above image if image is positioned */
    max-width: 900px;
    margin: 0 auto;
}

.page-arcade__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FCBC45; /* Gold for main title */
}

.page-arcade__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    line-height: 1.5;
    color: #f0f0f0;
}

.page-arcade__hero-cta {
    margin-top: 20px;
}

.page-arcade__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.3; /* Subtle background image */
}

/* About Section */
.page-arcade__about-section {
    padding: 60px 0;
    background-color: #FFFFFF;
}

/* Featured Games Section */
.page-arcade__featured-games-section {
    padding: 60px 0;
    background-color: #f5f5f5; /* Light grey background */
}

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

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

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

.page-arcade__game-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency, will be object-fit */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-arcade__game-title {
    font-size: 1.8em;
    color: #000000;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-arcade__game-description {
    font-size: 1em;
    color: #555555;
    margin-bottom: 25px;
    text-align: justify;
}

.page-arcade__game-cta {
    width: auto;
}

/* Why Choose Section */
.page-arcade__why-choose-section {
    padding: 60px 0;
    background-color: #FFFFFF;
}

.page-arcade__feature-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.page-arcade__feature-item {
    background-color: #f9f9f9;
    padding: 20px;
    border-left: 5px solid #FCBC45;
    border-radius: 8px;
    font-size: 1.1em;
    color: #333333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-arcade__feature-item strong {
    color: #000000;
}

.page-arcade__cta-button {
    margin-top: 40px;
    text-align: center;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* Getting Started Section */
.page-arcade__getting-started-section {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.page-arcade__steps-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
    margin-top: 30px;
}

.page-arcade__step-item {
    counter-increment: step-counter;
    background-color: #FFFFFF;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    font-size: 1.1em;
    color: #333333;
}

.page-arcade__step-item::before {
    content: counter(step-counter);
    font-size: 1.8em;
    font-weight: bold;
    color: #FCBC45;
    margin-right: 15px;
    flex-shrink: 0;
    line-height: 1;
}

.page-arcade__step-item strong {
    color: #000000;
    display: block;
    margin-bottom: 5px;
}

/* Strategy Section */
.page-arcade__strategy-section {
    padding: 60px 0;
    background-color: #FFFFFF;
}

.page-arcade__strategy-subtitle {
    font-size: 2em;
    color: #000000;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

/* Testimonials Section */
.page-arcade__testimonials-section {
    padding: 60px 0;
    background-color: #f5f5f5;
}

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

.page-arcade__testimonial-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    font-style: italic;
    color: #555555;
}

.page-arcade__testimonial-text {
    font-size: 1.1em;
    margin-bottom: 20px;
}

.page-arcade__testimonial-author {
    display: block;
    font-style: normal;
    font-weight: bold;
    color: #000000;
    margin-top: 15px;
}


/* 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, 120px); /* Mobile header offset */
    }

    /* Enforce responsive image behavior for mobile */
    .page-arcade__container img,
    .page-arcade__game-card img,
    .page-arcade__hero-section img {
        max-width: 100%;
        height: auto;
    }

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

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

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

    .page-arcade__game-grid {
        grid-template-columns: 1fr;
    }

    .page-arcade__feature-list,
    .page-arcade__testimonial-grid {
        grid-template-columns: 1fr;
    }

    .page-arcade__step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .page-arcade__step-item::before {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .page-arcade__hero-title {
        font-size: 2em;
    }
    .page-arcade__hero-description {
        font-size: 1em;
    }
    .page-arcade__button--primary,
    .page-arcade__button--secondary {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-arcade__section-title {
        font-size: 1.5em;
    }
    .page-arcade__game-title {
        font-size: 1.5em;
    }
    .page-arcade__strategy-subtitle {
        font-size: 1.5em;
    }
}

/* Ensure content images meet minimum size requirements */
.page-arcade img:not(.page-arcade__hero-image) { /* Exclude hero image from this specific rule if it's purely background */
    min-width: 200px;
    min-height: 200px;
}

/* Ensure no filter is used on images */
.page-arcade img {
    filter: none;
}