/* style/-g.css */
:root {
    --primary-color: #CC0000; /* Đỏ mạnh */
    --secondary-color: #FFD700; /* Vàng kim */
    --text-dark: #333333; /* Chữ tối */
    --text-light: #ffffff; /* Chữ sáng */
    --bg-light: #f8f8f8; /* Nền sáng */
    --bg-dark: #222222; /* Nền tối */
    --border-color: #e0e0e0;
    --card-bg: #ffffff;
    --button-hover-bg: #e60000;
}

.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-title {
    font-size: 3em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

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

.page--g .text-content {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* 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%, #CC3333 100%); /* Màu nền đỏ đậm */
    color: var(--text-light);
    overflow: hidden;
}

.page--g .hero-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    z-index: 1;
}

.page--g .hero-content {
    flex: 1;
    text-align: left;
    max-width: 600px;
}

.page--g .hero-title {
    font-size: 3.8em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-light);
}

.page--g .hero-description {
    font-size: 1.4em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page--g .hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 700px;
}

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

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

.page--g .cta-button:hover {
    background: #FFC107;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

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

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

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

.page--g .feature-icon {
    width: 150px; /* Tăng kích thước icon */
    height: 150px; /* Tăng kích thước icon */
    margin-bottom: 20px;
    object-fit: contain;
}

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

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

/* Game Types Section */
.page--g .section-game-types {
    padding: 80px 0;
    background-color: #f0f0f0;
}

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

.page--g .game-type-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

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

.page--g .card-title {
    font-size: 1.6em;
    color: var(--primary-color);
    padding: 20px 20px 10px;
}

.page--g .card-description {
    font-size: 1em;
    color: var(--text-dark);
    padding: 0 20px 20px;
    flex-grow: 1;
}

.page--g .card-button {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--text-dark);
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 5px;
    margin: 0 20px 20px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    text-align: center;
}

.page--g .card-button:hover {
    background: #FFC107;
}

/* Betting Guide Section */
.page--g .section-betting-guide {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.page--g .guide-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page--g .guide-list li {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    padding-left: 80px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page--g .guide-list li::before {
    content: attr(data-step);
    position: absolute;
    left: 20px;
    top: 30px;
    background: var(--primary-color);
    color: var(--text-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
}

.page--g .guide-list li:nth-child(1)::before { content: '1'; }
.page--g .guide-list li:nth-child(2)::before { content: '2'; }
.page--g .guide-list li:nth-child(3)::before { content: '3'; }
.page--g .guide-list li:nth-child(4)::before { content: '4'; }

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

.page--g .list-description {
    font-size: 1em;
    color: var(--text-dark);
    margin-bottom: 15px;
}

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

.page--g .button-small:hover {
    background: #FFC107;
}

/* Advantages Section */
.page--g .section-advantages {
    padding: 80px 0;
    background-color: #f0f0f0;
}

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

.page--g .advantage-list li {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page--g .advantage-list .list-title {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page--g .advantage-list .list-description {
    font-size: 1em;
    color: var(--text-dark);
}

.page--g .cta-bottom {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

/* FAQ Section */
.page--g .section-faq {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

.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: var(--card-bg);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

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

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

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

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

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

.page--g .faq-answer p {
    margin: 0;
    font-size: 1.05em;
    line-height: 1.7;
}

/* Latest News Section */
.page--g .section-latest-news {
    padding: 80px 0;
    background-color: #f0f0f0;
}

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

.page--g .news-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

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

.page--g .news-card .card-title {
    font-size: 1.5em;
    color: var(--primary-color);
    padding: 20px 20px 10px;
}

.page--g .news-card .card-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

.page--g .news-card .card-description {
    font-size: 1em;
    color: var(--text-dark);
    padding: 0 20px;
    flex-grow: 1;
}

.page--g .news-date {
    font-size: 0.9em;
    color: #666;
    padding: 15px 20px 20px;
    display: block;
    border-top: 1px solid #f0f0f0;
    margin-top: 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page--g .hero-title {
        font-size: 3em;
    }
    .page--g .hero-description {
        font-size: 1.2em;
    }
    .page--g .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .page--g .hero-content {
        text-align: center;
        max-width: 100%;
    }
    .page--g .hero-image-wrapper {
        max-width: 90%;
    }
    .page--g .section-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page--g .hero-section {
        padding: 60px 15px;
    }
    .page--g .hero-title {
        font-size: 2.5em;
    }
    .page--g .hero-description {
        font-size: 1em;
    }
    .page--g .cta-button {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .page--g .section-title {
        font-size: 2em;
    }
    .page--g .text-content {
        font-size: 0.95em;
    }
    .page--g .feature-grid, .page--g .game-type-grid, .page--g .advantage-list, .page--g .news-grid {
        grid-template-columns: 1fr;
    }
    .page--g .feature-icon {
        width: 120px;
        height: 120px;
    }
    .page--g .feature-title, .page--g .card-title, .page--g .list-title {
        font-size: 1.5em;
    }
    .page--g .guide-list li {
        padding: 20px 20px 20px 60px;
    }
    .page--g .guide-list li::before {
        width: 35px;
        height: 35px;
        font-size: 1.2em;
        left: 15px;
        top: 25px;
    }
    .page--g .faq-question {
        padding: 15px 20px;
    }
    .page--g .faq-question h3 {
        font-size: 1.1em;
    }
    .page--g .faq-toggle {
        font-size: 1.5em;
    }
    .page--g .faq-answer {
        padding: 0 20px;
    }
    .page--g .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page--g .hero-title {
        font-size: 2em;
    }
    .page--g .hero-description {
        font-size: 0.9em;
    }
    .page--g .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page--g .section-title {
        font-size: 1.8em;
    }
    .page--g .feature-title, .page--g .card-title, .page--g .list-title {
        font-size: 1.3em;
    }
    .page--g .card-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page--g .news-date {
        font-size: 0.8em;
    }
}