/* style/-g.css */

:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #B22222; /* Deep Red */
    --dark-bg: #1a1a1a; /* Dark Grey/Black for background */
    --text-light: #f5f5f5; /* Light text on dark background */
    --text-dark: #333333; /* Dark text on light background */
    --border-color: #444444;
    --card-bg: #2a2a2a;
    --button-hover-bg: #e0b000;
}

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

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

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

.page--g__section:nth-of-type(odd) {
    background-color: #222222;
}

.page--g__section:nth-of-type(even) {
    background-color: var(--dark-bg);
}

.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(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page--g h2 {
    font-size: 2.5em;
    color: var(--secondary-color);
    margin-top: 40px;
    margin-bottom: 30px;
    position: relative;
}

.page--g h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    border-radius: 2px;
}

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

.page--g p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--text-light);
}

.page--g__cta-button {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--secondary-color);
}

.page--g__cta-button:hover {
    background: var(--primary-color);
    color: var(--text-dark);
    border-color: var(--primary-color);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

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

.page--g__inline-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-dark);
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    margin-top: 10px;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-color);
}

.page--g__inline-button:hover {
    background: var(--secondary-color);
    color: var(--text-light);
    border-color: var(--secondary-color);
    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 100px;
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%); /* Dark gradient background */
}

.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%;
    max-width: 900px; /* Adjust max-width for the image */
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 3px solid var(--primary-color);
}

.page--g__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 800px;
}

.page--g__hero-content h1 {
    margin-bottom: 25px;
    line-height: 1.2;
}

.page--g__hero-content p {
    font-size: 1.2em;
    margin-bottom: 35px;
    color: var(--text-light);
}

/* Feature Grid */
.page--g__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page--g__feature-item {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page--g__feature-item h3 {
    color: var(--primary-color);
    font-size: 1.6em;
    margin-top: 15px;
}

.page--g__feature-item p {
    color: #cccccc;
    font-size: 1em;
}

.page--g__feature-icon {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 2px solid var(--secondary-color);
}

/* Step by Step Guide */
.page--g__how-to-play .page--g__step-by-step {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page--g__step-item {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    border: 1px solid var(--border-color);
}

.page--g__step-number {
    background: var(--secondary-color);
    color: var(--text-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    border: 2px solid var(--primary-color);
}

.page--g__step-item h3 {
    color: var(--primary-color);
    margin-top: 0;
}

.page--g__step-item p {
    color: #cccccc;
}

/* Betting Types List */
.page--g__betting-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    text-align: left;
}

.page--g__betting-list li {
    background: var(--card-bg);
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
}

.page--g__betting-list li h3 {
    color: var(--primary-color);
    margin-top: 0;
}

.page--g__betting-list li p {
    color: #cccccc;
}

/* Expert Tips */
.page--g__tip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page--g__tip-item {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page--g__tip-item h3 {
    color: var(--primary-color);
    margin-top: 0;
}

.page--g__tip-item p {
    color: #cccccc;
}

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

.page--g__promo-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page--g__promo-card h3 {
    color: var(--primary-color);
    margin-top: 15px;
    margin-bottom: 10px;
}

.page--g__promo-card p {
    color: #cccccc;
    flex-grow: 1;
}

.page--g__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 2px solid var(--primary-color);
}

.page--g__card-button {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: 1px solid var(--secondary-color);
}

.page--g__card-button:hover {
    background: var(--primary-color);
    color: var(--text-dark);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

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

.page--g__mt-40 {
    margin-top: 40px;
}

/* FAQ Section */
.page--g__faq-section {
    background-color: #222222;
}

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

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

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

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

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

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: var(--card-bg);
}

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

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

/* 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__hero-section {
        padding: 60px 15px 80px;
    }

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

    .page--g__feature-grid, .page--g__step-by-step, .page--g__tip-grid, .page--g__promo-cards {
        grid-template-columns: 1fr;
    }

    .page--g__feature-item, .page--g__step-item, .page--g__tip-item, .page--g__promo-card {
        padding: 25px;
    }

    .page--g__feature-icon, .page--g__promo-image {
        height: 180px;
    }

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

    .faq-question h3 {
        font-size: 1.2em;
    }

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

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

@media (max-width: 768px) {
    .page--g h1 {
        font-size: 2.2em;
    }

    .page--g h2 {
        font-size: 1.8em;
        margin-top: 30px;
        margin-bottom: 25px;
    }

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

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

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

    .page--g__hero-image {
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .page--g__hero-content p {
        font-size: 1em;
    }

    .page--g__container {
        padding: 0 15px;
    }

    .page--g__feature-item, .page--g__step-item, .page--g__tip-item, .page--g__promo-card {
        padding: 20px;
    }

    .page--g__feature-icon, .page--g__promo-image {
        height: 160px;
    }

    .page--g__step-number {
        width: 40px;
        height: 40px;
        font-size: 1.5em;
        margin-bottom: 15px;
    }

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

    .faq-toggle {
        font-size: 1.8em;
    }
}