.page-g {
    background-color: #08160F; /* Background color */
    color: #F2FFF6; /* Main text color */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.page-g__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    overflow: hidden; /* Ensure no overflow from hero image */
}

.page-g__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for hero image */
    overflow: hidden;
    position: relative;
    margin-bottom: 40px;
}

.page-g__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-g__hero-content {
    text-align: center;
    max-width: 800px;
    position: relative;
    z-index: 1;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-g__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: bold;
    color: #F2C14E; /* Gold color for title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.7); /* Glow effect */
}

.page-g__hero-description {
    font-size: 1.2rem;
    color: #A7D9B8; /* Secondary text color */
    margin-bottom: 30px;
}

.page-g__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-g__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-g__btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    color: #2AD16F;
    border: 2px solid #2AD16F;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
}

.page-g__btn-secondary:hover {
    background-color: #2AD16F;
    color: #08160F;
}

.page-g__section {
    padding: 60px 0;
    background-color: #08160F; /* Ensure sections have background */
}

.page-g__section-title {
    font-size: 2.5rem;
    color: #F2C14E; /* Gold color for titles */
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.5);
}

.page-g__section-description {
    font-size: 1.1rem;
    color: #A7D9B8;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-g__grid-3-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-g__feature-card,
.page-g__game-card,
.page-g__step-card,
.page-g__promo-card {
    background-color: #11271B; /* Card Background */
    border: 1px solid #2E7A4E; /* Border color */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #F2FFF6;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-g__feature-card:hover,
.page-g__game-card:hover,
.page-g__step-card:hover,
.page-g__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-g__feature-icon,
.page-g__game-image,
.page-g__step-image,
.page-g__promo-image {
    width: 100%;
    max-width: 300px; /* Ensure images are not too wide in cards */
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-g__feature-title,
.page-g__game-title,
.page-g__step-title,
.page-g__promo-title {
    font-size: 1.6rem;
    color: #57E38D; /* Glow color for sub-titles */
    margin-bottom: 15px;
}

.page-g__feature-text,
.page-g__game-description,
.page-g__step-text,
.page-g__promo-text {
    font-size: 1rem;
    color: #A7D9B8; /* Secondary text color */
    flex-grow: 1; /* Allow text to take available space */
}

.page-g__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-g__center-btn {
    margin-top: 40px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.page-g__content-block {
    max-width: 900px;
    margin: 0 auto;
    color: #F2FFF6;
}

.page-g__content-block p {
    margin-bottom: 20px;
    color: #A7D9B8;
}

.page-g__sub-title {
    font-size: 1.8rem;
    color: #F2C14E; /* Gold color for sub-titles */
    margin-top: 30px;
    margin-bottom: 15px;
    text-shadow: 0 0 5px rgba(87, 227, 141, 0.3);
}

.page-g__text-block {
    color: #A7D9B8;
    margin-bottom: 20px;
}

.page-g__text-center {
    text-align: center;
}

.page-g__faq-section {
    background-color: #0A4B2C; /* Deep Green for FAQ section */
    padding: 80px 0;
}

.page-g__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-g__faq-item {
    background-color: #11271B;
    border: 1px solid #2E7A4E;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #F2FFF6;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-g__faq-item summary {
    list-style: none; /* Hide default marker */
}
.page-g__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-g__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    color: #57E38D; /* Glow color for FAQ questions */
    transition: background-color 0.3s ease;
}

.page-g__faq-question:hover {
    background-color: #1E3A2A; /* Divider color for hover */
}

.page-g__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: #F2C14E; /* Gold color for toggle */
}

.page-g__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: #A7D9B8;
    line-height: 1.8;
}

.page-g__faq-answer p {
    margin: 0;
}

.page-g__cta-bottom {
    background-color: #08160F;
    padding-top: 80px;
    padding-bottom: 80px;
    text-align: center;
}

.page-g__cta-content {
    background-color: #11271B;
    border: 1px solid #2E7A4E;
    border-radius: 10px;
    padding: 50px 30px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-g__cta-title {
    font-size: 2.2rem;
    color: #F2C14E;
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.5);
}

.page-g__cta-description {
    font-size: 1.1rem;
    color: #A7D9B8;
    margin-bottom: 40px;
}

.page-g a {
    color: #57E38D; /* Link color */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-g a:hover {
    color: #F2C14E; /* Gold color on hover */
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-g__hero-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-g__section-title {
        font-size: 2rem;
    }
    .page-g__feature-title,
    .page-g__game-title,
    .page-g__step-title,
    .page-g__promo-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .page-g__container {
        padding: 0 15px;
    }

    .page-g__hero-section {
        padding-bottom: 40px;
    }

    .page-g__hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .page-g__hero-description {
        font-size: 1rem;
    }

    .page-g__btn-primary {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .page-g__btn-secondary {
        padding: 8px 18px;
        font-size: 0.9rem;
    }

    .page-g__section {
        padding: 40px 0;
    }

    .page-g__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .page-g__section-description {
        font-size: 1rem;
    }

    .page-g__grid-2-col,
    .page-g__grid-3-col,
    .page-g__steps-grid {
        grid-template-columns: 1fr; /* Single column layout on mobile */
    }

    .page-g__feature-card,
    .page-g__game-card,
    .page-g__step-card,
    .page-g__promo-card {
        padding: 20px;
    }

    .page-g__feature-icon,
    .page-g__game-image,
    .page-g__step-image,
    .page-g__promo-image {
        max-width: 250px;
    }

    .page-g__feature-title,
    .page-g__game-title,
    .page-g__step-title,
    .page-g__promo-title {
        font-size: 1.2rem;
    }

    .page-g__sub-title {
        font-size: 1.5rem;
    }

    .page-g__faq-section {
        padding: 50px 0;
    }

    .page-g__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-g__faq-answer {
        padding: 0 20px 15px;
    }

    .page-g__cta-bottom {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .page-g__cta-content {
        padding: 30px 20px;
    }

    .page-g__cta-title {
        font-size: 1.8rem;
    }

    .page-g__cta-description {
        font-size: 1rem;
    }

    /* Mobile image responsive adaptation */
    .page-g img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* All containers with images/buttons/videos */
    .page-g__section,
    .page-g__card,
    .page-g__container,
    .page-g__hero-image-wrapper,
    .page-g__feature-card,
    .page-g__game-card,
    .page-g__step-card,
    .page-g__promo-card,
    .page-g__cta-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Video responsive adaptation - if there was a video */
    .page-g video,
    .page-g__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-g__video-section,
    .page-g__video-container,
    .page-g__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-g__video-section {
        padding-top: 10px !important;
    }

    /* Button responsive adaptation */
    .page-g__btn-primary,
    .page-g__btn-secondary,
    .page-g a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px; /* Add padding to prevent text touching edges */
        padding-right: 15px;
    }
    .page-g__cta-buttons, /* If there were button groups */
    .page-g__button-group,
    .page-g__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-g__cta-buttons {
        display: flex;
        flex-direction: column; /* Stack buttons vertically */
    }
}