:root {
    /* Custom Colors from prompt */
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-bg-main: #08160F;
    --color-bg-card: #11271B;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
}

.page-newbie-guide-how-to-register {
    font-family: 'Arial', sans-serif;
    color: var(--color-text-main); /* Main text color for dark background */
    background-color: var(--color-bg-main); /* Main background color */
    line-height: 1.6;
    font-size: 1rem;
}

.page-newbie-guide-how-to-register h1,
.page-newbie-guide-how-to-register h2,
.page-newbie-guide-how-to-register h3,
.page-newbie-guide-how-to-register h4,
.page-newbie-guide-how-to-register h5,
.page-newbie-guide-how-to-register h6 {
    color: var(--color-text-main);
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-newbie-guide-how-to-register h1 {
    font-size: clamp(2rem, 5vw, 3.2rem); /* Use clamp for H1 */
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.05em;
    max-width: 800px;
    text-align: center;
}

.page-newbie-guide-how-to-register h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    color: var(--color-gold);
}

.page-newbie-guide-how-to-register h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--color-secondary);
}

.page-newbie-guide-how-to-register p {
    margin-bottom: 1rem;
    color: var(--color-text-main);
}

.page-newbie-guide-how-to-register a {
    color: var(--color-glow);
    text-decoration: none;
}

.page-newbie-guide-how-to-register a:hover {
    text-decoration: underline;
}

/* General container for main content width */
.page-newbie-guide-how-to-register__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-newbie-guide-how-to-register__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px; /* Adjust padding for visual spacing */
    background-color: var(--color-bg-main);
    overflow: hidden;
}

.page-newbie-guide-how-to-register__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.2; /* Slightly transparent to allow text readability */
}

.page-newbie-guide-how-to-register__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.page-newbie-guide-how-to-register__hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--color-text-secondary);
}

/* Buttons */
.page-newbie-guide-how-to-register__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
    color: var(--color-text-main); /* Text Main for button text */
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-newbie-guide-how-to-register__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    filter: brightness(1.1);
    text-decoration: none;
}

/* Section Styling */
.page-newbie-guide-how-to-register__section {
    padding: 60px 0;
    background-color: var(--color-bg-main);
}

.page-newbie-guide-how-to-register__section:nth-of-type(even) {
    background-color: var(--color-bg-card); /* Alternate background for sections */
}

/* Benefits Section */
.page-newbie-guide-how-to-register__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-newbie-guide-how-to-register__benefit-card {
    background-color: var(--color-bg-card);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-border);
}

.page-newbie-guide-how-to-register__benefit-card h3 {
    color: var(--color-gold);
    margin-bottom: 15px;
}

.page-newbie-guide-how-to-register__benefit-card p {
    color: var(--color-text-secondary);
}

.page-newbie-guide-how-to-register__benefit-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

/* Step-by-Step Guide */
.page-newbie-guide-how-to-register__step-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    background-color: var(--color-bg-card);
    border-radius: 10px;
    padding: 30px;
    border: 1px solid var(--color-border);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-newbie-guide-how-to-register__step-item:nth-child(even) {
    flex-direction: row-reverse;
}

.page-newbie-guide-how-to-register__step-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--color-gold);
    min-width: 80px;
    text-align: center;
    margin-right: 20px;
}

.page-newbie-guide-how-to-register__step-item:nth-child(even) .page-newbie-guide-how-to-register__step-number {
    margin-left: 20px;
    margin-right: 0;
}

.page-newbie-guide-how-to-register__step-content {
    flex: 1;
}

.page-newbie-guide-how-to-register__step-content h3 {
    margin-top: 0;
    color: var(--color-secondary);
}

.page-newbie-guide-how-to-register__step-image {
    width: 40%;
    max-width: 400px;
    margin-left: 30px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-newbie-guide-how-to-register__step-item:nth-child(even) .page-newbie-guide-how-to-register__step-image {
    margin-left: 0;
    margin-right: 30px;
}

.page-newbie-guide-how-to-register__cta-wrapper {
    text-align: center;
    margin-top: 50px;
}

/* Video Section */
.page-newbie-guide-how-to-register__video-section {
    padding: 60px 0;
    background-color: var(--color-bg-main);
    text-align: center;
}

.page-newbie-guide-how-to-register__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: var(--color-bg-card);
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    margin: 0 auto;
    width: 100%; /* Ensure width is 100% for desktop */
    max-width: 1000px; /* Max width for the video player */
}

.page-newbie-guide-how-to-register__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    cursor: pointer;
}

/* FAQ Section */
.page-newbie-guide-how-to-register__faq-section {
    padding: 60px 0;
    background-color: var(--color-bg-card);
}

.page-newbie-guide-how-to-register__faq-list {
    max-width: 900px;
    margin: 30px auto 0 auto;
}

.page-newbie-guide-how-to-register__faq-item {
    background-color: var(--color-bg-main);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-newbie-guide-how-to-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--color-text-main);
    cursor: pointer;
    background-color: var(--color-deep-green);
    border-bottom: 1px solid var(--color-divider);
}

.page-newbie-guide-how-to-register__faq-question:hover {
    background-color: var(--color-primary);
}

.page-newbie-guide-how-to-register__faq-qtext {
    flex-grow: 1;
}

.page-newbie-guide-how-to-register__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--color-gold);
}

.page-newbie-guide-how-to-register__faq-answer {
    padding: 0 25px;
    font-size: 1rem;
    color: var(--color-text-secondary);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-newbie-guide-how-to-register__faq-item.active .page-newbie-guide-how-to-register__faq-answer {
    max-height: 500px; /* Sufficiently large for content */
    padding-top: 15px;
    padding-bottom: 20px;
}

/* Details element specific styling */
.page-newbie-guide-how-to-register__faq-item details > summary {
    list-style: none;
}
.page-newbie-guide-how-to-register__faq-item details > summary::-webkit-details-marker {
    display: none;
}

/* Final CTA Section */
.page-newbie-guide-how-to-register__cta-section-bottom {
    background-color: var(--color-bg-main);
    padding: 80px 20px;
    text-align: center;
}

.page-newbie-guide-how-to-register__cta-section-bottom h2 {
    color: var(--color-gold);
}

.page-newbie-guide-how-to-register__cta-section-bottom p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: var(--color-text-secondary);
}

/* Image responsive base styles */
.page-newbie-guide-how-to-register img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .page-newbie-guide-how-to-register__step-item {
        flex-direction: column;
        text-align: center;
    }

    .page-newbie-guide-how-to-register__step-item:nth-child(even) {
        flex-direction: column;
    }

    .page-newbie-guide-how-to-register__step-number {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .page-newbie-guide-how-to-register__step-item:nth-child(even) .page-newbie-guide-how-to-register__step-number {
        margin-left: 0;
        margin-bottom: 20px;
    }

    .page-newbie-guide-how-to-register__step-image {
        width: 80%;
        margin: 30px auto 0 auto;
    }

    .page-newbie-guide-how-to-register__step-item:nth-child(even) .page-newbie-guide-how-to-register__step-image {
        margin: 30px auto 0 auto;
    }
}

@media (max-width: 768px) {
    .page-newbie-guide-how-to-register {
        font-size: 0.95rem;
    }

    .page-newbie-guide-how-to-register__hero-section {
        padding: 60px 15px;
    }

    .page-newbie-guide-how-to-register__section {
        padding: 40px 0;
    }

    .page-newbie-guide-how-to-register__container {
        padding: 0 15px;
    }

    .page-newbie-guide-how-to-register h1 {
        font-size: clamp(1.8rem, 7vw, 2.8rem);
    }

    .page-newbie-guide-how-to-register h2 {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .page-newbie-guide-how-to-register__btn {
        padding: 12px 25px;
        font-size: 1rem;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Images */
    .page-newbie-guide-how-to-register img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-newbie-guide-how-to-register__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: 100% !important; /* Hero image needs to cover its container */
    }

    /* Video */
    .page-newbie-guide-how-to-register video,
    .page-newbie-guide-how-to-register__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-newbie-guide-how-to-register__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px; /* Add padding to prevent video touching edges */
        padding-right: 15px;
    }

    .page-newbie-guide-how-to-register__video-section {
        padding-top: 10px !important; /* Small top padding for video section */
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Content containers for mobile */
    .page-newbie-guide-how-to-register__section,
    .page-newbie-guide-how-to-register__container,
    .page-newbie-guide-how-to-register__benefit-card,
    .page-newbie-guide-how-to-register__step-item,
    .page-newbie-guide-how-to-register__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-newbie-guide-how-to-register__step-item {
        padding-left: 20px;
        padding-right: 20px;
    }
    .page-newbie-guide-how-to-register__faq-question {
        padding: 15px 20px;
    }
    .page-newbie-guide-how-to-register__faq-answer {
        padding: 0 20px;
    }
}