/* style/register.css */

/* Base styles for the register page */
.page-register {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark background */
    background-color: #121212; /* Inherited from body, but explicitly set for clarity */
}

/* Container for consistent spacing */
.page-register__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

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

.page-register__section-description {
    font-size: 1.1em;
    color: #f0f0f0; /* Lighter white for descriptions on dark background */
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

/* Dark background sections */
.page-register__dark-bg {
    background-color: #003366; /* Main brand color */
    color: #ffffff;
    padding: 80px 0;
}

/* Light background sections */
.page-register__light-bg {
    background-color: #f8f9fa; /* Light background for contrast */
    color: #333333;
    padding: 80px 0;
}

/* Links */
.page-register__link {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.page-register__btn-primary {
    background-color: #FFD700; /* Gold button */
    color: #003366; /* Dark blue text */
    border: 2px solid #FFD700;
}

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

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

.page-register__btn-secondary:hover {
    background-color: #FFD700;
    color: #003366;
}

/* Hero Section */
.page-register__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    display: flex;
    align-items: center;
    min-height: 70vh;
    background-image: url('[GALLERY:bg_hero:1920x1080:abstract_dark_blue_gold_lines,cyber_gaming_background,dynamic_energy,bet_bet_168]'); /* Background image for hero */
    background-size: cover;
    background-position: center;
    position: relative;
}

.page-register__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 51, 102, 0.8); /* Dark overlay */
}

.page-register__hero-section .page-register__container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.page-register__hero-content {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    margin-right: 40px;
}

.page-register__hero-title {
    font-size: 3.2em;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-register__hero-description {
    font-size: 1.2em;
    color: #f0f0f0;
    margin-bottom: 30px;
}

.page-register__hero-image-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    text-align: center;
}

.page-register__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Form Styling */
.page-register__form {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin-top: 30px;
}

.page-register__form-group {
    margin-bottom: 20px;
}

.page-register__form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #f0f0f0;
}

.page-register__form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #FFD700;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1em;
    box-sizing: border-box;
}

.page-register__form-input::placeholder {
    color: #ccc;
}

.page-register__form-input:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
}

.page-register__form-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.page-register__checkbox-input {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: #FFD700; /* Custom checkbox color */
}

.page-register__checkbox-label {
    font-size: 0.95em;
    color: #f0f0f0;
}

.page-register__register-button {
    width: 100%;
    padding: 15px;
    font-size: 1.2em;
}

.page-register__login-prompt {
    text-align: center;
    margin-top: 20px;
    font-size: 1em;
    color: #f0f0f0;
}

/* Why Choose Section */
.page-register__why-choose-section .page-register__section-title {
    color: #003366; /* Dark blue title on light background */
}

.page-register__why-choose-section .page-register__section-description {
    color: #555555; /* Darker description on light background */
}

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

.page-register__feature-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333; /* Dark text on light card */
}

.page-register__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-register__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.page-register__feature-title {
    font-size: 1.5em;
    color: #003366; /* Dark blue title */
    margin-bottom: 10px;
}

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

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

.page-register__step-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-register__step-icon-wrapper {
    position: relative;
    margin-bottom: 20px;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FFD700;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(255, 215, 0, 0.3);
}

.page-register__step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #003366;
    color: #FFD700;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    font-weight: bold;
    border: 2px solid #FFD700;
    z-index: 2;
}

.page-register__step-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

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

.page-register__step-text {
    font-size: 1em;
    color: #f0f0f0;
}

.page-register__note-block {
    background-color: rgba(255, 215, 0, 0.1);
    border-left: 5px solid #FFD700;
    padding: 30px;
    margin-top: 60px;
    border-radius: 8px;
}

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

.page-register__note-list {
    list-style: none;
    padding: 0;
}

.page-register__note-item {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.page-register__note-item::before {
    content: '•';
    color: #FFD700;
    position: absolute;
    left: 0;
    font-size: 1.2em;
    top: 0;
}

/* Security Section */
.page-register__security-section .page-register__section-title {
    color: #003366;
}

.page-register__security-section .page-register__section-description {
    color: #555555;
}

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

.page-register__security-text {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    color: #333333;
}

.page-register__security-subtitle {
    font-size: 1.8em;
    color: #003366;
    margin-top: 25px;
    margin-bottom: 15px;
}

.page-register__security-paragraph {
    margin-bottom: 20px;
    font-size: 1.05em;
    color: #666666;
}

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

.page-register__security-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.page-register__promo-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-register__promo-card:hover {
    transform: translateY(-10px);
}

.page-register__promo-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-register__promo-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-register__promo-text {
    font-size: 1em;
    color: #f0f0f0;
}

.page-register__cta-buttons--promotions {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}


/* FAQ Section */
.page-register__faq-section .page-register__section-title {
    color: #003366;
}

.page-register__faq-section .page-register__section-description {
    color: #555555;
}

.page-register__faq-list {
    margin-top: 50px;
}

.page-register__faq-item {
    background-color: #ffffff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    color: #333333; /* Dark text on light background */
}

.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #f0f0f0;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
    background-color: #e6e6e6;
}

.page-register__faq-title {
    font-size: 1.2em;
    color: #003366;
    margin: 0;
}

.page-register__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #FFD700;
    transition: transform 0.3s ease;
}