:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --btn-register-login-bg: #C30808;
    --btn-register-login-text: #FFFF00;
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --bg-light: #F5F5F5;
}

.page-beginner-guide {
    color: var(--text-dark);
    background-color: var(--secondary-color); /* Body background is #FFFFFF, so main content text should be dark */
    padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
}

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

/* Hero Section */
.page-beginner-guide__hero-section {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Minimum height for hero */
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a9e59 100%); /* Green gradient */
    color: var(--text-light);
    padding-bottom: 40px;
}

.page-beginner-guide__hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 20px;
}

.page-beginner-guide__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    color: var(--btn-register-login-text); /* Use yellow for title for luxury feel */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-beginner-guide__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    line-height: 1.6;
    color: var(--text-light);
}

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

.page-beginner-guide__hero-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-beginner-guide__hero-button--register {
    background-color: var(--btn-register-login-bg);
    color: var(--btn-register-login-text);
    border: 2px solid var(--btn-register-login-text);
}

.page-beginner-guide__hero-button--register:hover {
    background-color: #e62e2e;
    transform: translateY(-2px);
}

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

.page-beginner-guide__hero-button--login:hover {
    background-color: #005a2e;
    transform: translateY(-2px);
}

.page-beginner-guide__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.3;
}

/* Steps Section */
.page-beginner-guide__steps-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

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

.page-beginner-guide__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px auto;
    color: var(--text-dark);
    line-height: 1.6;
}

.page-beginner-guide__step-card {
    display: flex;
    align-items: center;
    background-color: var(--bg-light);
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 60px;
    overflow: hidden;
    padding: 40px;
    gap: 40px;
}

.page-beginner-guide__step-card--reversed {
    flex-direction: row-reverse;
}

.page-beginner-guide__step-content {
    flex: 1;
    padding: 20px 0;
}

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

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

.page-beginner-guide__step-list {
    list-style-type: decimal;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-dark);
    line-height: 1.7;
}

.page-beginner-guide__step-list ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-top: 5px;
}

.page-beginner-guide__step-list li {
    margin-bottom: 8px;
}

.page-beginner-guide__button {
    display: inline-block;
    background-color: var(--btn-register-login-bg);
    color: var(--btn-register-login-text);
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--btn-register-login-text);
}

.page-beginner-guide__button:hover {
    background-color: #e62e2e;
    transform: translateY(-2px);
}

.page-beginner-guide__step-image {
    flex-shrink: 0;
    width: 600px; /* Display area width */
    height: 450px; /* Display area height */
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Tips & Tricks */
.page-beginner-guide__tip-list {
    list-style-type: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-beginner-guide__tip-list li {
    background-color: var(--secondary-color);
    padding: 15px 20px;
    border-left: 5px solid var(--primary-color);
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-dark);
}

.page-beginner-guide__tip-list li strong {
    color: var(--primary-color);
}

.page-beginner-guide__tip-list li a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-beginner-guide__tip-list li a:hover {
    text-decoration: underline;
}

/* FAQ Section */
.page-beginner-guide__faq-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

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

.page-beginner-guide__faq-item {
    background-color: var(--secondary-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.page-beginner-guide__faq-item:hover {
    transform: translateY(-5px);
}

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

.page-beginner-guide__faq-answer {
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-dark);
}

.page-beginner-guide__faq-more {
    text-align: center;
    margin-top: 50px;
}

/* CTA Section */
.page-beginner-guide__cta-section {
    background: linear-gradient(90deg, var(--primary-color) 0%, #1a9e59 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--text-light);
}

.page-beginner-guide__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--btn-register-login-text); /* Yellow for contrast */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-beginner-guide__cta-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

.page-beginner-guide__cta-actions {
    display: flex;
    gap: 25px;
    justify-content: center;
}

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

.page-beginner-guide__button--download:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

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

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

    .page-beginner-guide__step-card {
        flex-direction: column;
        padding: 30px;
        gap: 30px;
    }

    .page-beginner-guide__step-card--reversed {
        flex-direction: column;
    }

    .page-beginner-guide__step-image {
        width: 100%;
        height: auto;
        max-height: 350px; /* Ensure images are not too tall on smaller screens */
    }

    .page-beginner-guide__faq-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .page-beginner-guide__hero-section {
        min-height: 400px;
    }

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

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

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

    .page-beginner-guide__hero-button {
        width: 100%;
        max-width: 300px;
    }

    .page-beginner-guide__steps-section, .page-beginner-guide__faq-section, .page-beginner-guide__cta-section {
        padding: 60px 0;
    }

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

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

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

    .page-beginner-guide__cta-actions {
        flex-direction: column;
    }

    .page-beginner-guide__button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

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

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

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

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

    .page-beginner-guide__faq-item {
        padding: 20px;
    }

    .page-beginner-guide__faq-question {
        font-size: 1.1em;
    }

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