/* style/-g.css */
:root {
    --primary-color: #1A237E; /* Deep Blue */
    --secondary-color: #FFD700; /* Gold */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f4f7f6;
    --bg-dark: #12184F; /* Slightly darker primary for contrast */
    --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 20px;
}

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

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

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

.page--g h2 {
    font-size: 2.2em;
    border-bottom: 2px solid var(--secondary-color);
    display: inline-block;
    padding-bottom: 10px;
}

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

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

.page--g ul {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
}

.page--g ul li {
    margin-bottom: 8px;
    font-size: 1.05em;
}

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

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

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

.page--g .cta-button:hover {
    background: #FFC107; /* Slightly darker gold */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page--g .btn-small {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.95em;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.page--g .btn-small:hover {
    background: var(--bg-dark);
}

.page--g .btn-promo {
    display: inline-block;
    padding: 12px 25px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.page--g .btn-promo:hover {
    background: #FFC107;
    transform: translateY(-1px);
}

/* 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: linear-gradient(135deg, var(--primary-color) 0%, var(--bg-dark) 100%);
    color: var(--text-light);
}

.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;
}

.page--g .hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    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-content p {
    color: var(--text-light);
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 20px;
}

/* Content Section */
.page--g .content-section {
    background-color: var(--bg-light);
    padding: 60px 0;
}

.page--g .grid-2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page--g .grid-2-cols .image-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Game Types Section */
.page--g .game-types-section {
    background-color: #ffffff;
    padding: 60px 0;
    text-align: center;
}

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

.page--g .game-card {
    background: var(--bg-light);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page--g .game-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page--g .game-card h3 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 10px;
}

.page--g .game-card h3 a {
    color: var(--primary-color);
}

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

.page--g .game-card p {
    font-size: 1em;
    color: var(--text-dark);
}

/* Guide Section */
.page--g .guide-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 60px 0;
    text-align: center;
}

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

.page--g .guide-section p {
    color: #cccccc;
}

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

.page--g .guide-step {
    background: var(--primary-color);
    border-radius: 10px;
    padding: 30px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page--g .guide-step:hover {
    transform: translateY(-5px);
    background-color: #12184F; /* Slightly darker primary */
}

.page--g .guide-step img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page--g .guide-step h3 {
    color: var(--secondary-color);
    font-size: 1.6em;
    margin-bottom: 15px;
}

.page--g .guide-step p {
    color: #e0e0e0;
    font-size: 1em;
}

/* Tips Section */
.page--g .tips-section {
    background-color: #ffffff;
    padding: 60px 0;
}

.page--g .tips-section .text-content ul {
    list-style-type: '✅ ';
    padding-left: 0;
    margin-left: 20px;
}

.page--g .tips-section .text-content ul li {
    margin-bottom: 12px;
    color: var(--text-dark);
}

.page--g .tips-section .text-content ul li strong {
    color: var(--primary-color);
}

/* Promotions Section */
.page--g .promotions-section {
    background-color: var(--bg-light);
    padding: 60px 0;
    text-align: center;
}

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

.page--g .promo-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page--g .promo-card img {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.page--g .promo-call-to-action {
    margin-top: 40px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
}

.page--g .promo-call-to-action a {
    color: var(--secondary-color);
}

.page--g .promo-call-to-action a:hover {
    text-decoration: underline;
}

/* FAQ Section */
.page--g .faq-section {
    background-color: #ffffff;
    padding: 60px 0;
}

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

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

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

.page--g .faq-question:hover {
    background: var(--bg-light);
}

.page--g .faq-question h3 {
    margin: 0;
    font-size: 1.25em;
    color: var(--primary-color);
    text-align: left;
    flex-grow: 1;
}

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

.page--g .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 25px;
    background: #f9f9f9;
    color: var(--text-dark);
}

.page--g .faq-answer p {
    padding: 15px 0;
    margin: 0;
    font-size: 1.05em;
}

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

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

/* Responsive Design */
@media (max-width: 992px) {
    .page--g h1 {
        font-size: 2.4em;
    }

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

    .page--g h3 {
        font-size: 1.4em;
    }

    .page--g .grid-2-cols {
        grid-template-columns: 1fr;
    }

    .page--g .reverse-on-mobile {
        display: flex;
        flex-direction: column-reverse;
    }

    .page--g .hero-image {
        margin-bottom: 20px;
    }

    .page--g .hero-content p {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page--g section {
        padding: 40px 0;
    }

    .page--g h1 {
        font-size: 2em;
    }

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

    .page--g h3 {
        font-size: 1.3em;
    }

    .page--g .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }

    .page--g .guide-step img {
        width: 80px;
        height: 80px;
    }

    .page--g .game-card img, .page--g .promo-card img {
        height: 180px;
    }

    .page--g .faq-question {
        padding: 15px 20px;
    }

    .page--g .faq-question h3 {
        font-size: 1.1em;
    }

    .page--g .faq-toggle {
        font-size: 20px;
    }

    .page--g .faq-answer {
        padding: 0 20px;
    }

    .page--g .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page--g .container {
        padding: 0 15px;
    }

    .page--g h1 {
        font-size: 1.8em;
    }

    .page--g h2 {
        font-size: 1.4em;
        margin-bottom: 20px;
    }

    .page--g p {
        font-size: 1em;
    }

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

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

    .page--g .game-cards-grid, .page--g .guide-steps-grid, .page--g .promo-cards-grid {
        grid-template-columns: 1fr;
    }

    .page--g .game-card img, .page--g .promo-card img {
        height: 150px;
    }
}