/* style/register.css */
.page-register {
    color: #ffffff; /* Body background is dark (#0a0a0a), so text is light */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-register__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 70vh;
    background: linear-gradient(rgba(1, 116, 57, 0.7), rgba(1, 116, 57, 0.9)), url('[GALLERY:bg:1920x1080:abstract_pattern,dark_green_gradient,gaming_background]') center/cover no-repeat;
    color: #ffffff;
    padding: 60px 20px;
    box-sizing: border-box;
}

.page-register__hero-content {
    max-width: 900px;
    z-index: 1;
}

.page-register__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFF00; /* Custom color for important titles */
}

.page-register__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-register__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.page-register__btn-primary {
    background-color: #C30808; /* Custom color for register button */
    color: #FFFF00; /* Custom color for register button font */
    border: 2px solid #C30808;
}

.page-register__btn-primary:hover {
    background-color: #e02f2f;
    border-color: #e02f2f;
}

.page-register__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #017439;
}

.page-register__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
}

.page-register__btn-tertiary {
    background-color: #017439;
    color: #ffffff;
    border: 2px solid #017439;
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-register__btn-tertiary:hover {
    background-color: #02944d;
    border-color: #02944d;
}

.page-register__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-register__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Subtle background image */
}

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

.page-register__section-title {
    font-size: 2.5em;
    color: #FFFF00; /* Custom color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

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

.page-register__dark-bg {
    background-color: #0a0a0a;
    color: #ffffff;
}

.page-register__light-bg {
    background-color: #ffffff;
    color: #333333;
}

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

.page-register__benefit-card {
    background: rgba(1, 116, 57, 0.2); /* Semi-transparent brand color for cards */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-register__benefit-title {
    font-size: 1.8em;
    color: #FFFF00;
    margin-bottom: 15px;
}

.page-register__benefit-description {
    font-size: 1em;
    color: #f0f0f0;
}

/* Steps Section */
.page-register__steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.page-register__step-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    flex: 1 1 calc(50% - 40px);
    max-width: calc(50% - 40px);
    box-sizing: border-box;
}

.page-register__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #017439;
    color: #ffffff;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
}

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

.page-register__step-description {
    font-size: 1em;
    color: #555555;
}

.page-register__steps-image {
    display: block;
    margin: 60px auto 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    min-height: 200px;
}

/* Form Details Section */
.page-register__form-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-register__detail-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-register__detail-title {
    font-size: 1.8em;
    color: #017439;
    margin-bottom: 10px;
}

.page-register__detail-description {
    font-size: 1em;
    color: #f0f0f0;
}

/* Security Section */
.page-register__security-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-register__feature-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.page-register__feature-description {
    font-size: 1em;
    color: #555555;
}

.page-register__security-image {
    display: block;
    margin: 60px auto 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    min-height: 200px;
}

/* Promotions Section */
.page-register__promo-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-register__promo-card {
    background: rgba(1, 116, 57, 0.2);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-register__promo-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

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

.page-register__promo-description {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 20px;
}

.page-register__cta-buttons--center {
    margin-top: 50px;
}

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

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

.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #017439;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.1em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-register__faq-title {
    margin: 0;
    color: #ffffff;
}

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

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

.page-register__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #ffffff;
    color: #333333;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-register__hero-title {
        font-size: 2.5em;
    }
    .page-register__section-title {
        font-size: 2em;
    }
    .page-register__benefit-title, .page-register__detail-title, .page-register__feature-title, .page-register__promo-title {
        font-size: 1.5em;
    }
    .page-register__step-item {
        flex: 1 1 calc(100% - 40px);
        max-width: calc(100% - 40px);
    }
}

@media (max-width: 768px) {
    .page-register {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-register__hero-title {
        font-size: 2em;
    }
    .page-register__hero-description {
        font-size: 1em;
    }
    .page-register__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-register__btn-primary,
    .page-register__btn-secondary,
    .page-register__btn-tertiary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-register__section-title {
        font-size: 1.8em;
    }
    .page-register__section-intro {
        font-size: 0.95em;
    }
    .page-register__content-area {
        padding: 40px 15px;
    }
    .page-register__benefits-grid,
    .page-register__form-details-grid,
    .page-register__security-features-grid,
    .page-register__promo-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-register__hero-section {
        padding: 40px 15px;
    }
    /* Mobile image responsiveness */
    .page-register img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-register__section,
    .page-register__card,
    .page-register__container,
    .page-register__hero-section,
    .page-register__benefits-section,
    .page-register__steps-section,
    .page-register__form-details-section,
    .page-register__security-section,
    .page-register__promotions-section,
    .page-register__faq-section,
    .page-register__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-register__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-register__cta-buttons {
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-register__faq-question {
        padding: 15px;
        font-size: 1em;
    }
    .page-register__faq-answer {
        padding: 15px;
    }
}