/* style/beginner-guide.css */

/* Biến CSS */
:root {
    --page-beginner-guide-primary-color: #1A2E44;
    --page-beginner-guide-secondary-color: #FFD700;
    --page-beginner-guide-text-light: #F0F2F5;
    --page-beginner-guide-text-dark: #333333;
    --page-beginner-guide-bg-light: #FFFFFF;
    --page-beginner-guide-bg-dark: #122030;
    --page-beginner-guide-accent-color: #0028ff;
}

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

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

/* Hero Section */
.page-beginner-guide__hero {
    background: linear-gradient(135deg, var(--page-beginner-guide-primary-color) 0%, #3a5b82 100%);
    color: var(--page-beginner-guide-text-light);
    padding: 80px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.page-beginner-guide__hero-content {
    max-width: 800px;
    z-index: 2;
}

.page-beginner-guide__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--page-beginner-guide-secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-beginner-guide__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.5;
    color: var(--page-beginner-guide-text-light);
}

.page-beginner-guide__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    overflow: hidden;
}

.page-beginner-guide__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) blur(5px);
    transform: scale(1.1);
}

/* General Section Styling */
.page-beginner-guide__section {
    padding: 60px 0;
    background-color: var(--page-beginner-guide-bg-light);
}

.page-beginner-guide__section:nth-of-type(even) {
    background-color: var(--page-beginner-guide-bg-dark);
    color: var(--page-beginner-guide-text-light);
}

.page-beginner-guide__section:nth-of-type(even) .page-beginner-guide__section-title,
.page-beginner-guide__section:nth-of-type(even) .page-beginner-guide__section-intro,
.page-beginner-guide__section:nth-of-type(even) .page-beginner-guide__feature-title,
.page-beginner-guide__section:nth-of-type(even) .page-beginner-guide__feature-description,
.page-beginner-guide__section:nth-of-type(even) .page-beginner-guide__step-title,
.page-beginner-guide__section:nth-of-type(even) .page-beginner-guide__step-description,
.page-beginner-guide__section:nth-of-type(even) .page-beginner-guide__game-title,
.page-beginner-guide__section:nth-of-type(even) .page-beginner-guide__game-description,
.page-beginner-guide__section:nth-of-type(even) .page-beginner-guide__tip-title,
.page-beginner-guide__section:nth-of-type(even) .page-beginner-guide__tip-list p,
.page-beginner-guide__section:nth-of-type(even) .page-beginner-guide__responsible-list li,
.page-beginner-guide__section:nth-of-type(even) .page-beginner-guide__responsible-list p,
.page-beginner-guide__section:nth-of-type(even) .page-beginner-guide__guide-title a,
.page-beginner-guide__section:nth-of-type(even) .page-beginner-guide__guide-description {
    color: var(--page-beginner-guide-text-light);
}

.page-beginner-guide__section-title {
    font-size: 2.5em;
    color: var(--page-beginner-guide-primary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-beginner-guide__section:nth-of-type(even) .page-beginner-guide__section-title {
    color: var(--page-beginner-guide-secondary-color);
}

.page-beginner-guide__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Buttons */
.page-beginner-guide__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.page-beginner-guide__button--primary {
    background-color: var(--page-beginner-guide-secondary-color);
    color: var(--page-beginner-guide-primary-color);
    border: 2px solid var(--page-beginner-guide-secondary-color);
}

.page-beginner-guide__button--primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-beginner-guide__button--secondary {
    background-color: transparent;
    color: var(--page-beginner-guide-primary-color);
    border: 2px solid var(--page-beginner-guide-primary-color);
}

.page-beginner-guide__section:nth-of-type(even) .page-beginner-guide__button--secondary {
    color: var(--page-beginner-guide-secondary-color);
    border-color: var(--page-beginner-guide-secondary-color);
}

.page-beginner-guide__button--secondary:hover {
    background-color: var(--page-beginner-guide-primary-color);
    color: var(--page-beginner-guide-text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-beginner-guide__section:nth-of-type(even) .page-beginner-guide__button--secondary:hover {
    background-color: var(--page-beginner-guide-secondary-color);
    color: var(--page-beginner-guide-primary-color);
}

.page-beginner-guide__button--read-more {
    background-color: var(--page-beginner-guide-primary-color);
    color: var(--page-beginner-guide-text-light);
    border: 1px solid var(--page-beginner-guide-primary-color);
    padding: 10px 20px;
    font-size: 0.95em;
    border-radius: 5px;
}

.page-beginner-guide__button--read-more:hover {
    background-color: #0d1e2f;
    border-color: #0d1e2f;
}

.page-beginner-guide__section:nth-of-type(even) .page-beginner-guide__button--read-more {
    background-color: var(--page-beginner-guide-secondary-color);
    color: var(--page-beginner-guide-primary-color);
    border-color: var(--page-beginner-guide-secondary-color);
}

.page-beginner-guide__section:nth-of-type(even) .page-beginner-guide__button--read-more:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

/* Why Choose Section */
.page-beginner-guide__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-beginner-guide__feature-item {
    background-color: var(--page-beginner-guide-bg-light);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-beginner-guide__section:nth-of-type(even) .page-beginner-guide__feature-item {
    background-color: var(--page-beginner-guide-primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.page-beginner-guide__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.page-beginner-guide__feature-title {
    font-size: 1.5em;
    color: var(--page-beginner-guide-primary-color);
    margin-bottom: 10px;
}

.page-beginner-guide__section:nth-of-type(even) .page-beginner-guide__feature-title {
    color: var(--page-beginner-guide-secondary-color);
}

.page-beginner-guide__feature-description {
    font-size: 0.95em;
    color: var(--page-beginner-guide-text-dark);
}

.page-beginner-guide__section:nth-of-type(even) .page-beginner-guide__feature-description {
    color: var(--page-beginner-guide-text-light);
}

/* Get Started Section */
.page-beginner-guide__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.page-beginner-guide__step-item {
    background-color: var(--page-beginner-guide-bg-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-beginner-guide__section:nth-of-type(even) .page-beginner-guide__step-item {
    background-color: var(--page-beginner-guide-primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-beginner-guide__step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--page-beginner-guide-secondary-color);
    color: var(--page-beginner-guide-primary-color);
    font-size: 2em;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 3px solid var(--page-beginner-guide-secondary-color);
}

.page-beginner-guide__step-title {
    font-size: 1.6em;
    color: var(--page-beginner-guide-primary-color);
    margin-bottom: 15px;
}

.page-beginner-guide__section:nth-of-type(even) .page-beginner-guide__step-title {
    color: var(--page-beginner-guide-secondary-color);
}

.page-beginner-guide__step-description {
    font-size: 1em;
    color: var(--page-beginner-guide-text-dark);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-beginner-guide__section:nth-of-type(even) .page-beginner-guide__step-description {
    color: var(--page-beginner-guide-text-light);
}

.page-beginner-guide__step-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Game Types Section */
.page-beginner-guide__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-beginner-guide__game-card {
    background-color: var(--page-beginner-guide-bg-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-beginner-guide__section:nth-of-type(even) .page-beginner-guide__game-card {
    background-color: var(--page-beginner-guide-primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-beginner-guide__game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.page-beginner-guide__game-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.page-beginner-guide__game-card-content {
    padding: 20px;
}

.page-beginner-guide__game-title {
    font-size: 1.4em;
    color: var(--page-beginner-guide-primary-color);
    margin-bottom: 10px;
    padding: 15px 20px 0;
}

.page-beginner-guide__section:nth-of-type(even) .page-beginner-guide__game-title {
    color: var(--page-beginner-guide-secondary-color);
}

.page-beginner-guide__game-description {
    font-size: 0.95em;
    color: var(--page-beginner-guide-text-dark);
    padding: 0 20px 20px;
}

.page-beginner-guide__section:nth-of-type(even) .page-beginner-guide__game-description {
    color: var(--page-beginner-guide-text-light);
}

.page-beginner-guide__cta-small {
    text-align: center;
    margin-top: 50px;
    font-size: 1.1em;
}

.page-beginner-guide__cta-small a {
    color: var(--page-beginner-guide-secondary-color);
    font-weight: 600;
    text-decoration: none;
}

.page-beginner-guide__cta-small a:hover {
    text-decoration: underline;
}

/* Tips Section */
.page-beginner-guide__tip-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.page-beginner-guide__tip-list li {
    background-color: var(--page-beginner-guide-bg-light);
    padding: 25px;
    border-left: 5px solid var(--page-beginner-guide-secondary-color);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.page-beginner-guide__section:nth-of-type(even) .page-beginner-guide__tip-list li {
    background-color: var(--page-beginner-guide-primary-color);
    border-left-color: var(--page-beginner-guide-secondary-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-beginner-guide__tip-title {
    font-size: 1.3em;
    color: var(--page-beginner-guide-primary-color);
    margin-bottom: 10px;
}

.page-beginner-guide__section:nth-of-type(even) .page-beginner-guide__tip-title {
    color: var(--page-beginner-guide-secondary-color);
}

.page-beginner-guide__tip-list p {
    font-size: 0.95em;
    color: var(--page-beginner-guide-text-dark);
}

.page-beginner-guide__section:nth-of-type(even) .page-beginner-guide__tip-list p {
    color: var(--page-beginner-guide-text-light);
}

.page-beginner-guide__image--full-width {
    width: 100%;
    max-width: 900px;
    display: block;
    margin: 50px auto 0;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Responsible Gambling Section */
.page-beginner-guide__responsible-list {
    list-style: disc;
    padding-left: 25px;
    max-width: 700px;
    margin: 30px auto;
    font-size: 1.05em;
}

.page-beginner-guide__responsible-list li {
    margin-bottom: 10px;
    color: var(--page-beginner-guide-text-dark);
}

.page-beginner-guide__section:nth-of-type(even) .page-beginner-guide__responsible-list li {
    color: var(--page-beginner-guide-text-light);
}

.page-beginner-guide__section--responsible-gambling p {
    text-align: center;
    max-width: 700px;
    margin: 20px auto;
}

.page-beginner-guide__image--center {
    display: block;
    margin: 40px auto 0;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Detail Guides Section */
.page-beginner-guide__guide-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-beginner-guide__guide-card {
    background-color: var(--page-beginner-guide-bg-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-beginner-guide__section:nth-of-type(even) .page-beginner-guide__guide-card {
    background-color: var(--page-beginner-guide-primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-beginner-guide__guide-title {
    font-size: 1.6em;
    margin-bottom: 15px;
}

.page-beginner-guide__guide-title a {
    color: var(--page-beginner-guide-primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-beginner-guide__section:nth-of-type(even) .page-beginner-guide__guide-title a {
    color: var(--page-beginner-guide-secondary-color);
}

.page-beginner-guide__guide-title a:hover {
    color: var(--page-beginner-guide-secondary-color);
}

.page-beginner-guide__section:nth-of-type(even) .page-beginner-guide__guide-title a:hover {
    color: #e6c200;
}

.page-beginner-guide__guide-description {
    font-size: 1em;
    color: var(--page-beginner-guide-text-dark);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-beginner-guide__section:nth-of-type(even) .page-beginner-guide__guide-description {
    color: var(--page-beginner-guide-text-light);
}

/* Final CTA Section */
.page-beginner-guide__cta-final {
    background: linear-gradient(135deg, var(--page-beginner-guide-secondary-color) 0%, #e6c200 100%);
    color: var(--page-beginner-guide-primary-color);
    padding: 80px 0;
    text-align: center;
}

.page-beginner-guide__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--page-beginner-guide-primary-color);
}

.page-beginner-guide__cta-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-beginner-guide__button--large {
    padding: 18px 40px;
    font-size: 1.25em;
    border-width: 3px;
}

.page-beginner-guide__cta-small-text {
    margin-top: 30px;
    font-size: 1em;
}

.page-beginner-guide__cta-small-text a {
    color: var(--page-beginner-guide-primary-color);
    font-weight: 600;
    text-decoration: underline;
}

.page-beginner-guide__cta-small-text a:hover {
    color: #0d1e2f;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-beginner-guide__hero-title {
        font-size: 2.5em;
    }
    .page-beginner-guide__hero-description {
        font-size: 1.1em;
    }
    .page-beginner-guide__section-title {
        font-size: 2em;
    }
    .page-beginner-guide__features-grid,
    .page-beginner-guide__steps,
    .page-beginner-guide__game-grid,
    .page-beginner-guide__tip-list,
    .page-beginner-guide__guide-list {
        grid-template-columns: 1fr;
    }
    .page-beginner-guide__hero {
        padding: 60px 20px;
    }
    .page-beginner-guide__section {
        padding: 40px 0;
    }
    .page-beginner-guide__cta-title {
        font-size: 2.2em;
    }
    .page-beginner-guide__cta-description {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-beginner-guide__hero-title {
        font-size: 2em;
    }
    .page-beginner-guide__hero-description {
        font-size: 1em;
    }
    .page-beginner-guide__section-title {
        font-size: 1.8em;
    }
    .page-beginner-guide__button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-beginner-guide__button--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .page-beginner-guide__feature-item,
    .page-beginner-guide__step-item,
    .page-beginner-guide__game-card,
    .page-beginner-guide__tip-list li,
    .page-beginner-guide__guide-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .page-beginner-guide__hero-title {
        font-size: 1.8em;
    }
    .page-beginner-guide__hero-description {
        font-size: 0.9em;
    }
    .page-beginner-guide__section-title {
        font-size: 1.5em;
    }
    .page-beginner-guide__button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-beginner-guide__button--large {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-beginner-guide__cta-title {
        font-size: 1.8em;
    }
    .page-beginner-guide__cta-description {
        font-size: 1em;
    }
}