/* style/game-guides.css */

/* Biến CSS */
:root {
    --page-game-guides-primary-color: #1A202C;
    --page-game-guides-secondary-color: #FFD700;
    --page-game-guides-text-light: #f8f8f8;
    --page-game-guides-text-dark: #333333;
    --page-game-guides-bg-dark: #1A202C;
    --page-game-guides-bg-light: #ffffff;
    --page-game-guides-border-color: #444444;
    --page-game-guides-shadow-color: rgba(0, 0, 0, 0.2);
}

/* Container chung */
.page-game-guides-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-game-guides-hero {
    background: linear-gradient(135deg, var(--page-game-guides-primary-color), #333945);
    color: var(--page-game-guides-text-light);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid var(--page-game-guides-secondary-color);
}

.page-game-guides-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract_pattern,geometric,dark_gold]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-game-guides-hero > .page-game-guides-container {
    position: relative;
    z-index: 1;
}

.page-game-guides-hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--page-game-guides-secondary-color);
    text-shadow: 2px 2px 4px var(--page-game-guides-shadow-color);
}

.page-game-guides-hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--page-game-guides-text-light);
}

/* Nút chung */
.page-game-guides-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.page-game-guides-btn--primary {
    background-color: var(--page-game-guides-secondary-color);
    color: var(--page-game-guides-primary-color);
    box-shadow: 0 4px 15px var(--page-game-guides-shadow-color);
}

.page-game-guides-btn--primary:hover {
    background-color: #e6c200; /* Vàng đậm hơn */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-game-guides-btn--secondary {
    background-color: transparent;
    color: var(--page-game-guides-secondary-color);
    border: 2px solid var(--page-game-guides-secondary-color);
    margin-left: 15px;
}

.page-game-guides-btn--secondary:hover {
    background-color: var(--page-game-guides-secondary-color);
    color: var(--page-game-guides-primary-color);
    transform: translateY(-3px);
}

/* Các phần chung */
.page-game-guides-section {
    padding: 80px 0;
    background-color: var(--page-game-guides-bg-light);
    color: var(--page-game-guides-text-dark);
}

.page-game-guides-section:nth-of-type(even) {
    background-color: #f0f2f5;
}

.page-game-guides-section-title {
    font-size: 2.8em;
    color: var(--page-game-guides-primary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-game-guides-section-description {
    font-size: 1.2em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
    color: #555555;
}

.page-game-guides-subtitle {
    font-size: 1.8em;
    color: var(--page-game-guides-primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

/* Phần giới thiệu */
.page-game-guides-introduction {
    background-color: var(--page-game-guides-bg-dark);
    color: var(--page-game-guides-text-light);
}

.page-game-guides-introduction .page-game-guides-section-title {
    color: var(--page-game-guides-secondary-color);
}

.page-game-guides-introduction .page-game-guides-section-description {
    color: #cccccc;
}

.page-game-guides-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-game-guides-content-text p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #e0e0e0;
}

.page-game-guides-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px var(--page-game-guides-shadow-color);
}

/* Lưới hướng dẫn nổi bật */
.page-game-guides-guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-game-guides-guide-card {
    background-color: var(--page-game-guides-bg-light);
    border-radius: 12px;
    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-game-guides-guide-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-game-guides-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.page-game-guides-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-game-guides-card-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
}

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

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

.page-game-guides-card-description {
    font-size: 1em;
    line-height: 1.6;
    color: #666666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-game-guides-guide-card .page-game-guides-btn {
    margin-top: auto;
    align-self: flex-start;
    padding: 10px 20px;
    font-size: 0.95em;
}

/* Nguyên tắc chung */
.page-game-guides-principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-game-guides-principle-item {
    background-color: #fdfdfd;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.page-game-guides-principle-item:hover {
    transform: translateY(-5px);
}

.page-game-guides-principle-item .page-game-guides-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

.page-game-guides-principle-item h3 {
    font-size: 1.4em;
    color: var(--page-game-guides-primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-game-guides-principle-item p {
    font-size: 0.95em;
    line-height: 1.6;
    color: #777777;
}

.page-game-guides-responsible-gambling {
    margin-top: 60px;
    padding: 40px;
    background-color: #e6f7ff; /* Màu xanh nhạt */
    border-radius: 12px;
    border: 1px solid #b3e0ff;
    color: #333333;
    text-align: center;
}

.page-game-guides-responsible-gambling .page-game-guides-subtitle {
    color: #0056b3; /* Màu xanh đậm */
    margin-top: 0;
}

.page-game-guides-responsible-gambling p {
    font-size: 1.1em;
    line-height: 1.7;
    color: #555555;
}

/* Lợi ích độc quyền */
.page-game-guides-benefits {
    background-color: var(--page-game-guides-bg-dark);
    color: var(--page-game-guides-text-light);
}

.page-game-guides-benefits .page-game-guides-section-title {
    color: var(--page-game-guides-secondary-color);
}

.page-game-guides-benefits .page-game-guides-section-description {
    color: #cccccc;
}

.page-game-guides-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-game-guides-benefit-item {
    background-color: #2a303c;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid #3d4554;
}

.page-game-guides-benefit-item:hover {
    transform: translateY(-5px);
    background-color: #333a47;
}

.page-game-guides-benefit-item .page-game-guides-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
}

.page-game-guides-benefit-item h3 {
    font-size: 1.4em;
    color: var(--page-game-guides-secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-game-guides-benefit-item p {
    font-size: 0.95em;
    line-height: 1.6;
    color: #bbbbbb;
}

/* CTA dưới cùng */
.page-game-guides-cta-bottom {
    background: linear-gradient(45deg, var(--page-game-guides-secondary-color), #e6c200);
    color: var(--page-game-guides-primary-color);
    padding: 80px 0;
    text-align: center;
    border-top: 5px solid var(--page-game-guides-primary-color);
}

.page-game-guides-cta-bottom .page-game-guides-section-title {
    color: var(--page-game-guides-primary-color);
}

.page-game-guides-cta-bottom .page-game-guides-section-description {
    color: #444444;
    margin-bottom: 40px;
}

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

.page-game-guides-cta-buttons .page-game-guides-btn--primary {
    background-color: var(--page-game-guides-primary-color);
    color: var(--page-game-guides-secondary-color);
}

.page-game-guides-cta-buttons .page-game-guides-btn--primary:hover {
    background-color: #0d1016;
    color: var(--page-game-guides-secondary-color);
}

.page-game-guides-cta-buttons .page-game-guides-btn--secondary {
    border-color: var(--page-game-guides-primary-color);
    color: var(--page-game-guides-primary-color);
}

.page-game-guides-cta-buttons .page-game-guides-btn--secondary:hover {
    background-color: var(--page-game-guides-primary-color);
    color: var(--page-game-guides-secondary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-game-guides-hero-title {
        font-size: 2.8em;
    }

    .page-game-guides-hero-subtitle {
        font-size: 1.3em;
    }

    .page-game-guides-section-title {
        font-size: 2.2em;
    }

    .page-game-guides-content-grid {
        grid-template-columns: 1fr;
    }

    .page-game-guides-content-image {
        order: -1; /* Đặt hình ảnh lên trên trên mobile */
        margin-bottom: 30px;
    }

    .page-game-guides-guides-grid,
    .page-game-guides-principles-grid,
    .page-game-guides-benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-game-guides-hero {
        padding: 80px 0;
    }

    .page-game-guides-hero-title {
        font-size: 2.2em;
    }

    .page-game-guides-hero-subtitle {
        font-size: 1.1em;
    }

    .page-game-guides-btn {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-game-guides-btn--secondary {
        margin-left: 0;
        margin-top: 15px; /* Đẩy xuống nếu có 2 nút */
    }

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

    .page-game-guides-section-title {
        font-size: 1.8em;
    }

    .page-game-guides-section-description {
        font-size: 1em;
        margin-bottom: 40px;
    }

    .page-game-guides-card-title {
        font-size: 1.4em;
    }

    .page-game-guides-responsible-gambling {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .page-game-guides-hero-title {
        font-size: 1.8em;
    }

    .page-game-guides-hero-subtitle {
        font-size: 0.9em;
    }

    .page-game-guides-btn {
        width: 100%;
        margin: 10px 0 !important;
    }

    .page-game-guides-cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .page-game-guides-guides-grid,
    .page-game-guides-principles-grid,
    .page-game-guides-benefits-grid {
        grid-template-columns: 1fr;
    }
}