.page-index-game-features {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: #FFFFFF; /* Explicitly white background for content area if needed, though body is white */
}

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

/* Hero Section */
.page-index-game-features__hero-section {
    position: relative;
    padding: 80px 0;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    background-color: #26A9E0; /* Brand primary color for hero background */
    color: #ffffff; /* White text for dark background */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

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

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

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

/* Buttons */
.page-index-game-features__btn-primary,
.page-index-game-features__btn-secondary {
    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;
    cursor: pointer;
    box-sizing: border-box; /* Crucial for responsive buttons */
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-index-game-features__btn-primary {
    background-color: #EA7C07; /* Login color for primary action */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-index-game-features__btn-primary:hover {
    background-color: #d46a00;
    border-color: #d46a00;
}

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

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

/* Section common styles */
.page-index-game-features__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-index-game-features__section-description {
    font-size: 1.1em;
    color: #555555;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Video Section */
.page-index-game-features__intro-video-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.page-index-game-features__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin-bottom: 20px;
    border-radius: 10px;
}

.page-index-game-features__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block; /* Ensure no extra space below video */
    cursor: pointer;
}

.page-index-game-features__video-caption {
    text-align: center;
    color: #666;
    font-style: italic;
    margin-top: 10px;
}

/* Features Grid */
.page-index-game-features__features-grid {
    padding: 80px 0;
    background-color: #f8f8f8; /* Light background for contrast */
}

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

.page-index-game-features__card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
    height: 100%; /* Ensure cards have equal height */
    display: flex;
    flex-direction: column;
}

.page-index-game-features__card:hover {
    transform: translateY(-10px);
}

.page-index-game-features__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency, will be responsive */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    min-width: 200px; /* Minimum size for content images */
    min-height: 200px; /* Minimum size for content images */
}

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

.page-index-game-features__card-text {
    font-size: 1em;
    color: #555555;
    flex-grow: 1; /* Allow text to grow and push button to bottom if applicable */
}

/* Game Showcase */
.page-index-game-features__game-showcase {
    padding: 80px 0;
    background-color: #26A9E0; /* Dark background */
    color: #ffffff;
}

.page-index-game-features__game-showcase .page-index-game-features__section-title {
    color: #ffffff;
}

.page-index-game-features__game-showcase .page-index-game-features__section-description {
    color: #f0f0f0;
}

.page-index-game-features__game-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-index-game-features__game-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: #333333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.page-index-game-features__game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-index-game-features__game-card-image {
    width: 100%;
    height: 180px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    min-width: 200px; /* Minimum size for content images */
    min-height: 200px; /* Minimum size for content images */
}

.page-index-game-features__game-card-title {
    font-size: 1.3em;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-index-game-features__game-card-text {
    font-size: 0.95em;
    color: #555555;
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-index-game-features__game-card-link {
    display: block;
    color: #EA7C07;
    font-weight: bold;
    margin-top: 10px;
}

.page-index-game-features__game-card-link:hover {
    text-decoration: underline;
}

.page-index-game-features__game-showcase .page-index-game-features__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Benefits Section */
.page-index-game-features__benefits-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

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

.page-index-game-features__benefit-item {
    background-color: #f8f8f8;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-index-game-features__benefit-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 0 auto 20px auto;
    min-width: 200px; /* Minimum size for content images */
    min-height: 200px; /* Minimum size for content images */
}

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

.page-index-game-features__benefit-text {
    font-size: 1em;
    color: #555555;
    flex-grow: 1;
}

/* Getting Started Section */
.page-index-game-features__getting-started {
    padding: 80px 0;
    background-color: #26A9E0;
    color: #ffffff;
}

.page-index-game-features__getting-started .page-index-game-features__section-title {
    color: #ffffff;
}

.page-index-game-features__getting-started .page-index-game-features__section-description {
    color: #f0f0f0;
}

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

.page-index-game-features__step-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-index-game-features__step-image {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 20px;
    min-width: 200px; /* Minimum size for content images */
    min-height: 200px; /* Minimum size for content images */
}

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

.page-index-game-features__step-text {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

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

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

.page-index-game-features__faq-item {
    background-color: #ffffff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.page-index-game-features__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1em;
    color: #26A9E0;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-index-game-features__faq-question:hover {
    background-color: #e0f2f7;
}

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