/* style/register.css */
.page-register {
    background-color: #0D0E12;
    color: #FFF3E6;
    padding-bottom: 50px;
}

.page-register__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 20px 40px;
    position: relative;
    overflow: hidden;
}

.page-register__hero-image {
    width: 100%;
    max-width: 1920px;
    height: auto;
    object-fit: cover;
    margin-bottom: 30px;
    border-radius: 10px;
}

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

.page-register__hero-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #FFF3E6;
    margin-bottom: 15px;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-register__hero-description {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-register__cta-button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #FFF3E6;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

.page-register__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 140, 26, 0.6);
}

.page-register__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #FFF3E6;
    position: relative;
    padding-bottom: 15px;
}

.page-register__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #FFA53A, #D96800);
    border-radius: 2px;
}

.page-register__steps-section,
.page-register__benefits-section,
.page-register__faq-section,
.page-register__cta-banner {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.page-register__step-card,
.page-register__benefit-card {
    background-color: #17191F;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid #A84F0C;
    transition: transform 0.3s ease;
}

.page-register__step-card:hover,
.page-register__benefit-card:hover {
    transform: translateY(-5px);
}

.page-register__step-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #FFF3E6;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(255, 140, 26, 0.4);
}

.page-register__step-title,
.page-register__benefit-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #FFA53A;
}

.page-register__step-description,
.page-register__benefit-description {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.8;
}

.page-register__steps-image,
.page-register__benefits-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    margin: 0 auto;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Ensure content images are at least 200px wide for desktop */
.page-register__steps-image,
.page-register__benefits-image,
.page-register__cta-image {
    min-width: 200px;
    min-height: 200px;
}

.page-register__faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-register__faq-item {
    background-color: #17191F;
    border-radius: 10px;
    padding: 25px 30px;
    border: 1px solid #A84F0C;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
}

.page-register__faq-question {
    font-size: 1.3rem;
    font-weight: 600;
    color: #FFA53A;
    margin-bottom: 10px;
    cursor: pointer;
}

.page-register__faq-answer {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.8;
    display: block;
}

.page-register__cta-banner {
    background-color: #17191F;
    border-radius: 15px;
    padding: 60px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    border: 1px solid #A84F0C;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    margin-top: 50px;
}

.page-register__cta-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

.page-register__cta-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #FFF3E6;
    margin-bottom: 15px;
}

.page-register__cta-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-register__hero-section {
        padding: 10px 15px 30px;
    }

    .page-register__hero-title {
        font-size: clamp(2rem, 6vw, 2.8rem);
    }

    .page-register__hero-description {
        font-size: 1rem;
    }

    .page-register__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .page-register__section-title {
        font-size: clamp(1.8rem, 5vw, 2.2rem);
        margin-bottom: 40px;
    }

    .page-register__steps-section,
    .page-register__benefits-section,
    .page-register__faq-section,
    .page-register__cta-banner {
        padding: 40px 15px;
    }

    .page-register__steps-grid,
    .page-register__benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-register__step-card,
    .page-register__benefit-card,
    .page-register__faq-item {
        padding: 20px;
    }

    .page-register__step-title,
    .page-register__benefit-title {
        font-size: 1.3rem;
    }

    .page-register__faq-question {
        font-size: 1.15rem;
    }

    .page-register__cta-banner {
        padding: 40px 20px;
    }

    .page-register__cta-title {
        font-size: clamp(1.8rem, 5vw, 2.2rem);
    }

    .page-register__cta-description {
        font-size: 1rem;
    }

    /* Mobile image overflow prevention */
    .page-register img {
        max-width: 100%;
        height: auto;
    }
}

/* Ensure content area images (selected by .page-register img) are not less than 200px */
.page-register img:not(.shared-header__logo, .shared-footer__payment-icon, .shared-footer__social-icon, .shared-footer__game-provider-icon) {
    min-width: 200px;
    min-height: 200px;
}
/* For mobile, override the min-width/height with max-width: 100% for responsiveness, but ensure they don't shrink below 200px *if possible* while fitting screen */
@media (max-width: 768px) {
    .page-register img:not(.shared-header__logo, .shared-footer__payment-icon, .shared-footer__social-icon, .shared-footer__game-provider-icon) {
        max-width: 100%;
        height: auto;
    }
}