/* style/register.css */

/* --- General Page Styles --- */
.page-register {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: #ffffff; /* Default page background */
}

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

.page-register__section {
    padding: 60px 0;
    text-align: center;
}

.page-register__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand primary color for titles */
    margin-bottom: 20px;
    font-weight: bold;
}

.page-register__section-description {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-register__highlight {
    color: #26A9E0;
    font-weight: bold;
}

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

.page-register__link:hover {
    text-decoration: underline;
}

/* --- Buttons --- */
.page-register__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-register__btn-primary,
.page-register__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box; /* Crucial for responsive buttons */
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Ensure text breaks within button */
}

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

.page-register__btn-primary:hover {
    background-color: #1e87c0;
    border-color: #1e87c0;
}

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

.page-register__btn-secondary:hover {
    background-color: #f0f8ff;
    color: #1e87c0;
    border-color: #1e87c0;
}

/* --- Image & Video Styles (Global for page-register) --- */
.page-register img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto; /* Center images */
    border-radius: 8px;
    object-fit: cover; /* Ensure images fill their space nicely */
}

.page-register__content-image {
    margin-top: 30px;
    margin-bottom: 30px;
}

.page-register__image-left {
    margin-right: 30px; /* Spacing for text-image layout */
}

.page-register__image-right {
    margin-left: 30px; /* Spacing for text-image layout */
}

/* --- Hero Section --- */
.page-register__hero-section {
    position: relative;
    padding: 100px 0; /* Adjust as needed, header offset will be added */
    padding-top: calc(var(--header-offset, 120px) + 60px); /* Add header offset + some padding */
    color: #ffffff; /* Light text for dark background */
    text-align: center;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-register__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.page-register__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken image for text readability, NO color change */
    border-radius: 0; /* Hero image typically full width, no border-radius */
}

.page-register__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    color: #ffffff;
}

.page-register__intro-text {
    font-size: 1.3em;
    max-width: 900px;
    margin: 0 auto 40px;
    color: #f0f0f0;
}

/* --- Dark/Light Background Sections --- */
.page-register__dark-bg {
    background-color: #26A9E0;
    color: #ffffff;
}
.page-register__dark-bg .page-register__section-title {
    color: #ffffff;
}
.page-register__dark-bg .page-register__section-description {
    color: #f0f0f0;
}
.page-register__dark-bg .page-register__highlight {
    color: #ffffff;
}
.page-register__dark-bg .page-register__link {
    color: #ffffff;
}
.page-register__dark-bg .page-register__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border-color: #ffffff;
}
.page-register__dark-bg .page-register__btn-secondary:hover {
    background-color: #f0f8ff;
    color: #1e87c0;
    border-color: #f0f8ff;
}


.page-register__light-bg {
    background-color: #ffffff;
    color: #333333;
}
.page-register__light-bg .page-register__section-title {
    color: #26A9E0;
}
.page-register__light-bg .page-register__section-description {
    color: #555555;
}
.page-register__light-bg .page-register__highlight {
    color: #26A9E0;
}
.page-register__light-bg .page-register__link {
    color: #26A9E0;
}


/* --- Why Register Section --- */
.page-register__why-register {
    padding-top: 80px;
    padding-bottom: 80px;
}

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

.page-register__feature-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-register__feature-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 5px;
}

.page-register__card-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-register__card-text {
    font-size: 1em;
    color: #666666;
}

/* --- Registration Steps Section --- */
.page-register__registration-steps {
    background-color: #f0f8ff; /* Light blue tint */
    padding-top: 80px;
    padding-bottom: 80px;
}

.page-register__steps-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow steps to wrap */
}

.page-register__step-item {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
    position: relative;
    padding-top: 70px; /* Space for step number */
}

.page-register__step-number {
    position: absolute;
    top: 20px;
    left: 30px;
    width: 40px;
    height: 40px;
    background-color: #26A9E0;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
}

.page-register__step-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-register__step-description {
    font-size: 1em;
    color: #666666;
}

/* --- Verification & Promotions Sections (Content Wrapper) --- */
.page-register__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    text-align: left;
}

.page-register__content-wrapper.page-register__reverse-layout {
    flex-direction: row-reverse; /* Reverse order for image on right */
}

.page-register__text-block {
    flex: 1;
    min-width: 300px;
}

.page-register__text-block p {
    margin-bottom: 15px;
    color: #f0f0f0; /* For dark background */
}
.page-register__light-bg .page-register__text-block p {
    color: #666666; /* For light background */
}

.page-register__text-block .page-register__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #f0f0f0; /* For dark background */
}
.page-register__light-bg .page-register__text-block .page-register__list {
    color: #666666; /* For light background */
}

.page-register__verification-section .page-register__content-image {
    flex-shrink: 0;
    width: 500px; /* Specific width for image in layout */
    height: auto;
}
.page-register__promotions-section .page-register__content-image {
    flex-shrink: 0;
    width: 500px; /* Specific width for image in layout */
    height: auto;
}

/* --- Games Section --- */
.page-register__games-section {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: #f9f9f9;
}

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