/* style/beginner-guide.css */

/* --- Base Styles --- */
.page-beginner-guide {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark background */
    background-color: var(--dark-bg-1); /* Inherited from shared.css, assumed dark */
}

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

.page-beginner-guide__section {
    padding: 60px 0;
    text-align: center;
}

.page-beginner-guide__section:nth-of-type(even) {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for contrast */
}

.page-beginner-guide__section-title {
    font-size: 2.5em;
    color: #FFFFFF;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.page-beginner-guide__sub-title {
    font-size: 1.8em;
    color: #FFFFFF;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-beginner-guide__text-block {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-beginner-guide__highlight {
    color: #FFFF00; /* Custom color for highlights */
    font-weight: bold;
}

.page-beginner-guide__text-link {
    color: #FFFF00; /* Link color for text */
    text-decoration: underline;
}

.page-beginner-guide__text-link:hover {
    color: #FFFFFF;
    text-decoration: none;
}

/* --- Buttons --- */
.page-beginner-guide__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-beginner-guide__btn-primary,
.page-beginner-guide__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box; /* Crucial for responsive buttons */
    max-width: 100%; /* Crucial for responsive buttons */
    white-space: normal;
    word-wrap: break-word;
}

.page-beginner-guide__btn-primary {
    background-color: #017439; /* Brand primary color */
    color: #ffffff; /* White text for contrast */
    border: 2px solid #017439;
}

.page-beginner-guide__btn-primary:hover {
    background-color: #005f2e;
    border-color: #005f2e;
    transform: translateY(-2px);
}

.page-beginner-guide__btn-secondary {
    background-color: transparent;
    color: #017439; /* Brand primary color for text */
    border: 2px solid #017439;
}

.page-beginner-guide__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Specific button colors for Register/Login if needed, based on requirements */
.page-beginner-guide__hero-actions .page-beginner-guide__btn-primary,
.page-beginner-guide__cta-buttons .page-beginner-guide__btn-primary.page-beginner-guide__btn-large {
    background-color: #C30808; /* Register/Login red */
    border-color: #C30808;
    color: #FFFF00; /* Register/Login font color */
}

.page-beginner-guide__hero-actions .page-beginner-guide__btn-primary:hover,
.page-beginner-guide__cta-buttons .page-beginner-guide__btn-primary.page-beginner-guide__btn-large:hover {
    background-color: #9e0606;
    border-color: #9e0606;
}

/* --- Hero Section --- */
.page-beginner-guide__hero-section {
    position: relative;
    width: 100%;
    min-height: 500px; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    box-sizing: border-box;
}

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

.page-beginner-guide__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

.page-beginner-guide__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
}

.page-beginner-guide__hero-title {
    font-size: 3.5em;
    color: #FFFFFF;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}

.page-beginner-guide__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* --- Lists --- */
.page-beginner-guide__feature-list,
.page-beginner-guide__tip-list,
.page-beginner-guide__step-list {
    list-style: none;
    padding: 0;
    margin: 20px auto;
    max-width: 900px;
    text-align: left;
}

.page-beginner-guide__feature-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-left: 5px solid #017439;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    color: #f0f0f0;
}

.page-beginner-guide__feature-title {
    color: #FFFF00;
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-beginner-guide__tip-list li,
.page-beginner-guide__step-list li {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    color: #f0f0f0;
}

.page-beginner-guide__step-list li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    background-color: #017439;
    color: #FFFFFF;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    font-weight: bold;
    flex-shrink: 0;
}

.page-beginner-guide__step-list {
    counter-reset: step-counter;
}

.page-beginner-guide__payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-beginner-guide__method-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    color: #f0f0f0;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-beginner-guide__method-title {
    color: #FFFF00;
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 10px;
}

/* --- Image Styling --- */
.page-beginner-guide__image-wrapper {
    margin: 30px auto;
    max-width: 100%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.page-beginner-guide__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}

/* --- FAQ Section --- */
.page-beginner-guide__faq-list {
    max-width: 900px;
    margin: 30px auto;
    text-align: left;
}

.page-beginner-guide__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-beginner-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-beginner-guide__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-beginner-guide__faq-title {
    margin: 0;
    font-size: 1.2em;
    color: #FFFFFF;
}

.page-beginner-guide__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #FFFF00;
}

.page-beginner-guide__faq-item.active .page-beginner-guide__faq-toggle {
    transform: rotate(45deg); /* Change + to X or - */
    content: '−'; /* Change to minus sign */
}

.page-beginner-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px; /* Initial padding 0 for animation */
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

.page-beginner-guide__faq-item.active .page-beginner-guide__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 20px; /* Final padding */
}

.page-beginner-guide__faq-answer p {
    margin: 0;
    padding-bottom: 10px;
}

/* --- Responsive Design --- */

/* Tablet and Mobile adjustments */
@media (max-width: 1024px) {
    .page-beginner-guide__hero-title {
        font-size: 3em;
    }

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

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

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

@media (max-width: 768px) {
    .page-beginner-guide__hero-section {
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

    .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;
    }
}