/* style/arcade.css */
.page-arcade {
    padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
    background-color: #f8f8f8; /* Light background for the page content */
    color: #333333; /* Dark text for readability on light background */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

.page-arcade__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 550px; /* Ensure hero section has a minimum height */
    box-sizing: border-box;
}

.page-arcade__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2; /* Place image behind content and overlay */
    min-width: 200px;
    min-height: 200px;
}

.page-arcade__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)); /* Darker overlay for text readability */
    z-index: -1;
}

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

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

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

.page-arcade__button {
    display: inline-block;
    background-color: #FF4500; /* Primary brand color */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-arcade__button:hover {
    background-color: #e13c00;
    transform: translateY(-2px);
}

.page-arcade__section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px 40px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-arcade__section-title {
    font-size: 2.5em;
    color: #1E90FF; /* Secondary brand color */
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.3;
}

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

.page-arcade__card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 450px; /* Ensure cards are large enough */
}

.page-arcade__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-arcade__card-image {
    width: 100%;
    height: 250px; /* Fixed height for card images */
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-arcade__card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

.page-arcade__card-title {
    font-size: 1.5em;
    color: #FF4500;
    margin-bottom: 10px;
    font-weight: bold;
    line-height: 1.3;
}

.page-arcade__card-text {
    font-size: 1em;
    color: #555;
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-arcade__card-link {
    display: inline-block;
    background-color: #1E90FF;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: auto; /* Push button to bottom */
    align-self: flex-start;
}

.page-arcade__card-link:hover {
    background-color: #1565b3;
}

.page-arcade__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-arcade__list-item {
    background-color: #f0f0f0;
    margin-bottom: 15px;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start; /* Align items to the top */
    gap: 15px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
}

.page-arcade__list-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0; /* Prevent icon from shrinking */
    min-width: 200px; /* Enforce min size for content images */
    min-height: 200px;
}

.page-arcade__list-text {
    flex-grow: 1;
    font-size: 1.1em;
    color: #333;
}

.page-arcade__numbered-list .page-arcade__list-item {
    align-items: center;
}

.page-arcade__numbered-list .page-arcade__list-item p {
    margin: 0;
}

.page-arcade__call-to-action {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background-color: #1E90FF;
    color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-arcade__call-to-action p {
    font-size: 1.5em;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-arcade__faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.page-arcade__faq-question {
    font-size: 1.3em;
    color: #1E90FF;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    padding: 10px 0;
}

.page-arcade__faq-answer {
    font-size: 1em;
    color: #555;
    margin-top: 10px;
    display: none; /* Hidden by default */
    padding-left: 10px;
}

.page-arcade__faq-question::after {
    content: '+';
    font-size: 1.5em;
    font-weight: bold;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

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

/* Responsive design for mobile */
@media (max-width: 768px) {
    .page-arcade {
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }

    .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__button {
        padding: 12px 25px;
        font-size: 1.1em;
    }

    .page-arcade__section {
        margin: 30px auto;
        padding: 20px;
    }

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

    .page-arcade__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-arcade__card {
        min-height: auto;
    }

    .page-arcade__card-image {
        height: 200px; /* Adjust height for smaller screens */
    }

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

    .page-arcade__list-icon {
        margin-bottom: 10px;
    }

    .page-arcade__faq-question {
        font-size: 1.1em;
    }

    .page-arcade__call-to-action p {
        font-size: 1.2em;
    }

    /* Ensure all images in content area are responsive and not too small */
    .page-arcade img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce min size for content images */
        min-height: 200px;
    }
}

/* Global image size enforcement for content area */
.page-arcade img {
    min-width: 200px;
    min-height: 200px;
    /* The width and height attributes in HTML will define the intended display size, 
       while max-width: 100% and height: auto ensure responsiveness. 
       These min-width/height are a safeguard against accidentally tiny images. */
}