/* style/beginner-guide.css */

/* Biến CSS */
:root {
    --page-beginner-guide-primary-color: #FF4500; /* OrangeRed */
    --page-beginner-guide-secondary-color: #1E90FF; /* DodgerBlue */
    --page-beginner-guide-text-dark: #333333;
    --page-beginner-guide-text-light: #ffffff;
    --page-beginner-guide-bg-light: #f8f8f8;
    --page-beginner-guide-bg-dark: #2c3e50; /* Darker shade for contrast */
    --page-beginner-guide-border-color: #e0e0e0;
    --page-beginner-guide-card-bg: #ffffff;
    --page-beginner-guide-shadow: rgba(0, 0, 0, 0.1);
}

.page-beginner-guide {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--page-beginner-guide-text-dark);
    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), var(--page-beginner-guide-secondary-color));
    color: var(--page-beginner-guide-text-light);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-beginner-guide__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--page-beginner-guide-text-light);
}

.page-beginner-guide__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.page-beginner-guide__hero-description a {
    color: var(--page-beginner-guide-text-light);
    text-decoration: underline;
}

.page-beginner-guide__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.page-beginner-guide__hero-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--page-beginner-guide-shadow);
}

/* 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: #ffffff;
}

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

.page-beginner-guide__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--page-beginner-guide-text-dark);
}

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

.page-beginner-guide__btn--primary {
    background-color: var(--page-beginner-guide-primary-color);
    color: var(--page-beginner-guide-text-light);
    border: 2px solid var(--page-beginner-guide-primary-color);
}

.page-beginner-guide__btn--primary:hover {
    background-color: #e63900;
    border-color: #e63900;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 69, 0, 0.4);
}

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

.page-beginner-guide__btn--secondary:hover {
    background-color: var(--page-beginner-guide-secondary-color);
    color: var(--page-beginner-guide-text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(30, 144, 255, 0.4);
}

.page-beginner-guide__btn--inline {
    margin-top: 20px;
    padding: 10px 25px;
    font-size: 1em;
    border-radius: 25px;
}

.page-beginner-guide__btn--small {
    padding: 8px 20px;
    font-size: 0.9em;
    border-radius: 20px;
}

.page-beginner-guide__btn--large {
    padding: 18px 40px;
    font-size: 1.3em;
    border-radius: 35px;
}

.page-beginner-guide__center-btn {
    text-align: center;
    margin-top: 40px;
}

/* Step Cards */
.page-beginner-guide__step-card {
    background-color: var(--page-beginner-guide-card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--page-beginner-guide-shadow);
    padding: 40px;
    margin-bottom: 30px;
    text-align: left;
}

.page-beginner-guide__step-card--full-width {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-beginner-guide__step-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-beginner-guide__step-title {
    font-size: 1.8em;
    color: var(--page-beginner-guide-primary-color);
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
}

.page-beginner-guide__step-subtitle {
    font-size: 1.3em;
    color: var(--page-beginner-guide-secondary-color);
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-beginner-guide__step-card p,
.page-beginner-guide__step-card ol,
.page-beginner-guide__step-card ul {
    font-size: 1.05em;
    margin-bottom: 15px;
    color: var(--page-beginner-guide-text-dark);
}

.page-beginner-guide__step-card ol li,
.page-beginner-guide__step-card ul li {
    margin-bottom: 8px;
    padding-left: 10px;
}

.page-beginner-guide__step-card a {
    color: var(--page-beginner-guide-secondary-color);
    text-decoration: underline;
}

.page-beginner-guide__step-card a:hover {
    color: var(--page-beginner-guide-primary-color);
}

/* Flex Content for highlight section */
.page-beginner-guide__flex-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.page-beginner-guide__flex-content--reverse {
    flex-direction: row-reverse;
}

.page-beginner-guide__text-content {
    flex: 1;
}

.page-beginner-guide__image-right,
.page-beginner-guide__image-left {
    flex: 1;
    max-width: 50%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--page-beginner-guide-shadow);
}

.page-beginner-guide__flex-content ul {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 20px;
}

.page-beginner-guide__flex-content ul li {
    margin-bottom: 10px;
}

.page-beginner-guide__flex-content strong {
    color: var(--page-beginner-guide-primary-color);
}

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

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

.page-beginner-guide__promo-card:hover {
    transform: translateY(-5px);
}

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

.page-beginner-guide__promo-title {
    font-size: 1.4em;
    color: var(--page-beginner-guide-secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-beginner-guide__promo-card p {
    font-size: 1em;
    color: var(--page-beginner-guide-text-dark);
    margin-bottom: 20px;
}

/* FAQ Section */
.page-beginner-guide__faq-item {
    background-color: var(--page-beginner-guide-card-bg);
    border: 1px solid var(--page-beginner-guide-border-color);
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 25px;
}

.page-beginner-guide__faq-question {
    font-size: 1.3em;
    color: var(--page-beginner-guide-primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-beginner-guide__faq-answer {
    font-size: 1.05em;
    color: var(--page-beginner-guide-text-dark);
}

.page-beginner-guide__faq-answer a {
    color: var(--page-beginner-guide-secondary-color);
    text-decoration: underline;
}

.page-beginner-guide__faq-answer a:hover {
    color: var(--page-beginner-guide-primary-color);
}

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

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

.page-beginner-guide__tip-card:hover {
    transform: translateY(-5px);
}

.page-beginner-guide__tip-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-beginner-guide__tip-title {
    font-size: 1.3em;
    color: var(--page-beginner-guide-secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

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

.page-beginner-guide__tip-card a {
    color: var(--page-beginner-guide-secondary-color);
    text-decoration: underline;
}

.page-beginner-guide__tip-card a:hover {
    color: var(--page-beginner-guide-primary-color);
}

/* Call to Action Section */
.page-beginner-guide__section--cta {
    background: linear-gradient(90deg, var(--page-beginner-guide-secondary-color), var(--page-beginner-guide-primary-color));
    color: var(--page-beginner-guide-text-light);
    text-align: center;
    padding: 80px 0;
}

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

.page-beginner-guide__cta-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: rgba(255, 255, 255, 0.9);
}

.page-beginner-guide__cta-description a {
    color: var(--page-beginner-guide-text-light);
    text-decoration: underline;
}

/* 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__flex-content {
        flex-direction: column;
        gap: 30px;
    }

    .page-beginner-guide__flex-content--reverse {
        flex-direction: column;
    }

    .page-beginner-guide__image-right,
    .page-beginner-guide__image-left {
        max-width: 100%;
    }

    .page-beginner-guide__promo-grid,
    .page-beginner-guide__tips-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-beginner-guide__hero {
        padding: 60px 0;
    }

    .page-beginner-guide__hero-title {
        font-size: 2em;
    }

    .page-beginner-guide__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-beginner-guide__section {
        padding: 40px 0;
    }

    .page-beginner-guide__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-beginner-guide__step-card {
        padding: 30px;
    }

    .page-beginner-guide__step-title {
        font-size: 1.5em;
    }

    .page-beginner-guide__cta-title {
        font-size: 2.2em;
    }
}

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

    .page-beginner-guide__hero-description {
        font-size: 1em;
    }

    .page-beginner-guide__btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-beginner-guide__section-title {
        font-size: 1.5em;
    }

    .page-beginner-guide__step-title {
        font-size: 1.3em;
    }

    .page-beginner-guide__step-subtitle {
        font-size: 1.1em;
    }

    .page-beginner-guide__promo-grid,
    .page-beginner-guide__tips-grid {
        grid-template-columns: 1fr;
    }

    .page-beginner-guide__cta-title {
        font-size: 1.8em;
    }
}