.page-register {
    color: #333333; /* Dark text for light background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    background-color: #FFFFFF; /* Explicitly set for consistency */
}

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

/* Hero Section */
.page-register__hero-section {
    position: relative;
    padding: 80px 20px 60px; /* Adjust padding as needed */
    text-align: center;
    overflow: hidden; /* Ensure image doesn't overflow */
    background-color: #000000; /* Dark background for hero to make white button visible */
    color: #ffffff; /* White text for dark background */
}

.page-register__hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.page-register__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FCBC45; /* Gold accent for title */
    font-weight: bold;
}

.page-register__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-register__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background */
    z-index: 1;
}

/* General Buttons */
.page-register__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.page-register__button--register {
    background-color: #FCBC45; /* Gold button for register */
    color: #000000; /* Black text for gold button */
}

.page-register__button--register:hover {
    background-color: #e0a53b;
    transform: translateY(-2px);
}

.page-register__button--login {
    background-color: #000000; /* Dark button for login */
    color: #FCBC45; /* Gold text for login button */
    border: 2px solid #FCBC45;
}

.page-register__button--login:hover {
    background-color: #1a1a1a;
    transform: translateY(-2px);
}

.page-register__button--explore {
    background-color: #333333;
    color: #FFFFFF;
}

.page-register__button--explore:hover {
    background-color: #555555;
    transform: translateY(-2px);
}


/* Section Titles & Intros */
.page-register__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

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

/* Value Section */
.page-register__value-section {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.page-register__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-register__feature-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.page-register__feature-title {
    font-size: 1.5em;
    color: #000000;
    margin-bottom: 15px;
}

.page-register__feature-text {
    color: #666666;
}

/* Steps Section */
.page-register__steps-section {
    padding: 60px 0;
}

.page-register__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.page-register__step-item {
    background-color: #ffffff;
    padding: 30px;
    border-left: 5px solid #FCBC45;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    position: relative;
    padding-left: 50px; /* Space for step number */
}

.page-register__step-item::before {
    content: "0" counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 15px;
    top: 30px;
    font-size: 1.8em;
    font-weight: bold;
    color: #FCBC45;
    line-height: 1;
}

.page-register__steps-list {
    counter-reset: step-counter;
}

.page-register__step-title {
    font-size: 1.6em;
    color: #000000;
    margin-bottom: 10px;
}

.page-register__step-text {
    color: #666666;
}

.page-register__steps-image {
    display: block;
    margin: 50px auto 0;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px;
}

/* Conditions Section */
.page-register__conditions-section {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.page-register__rules-list {
    list-style: none;
    padding: 0;
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.page-register__rule-item {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-register__rule-title {
    font-size: 1.4em;
    color: #000000;
    margin-bottom: 10px;
}

.page-register__rule-text {
    color: #666666;
}

/* FAQ Section */
.page-register__faq-section {
    padding: 60px 0;
}

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

.page-register__faq-item {
    background-color: #ffffff;
    border: 1px solid #eee;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #000000;
    cursor: pointer;
    background-color: #fefefe;
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s ease;
}

.page-register__faq-item[open] .page-register__faq-question {
    background-color: #f0f0f0;
    border-bottom-color: #eee;
}

.page-register__faq-question:hover {
    background-color: #f5f5f5;
}

.page-register__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-register__faq-item[open] .page-register__faq-toggle {
    transform: rotate(45deg);
}

.page-register__faq-answer {
    padding: 15px 25px 20px;
    background-color: #ffffff;
    color: #555555;
    font-size: 1.05em;
}

.page-register__faq-image {
    display: block;
    margin: 50px auto 0;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px;
}

/* Call to Action Section */
.page-register__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #000000; /* Dark background */
    color: #ffffff;
}

.page-register__cta-section .page-register__section-title,
.page-register__cta-section .page-register__section-intro {
    color: #ffffff;
}

.page-register__button--large {
    padding: 18px 40px;
    font-size: 1.3em;
    margin-top: 30px;
    margin-bottom: 40px;
}

.page-register__cta-links {
    margin-top: 30px;
}

.page-register__cta-text {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #cccccc;
}

.page-register__cta-links .page-register__button {
    margin: 0 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-register__hero-title {
        font-size: 2.8em;
    }
    .page-register__section-title {
        font-size: 2em;
    }
    .page-register__features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-register__rules-list {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-register__hero-section {
        padding: 60px 20px 40px;
    }
    .page-register__hero-title {
        font-size: 2.2em;
    }
    .page-register__hero-description {
        font-size: 1em;
    }
    .page-register__section-title {
        font-size: 1.8em;
    }
    .page-register__section-intro {
        font-size: 1em;
    }
    .page-register__button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-register__button--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .page-register__steps-list,
    .page-register__rules-list {
        grid-template-columns: 1fr;
    }
    .page-register__cta-links .page-register__button {
        display: block;
        margin: 15px auto;
    }

    /* Content area images must not cause horizontal scroll */
    .page-register img {
        max-width: 100%;
        height: auto;
    }
    /* Specific overrides for content images to ensure minimum size, but also max-width for mobile */
    .page-register__steps-image,
    .page-register__faq-image {
        min-width: 200px; /* Enforce minimum size */
        min-height: 200px;
        max-width: 100%; /* Ensure responsiveness on mobile */
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-register__hero-title {
        font-size: 1.8em;
    }
    .page-register__section-title {
        font-size: 1.5em;
    }
    .page-register__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-register__faq-answer {
        padding: 10px 20px 15px;
    }
}