:root {
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --card-bg: #17191F;
    --background-color: #0D0E12;
    --text-main: #FFF3E6;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange: #D96800;
}

.page-register {
    padding-bottom: 40px;
    background-color: var(--background-color);
    color: var(--text-main);
    overflow-x: hidden; /* Prevent horizontal overflow */
}

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

/* Hero Section */
.page-register__hero-section {
    position: relative;
    text-align: center;
    padding-top: 10px; /* Small top padding */
    margin-bottom: 40px;
}

.page-register__hero-banner {
    width: 100%;
    margin: 0;
    overflow: hidden;
    display: block; /* Ensure it's a block element */
}

.page-register__hero-banner img {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    display: block;
    aspect-ratio: 16 / 5; /* For 1920x600 */
    object-fit: cover;
    object-position: center;
    filter: none; /* No color filters */
    min-width: 200px; /* Enforce minimum size for images */
    min- /* For responsive, height might be smaller but overall image area is large */
}

.page-register__hero-content {
    padding: 20px 20px 40px;
    max-width: 800px;
    margin: 0 auto;
}

.page-register__main-title {
    font-size: clamp(1.8rem, 4.5vw, 2.75rem); /* Adjust clamp values for H1 */
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary-color);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.page-register__subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--text-main);
}

.page-register__cta-button {
    display: inline-block;
    padding: 14px 30px;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange) 100%);
    color: var(--text-main);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-register__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

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

/* General Section Styles */
.page-register__intro-section,
.page-register__steps-section,
.page-register__security-section,
.page-register__faq-section {
    padding: 40px 0;
}

.page-register__section-title {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.page-register__section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--deep-orange);
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-register__text-content {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    color: var(--text-main);
}

/* Steps Section */
.page-register__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.page-register__step-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

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

.page-register__step-title {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-register__step-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-main);
}

/* Security Section */
.page-register__security-section {
    background-color: rgba(var(--primary-color), 0.05); /* Lighter background for distinction */
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.page-register__security-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.page-register__security-text {
    flex: 1;
    min-width: 300px;
}

.page-register__security-image-wrapper {
    flex: 1;
    min-width: 300px;
    margin: 0;
    text-align: center;
}

.page-register__security-image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    filter: none; /* No color filters */
    min-width: 200px; /* Minimum size */
    min-height: 200px;
    object-fit: cover; /* Ensure images fill their space nicely */
}

.page-register__link {
    color: var(--glow-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.page-register__link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* FAQ Section */
.page-register__faq-list {
    display: grid;
    gap: 20px;
}

.page-register__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px 25px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
}

.page-register__faq-question {
    font-size: 1.15rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-register__faq-answer {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-main);
}

/* Responsive adjustments */
@media (max-width: 849px) {
    .page-register__container {
        padding: 0 15px;
    }

    .page-register__main-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
    }

    .page-register__subtitle {
        font-size: 1rem;
    }

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

    .page-register__steps-grid {
        grid-template-columns: 1fr; /* Single column on smaller screens */
    }

    .page-register__security-content {
        flex-direction: column;
        text-align: center;
    }
    .page-register__security-text,
    .page-register__security-image-wrapper {
        min-width: unset;
        width: 100%;
    }
    .page-register__security-image-wrapper img {
        width: 100%; /* Ensure images take full width on mobile */
        max-width: 100%;
        min-width: 200px; /* Still enforce minimum size */
        min-height: 200px;
    }
    .page-register__text-content {
        text-align: left; /* Align text left on mobile */
    }
}

@media (max-width: 768px) {
    /* Critical for mobile images to prevent overflow */
    .page-register img {
        max-width: 100%;
        height: auto;
    }
    /* Specific for security image */
    .page-register__security-image-wrapper img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 549px) {
    .page-register__main-title {
        font-size: clamp(1.3rem, 7vw, 1.8rem);
    }
    .page-register__subtitle {
        font-size: 0.95rem;
    }
    .page-register__section-title {
        font-size: clamp(1.2rem, 6vw, 1.6rem);
    }
    .page-register__text-content {
        font-size: 0.9rem;
    }
    .page-register__step-title {
        font-size: 1.1rem;
    }
    .page-register__step-description {
        font-size: 0.85rem;
    }
    .page-register__faq-question {
        font-size: 1rem;
    }
    .page-register__faq-answer {
        font-size: 0.85rem;
    }
    .page-register__hero-content {
        padding-bottom: 20px;
    }
    .page-register__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}