:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --bg-main: #08160F;
    --bg-card: #11271B;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

.page-g {
    font-family: 'Arial', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    padding-bottom: 60px;
}

.page-g h1, .page-g h2, .page-g h3, .page-g h4, .page-g h5, .page-g h6 {
    color: var(--text-main);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
}

.page-g__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    text-align: center;
    overflow: hidden;
}

.page-g__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-g__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken image for text readability */
    border-radius: 0;
    margin: 0;
}

.page-g__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    color: #ffffff;
}

.page-g__hero-title {
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive H1 size */
}

.page-g__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-g__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-g__btn-primary {
    display: inline-block;
    padding: 14px 30px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-g__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--glow-color);
}

.page-g__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    border: 2px solid var(--primary-color);
    cursor: pointer;
}

.page-g__btn-secondary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

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

.page-g__section-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: clamp(1.8em, 4vw, 2.8em);
    color: var(--text-main);
}

.page-g__section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 1.1em;
    color: var(--text-secondary);
}

.page-g__intro-section, .page-g__how-to-play-section, .page-g__promotions-section, .page-g__faq-section {
    padding: 80px 0;
}

.page-g__dark-section {
    background-color: var(--deep-green);
    color: var(--text-main);
}

.page-g__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    margin: 40px auto;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.page-g__features-section {
    padding: 80px 0;
    background-color: var(--bg-main);
}

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

.page-g__feature-card.page-g__card {
    background-color: var(--bg-card);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    text-align: center;
}

.page-g__card-title {
    color: var(--gold-color);
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 1.4em;
}

.page-g__card-description {
    color: var(--text-secondary);
    font-size: 1em;
}

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

.page-g__step-card.page-g__card {
    background-color: var(--bg-card);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-g__step-icon {
    background: var(--button-gradient);
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-g__video-section {
    padding: 80px 0;
    background-color: var(--bg-main);
    text-align: center;
}

.page-g__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    width: 100%; /* Ensure width is 100% for desktop */
    background: var(--bg-card);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    margin: 40px auto;
}

.page-g__video, .page-g__video-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 12px;
}

.page-g__video-link {
    display: block;
    cursor: pointer;
}

.page-g__video-caption {
    font-style: italic;
    color: var(--text-secondary);
    margin-top: 10px;
}

.page-g__promotion-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-g__promotion-card.page-g__card {
    background-color: var(--bg-card);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-g__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-g__promotion-card .page-g__btn-secondary {
    margin-top: 20px;
}

.page-g__responsible-gambling-section {
    padding: 80px 0;
    background-color: var(--bg-main);
    text-align: center;
}

.page-g__responsible-gambling-section .page-g__btn-primary {
    margin-top: 30px;
}

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

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

.page-g__faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-g__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: var(--deep-green);
    color: var(--text-main);
    font-weight: bold;
    cursor: pointer;
    border-bottom: 1px solid var(--divider-color);
    font-size: 1.1em;
}

.page-g__faq-question::-webkit-details-marker, 
.page-g__faq-question::marker {
    display: none;
}

.page-g__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.2s ease;
}

.page-g__faq-item[open] .page-g__faq-toggle {
    transform: rotate(45deg);
}

.page-g__faq-answer {
    padding: 20px 25px;
    color: var(--text-secondary);
    background-color: var(--bg-card);
    font-size: 1em;
    border-top: 1px solid var(--divider-color);
}

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

.page-g__cta-final-section {
    padding: 80px 0;
    background-color: var(--deep-green);
    text-align: center;
}

.page-g__cta-final-section .page-g__cta-buttons {
    margin-top: 40px;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .page-g {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-g__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }

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

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

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

    .page-g__section-description {
        font-size: 0.95em;
    }

    .page-g__container {
        padding: 0 15px;
    }

    .page-g img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }

    .page-g__intro-section, .page-g__features-section, .page-g__how-to-play-section, .page-g__video-section, .page-g__promotions-section, .page-g__responsible-gambling-section, .page-g__faq-section, .page-g__cta-final-section {
        padding: 40px 0;
    }

    .page-g__section,
    .page-g__card,
    .page-g__container,
    .page-g__grid-layout,
    .page-g__steps-container,
    .page-g__promotion-cards,
    .page-g__video-section,
    .page-g__video-container,
    .page-g__video-wrapper,
    .page-g__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-g__cta-button,
    .page-g__btn-primary,
    .page-g__btn-secondary,
    .page-g a[class*="button"],
    .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;
        padding-right: 15px;
        margin-bottom: 10px; /* Space between stacked buttons */
    }

    .page-g__cta-buttons {
        flex-direction: column;
        gap: 10px;
        display: flex;
    }

    .page-g__grid-layout,
    .page-g__steps-container,
    .page-g__promotion-cards {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .page-g__video-section {
        padding-top: 10px !important;
    }

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

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