/* style/-g.css */

:root {
    --primary-color: #0A2463;
    --secondary-color: #E3B505;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f4f7f6;
    --bg-dark: #071c40;
    --border-color: #e0e0e0;
}

.page--g {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

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

.page--g section {
    padding: 60px 0;
}

.page--g .section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page--g .section-text {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: var(--text-dark);
}

/* Hero Section */
.page--g .hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background-color: var(--bg-dark);
    overflow: hidden;
}

.page--g .hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page--g .hero-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page--g .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page--g .hero-title {
    font-size: 3.2em;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page--g .hero-description {
    font-size: 1.3em;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page--g .cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page--g .cta-button:hover {
    background: #FFD700; /* Slightly brighter gold */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.page--g .intro-section {
    background-color: var(--bg-light);
    padding-top: 80px;
}

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

.page--g .feature-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page--g .feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page--g .feature-image {
    width: 100%;
    max-width: 400px; /* Ensure images are not too small */
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page--g .feature-title {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page--g .feature-text {
    font-size: 1em;
    color: var(--text-dark);
    line-height: 1.7;
}

/* How-To-Play Section */
.page--g .how-to-play-section {
    background-color: #f0f3f6;
    padding-bottom: 80px;
}

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

.page--g .step-item {
    background: #ffffff;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    border-top: 5px solid var(--secondary-color);
}

.page--g .step-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page--g .step-description {
    font-size: 1.05em;
    color: var(--text-dark);
    margin-bottom: 25px;
    line-height: 1.7;
}

.page--g .step-button {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    transition: all 0.3s ease;
}

.page--g .step-button:hover {
    background: #06183e;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Advantages Section */
.page--g .advantages-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page--g .advantages-section .section-title {
    color: var(--secondary-color);
}

.page--g .advantages-section .section-text {
    color: #cccccc;
}

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

.page--g .advantage-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page--g .advantage-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.page--g .advantage-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page--g .advantage-title {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page--g .advantage-description {
    font-size: 1em;
    color: #e0e0e0;
}

/* Tips Section */
.page--g .tips-section {
    background-color: var(--bg-light);
    padding-bottom: 80px;
}

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

.page--g .tip-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
    border-left: 5px solid var(--primary-color);
}

.page--g .tip-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page--g .tip-description {
    font-size: 1em;
    color: var(--text-dark);
    line-height: 1.7;
}

/* FAQ Section */
.page--g .faq-section {
    background-color: #f0f3f6;
}

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

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f5f5f5;
}

.page--g .faq-q-text {
    font-size: 1.2em;
    color: var(--primary-color);
    margin: 0;
    font-weight: bold;
}

.faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #f9f9f9;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height for content */
    padding: 15px 25px 25px 25px;
    border-top: 1px solid var(--border-color);
}

.page--g .faq-a-text {
    font-size: 1.05em;
    color: var(--text-dark);
    line-height: 1.7;
    margin: 0;
}

/* Contact CTA Section */
.page--g .contact-cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--bg-dark));
    color: var(--text-light);
    text-align: center;
    padding: 80px 0;
}

.page--g .contact-cta-section .section-title {
    color: var(--secondary-color);
}

.page--g .contact-cta-section .section-text {
    color: #e0e0e0;
    margin-bottom: 40px;
}

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

.page--g .cta-button.primary {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.page--g .cta-button.primary:hover {
    background: #FFD700;
}

.page--g .cta-button.secondary {
    background: none;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.page--g .cta-button.secondary:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page--g .hero-title {
        font-size: 2.8em;
    }
    .page--g .hero-description {
        font-size: 1.15em;
    }
    .page--g .section-title {
        font-size: 2em;
    }
    .page--g .cta-button {
        padding: 15px 35px;
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page--g section {
        padding: 40px 0;
    }
    .page--g .hero-section {
        padding: 60px 15px;
    }
    .page--g .hero-title {
        font-size: 2.2em;
    }
    .page--g .hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page--g .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page--g .section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page--g .section-text {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page--g .feature-item, .page--g .step-item, .page--g .advantage-item, .page--g .tip-item {
        padding: 25px;
    }
    .page--g .feature-title, .page--g .step-title, .page--g .advantage-title, .page--g .tip-title {
        font-size: 1.4em;
    }
    .faq-question {
        padding: 15px 20px;
    }
    .page--g .faq-q-text {
        font-size: 1.1em;
    }
    .faq-toggle {
        font-size: 1.5em;
    }
    .faq-item.active .faq-answer {
        padding: 15px 20px 20px 20px;
    }
    .page--g .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .page--g .hero-title {
        font-size: 1.8em;
    }
    .page--g .hero-image {
        margin-bottom: 20px;
    }
    .page--g .hero-description {
        font-size: 0.9em;
        margin-bottom: 25px;
    }
    .page--g .cta-button {
        width: 100%;
        max-width: 280px;
    }
    .page--g .section-title {
        font-size: 1.6em;
    }
    .page--g .feature-grid, .page--g .step-list, .page--g .advantage-list, .page--g .tips-grid {
        grid-template-columns: 1fr;
    }
    .page--g .feature-image {
        height: 200px;
    }
}