/* style/game-introduction-slots.css */

/* Biến CSS */
:root {
    --page-game-introduction-slots-primary-color: #1A1A2E;
    --page-game-introduction-slots-secondary-color: #E0B95B;
    --page-game-introduction-slots-text-light: #FFFFFF;
    --page-game-introduction-slots-text-dark: #1A1A2E;
    --page-game-introduction-slots-background-light: #F8F8F8;
    --page-game-introduction-slots-background-dark: #1A1A2E;
    --page-game-introduction-slots-accent-color: #FFD700; /* Darker gold for better contrast on secondary */
    --page-game-introduction-slots-button-text-color-on-secondary: #1A1A2E;
    --page-game-introduction-slots-button-hover-bg: #C7A14E; /* Slightly darker gold for hover */
}

.page-game-introduction-slots {
    font-family: 'Arial', sans-serif;
    color: var(--page-game-introduction-slots-text-dark);
    line-height: 1.6;
    background-color: var(--page-game-introduction-slots-background-light);
}

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

.page-game-introduction-slots__section-title {
    font-size: 2.5em;
    color: var(--page-game-introduction-slots-primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    position: relative;
}

.page-game-introduction-slots__section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--page-game-introduction-slots-secondary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.page-game-introduction-slots__section-title--light {
    color: var(--page-game-introduction-slots-text-light);
}

.page-game-introduction-slots__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #555;
}

.page-game-introduction-slots__section-description--light {
    color: rgba(255, 255, 255, 0.8);
}

.page-game-introduction-slots__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
}

.page-game-introduction-slots__btn--primary {
    background-color: var(--page-game-introduction-slots-secondary-color);
    color: var(--page-game-introduction-slots-button-text-color-on-secondary);
    border: 2px solid var(--page-game-introduction-slots-secondary-color);
}

.page-game-introduction-slots__btn--primary:hover {
    background-color: var(--page-game-introduction-slots-button-hover-bg);
    border-color: var(--page-game-introduction-slots-button-hover-bg);
    transform: translateY(-2px);
}

.page-game-introduction-slots__btn--secondary {
    background-color: transparent;
    color: var(--page-game-introduction-slots-primary-color);
    border: 2px solid var(--page-game-introduction-slots-primary-color);
}

.page-game-introduction-slots__btn--secondary:hover {
    background-color: var(--page-game-introduction-slots-primary-color);
    color: var(--page-game-introduction-slots-text-light);
    transform: translateY(-2px);
}

.page-game-introduction-slots__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.page-game-introduction-slots__hero-section {
    background: linear-gradient(135deg, var(--page-game-introduction-slots-primary-color) 0%, #3a3a5a 100%);
    color: var(--page-game-introduction-slots-text-light);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-game-introduction-slots__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:slots,abstract,pattern]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-game-introduction-slots__hero-section > .page-game-introduction-slots__container {
    position: relative;
    z-index: 1;
}

.page-game-introduction-slots__hero-title {
    font-size: 3.8em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    color: var(--page-game-introduction-slots-secondary-color);
    text-shadow: 0 0 15px rgba(224, 185, 91, 0.6);
}

.page-game-introduction-slots__hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

/* Intro Section */
.page-game-introduction-slots__intro-section {
    padding: 80px 0;
    background-color: var(--page-game-introduction-slots-background-light);
}

.page-game-introduction-slots__intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.page-game-introduction-slots__intro-content h2 {
    text-align: left;
    margin-bottom: 25px;
}

.page-game-introduction-slots__intro-content h2::after {
    margin-left: 0;
}

.page-game-introduction-slots__intro-content p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #333;
}

.page-game-introduction-slots__intro-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-game-introduction-slots__intro-content ul li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23E0B95B"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
    background-size: 20px;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.05em;
    color: #333;
}

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

.page-game-introduction-slots__types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

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

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

.page-game-introduction-slots__card-image {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-game-introduction-slots__card-title {
    font-size: 1.6em;
    color: var(--page-game-introduction-slots-primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-game-introduction-slots__card-text {
    font-size: 1em;
    color: #444;
}

.page-game-introduction-slots__cta-bar {
    background-color: var(--page-game-introduction-slots-primary-color);
    color: var(--page-game-introduction-slots-text-light);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-game-introduction-slots__cta-text {
    font-size: 1.5em;
    margin-bottom: 25px;
    font-weight: bold;
    color: var(--page-game-introduction-slots-secondary-color);
}

/* Guide Section */
.page-game-introduction-slots__guide-section {
    padding: 80px 0;
    background-color: var(--page-game-introduction-slots-background-light);
}

.page-game-introduction-slots__guide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.page-game-introduction-slots__guide-content h2 {
    text-align: left;
    margin-bottom: 25px;
}

.page-game-introduction-slots__guide-content h2::after {
    margin-left: 0;
}

.page-game-introduction-slots__guide-content ol {
    list-style: none;
    counter-reset: guide-counter;
    padding: 0;
    margin-bottom: 30px;
}

.page-game-introduction-slots__guide-content ol li {
    counter-increment: guide-counter;
    margin-bottom: 20px;
    font-size: 1.1em;
    position: relative;
    padding-left: 45px;
    color: #333;
}

.page-game-introduction-slots__guide-content ol li::before {
    content: counter(guide-counter);
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--page-game-introduction-slots-secondary-color);
    color: var(--page-game-introduction-slots-button-text-color-on-secondary);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1em;
}

.page-game-introduction-slots__guide-content ol li strong {
    color: var(--page-game-introduction-slots-primary-color);
}

.page-game-introduction-slots__guide-content p a {
    color: var(--page-game-introduction-slots-primary-color);
    text-decoration: underline;
}

.page-game-introduction-slots__guide-content p a:hover {
    color: var(--page-game-introduction-slots-secondary-color);
}

/* Tips Section */
.page-game-introduction-slots__tips-section {
    padding: 80px 0;
    background-color: #f0f0f0;
}

.page-game-introduction-slots__tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-game-introduction-slots__tip-card {
    background-color: var(--page-game-introduction-slots-text-light);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure cards are same height */
    display: flex;
    flex-direction: column;
}

.page-game-introduction-slots__tip-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.page-game-introduction-slots__tip-card h3 {
    font-size: 1.4em;
    color: var(--page-game-introduction-slots-primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-game-introduction-slots__tip-card p {
    font-size: 1em;
    color: #444;
    flex-grow: 1;
}

/* CTA Banner Section */
.page-game-introduction-slots__cta-banner {
    background: linear-gradient(90deg, var(--page-game-introduction-slots-primary-color) 0%, #3a3a5a 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--page-game-introduction-slots-text-light);
    position: relative;
    overflow: hidden;
}

.page-game-introduction-slots__cta-banner-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    z-index: 0;
}

.page-game-introduction-slots__cta-banner > .page-game-introduction-slots__container {
    position: relative;
    z-index: 1;
}

.page-game-introduction-slots__cta-banner .page-game-introduction-slots__section-title {
    color: var(--page-game-introduction-slots-secondary-color);
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(224, 185, 91, 0.5);
}

.page-game-introduction-slots__cta-banner .page-game-introduction-slots__section-title::after {
    background-color: var(--page-game-introduction-slots-secondary-color);
}

.page-game-introduction-slots__cta-banner .page-game-introduction-slots__section-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

/* FAQ Section */
.page-game-introduction-slots__faq-section {
    padding: 80px 0;
    background-color: var(--page-game-introduction-slots-background-light);
}

.page-game-introduction-slots__faq-item {
    background-color: var(--page-game-introduction-slots-text-light);
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 25px 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-game-introduction-slots__faq-question {
    font-size: 1.3em;
    color: var(--page-game-introduction-slots-primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-game-introduction-slots__faq-answer {
    font-size: 1.05em;
    color: #444;
}

.page-game-introduction-slots__faq-answer a {
    color: var(--page-game-introduction-slots-primary-color);
    text-decoration: underline;
}

.page-game-introduction-slots__faq-answer a:hover {
    color: var(--page-game-introduction-slots-secondary-color);
}

/* Final CTA */
.page-game-introduction-slots__final-cta {
    background: linear-gradient(45deg, var(--page-game-introduction-slots-primary-color), #3a3a5a);
    padding: 100px 0;
    text-align: center;
    color: var(--page-game-introduction-slots-text-light);
}

.page-game-introduction-slots__final-cta-content {
    max-width: 900px;
}

.page-game-introduction-slots__final-cta .page-game-introduction-slots__section-title {
    color: var(--page-game-introduction-slots-secondary-color);
    text-shadow: 0 0 12px rgba(224, 185, 91, 0.7);
}

.page-game-introduction-slots__final-cta .page-game-introduction-slots__section-title::after {
    background-color: var(--page-game-introduction-slots-secondary-color);
}

.page-game-introduction-slots__final-cta .page-game-introduction-slots__section-description {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 50px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-game-introduction-slots__hero-title {
        font-size: 3em;
    }
    .page-game-introduction-slots__intro-grid,
    .page-game-introduction-slots__guide-grid {
        grid-template-columns: 1fr;
    }
    .page-game-introduction-slots__intro-content h2,
    .page-game-introduction-slots__guide-content h2 {
        text-align: center;
    }
    .page-game-introduction-slots__intro-content h2::after,
    .page-game-introduction-slots__guide-content h2::after {
        margin: 10px auto 0;
    }
    .page-game-introduction-slots__intro-image,
    .page-game-introduction-slots__guide-image {
        order: -1; /* Image appears above text on mobile */
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .page-game-introduction-slots__hero-title {
        font-size: 2.5em;
    }
    .page-game-introduction-slots__hero-subtitle {
        font-size: 1.2em;
    }
    .page-game-introduction-slots__section-title {
        font-size: 2em;
    }
    .page-game-introduction-slots__section-description {
        font-size: 1em;
    }
    .page-game-introduction-slots__btn {
        padding: 12px 25px;
        font-size: 0.95em;
    }
    .page-game-introduction-slots__cta-bar {
        padding: 30px;
    }
    .page-game-introduction-slots__cta-text {
        font-size: 1.3em;
    }
    .page-game-introduction-slots__hero-section,
    .page-game-introduction-slots__intro-section,
    .page-game-introduction-slots__game-types,
    .page-game-introduction-slots__guide-section,
    .page-game-introduction-slots__tips-section,
    .page-game-introduction-slots__cta-banner,
    .page-game-introduction-slots__faq-section,
    .page-game-introduction-slots__final-cta {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .page-game-introduction-slots__hero-title {
        font-size: 2em;
    }
    .page-game-introduction-slots__hero-subtitle {
        font-size: 1em;
    }
    .page-game-introduction-slots__section-title {
        font-size: 1.8em;
    }
    .page-game-introduction-slots__intro-content ul li {
        padding-left: 25px;
        background-size: 18px;
    }
    .page-game-introduction-slots__guide-content ol li {
        padding-left: 35px;
    }
    .page-game-introduction-slots__guide-content ol li::before {
        width: 25px;
        height: 25px;
        font-size: 1em;
    }
    .page-game-introduction-slots__btn {
        width: 100%;
        max-width: 280px;
    }
}