.page-g {
    background-color: #F4F7FB;
    color: #1F2D3D;
}

.page-g__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 40px;
    background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%);
    color: #FFFFFF;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-g__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
}

.page-g__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.page-g__hero-content {
    max-width: 900px;
    padding: 0 20px;
    z-index: 1;
}

.page-g__hero-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
    color: #FFFFFF;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-g__hero-description {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #E0EFFF;
}

.page-g__hero-button {
    display: inline-block;
    padding: 14px 30px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-g__hero-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
}

.page-g__section {
    padding: 60px 20px;
    background-color: #FFFFFF;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-g__section:nth-child(even) {
    background-color: #F4F7FB;
}

.page-g__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-g__section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #1F2D3D;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.3;
}

.page-g__section-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #1F2D3D;
    margin-bottom: 20px;
    text-align: justify;
}

.page-g__image-wrapper {
    margin: 40px auto;
    max-width: 800px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.page-g__section-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-width: 200px; /* Ensure image is not too small */
    min-height: 200px;
}

.page-g__feature-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-g__feature-item {
    background-color: #FFFFFF;
    border: 1px solid #D6E2FF;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-g__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-g__feature-heading {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2F6BFF;
    margin-bottom: 10px;
}

.page-g__feature-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #1F2D3D;
}

.page-g__step-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.page-g__step-item {
    background-color: #F4F7FB;
    border-left: 5px solid #2F6BFF;
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-g__step-heading {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2F6BFF;
    margin-bottom: 8px;
}

.page-g__step-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #1F2D3D;
}

.page-g__cta-button {
    display: block;
    width: fit-content;
    margin: 40px auto 0;
    padding: 15px 35px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-g__cta-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
}

.page-g__responsible-gambling-section {
    background-color: #FFF3E0; /* Soft background for important info */
    border: 1px solid #FFCC80;
    color: #000000;
}

.page-g__responsible-gambling-section .page-g__section-title {
    color: #E65100;
}

.page-g__responsible-gambling-section .page-g__section-text {
    color: #000000;
}

.page-g__responsible-gambling-link {
    display: inline-block;
    margin-top: 20px;
    color: #2F6BFF;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-g__responsible-gambling-link:hover {
    color: #6FA3FF;
    text-decoration: underline;
}

.page-g__footer-cta-section {
    background: linear-gradient(135deg, #2F6BFF 0%, #6FA3FF 100%);
    color: #FFFFFF;
    text-align: center;
    padding: 60px 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.page-g__footer-cta-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.page-g__footer-cta-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #E0EFFF;
}

.page-g__footer-cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #FFFFFF;
    color: #2F6BFF;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-g__footer-cta-button:hover {
    background-color: #F0F8FF;
    color: #1A4BCC;
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-g__hero-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

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

    .page-g__section-title {
        font-size: clamp(1.6rem, 4vw, 2.2rem);
    }
}

@media (max-width: 768px) {
    .page-g__hero-section {
        padding-top: 5px;
        padding-bottom: 30px;
    }

    .page-g__hero-image-wrapper {
        margin-bottom: 15px;
    }

    .page-g__hero-image,
    .page-g__section-image {
        max-width: 100%;
        height: auto;
        min-width: 200px;
        min-height: 150px; /* Adjusted min-height for mobile if needed, but min-width 200px is key */
    }

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

    .page-g__feature-list {
        grid-template-columns: 1fr;
    }

    .page-g__hero-button,
    .page-g__cta-button,
    .page-g__footer-cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .page-g__footer-cta-section {
        padding: 40px 15px;
    }

    .page-g__footer-cta-title {
        font-size: clamp(1.8rem, 4.5vw, 2.5rem);
    }

    .page-g__footer-cta-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .page-g__hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

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

    .page-g__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .page-g__section-text {
        font-size: 0.9rem;
    }

    .page-g__feature-heading {
        font-size: 1.1rem;
    }

    .page-g__step-heading {
        font-size: 1.05rem;
    }
}