/* style/arcade.css */

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

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

.page-arcade__hero-section {
    position: relative;
    padding: 80px 20px;
    text-align: center;
    overflow: hidden; /* Ensure image doesn't overflow */
    background-color: #000000; /* Dark background for hero */
    color: #FFFFFF; /* Light text for dark background */
}

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

.page-arcade__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FCBC45; /* Login button color for emphasis */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-arcade__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-arcade__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3; /* Make background image subtle */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.page-arcade__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the entire area */
    filter: brightness(0.7); /* Darken the image slightly for text contrast */
    transform: scale(1.05); /* Slightly zoom for better effect */
}

.page-arcade__button {
    display: inline-block;
    background-color: #FCBC45; /* Login button color */
    color: #000000; /* Black text for FCBC45 background */
    padding: 15px 30px;
    border-radius: 5px;
    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:hover {
    background-color: #e0a53b; /* Slightly darker yellow on hover */
    transform: translateY(-3px);
}

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

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

.page-arcade__introduction-section,
.page-arcade__featured-games,
.page-arcade__game-categories-section,
.page-arcade__strategy-section {
    padding: 40px 0;
}

.page-arcade__featured-games .page-arcade__section-description {
    margin-bottom: 50px;
}

.page-arcade__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.page-arcade__game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-arcade__game-card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #e0e0e0;
}

.page-arcade__game-card-title {
    font-size: 1.5em;
    color: #000000;
    margin: 20px 15px 10px 15px;
}

.page-arcade__game-card-title a {
    color: #000000; /* Ensure link color is dark */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-arcade__game-card-title a:hover {
    color: #FCBC45; /* Highlight on hover */
}

.page-arcade__game-card-description {
    font-size: 0.95em;
    color: #666666;
    padding: 0 15px 20px 15px;
    flex-grow: 1; /* Allow description to take available space */
}

.page-arcade__game-card-button {
    margin: 0 15px 20px 15px;
    width: auto;
}

.page-arcade__game-categories-section {
    background-color: #f8f8f8;
}

.page-arcade__category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 50px auto 0 auto;
    padding: 0 20px;
}

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

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

.page-arcade__category-description {
    font-size: 0.95em;
    color: #666666;
}

.page-arcade__why-choose-us {
    background-color: #FFFFFF;
    padding: 60px 20px;
    text-align: center;
}

.page-arcade__benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.page-arcade__benefit-item {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.page-arcade__benefit-item:hover {
    transform: translateY(-5px);
}

.page-arcade__benefit-icon {
    width: 200px; /* Min width */
    height: 150px; /* Min height */
    object-fit: cover; /* Cover for larger images */
    margin: 0 auto 20px auto; /* Center the image */
    display: block;
}

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

.page-arcade__benefit-text {
    font-size: 0.95em;
    color: #666666;
}

.page-arcade__benefits-image-wrapper {
    max-width: 800px;
    margin: 50px auto 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-arcade__benefits-image {
    width: 100%;
    height: auto;
    display: block;
}

.page-arcade__strategy-section {
    padding: 40px 0;
    background-color: #f0f0f0;
}

.page-arcade__strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 50px auto 0 auto;
    padding: 0 20px;
}

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

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

.page-arcade__strategy-text {
    font-size: 0.95em;
    color: #666666;
}

.page-arcade__faq-section {
    max-width: 1000px;
    margin: 40px auto;
    padding: 40px 20px;
}

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

.page-arcade__faq-question {
    font-size: 1.2em;
    color: #000000;
    margin-bottom: 10px;
    cursor: pointer; /* Indicate interactivity */
    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);
}