.page-g {
    font-family: 'Arial', sans-serif;
    color: #1F2D3D; /* Text Main */
    background-color: #F4F7FB; /* Background */
    line-height: 1.6;
}

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

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

.page-g__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.page-g__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Aspect ratio 16:9 for 1200 width */
    overflow: hidden;
}

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

.page-g__hero-content {
    position: relative;
    z-index: 10;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -80px; /* Pull content slightly over image for visual flow */
    background: #FFFFFF; /* Card BG */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-20px);
}

.page-g__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: #2F6BFF; /* Main Color */
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.page-g__description {
    font-size: 1.1rem;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-g__btn-primary,
.page-g__btn-secondary,
.page-g__btn-tertiary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
}

.page-g__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button Color */
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

.page-g__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 107, 255, 0.6);
}

.page-g__btn-secondary {
    background: #ffffff; /* Card BG */
    color: #2F6BFF; /* Main Color */
    border: 2px solid #2F6BFF; /* Main Color */
    box-shadow: 0 4px 15px rgba(111, 163, 255, 0.2);
}

.page-g__btn-secondary:hover {
    background: #2F6BFF; /* Main Color */
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(111, 163, 255, 0.4);
}

.page-g__btn-tertiary {
    background: transparent;
    color: #2F6BFF; /* Main Color */
    border: 1px solid #2F6BFF; /* Main Color */
    padding: 10px 20px;
    font-size: 0.9rem;
}

.page-g__btn-tertiary:hover {
    background: #2F6BFF;
    color: #ffffff;
}

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

.page-g__light-bg {
    background-color: #F4F7FB; /* Background */
    color: #1F2D3D; /* Text Main */
}

.page-g__dark-section {
    background-color: #2F6BFF; /* Main Color */
    color: #ffffff;
}

.page-g__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    color: #2F6BFF; /* Main Color */
}

.page-g__section-title--white {
    color: #ffffff;
}

.page-g__section-description {
    font-size: 1rem;
    line-height: 1.7;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #1F2D3D; /* Text Main */
}

.page-g__section-description--white {
    color: #ffffff;
}

.page-g__features-grid,
.page-g__cockfighting-types-grid,
.page-g__steps-grid,
.page-g__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-g__card {
    background: #FFFFFF; /* Card BG */
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #D6E2FF; /* Border */
}

.page-g__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-g__feature-icon,
.page-g__step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px auto;
    display: block;
}

.page-g__card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2F6BFF; /* Main Color */
}

.page-g__card-title--dark {
    color: #1F2D3D; /* Text Main */
}

.page-g__card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #1F2D3D; /* Text Main */
}

.page-g__type-image,
.page-g__promo-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    object-fit: cover;
}

.page-g__strategy-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 900px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.page-g__strategy-item {
    text-align: left;
    background: #FFFFFF;
    color: #1F2D3D;
}

.page-g__strategy-item .page-g__card-title {
    color: #1F2D3D; /* Text Main */
    text-align: left;
}

.page-g__strategy-item p {
    text-align: left;
}

.page-g__cta-full-width {
    text-align: center;
    margin-top: 50px;
}

/* FAQ Styles */
.page-g__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
    display: grid;
    gap: 15px;
}

.page-g__faq-item {
    background: #FFFFFF; /* Card BG */
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #D6E2FF; /* Border */
    overflow: hidden;
    color: #1F2D3D; /* Text Main */
    text-align: left;
}

.page-g__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1F2D3D; /* Text Main */
    cursor: pointer;
    list-style: none;
    outline: none;
    transition: background-color 0.3s ease;
}

.page-g__faq-item summary:hover {
    background-color: #F4F7FB; /* Background */
}

.page-g__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-g__faq-qtext {
    flex-grow: 1;
    color: #1F2D3D;
}

.page-g__faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    width: 24px;
    text-align: center;
    color: #2F6BFF;
}

.page-g__faq-item[open] .page-g__faq-toggle {
    content: '−';
}

.page-g__faq-answer {
    padding: 15px 25px 25px 25px;
    font-size: 1rem;
    line-height: 1.7;
    color: #1F2D3D; /* Text Main */
    border-top: 1px solid #D6E2FF;
}

.page-g__faq-answer p {
    margin-bottom: 15px;
}

.page-g__faq-answer .page-g__btn-tertiary {
    margin-top: 10px;
}

.page-g__conclusion .page-g__section-description {
    margin-bottom: 30px;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-g__hero-content {
        margin-top: -60px;
        padding: 30px 20px;
    }

    .page-g__main-title {
        font-size: clamp(2rem, 4vw, 3rem);
    }

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

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

    .page-g__features-grid,
    .page-g__cockfighting-types-grid,
    .page-g__steps-grid,
    .page-g__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .page-g__card {
        padding: 25px;
    }

    .page-g__card-title {
        font-size: 1.2rem;
    }

    .page-g__btn-primary,
    .page-g__btn-secondary,
    .page-g__btn-tertiary {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
}

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

    .page-g__hero-section {
        padding-top: 10px !important; /* Small top padding, body handles header offset */
        flex-direction: column;
    }

    .page-g__hero-image-wrapper {
        max-height: 400px;
    }

    .page-g__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-g__hero-content {
        margin-top: -40px;
        padding: 25px 15px;
        border-radius: 8px;
        transform: translateY(-10px);
        max-width: 95%;
        box-sizing: border-box;
    }

    .page-g__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 10px;
    }

    .page-g__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-g__cta-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }

    .page-g__btn-primary,
    .page-g__btn-secondary,
    .page-g__btn-tertiary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 0.95rem;
    }

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

    .page-g__container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .page-g__section-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
        margin-bottom: 15px;
    }

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

    .page-g__features-grid,
    .page-g__cockfighting-types-grid,
    .page-g__steps-grid,
    .page-g__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .page-g__card {
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .page-g__feature-icon,
    .page-g__step-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }

    .page-g__card-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .page-g__card p {
        font-size: 0.9rem;
    }

    .page-g img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }

    .page-g__type-image,
    .page-g__promo-image {
        margin-bottom: 15px;
    }

    .page-g__strategy-list {
        gap: 15px;
    }

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

    .page-g__faq-answer {
        padding: 10px 20px 20px 20px;
        font-size: 0.95rem;
    }

    .page-g__faq-toggle {
        font-size: 1.2rem;
    }

    .page-g__cta-full-width {
        margin-top: 30px;
    }
}