.page-register {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text color for light body background */
    background-color: var(--secondary-color); /* White background from shared */
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-register__section {
    padding: 60px 20px;
    text-align: center;
    max-width: 100%; /* Ensure sections don't overflow */
    box-sizing: border-box;
}

.page-register__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.page-register__section-title {
    font-size: 36px;
    color: #26A9E0;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.3;
}

.page-register__section-title--light {
    color: #ffffff; /* White text for dark backgrounds */
}

.page-register__section-intro {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.page-register__section-intro--light {
    color: #f0f0f0; /* Light grey text for dark backgrounds */
}

/* Hero Section */
.page-register__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    background: linear-gradient(135deg, #26A9E0, #5ac4f5); /* Gradient background for hero */
    color: #ffffff;
    overflow: hidden; /* Prevent content overflow */
}

.page-register__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.page-register__hero-image {
    width: 100%;
    margin-bottom: 30px;
    max-width: 900px; /* Limit image width in hero */
}

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

.page-register__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-register__hero-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-register__hero-description {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
    color: #f0f0f0;
}

.page-register__cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: #EA7C07; /* Login color for CTA */
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-register__cta-button:hover {
    background: #d46b05;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-register__cta-button--center {
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-register__cta-button--large {
    padding: 20px 50px;
    font-size: 22px;
}

/* Why Join Section */
.page-register__section--why-join {
    background-color: #f8f9fa;
    color: #333333;
}

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

.page-register__feature-item {
    padding: 30px;
    text-align: left;
    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.1);
}

.page-register__feature-title {
    font-size: 24px;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

/* Section Image */
.page-register__section-image {
    width: 100%;
    height: auto;
    max-width: 1000px;
    margin: 60px auto 0 auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* Guide Section */
.page-register__step-by-step {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-register__step-item {
    padding: 30px;
    text-align: left;
    position: relative;
}

.page-register__step-number {
    font-size: 48px;
    font-weight: bold;
    color: #26A9E0;
    position: absolute;
    top: 15px;
    left: 15px;
    opacity: 0.1;
    line-height: 1;
}

.page-register__step-title {
    font-size: 22px;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
    padding-top: 20px; /* Space for step number */
}

/* Form image within guide */
.page-register__step-item img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* Important Notes Section */
.page-register__checklist {
    text-align: left;
    max-width: 800px;
    margin: 40px auto;
    list-style: none; /* Remove default bullet */
    padding: 0;
}

.page-register__checklist li {
    background: #ffffff;
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    font-size: 17px;
    line-height: 1.7;
    color: #333333;
}

.page-register__checklist li strong {
    color: #26A9E0;
    margin-right: 10px;
    flex-shrink: 0;
}

.page-register__checklist li::before {
    content: '✓';
    color: #26A9E0;
    font-weight: bold;
    margin-right: 15px;
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
}

/* Games Section */
.page-register__games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-register__game-item {
    text-align: left;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-register__game-item img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-register__game-title {
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-register__game-title a {
    color: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-register__game-title a:hover {
    color: #1a7eb3;
    text-decoration: underline;
}

/* Promotions Section */
.page-register__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-register__promo-item {
    padding: 30px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-register__promo-title {
    font-size: 22px;
    color: #EA7C07; /* Orange for promotions */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-register__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    background: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.page-register__btn-secondary:hover {
    background: #26A9E0;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-register__btn-secondary--large {
    padding: 15px 35px;
    font-size: 18px;
    margin-left: 15px; /* Spacing between primary and secondary CTA */
}

/* Dark Background Sections */
.page-register__dark-bg {
    background-color: #26A9E0; /* Primary color as dark background */
    color: #ffffff;
}

.page-register__card {
    background: #ffffff;
    color: #333333;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
}
.page-register__dark-bg .page-register__card {
    background: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark bg */
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}
.page-register__dark-bg .page-register__card .page-register__feature-title,
.page-register__dark-bg .page-register__card .page-register__game-title a,
.page-register__dark-bg .page-register__card .page-register__promo-title {
    color: #ffffff; /* Ensure titles are white on dark cards */
}
.page-register__dark-bg .page-register__card .page-register__btn-secondary {
    background: #ffffff;
    color: #26A9E0;
    border-color: #ffffff;
}
.page-register__dark-bg .page-register__card .page-register__btn-secondary:hover {
    background: #e0e0e0;
    color: #26A9E0;
}

/* FAQ Section */
.page-register__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: left;
}

/* FAQ item styles */
.page-register__faq-item {
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff; /* White background for FAQ items */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: #333333;
}

.page-register__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

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

.page-register__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none; /* Prevent h3 from blocking click */
    color: #26A9E0;
}