/* style/newbie-guide.css */

/* Custom Colors */
:root {
    --primary-color: #11A84E; /* Main Color */
    --secondary-color: #22C768; /* Auxiliary Color */
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    --card-bg: #11271B; /* Card BG */
    --bg-color: #08160F; /* Background */
    --text-main: #F2FFF6; /* Text Main */
    --text-secondary: #A7D9B8; /* Text Secondary */
    --border-color: #2E7A4E; /* Border */
    --glow-color: #57E38D; /* Glow */
    --gold-color: #F2C14E; /* Gold */
    --divider-color: #1E3A2A; /* Divider */
    --deep-green: #0A4B2C; /* Deep Green */
}

/* Base styles for the page content, considering body has dark background */
.page-newbie-guide {
    background-color: var(--bg-color); /* Matches body background */
    color: var(--text-main); /* Light text for dark background */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    padding-bottom: 60px; /* Space above footer */
}

.page-newbie-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-newbie-guide__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 40px;
    overflow: hidden;
}

.page-newbie-guide__hero-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    margin-bottom: 30px; /* Space between image and content */
}

.page-newbie-guide__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.page-newbie-guide__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* H1 font size with clamp */
    font-weight: 700;
    color: var(--gold-color); /* Gold for main title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow effect */
}

.page-newbie-guide__main-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.page-newbie-guide__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    justify-content: center;
    gap: 20px;
}

.page-newbie-guide__btn-primary,
.page-newbie-guide__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text break */
}

.page-newbie-guide__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main); /* Light text for dark button */
    border: none;
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-newbie-guide__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

.page-newbie-guide__btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 10px rgba(34, 199, 104, 0.2);
}

.page-newbie-guide__btn-secondary:hover {
    background-color: rgba(34, 199, 104, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(34, 199, 104, 0.4);
}

/* General Section Styles */
.page-newbie-guide__introduction-section,
.page-newbie-guide__steps-section,
.page-newbie-guide__promotions-section,
.page-newbie-guide__support-section,
.page-newbie-guide__tips-section,
.page-newbie-guide__faq-section {
    padding: 60px 0;
}

.page-newbie-guide__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--gold-color); /* Gold for section titles */
    line-height: 1.3;
}

.page-newbie-guide__section-description {
    font-size: 1.1rem;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-newbie-guide__text-block {
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 20px;
    text-align: justify;
}

.page-newbie-guide__image-full {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Section specific colors */
.page-newbie-guide__dark-section {
    background-color: var(--bg-color);
    color: var(--text-main);
}

.page-newbie-guide__light-bg {
    background-color: var(--card-bg); /* Use card-bg for lighter sections to differentiate from main bg */
    color: var(--text-main);
}

/* Steps Section */
.page-newbie-guide__step-card {
    background-color: var(--deep-green); /* Slightly different dark background for cards */
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.page-newbie-guide__step-title {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 600;
    color: var(--gold-color);
    margin-bottom: 25px;
}

.page-newbie-guide__step-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    margin: 25px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-newbie-guide__button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

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

.page-newbie-guide__tip-item {
    background-color: var(--deep-green);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    font-size: 1.05rem;
    color: var(--text-main);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-align: left;
}

.page-newbie-guide__tip-item strong {
    color: var(--gold-color);
}

/* FAQ Section */
.page-newbie-guide__faq-list {
    margin-top: 40px;
}

.page-newbie-guide__faq-item {
    background-color: var(--deep-green);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.page-newbie-guide__faq-item summary {
    list-style: none; /* Hide default marker */
}
.page-newbie-guide__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit */
}

.page-newbie-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    background-color: var(--deep-green);
    border-bottom: 1px solid var(--divider-color);
    transition: background-color 0.3s ease;
}

.page-newbie-guide__faq-question:hover {
    background-color: rgba(30, 58, 42, 0.7); /* Darker hover for question */
}

.page-newbie-guide__faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-left: 20px;
}

.page-newbie-guide__faq-item[open] .page-newbie-guide__faq-toggle {
    color: var(--gold-color);
}

.page-newbie-guide__faq-answer {
    padding: 20px 30px 30px;
    font-size: 1rem;
    color: var(--text-secondary);
    background-color: rgba(17, 39, 27, 0.8); /* Slightly lighter than card-bg */
    border-top: none;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-newbie-guide__hero-image {
        margin-bottom: 20px;
    }
    .page-newbie-guide__hero-content {
        padding: 0 15px;
    }
    .page-newbie-guide__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-newbie-guide__main-description {
        font-size: 1.05rem;
    }
    .page-newbie-guide__section-title {
        font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    }
    .page-newbie-guide__step-title {
        font-size: clamp(1.4rem, 2.8vw, 2rem);
    }
    .page-newbie-guide__faq-question {
        padding: 18px 25px;
        font-size: 1.05rem;
    }
    .page-newbie-guide__faq-answer {
        padding: 18px 25px 25px;
    }
}

@media (max-width: 768px) {
    /* General mobile padding */
    .page-newbie-guide__container {
        padding: 0 15px;
    }

    /* Hero Section */
    .page-newbie-guide__hero-section {
        padding-top: 10px !important; /* body already handles header offset */
        padding-bottom: 30px;
    }
    .page-newbie-guide__hero-image {
        margin-bottom: 15px;
    }
    .page-newbie-guide__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-newbie-guide__main-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .page-newbie-guide__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }
    .page-newbie-guide__btn-primary,
    .page-newbie-guide__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        min-width: unset;
    }

    /* Section Styles */
    .page-newbie-guide__introduction-section,
    .page-newbie-guide__steps-section,
    .page-newbie-guide__promotions-section,
    .page-newbie-guide__support-section,
    .page-newbie-guide__tips-section,
    .page-newbie-guide__faq-section {
        padding: 40px 0;
    }
    .page-newbie-guide__section-title {
        font-size: clamp(1.5rem, 5vw, 2.2rem);
        margin-bottom: 30px;
    }
    .page-newbie-guide__section-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    .page-newbie-guide__text-block {
        font-size: 0.95rem;
    }

    /* Images responsiveness */
    .page-newbie-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    .page-newbie-guide__hero-image,
    .page-newbie-guide__image-full,
    .page-newbie-guide__step-image {
        margin-left: auto;
        margin-right: auto;
        padding: 0 0; /* No horizontal padding on images themselves */
    }

    /* Containers for images, videos, buttons */
    .page-newbie-guide__section,
    .page-newbie-guide__card,
    .page-newbie-guide__container,
    .page-newbie-guide__video-section,
    .page-newbie-guide__video-container,
    .page-newbie-guide__video-wrapper,
    .page-newbie-guide__cta-buttons,
    .page-newbie-guide__button-group,
    .page-newbie-guide__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent content overflow */
    }

    /* Step Card */
    .page-newbie-guide__step-card {
        padding: 30px 20px;
        margin-bottom: 30px;
    }
    .page-newbie-guide__step-title {
        font-size: clamp(1.3rem, 4.5vw, 1.8rem);
        margin-bottom: 20px;
    }
    .page-newbie-guide__button-group {
        flex-direction: column;
        gap: 10px;
    }

    /* Tips Section */
    .page-newbie-guide__tip-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .page-newbie-guide__tip-item {
        padding: 20px;
        font-size: 0.95rem;
    }

    /* FAQ Section */
    .page-newbie-guide__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }
    .page-newbie-guide__faq-answer {
        padding: 15px 20px 20px;
        font-size: 0.95rem;
    }
    .page-newbie-guide__faq-toggle {
        font-size: 1.3rem;
    }
}

/* Video specific styles (if any, not used in this page for now) */
.page-newbie-guide video,
.page-newbie-guide__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}
.page-newbie-guide__video-section,
.page-newbie-guide__video-container,
.page-newbie-guide__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Ensure no filter on images */
.page-newbie-guide img {
    filter: none !important;
}