/* style/register.css */
.page-register {
    color: #ffffff; /* Dark body background #121212, so use light text */
    background-color: transparent;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

/* Hero Section */
.page-register__hero-section {
    position: relative;
    padding: 80px 0 60px;
    background-color: #1a1a1a; /* Slightly lighter dark background for section */
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    background-image: url('[GALLERY:hero:1920x1080:hit_clib_register_hero,online_betting_platform,dynamic_interface]');
    background-size: cover;
    background-position: center;
    color: #ffffff;
}

.page-register__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
    z-index: 1;
}

.page-register__hero-title,
.page-register__hero-description,
.page-register__form-wrapper {
    position: relative;
    z-index: 2;
}

.page-register__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFFF00; /* Custom color for important titles */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-register__hero-description {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #f0f0f0;
}

.page-register__form-wrapper {
    background-color: rgba(0, 0, 0, 0.85); /* Darker background for the form */
    padding: 40px;
    border-radius: 10px;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border: 1px solid #017439;
}

.page-register__registration-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-register__form-group {
    text-align: left;
}

.page-register__form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #ffffff;
}

.page-register__form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #017439;
    border-radius: 5px;
    background-color: #2a2a2a;
    color: #ffffff;
    font-size: 1em;
    box-sizing: border-box;
}

.page-register__form-input::placeholder {
    color: #cccccc;
}

.page-register__captcha-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.page-register__captcha-input {
    flex-grow: 1;
}

.page-register__captcha-image {
    border: 1px solid #017439;
    border-radius: 5px;
    align-self: flex-start; /* Align image to the start */
}

.page-register__btn-submit {
    background-color: #C30808; /* Custom color for register button */
    color: #FFFF00; /* Custom font color for register button */
    padding: 15px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-transform: uppercase;
}

.page-register__btn-submit:hover {
    background-color: #a00606;
    transform: translateY(-2px);
}

.page-register__login-prompt {
    margin-top: 20px;
    font-size: 0.95em;
    color: #cccccc;
}

.page-register__login-link {
    color: #017439;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-register__login-link:hover {
    color: #00b347;
    text-decoration: underline;
}

/* Benefits Section */
.page-register__benefits-section {
    padding: 60px 0;
    background-color: #222222; /* Darker background */
    color: #ffffff;
    text-align: center;
}

.page-register__section-title {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: #017439; /* Primary brand color for titles */
}

.page-register__section-description {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 40px;
    color: #f0f0f0;
}

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

.page-register__benefit-card {
    background-color: #2a2a2a; /* Card background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #333333;
}

.page-register__benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-register__benefit-icon {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #017439;
}

.page-register__benefit-title {
    font-size: 1.5em;
    color: #FFFF00; /* Custom color for benefit titles */
    margin-bottom: 15px;
}

.page-register__benefit-text {
    font-size: 1em;
    color: #cccccc;
}

/* Steps Section */
.page-register__steps-section {
    padding: 60px 0;
    background-color: #1a1a1a; /* Dark background */
    color: #ffffff;
    text-align: center;
}

.page-register__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.page-register__step-item {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: left;
    border-left: 5px solid #017439;
}

.page-register__step-title {
    font-size: 1.8em;
    color: #FFFF00; /* Custom color for step titles */
    margin-bottom: 10px;
}

.page-register__step-text {
    font-size: 1.05em;
    color: #cccccc;
}

/* CTA Section */
.page-register__cta-section {
    padding: 80px 0;
    background-color: #222222;
    color: #ffffff;
    text-align: center;
}

.page-register__btn-cta {
    display: inline-block;
    background-color: #C30808; /* Custom color for CTA button */
    color: #FFFF00; /* Custom font color for CTA button */
    padding: 18px 35px;
    border: none;
    border-radius: 8px;
    font-size: 1.4em;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 40px;
    text-transform: uppercase;
}

.page-register__btn-cta:hover {
    background-color: #a00606;
    transform: translateY(-3px);
}

/* FAQ Section */
.page-register__faq-section {
    padding: 60px 0;
    background-color: #1a1a1a;
    color: #ffffff;
}

.page-register__faq-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-register__faq-item {
    background-color: #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid #333333;
}

.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #333333;
    transition: background-color 0.3s ease;
}

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

.page-register__faq-title {
    font-size: 1.2em;
    color: #FFFF00; /* Custom color for FAQ titles */
    margin: 0;
}

.page-register__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #017439;
    transition: transform 0.3s ease;
}

.page-register__faq-item.active .page-register__faq-toggle {
    transform: rotate(45deg);
    color: #FFFF00;
}

.page-register__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #2a2a2a;
    color: #cccccc;
}

.page-register__faq-item.active .page-register__faq-answer {
    max-height: 1000px !important; /* Sufficient height for content */
    padding: 15px 25px;
}

.page-register__faq-answer p {
    margin: 0;
    padding-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-register__hero-title {
        font-size: 2.5em;
    }

    .page-register__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-register__hero-section {
        padding: 60px 0 40px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-register__hero-title {
        font-size: 2em;
    }
    .page-register__hero-description {
        font-size: 1em;
    }
    .page-register__form-wrapper {
        padding: 30px;
    }
    .page-register__btn-submit,
    .page-register__btn-cta {
        font-size: 1.1em;
        padding: 15px 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-register__captcha-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-register__captcha-image {
        width: 100% !important;
        height: auto !important;
        max-width: 200px !important;
        margin-top: 10px;
    }

    .page-register__section-title {
        font-size: 1.8em;
    }
    .page-register__section-description {
        font-size: 0.95em;
    }
    .page-register__benefits-section,
    .page-register__steps-section,
    .page-register__cta-section,
    .page-register__faq-section {
        padding: 40px 0;
    }
    .page-register__benefit-card {
        padding: 20px;
    }
    .page-register__benefit-title {
        font-size: 1.3em;
    }
    .page-register__step-item {
        padding: 20px;
    }
    .page-register__step-title {
        font-size: 1.5em;
    }
    .page-register__faq-question {
        padding: 15px 20px;
    }
    .page-register__faq-title {
        font-size: 1.1em;
    }
    .page-register__faq-answer {
        padding: 0 20px;
    }
    .page-register__faq-item.active .page-register__faq-answer {
        padding: 15px 20px;
    }

    /* Image responsive */
    .page-register img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-register__section,
    .page-register__card,
    .page-register__container,
    .page-register__form-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-register__benefits-grid {
        gap: 20px;
    }

    .page-register__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .page-register__hero-title {
        font-size: 1.8em;
    }
    .page-register__section-title {
        font-size: 1.6em;
    }
    .page-register__btn-cta {
        font-size: 1.2em;
    }
}