/* style/register.css */
/* Base styles for the register page */
.page-register {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

/* Header offset for the first content section */
.page-register__hero-section {
    padding-top: var(--header-offset, 120px);
    background: linear-gradient(135deg, #26A9E0, #1a1a2e); /* Brand color to dark body background */
    color: #ffffff;
    padding-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

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

.page-register__hero-content {
    text-align: center;
    padding: 40px 0;
    flex: 1;
    min-width: 300px;
}

.page-register__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.page-register__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-register__hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 300px;
}

.page-register__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

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

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

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

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

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

.page-register__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
    transform: translateY(-2px);
}

.page-register__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-register__why-register-section,
.page-register__security-section,
.page-register__faq-section {
    padding: 80px 0;
    background-color: #1a1a2e;
}

.page-register__dark-section {
    background-color: #20203a;
    padding: 80px 0;
    color: #ffffff;
}

.page-register__light-bg {
    background-color: #26A9E0;
    color: #ffffff;
    padding: 80px 0;
}

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

.page-register__feature-card,
.page-register__step-item,
.page-register__security-item,
.page-register__bonus-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
}

.page-register__feature-card:hover,
.page-register__bonus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-register__feature-icon,
.page-register__security-icon,
.page-register__bonus-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Ensure min size for images */
    min-height: 150px; /* Ensure min size for images */
}

.page-register__feature-title,
.page-register__step-title,
.page-register__security-title,
.page-register__bonus-title {
    font-size: 1.5em;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-register__feature-text,
.page-register__step-text,
.page-register__security-text,
.page-register__bonus-text {
    font-size: 1em;
    color: #e0e0e0;
}

.page-register__step-number {
    background-color: #26A9E0;
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    margin: 0 auto 20px auto;
}

.page-register__cta-wrapper {
    text-align: center;
    margin-top: 60px;
}

.page-register__security-footer-text {
    text-align: center;
    margin-top: 40px;
    font-size: 1em;
    color: #f0f0f0;
}

.page-register__link {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-register__link:hover {
    color: #38c1f0;
    text-decoration: underline;
}

/* FAQ Section */
.page-register__faq-list {
    margin-top: 50px;
}

.page-register__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    color: #ffffff;
}

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

.page-register__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    margin-left: 20px;
    color: #26A9E0;
}

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

.page-register__faq-answer p {
    margin-top: 0;
    margin-bottom: 0;
}

/* Final CTA Section */
.page-register__final-cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #20203a;
}

.page-register__final-cta-section .page-register__btn-primary {
    background-color: #EA7C07;
}

.page-register__final-cta-section .page-register__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border-color: #26A9E0;
}

/* Keyword styling */
.page-register__keyword {
    color: #26A9E0;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-register__hero-title {
        font-size: 2.8em;
    }
    .page-register__section-title {
        font-size: 2em;
    }
    .page-register__hero-section .page-register__container {
        flex-direction: column;
    }
    .page-register__hero-image-wrapper {
        margin-top: 40px;
    }
}

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

    .page-register__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 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-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-register__btn-primary,
    .page-register__btn-secondary,
    .page-register a[class*="button"],
    .page-register a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
    }

    .page-register__cta-buttons {
        flex-direction: column !important;
        gap: 15px !important;
        padding: 0 15px;
    }

    .page-register__container {
        padding: 0 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-register__why-register-section,
    .page-register__security-section,
    .page-register__faq-section,
    .page-register__dark-section,
    .page-register__light-bg,
    .page-register__final-cta-section {
        padding: 40px 0;
    }

    .page-register__feature-card,
    .page-register__step-item,
    .page-register__security-item,
    .page-register__bonus-card {
        padding: 25px;
    }

    /* Image responsive rules for content area */
    .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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-register__hero-title {
        font-size: 1.8em;
    }
    .page-register__section-title {
        font-size: 1.5em;
    }
    .page-register__feature-title,
    .page-register__step-title,
    .page-register__security-title,
    .page-register__bonus-title {
        font-size: 1.3em;
    }
    .page-register__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
}