.page-register {
    color: #ffffff; /* Light text for dark body background */
    background-color: #1a1a2e; /* Inherited from shared, but for clarity */
}

.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-top: var(--header-offset, 120px); /* Use shared offset for first section */
    padding-bottom: 60px;
    background: linear-gradient(135deg, #330066 0%, #1a1a2e 100%); /* Dark gradient using brand color */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
    overflow: hidden;
}

.page-register__hero-content {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    padding: 20px;
    z-index: 2;
}

.page-register__hero-title {
    font-size: 48px;
    font-weight: bold;
    color: #FFD700; /* Gold accent for title */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-register__hero-description {
    font-size: 18px;
    color: #f0f0f0;
    margin-bottom: 30px;
    line-height: 1.6;
}

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

.page-register__btn-primary,
.page-register__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
    max-width: 100%; /* Ensure button adapts to container */
}

.page-register__btn-primary {
    background: #FFD700; /* Gold background */
    color: #330066; /* Dark purple text */
    border: 2px solid #FFD700;
}

.page-register__btn-primary:hover {
    background: #e6c200;
    border-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.page-register__btn-secondary {
    background: #330066; /* Dark purple background */
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
}

.page-register__btn-secondary:hover {
    background: #4d0099;
    border-color: #FFD700;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(51, 0, 102, 0.3);
}

.page-register__hero-image-container {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    margin-top: 40px;
    z-index: 1;
}

.page-register__hero-image-container img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    object-fit: cover;
}

/* General Section Styles */
.page-register__section-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    color: #FFD700; /* Gold for titles in dark sections */
}

.page-register__section-title--light {
    color: #ffffff; /* White for titles in dark sections */
}

.page-register__section-description {
    font-size: 17px;
    line-height: 1.7;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: #f0f0f0; /* Light text for descriptions in dark sections */
}

.page-register__section-description--light {
    color: #ffffff; /* White text for descriptions in dark sections */
}

/* Advantages Section */
.page-register__advantages-section {
    padding: 80px 0;
    background-color: #f8f9fa; /* Light background for contrast */
    color: #333333; /* Dark text for light background */
}

.page-register__advantages-section .page-register__section-title {
    color: #330066; /* Dark purple for titles on light background */
}

.page-register__advantages-section .page-register__section-description {
    color: #555555; /* Darker grey for descriptions on light background */
}

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

.page-register__advantage-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
}

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

.page-register__advantage-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistent card image size */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
    max-width: 100%;
    display: block;
}

.page-register__card-title {
    font-size: 24px;
    font-weight: bold;
    color: #330066; /* Dark purple for card titles */
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-register__card-text {
    font-size: 16px;
    line-height: 1.7;
    color: #555555;
}

/* Steps Section */
.page-register__steps-section {
    padding: 80px 0;
    background-color: #330066; /* Dark purple background */
}

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

.page-register__step-item {
    background: rgba(255, 255, 255, 0.08); /* Semi-transparent white background */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, background 0.3s ease;
    height: 100%;
    box-sizing: border-box;
}

.page-register__step-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
}

.page-register__step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    background: #FFD700; /* Gold accent */
    color: #330066; /* Dark purple text */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    z-index: 1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-register__step-item img {
    width: 100%;
    height: 250px; /* Fixed height for step images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
    max-width: 100%;
    display: block;
}

.page-register__step-title {
    font-size: 24px;
    font-weight: bold;
    color: #FFD700; /* Gold for step titles */
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-register__step-text {
    font-size: 16px;
    line-height: 1.7;
    color: #f0f0f0;
}

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

/* Important Notes Section */
.page-register__important-notes-section {
    padding: 80px 0;
    background-color: #f8f9fa; /* Light background */
    color: #333333; /* Dark text */
}

.page-register__important-notes-section .page-register__section-title {
    color: #330066;
}

.page-register__important-notes-section .page-register__section-description {
    color: #555555;
}

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

.page-register__notes-list li {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    height: 100%;
    box-sizing: border-box;
}

.page-register__note-title {
    font-size: 22px;
    font-weight: bold;
    color: #330066;
    margin-bottom: 10px;
}

.page-register__note-text {
    font-size: 16px;
    line-height: 1.7;
    color: #555555;
}

/* Promotions Section */
.page-register__promotions-section {
    padding: 80px 0;
    background-color: #1a1a2e; /* Dark background from body */
}

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

.page-register__promotion-card {
    background: rgba(255, 255, 255, 0.08); /* Semi-transparent white background */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    box-sizing: border-box;
}

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

.page-register__promotion-card img {
    width: 100%;
    height: 250px; /* Fixed height for promotion images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
    max-width: 100%;
    display: block;
}

.page-register__card-title--light {
    color: #FFD700; /* Gold for card titles in dark sections */
}

.page-register__card-text--light {
    color: #f0f0f0;
}

/* FAQ Section */
.page-register__faq-section {
    padding: 80px 0;
    background-color: #f8f9fa; /* Light background */
    color: #333333; /* Dark text */
}

.page-register__faq-section .page-register__section-title {
    color: #330066;
}

.page-register__faq-section .page-register__section-description {
    color: #555555;
}

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

.page-register__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.page-register__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 20px;
    opacity: 0;
    background: #ffffff;
    color: #555555;
    border-radius: 0 0 8px 8px;
}

.page-register__faq-item.active .page-register__faq-answer {
    max-height: 2000px !important; /* Ensure it expands */
    padding: 20px !important;
    opacity: 1;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-top: none;
}

.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #330066; /* Dark purple for question background */
    border: 1px solid #330066;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-register__faq-question:hover {
    background: #4d0099;
    border-color: #4d0099;
}

.page-register__faq-question:active {
    background: #26004d;
}

.page-register__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: #ffffff; /* White text for question */
}

.page-register__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: #FFD700; /* Gold for toggle icon */
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.page-register__faq-item.active .page-register__faq-toggle {
    color: #FFD700;
    transform: rotate(45deg); /* Rotate for minus sign effect */
}


/* Contact Section */
.page-register__contact-section {
    padding: 80px 0;
    background-color: #1a1a2e; /* Dark background */
    text-align: center;
}

.page-register__contact-methods {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 50px;
    flex-wrap: wrap;
}

/* Image responsive */
.page-register img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* General button/container responsive */
.page-register__cta-buttons,
.page-register__contact-methods {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Media Queries */
@media (max-width: 1024px) {
    .page-register__hero-title {
        font-size: 40px;
    }

    .page-register__hero-description {
        font-size: 16px;
    }

    .page-register__section-title {
        font-size: 32px;
    }

    .page-register__notes-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* HERO Section */
    .page-register__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure offset on mobile */
        padding-bottom: 40px;
        flex-direction: column;
    }
    
    .page-register__hero-content {
        order: 2; /* Content after image on mobile */
        max-width: 100%;
    }

    .page-register__hero-image-container {
        order: 1; /* Image first on mobile */
        margin-top: 0;
        margin-bottom: 30px;
        max-width: 100%;
        padding: 0 15px; /* Add padding to image container */
        box-sizing: border-box;
    }

    .page-register__hero-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .page-register__hero-description {
        font-size: 15px;
        margin-bottom: 25px;
    }
}