.page-register {
    color: #333333; /* Dark text for light body background */
}

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

.page-register__hero-section {
    background-color: #1A2A4E;
    color: #ffffff;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Ensure header offset for PC and mobile */
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.page-register__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-register__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 20px;
}

.page-register__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-register__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    line-height: 1.5;
    opacity: 0.9;
}

.page-register__hero-button {
    display: inline-block;
    background-color: #FFD700;
    color: #1A2A4E;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-register__hero-button:hover {
    background-color: #e5c000;
    transform: translateY(-3px);
}

.page-register__section-title {
    font-size: 2.5em;
    color: #1A2A4E;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

.page-register__section-intro {
    font-size: 1.1em;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-register__value-section, .page-register__steps-section, .page-register__conditions-section, .page-register__faq-section, .page-register__about-pub777 {
    padding: 60px 0;
}

.page-register__value-section {
    background-color: #f0f0f0;
}

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

.page-register__feature-item {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.page-register__feature-icon {
    width: 100%; /* Ensure images fill their container */
    height: auto;
    max-width: 250px; /* Constrain max width for visual balance */
    border-radius: 10px;
    margin-bottom: 20px;
    object-fit: cover;
}

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

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

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

.page-register__cta-bottom p {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #1A2A4E;
    font-weight: 600;
}

.page-register__cta-button {
    display: inline-block;
    background-color: #1A2A4E;
    color: #FFD700;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-register__cta-button:hover {
    background-color: #0d1a33;
    transform: translateY(-3px);
}

.page-register__registration-steps {
    list-style: none;
    counter-reset: step-counter;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
    padding: 0;
}

.page-register__step-item {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-register__step-number {
    counter-increment: step-counter;
    font-size: 2.5em;
    font-weight: bold;
    color: #FFD700;
    margin-bottom: 15px;
    display: block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background-color: #1A2A4E;
    color: #FFD700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-register__step-title {
    font-size: 1.6em;
    color: #1A2A4E;
    margin-bottom: 15px;
}

.page-register__step-description {
    font-size: 1em;
    line-height: 1.6;
    color: #555555;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-register__step-button {
    display: inline-block;
    background-color: #FFD700;
    color: #1A2A4E;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: auto; /* Push button to bottom */
}

.page-register__step-button:hover {
    background-color: #e5c000;
    transform: translateY(-2px);
}

.page-register__conditions-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-register__condition-item {
    background-color: #ffffff;
    border-left: 5px solid #FFD700;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-size: 1.05em;
    line-height: 1.6;
}

.page-register__condition-item strong {
    color: #1A2A4E;
}

.page-register__condition-item a {
    color: #1A2A4E;
    text-decoration: underline;
}

.page-register__condition-item a:hover {
    color: #FFD700;
}

.page-register__faq-list {
    margin-top: 40px;
}

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

.page-register__faq-question {
    background-color: #f9f9f9;
    color: #1A2A4E;
    font-size: 1.2em;
    font-weight: 600;
    padding: 20px 25px;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-register__faq-question::after {
    content: '\25B6'; /* Right arrow */
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.page-register__faq-question.active::after {
    transform: rotate(90deg); /* Down arrow when active */
}

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

.page-register__faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-register__faq-answer.active {
    max-height: 200px; /* Adjust as needed for content */
    padding: 20px 25px;
}

.page-register__faq-answer p {
    font-size: 1em;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 0;
}

.page-register__faq-answer a {
    color: #1A2A4E;
    text-decoration: underline;
}

.page-register__faq-answer a:hover {
    color: #FFD700;
}

.page-register__call-to-action {
    background-color: #1A2A4E;
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.page-register__cta-content {
    max-width: 900px;
}

.page-register__cta-title {
    font-size: 2.8em;
    color: #FFD700;
    margin-bottom: 20px;
}

.page-register__cta-description {
    font-size: 1.3em;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
}

.page-register__cta-button--large {
    padding: 18px 50px;
    font-size: 1.2em;
    background-color: #FFD700;
    color: #1A2A4E;
}

.page-register__cta-button--large:hover {
    background-color: #e5c000;
}

.page-register__cta-small-text {
    margin-top: 30px;
    font-size: 1em;
    opacity: 0.8;
}

.page-register__cta-link {
    color: #FFD700;
    text-decoration: underline;
}

.page-register__cta-link:hover {
    color: #ffffff;
}

.page-register__about-pub777 {
    padding: 60px 0;
}

.page-register__paragraph {
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #444444;
}

.page-register__paragraph a {
    color: #1A2A4E;
    text-decoration: underline;
}

.page-register__paragraph a:hover {
    color: #FFD700;
}

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

@media (max-width: 768px) {
    .page-register__hero-content {
        padding: 60px 15px;
    }
    .page-register__hero-title {
        font-size: 2.2em;
    }
    .page-register__hero-description {
        font-size: 1.1em;
    }
    .page-register__section-title {
        font-size: 1.8em;
    }
    .page-register__section-intro {
        font-size: 1em;
    }
    .page-register__features-grid, .page-register__registration-steps {
        grid-template-columns: 1fr;
    }
    .page-register__feature-item, .page-register__step-item {
        padding: 25px;
    }
    .page-register__feature-icon {
        max-width: 100%; /* Ensure images don't overflow */
        height: auto;
    }
    .page-register__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-register__faq-answer.active {
        padding: 15px 20px;
    }
    .page-register__cta-title {
        font-size: 2em;
    }
    .page-register__cta-description {
        font-size: 1.1em;
    }
    .page-register__cta-button--large {
        padding: 15px 35px;
        font-size: 1.1em;
    }
    /* Mobile images must be responsive */
    .page-register__hero-image,
    .page-register__feature-icon,
    .page-register__step-item img,
    .page-register__faq-item img,
    .page-register__about-pub777 img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce minimum size */
        min-height: 200px; /* Enforce minimum size */
        object-fit: cover;
    }
    /* Ensure content area images are at least 200px wide/high */
    .page-register img {
        min-width: 200px;
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .page-register__hero-title {
        font-size: 1.8em;
    }
    .page-register__hero-description {
        font-size: 1em;
    }
    .page-register__hero-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-register__section-title {
        font-size: 1.5em;
    }
    .page-register__cta-title {
        font-size: 1.8em;
    }
    .page-register__cta-description {
        font-size: 1em;
    }
    .page-register__cta-button--large {
        padding: 12px 25px;
        font-size: 1em;
    }
}