/* style/index-game-features.css */

/* Base styles for the page content */
.page-index-game-features {
    font-family: 'Arial', sans-serif;
    color: #ffffff; /* Light text for dark body background */
    background-color: #121212; /* Inherited from body or set explicitly if needed */
    line-height: 1.6;
}

.page-index-game-features__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Section titles */
.page-index-game-features__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand primary color for titles */
    text-align: center;
    margin-bottom: 30px;
    padding-top: 40px;
    font-weight: bold;
}

.page-index-game-features__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: #f0f0f0; /* Slightly off-white for description */
}

/* Buttons */
.page-index-game-features__btn-primary,
.page-index-game-features__btn-secondary,
.page-index-game-features__btn-tertiary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Ensure padding is included in width */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
}

.page-index-game-features__btn-primary {
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-index-game-features__btn-primary:hover {
    background-color: #1e87b8; /* Slightly darker primary on hover */
    border-color: #1e87b8;
}

.page-index-game-features__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-index-game-features__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-index-game-features__btn-tertiary {
    background-color: #EA7C07; /* Login color for tertiary, e.g., "Learn More" */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-index-game-features__btn-tertiary:hover {
    background-color: #c96806;
    border-color: #c96806;
}

/* Hero Section */
.page-index-game-features__hero-section {
    position: relative;
    width: 100%;
    height: 70vh; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    box-sizing: border-box;
}

.page-index-game-features__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-index-game-features__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

.page-index-game-features__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 0 20px;
}

.page-index-game-features__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
}

.page-index-game-features__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.page-index-game-features__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Overview Section */
.page-index-game-features__overview-section {
    padding: 80px 0;
    background-color: #1a1a1a; /* Slightly lighter dark background */
}

.page-index-game-features__overview-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-index-game-features__overview-text {
    flex: 1;
    color: #f0f0f0;
}

.page-index-game-features__overview-text p {
    margin-bottom: 20px;
    font-size: 1.05em;
}

.page-index-game-features__overview-image {
    flex: 1;
    max-width: 50%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

/* Features Section */
.page-index-game-features__features-section {
    padding: 80px 0;
    background-color: #121212;
}

.page-index-game-features__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-index-game-features__feature-card {
    background-color: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #f0f0f0;
    display: flex;
    flex-direction: column;
}

.page-index-game-features__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

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

.page-index-game-features__feature-title {
    font-size: 1.6em;
    color: #26A9E0;
    padding: 20px 20px 10px 20px;
    font-weight: bold;
}

.page-index-game-features__feature-title a {
    color: #26A9E0;
    text-decoration: none;
}

.page-index-game-features__feature-title a:hover {
    text-decoration: underline;
}

.page-index-game-features__feature-text {
    padding: 0 20px 20px 20px;
    font-size: 1em;
    flex-grow: 1; /* Make text content fill available space */
}

/* Technology & UX Section */
.page-index-game-features__tech-ux-section {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.page-index-game-features__tech-ux-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-index-game-features__tech-ux-item {
    background-color: #222222; /* Darker background for tech items */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: #f0f0f0;
}

.page-index-game-features__tech-ux-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index-game-features__tech-ux-text {
    font-size: 1em;
}

/* Promotions Section */
.page-index-game-features__promotions-section {
    padding: 80px 0;
    background-color: #121212;
}

.page-index-game-features__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-index-game-features__promotion-card {
    background-color: #1a1a1a;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #f0f0f0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-index-game-features__promotion-title {
    font-size: 1.6em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index-game-features__promotion-text {
    font-size: 1em;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* FAQ Section */
.page-index-game-features__faq-section {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.page-index-game-features__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-index-game-features__faq-item {
    background-color: #222222;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #f0f0f0;
}

.page-index-game-features__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: #26A9E0; /* Brand color for question background */
    color: #ffffff; /* White text for contrast */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index-game-features__faq-qtext {
    flex-grow: 1;
}

.page-index-game-features__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-index-game-features__faq-item[open] .page-index-game-features__faq-toggle {
    transform: rotate(45deg); /* Rotate + to become X or similar */
}

.page-index-game-features__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    background-color: #1a1a1a; /* Darker background for answer */
    color: #f0f0f0;
}

.page-index-game-features__faq-answer p {
    margin-bottom: 10px;
}

.page-index-game-features__faq-answer a {
    color: #26A9E0;
    text-decoration: underline;
}

/* Hide default details marker */
.page-index-game-features__faq-item > summary {
    list-style: none;
}
.page-index-game-features__faq-item > summary::-webkit-details-marker {
    display: none;
}


/* CTA Section */
.page-index-game-features__cta-section {
    padding: 80px 0;
    background-color: #26A9E0; /* Brand primary color for CTA background */
    text-align: center;
    color: #ffffff;
}

.page-index-game-features__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
}

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