/* style/-g.css */
:root {
    --primary-color: #0A2038;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f4f7f6;
    --bg-dark: #071424;
    --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;
    text-align: center;
}

.page--g section:nth-of-type(even) {
    background-color: #e9ecef;
}

.page--g h1,
.page--g h2,
.page--g h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.page--g h1 {
    font-size: 3.2em;
    color: var(--text-light);
}

.page--g h2 {
    font-size: 2.5em;
}

.page--g h3 {
    font-size: 1.8em;
    color: var(--primary-color);
}

.page--g p {
    font-size: 1.1em;
    margin-bottom: 20px;
}

.page--g .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
}

.page--g .cta-button:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

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

.page--g .small-button {
    padding: 10px 25px;
    font-size: 0.95em;
}

.page--g .read-more-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page--g .read-more-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* 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); /* Fallback for image load */
    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%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page--g .hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    filter: brightness(0.8); /* Slightly darken image for text contrast */
}

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

.page--g .hero-content h1 {
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 15px;
}

.page--g .hero-content p {
    font-size: 1.25em;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto 30px auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

/* Section Intro */
.page--g .section-intro ul {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.page--g .section-intro ul li {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page--g .section-intro ul li:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page--g .section-intro ul li strong {
    color: var(--secondary-color);
    font-size: 1.1em;
    display: block;
    margin-bottom: 5px;
}

/* Game Type Grid */
.page--g .game-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page--g .game-type-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page--g .game-type-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page--g .game-type-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--border-color);
}

.page--g .game-type-card h3 {
    margin: 20px 15px 10px 15px;
    font-size: 1.5em;
    color: var(--primary-color);
}

.page--g .game-type-card p {
    padding: 0 15px 20px 15px;
    font-size: 0.95em;
    color: #666;
}

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

.page--g .step-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page--g .step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

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

.page--g .step-item h3 {
    color: var(--primary-color);
    font-size: 1.6em;
    margin-top: 0;
    text-align: center;
}

.page--g .step-item ol {
    list-style: decimal;
    padding-left: 25px;
    margin-bottom: 20px;
    color: #555;
}

.page--g .step-item ol li {
    margin-bottom: 8px;
    font-size: 1em;
}

.page--g .step-item .cta-button {
    display: block;
    width: fit-content;
    margin: 20px auto 0 auto;
}

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

.page--g .promo-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page--g .promo-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--border-color);
}

.page--g .promo-card h3 {
    margin: 20px 15px 10px 15px;
    font-size: 1.5em;
    color: var(--primary-color);
}

.page--g .promo-card p {
    padding: 0 15px 20px 15px;
    font-size: 0.95em;
    color: #666;
}

/* Security & Support */
.page--g .security-support-content {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page--g .security-info, .page--g .support-info {
    flex: 1;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
}

.page--g .security-info img, .page--g .support-info img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page--g .security-info h3, .page--g .support-info h3 {
    color: var(--primary-color);
    font-size: 1.6em;
    margin-top: 0;
}

.page--g .security-info p, .page--g .support-info p {
    font-size: 1em;
    color: #555;
}

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

.page--g .section-faq h2 {
    color: var(--secondary-color);
}

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

.page--g .faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page--g .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page--g .faq-question:hover {
    background: #1a3a5e;
}

.page--g .faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--text-light);
}

.page--g .faq-toggle {
    font-size: 24px;
    font-weight: bold;
    transition: transform 0.3s ease;
    color: var(--secondary-color);
}

.page--g .faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.page--g .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background: #1a3a5e;
    color: rgba(255, 255, 255, 0.8);
    padding: 0 25px;
}

.page--g .faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed */
    padding: 18px 25px;
}

.page--g .faq-answer p {
    margin: 0;
    font-size: 1em;
}

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

.page--g .blog-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page--g .blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--border-color);
}

.page--g .blog-card h3 {
    margin: 20px 15px 10px 15px;
    font-size: 1.4em;
    color: var(--primary-color);
    line-height: 1.3;
}

.page--g .blog-card h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page--g .blog-card h3 a:hover {
    color: var(--secondary-color);
}

.page--g .blog-card p {
    padding: 0 15px 20px 15px;
    font-size: 0.9em;
    color: #666;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page--g h1 {
        font-size: 2.8em;
    }
    .page--g h2 {
        font-size: 2em;
    }
    .page--g h3 {
        font-size: 1.5em;
    }
    .page--g .section-intro ul li {
        flex: 1 1 calc(100% - 20px);
        max-width: calc(100% - 20px);
    }
    .page--g .security-support-content {
        flex-direction: column;
    }
    .page--g .security-info, .page--g .support-info {
        text-align: center;
    }
    .page--g .security-info img, .page--g .support-info img {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .page--g section {
        padding: 40px 0;
    }
    .page--g h1 {
        font-size: 2.2em;
    }
    .page--g h2 {
        font-size: 1.8em;
    }
    .page--g h3 {
        font-size: 1.3em;
    }
    .page--g .hero-content p {
        font-size: 1.1em;
    }
    .page--g .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page--g .game-type-grid, .page--g .guide-steps, .page--g .promo-grid, .page--g .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page--g .faq-question {
        padding: 15px 20px;
    }
    .page--g .faq-question h3 {
        font-size: 1.1em;
    }
    .page--g .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page--g h1 {
        font-size: 1.8em;
    }
    .page--g h2 {
        font-size: 1.5em;
    }
    .page--g h3 {
        font-size: 1.2em;
    }
    .page--g .hero-content p {
        font-size: 1em;
    }
    .page--g .cta-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }
}