:root {
    --color-primary: #11A84E; /* Main */
    --color-secondary: #22C768; /* Auxiliary */
    --color-button-gradient-start: #2AD16F;
    --color-button-gradient-end: #13994A;
    --color-card-bg: #11271B;
    --color-background: #08160F;
    --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-register {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-text-main); /* Default text color for dark background */
    background-color: var(--color-background); /* Overall page background */
}

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

/* Hero Section */
.page-register__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding as body handles --header-offset */
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-register__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 30px; /* Space between image and content below */
}

.page-register__hero-content {
    text-align: center;
    max-width: 800px;
}

.page-register__main-title {
    color: var(--color-gold);
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.page-register__description {
    color: var(--color-text-secondary);
    font-size: 1.1em;
    margin-bottom: 30px;
}

.page-register__cta-button {
    display: inline-block;
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-register__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-register__cta-button--large {
    padding: 18px 40px;
    font-size: 1.2em;
}

/* Intro Section & Dark Background Sections */
.page-register__intro-section,
.page-register__dark-section {
    background-color: var(--color-deep-green);
    color: var(--color-text-main);
    padding: 60px 20px;
    margin-bottom: 40px;
    border-radius: 10px;
}

.page-register__section-title {
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

/* Light Background Sections */
.page-register__light-bg {
    background-color: #f2fff6; /* A very light green/white for contrast */
    color: #333333; /* Dark text for light background */
    padding: 60px 20px;
    margin-bottom: 40px;
    border-radius: 10px;
}

/* Registration Guide Section */
.page-register__registration-guide {
    background-color: var(--color-background); /* Override for light-bg section */
    color: var(--color-text-main);
}

.page-register__step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
    text-align: center;
}

.page-register__step-title {
    color: var(--color-gold);
    margin-bottom: 20px;
    font-size: 1.8em;
}

.page-register__step-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure it respects max-width */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-register__step-list {
    text-align: left;
    margin: 20px 0;
    padding-left: 20px;
    list-style-type: disc;
    max-width: 600px;
}

.page-register__step-list li {
    margin-bottom: 10px;
    color: var(--color-text-secondary);
}

.page-register__btn-primary {
    display: inline-block;
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

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

/* Bonus Section */
.page-register__bonus-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 8px;
    margin: 30px auto;
    display: block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-register__bonus-list {
    margin: 30px 0;
    padding-left: 20px;
    list-style-type: decimal;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-register__bonus-list li {
    margin-bottom: 15px;
    color: var(--color-text-secondary);
}

/* Benefits Section */
.page-register__benefits-section {
    background-color: var(--color-background); /* Dark background */
    color: var(--color-text-main);
}

.page-register__benefit-card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.page-register__benefit-card:hover {
    transform: translateY(-5px);
}

.page-register__benefit-image {
    width: 100%;
    max-width: 600px; /* Constrain image size within card */
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-register__card-title {
    color: var(--color-gold);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.page-register__btn-secondary {
    display: inline-block;
    background: #ffffff;
    color: var(--color-primary);
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid var(--color-primary);
    transition: background 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.page-register__btn-secondary:hover {
    background: var(--color-primary);
    color: #ffffff;
}

/* FAQ Section */
.page-register__faq-section {
    background-color: var(--color-deep-green);
    color: var(--color-text-main);
}

.page-register__faq-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden; /* For details tag */
}

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

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

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

.page-register__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
}

.page-register__faq-answer {
    padding: 0 20px 20px 20px;
    color: var(--color-text-secondary);
    font-size: 0.95em;
    line-height: 1.5;
}

/* Conclusion Section */
.page-register__conclusion-section {
    background-color: var(--color-deep-green); /* Dark background */
    color: var(--color-text-main);
    text-align: center;
    padding: 80px 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-register {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-register__container {
        padding: 0 15px;
    }

    .page-register__hero-section,
    .page-register__intro-section,
    .page-register__registration-guide,
    .page-register__bonus-section,
    .page-register__benefits-section,
    .page-register__faq-section,
    .page-register__conclusion-section {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-register__hero-section {
        padding-top: 10px !important; /* Ensure small top padding */
    }

    .page-register__main-title {
        font-size: 2em; /* Adjust for mobile */
    }

    .page-register__description {
        font-size: 1em;
    }

    .page-register__cta-button,
    .page-register__btn-primary,
    .page-register__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        margin-bottom: 10px; /* Space between stacked buttons */
    }

    /* Button groups or multiple buttons */
    .page-register__hero-content,
    .page-register__registration-guide .page-register__step-item,
    .page-register__bonus-section .page-register__container,
    .page-register__benefits-section .page-register__container,
    .page-register__conclusion-section .page-register__container {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0; /* Container already has padding */
        overflow: hidden !important;
    }

    .page-register__hero-image,
    .page-register__step-image,
    .page-register__bonus-image,
    .page-register__benefit-image,
    .page-register img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    
    .page-register__card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    /* Video section responsiveness (general rules, even if not used on this page) */
    .page-register__video-section {
      padding-top: 10px !important; 
    }
    .page-register video,
    .page-register__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-register__video-section,
    .page-register__video-container,
    .page-register__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-register__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}