.page-register {
    color: #FFF6D6; /* Main text color for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.page-register__hero-section {
    padding-top: 10px; /* Adhering to the 10px rule for first section */
    position: relative;
    overflow: hidden;
    color: #FFF6D6;
    text-align: center;
}

.page-register__hero-content-wrapper {
    display: flex;
    flex-direction: column; /* Stacks image above text */
    align-items: center;
    gap: 20px; /* Space between image and text */
    padding-bottom: 30px; /* Add some padding at the bottom of the section */
}

.page-register__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px; /* Example max height for hero image */
    border-radius: 8px;
}

.page-register__hero-text-block {
    text-align: center;
    max-width: 900px;
    padding: 0 20px; /* Add horizontal padding for smaller screens */
}

.page-register__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Using clamp for H1 font size */
    font-weight: bold;
    color: #F2C14E; /* Brand color for title */
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-register__description {
    font-size: 1.2em;
    color: #FFF6D6;
    margin-bottom: 30px;
}

.page-register__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allows buttons to wrap on smaller screens */
}

.page-register__btn-primary,
.page-register__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-register__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #ffffff;
    border: none;
}

.page-register__btn-primary:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.page-register__btn-secondary {
    background: #111111; /* Card BG color */
    color: #F2C14E; /* Brand color */
    border: 2px solid #F2C14E;
}

.page-register__btn-secondary:hover {
    transform: translateY(-2px);
    background: #F2C14E;
    color: #111111;
}

.page-register__section-title {
    font-size: 2.5em;
    color: #F2C14E;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-register__section-intro {
    font-size: 1.1em;
    color: #FFF6D6;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-register__dark-bg {
    background-color: #0A0A0A; /* Body background color */
    padding: 60px 0;
}

.page-register__why-join-section,
.page-register__registration-guide-section,
.page-register__security-section,
.page-register__faq-section,
.page-register__final-cta-section {
    padding: 60px 0;
}

.page-register__benefits-grid,
.page-register__security-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.page-register__card {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border color */
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #FFF6D6;
}

.page-register__card-title {
    font-size: 1.5em;
    color: #FFD36B; /* Glow color for card titles */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-register__benefits-image,
.page-register__security-image {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 40px;
    border-radius: 8px;
}

.page-register__step-by-step-guide {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.page-register__guide-item {
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 8px;
    padding: 30px;
    color: #FFF6D6;
    text-align: center;
}

.page-register__guide-number {
    font-size: 3em;
    font-weight: bold;
    color: #F2C14E;
    margin-bottom: 15px;
}

.page-register__guide-title {
    font-size: 1.8em;
    color: #FFD36B;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-register__guide-image {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 20px;
    border-radius: 8px;
}

.page-register__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-register__faq-item {
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFF6D6;
    list-style: none; /* For details/summary */
}

.page-register__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker */
}

.page-register__faq-qtext {
    flex-grow: 1;
}

.page-register__faq-toggle {
    font-size: 1.5em;
    color: #F2C14E;
    margin-left: 15px;
}

.page-register__faq-item[open] .page-register__faq-toggle::before {
    content: "−";
}

.page-register__faq-item:not([open]) .page-register__faq-toggle::before {
    content: "+";
}

.page-register__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: #FFF6D6;
}

/* Universal image styles to prevent filters */
.page-register img {
    filter: none;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .page-register__container {
        padding: 15px;
    }

    .page-register__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em); /* Adjust H1 for mobile */
        padding: 0 10px;
    }

    .page-register__description {
        font-size: 1em;
        padding: 0 10px;
    }

    .page-register__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px;
    }

    .page-register__btn-primary,
    .page-register__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-register__section-title {
        font-size: 2em;
        padding: 0 15px;
    }

    .page-register__section-intro {
        font-size: 0.95em;
        padding: 0 15px;
    }

    .page-register__why-join-section,
    .page-register__registration-guide-section,
    .page-register__security-section,
    .page-register__faq-section,
    .page-register__final-cta-section {
        padding: 40px 0;
    }

    .page-register__benefits-grid,
    .page-register__security-features-grid {
        grid-template-columns: 1fr; /* Single column for benefits/features */
        gap: 20px;
        padding: 0 15px;
    }

    .page-register__card {
        padding: 20px;
    }

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

    .page-register__step-by-step-guide {
        grid-template-columns: 1fr; /* Single column for steps */
        gap: 30px;
        padding: 0 15px;
    }

    .page-register__guide-number {
        font-size: 2.5em;
    }

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

    .page-register__faq-list {
        padding: 0 15px;
    }

    .page-register__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    /* Universal image responsive styles for mobile */
    .page-register img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    /* Ensure all content containers are responsive */
    .page-register__hero-content-wrapper,
    .page-register__why-join-section,
    .page-register__registration-guide-section,
    .page-register__security-section,
    .page-register__faq-section,
    .page-register__final-cta-section,
    .page-register__container,
    .page-register__card,
    .page-register__guide-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}