/* style/register.css */

/* Base styles for the register page */
.page-register {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Body background is #111 from shared.css */
}

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

/* Hero Section */
.page-register__hero-section {
    position: relative;
    padding: 100px 0;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    text-align: center;
    overflow: hidden;
    background-color: #1a1a1a; /* Slightly lighter dark background for hero */
    color: #ffffff;
}

.page-register__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.3; /* Subtle background image */
}

.page-register__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for main title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-register__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-register__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Ensure buttons wrap on small screens */
}

/* Buttons */
.page-register__btn-primary,
.page-register__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-register__btn-primary {
    background-color: #B80F0A; /* Brand red */
    color: #ffffff;
    border: 2px solid #B80F0A;
}

.page-register__btn-primary:hover {
    background-color: #a00c08;
    border-color: #a00c08;
    transform: translateY(-2px);
}

.page-register__btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Brand gold */
    border: 2px solid #FFD700;
}

.page-register__btn-secondary:hover {
    background-color: #FFD700;
    color: #111; /* Dark text on gold hover */
    transform: translateY(-2px);
}

.page-register__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-register__btn-large {
    padding: 18px 35px;
    font-size: 1.1em;
}

/* Section common styles */
.page-register__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for section titles */
}

.page-register__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: #f0f0f0;
}

.page-register__sub-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Why Join Section */
.page-register__why-join-section {
    padding: 80px 0;
    background-color: #f8f8f8; /* Light background for this section */
    color: #333333; /* Dark text for light background */
}

.page-register__why-join-section .page-register__section-title,
.page-register__why-join-section .page-register__section-description,
.page-register__why-join-section .page-register__feature-title,
.page-register__why-join-section .page-register__feature-text,
.page-register__why-join-section p {
    color: #333333; /* Ensure dark text on light background */
}

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

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

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

.page-register__feature-icon {
    width: 100%; /* Occupy full width of card */
    max-width: 200px; /* Max width for feature icons */
    height: auto;
    margin-bottom: 20px;
    object-fit: contain; /* Ensure image fits without cropping */
}

.page-register__feature-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #B80F0A; /* Brand red for feature titles */
}

.page-register__feature-text {
    font-size: 1em;
    color: #555555;
}

/* How to Register Section */
.page-register__how-to-register-section {
    padding: 80px 0;
    background-color: #111; /* Dark background */
    color: #ffffff;
}

.page-register__step-by-step {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 40px;
}

.page-register__step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-register__step-item:nth-child(even) {
    /* For alternating layout if needed, but keeping centered for simplicity */
}

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

.page-register__step-text {
    font-size: 1.1em;
    max-width: 800px;
    margin-bottom: 20px;
}

.page-register__step-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.page-register__step-list li {
    background-color: rgba(255, 255, 255, 0.08);
    margin-bottom: 10px;
    padding: 10px 15px;
    border-left: 3px solid #B80F0A;
    border-radius: 5px;
    font-size: 1em;
}

.page-register__step-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    margin-top: 30px;
}

/* Verification Section */
.page-register__verification-section {
    padding: 80px 0;
    background-color: #f8f8f8;
    color: #333333;
}

.page-register__verification-section .page-register__section-title,
.page-register__verification-section .page-register__section-description,
.page-register__verification-section .page-register__sub-title,
.page-register__verification-section p {
    color: #333333;
}

.page-register__verification-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

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

.page-register__verification-image {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Deposit Bonus Section */
.page-register__deposit-bonus-section {
    padding: 80px 0;
    background-color: #1a1a1a;
    color: #ffffff;
}

.page-register__bonus-content {
    display: flex;
    flex-wrap: wrap-reverse; /* Image on right for this section */
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

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

.page-register__bonus-image {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Common Issues Section */
.page-register__common-issues-section {
    padding: 80px 0;
    background-color: #f8f8f8;
    color: #333333;
}

.page-register__common-issues-section .page-register__section-title,
.page-register__common-issues-section .page-register__section-description,
.page-register__common-issues-section .page-register__issue-title,
.page-register__common-issues-section .page-register__issue-text {
    color: #333333;
}