/* style/register.css */

:root {
    --zbet-primary-color: #26A9E0;
    --zbet-secondary-color: #FFFFFF;
    --zbet-login-color: #EA7C07;
    --zbet-text-dark: #333333;
    --zbet-text-light: #ffffff;
    --zbet-bg-light: #f8f9fa;
    --zbet-bg-dark: var(--dark-bg-1);
}

.page-register {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--zbet-text-light); /* Default text color for dark body background */
    background-color: var(--zbet-bg-dark); /* Inherited from shared.css */
}

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

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

.page-register__dark-bg {
    background-color: var(--zbet-primary-color);
    color: var(--zbet-text-light);
}

.page-register__light-bg {
    background-color: var(--zbet-secondary-color);
    color: var(--zbet-text-dark);
}

.page-register__dark-section {
    background-color: var(--zbet-bg-dark);
    color: var(--zbet-text-light);
}

.page-register__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--zbet-text-light);
}

.page-register__section-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    color: var(--zbet-text-light);
    opacity: 0.9;
}

/* Hero Section */
.page-register__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: 100px 20px;
    overflow: hidden;
    text-align: left;
    background: linear-gradient(135deg, #26A9E0, #1a7bbd);
}

.page-register__hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin-right: 40px;
    color: var(--zbet-text-light);
}

.page-register__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--zbet-text-light);
}

.page-register__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.5;
    color: var(--zbet-text-light);
    opacity: 0.9;
}

.page-register__hero-image-wrapper {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 60%;
    max-width: 800px;
}

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

/* Buttons */
.page-register__btn-primary,
.page-register__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-register__btn-primary {
    background-color: var(--zbet-login-color);
    color: var(--zbet-text-light);
    border: 2px solid var(--zbet-login-color);
    margin-right: 15px;
}

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

.page-register__btn-secondary {
    background-color: transparent;
    color: var(--zbet-primary-color);
    border: 2px solid var(--zbet-primary-color);
}

.page-register__btn-secondary:hover {
    background-color: var(--zbet-primary-color);
    color: var(--zbet-text-light);
}

.page-register__steps-cta {
    margin-top: 50px;
}

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

.page-register__step-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: var(--zbet-text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.page-register__step-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-register__step-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: var(--zbet-primary-color);
}

.page-register__step-text {
    font-size: 1em;
    color: var(--zbet-text-light);
    opacity: 0.8;
    flex-grow: 1;
}

/* Requirements Section */
.page-register__requirements-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-register__list-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    font-size: 1.1em;
    color: var(--zbet-text-light);
    border-left: 4px solid var(--zbet-primary-color);
}

.page-register__list-item strong {
    color: var(--zbet-primary-color);
}

/* Security Section */
.page-register__security-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 40px;
}

.page-register__security-text {
    flex: 1;
    color: var(--zbet-text-light);
}

.page-register__security-text .page-register__section-title,
.page-register__security-text .page-register__section-description {
    text-align: left;
}

.page-register__security-features {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-register__security-features .page-register__list-item {
    border-left-color: var(--zbet-login-color);
}

.page-register__security-tip {
    margin-top: 25px;
    font-style: italic;
    opacity: 0.9;
}

.page-register__security-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

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

.page-register__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: var(--zbet-text-light);
}

.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.page-register__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--zbet-primary-color);
}

.page-register__faq-item.active .page-register__faq-toggle {
    transform: rotate(45deg);
}

.page-register__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05);
}

.page-register__faq-item.active .page-register__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to contain content */
    padding: 20px;
}

.page-register__faq-answer p {
    margin: 0;
    font-size: 1em;
    color: var(--zbet-text-light);
    opacity: 0.8;
}

/* CTA Section */
.page-register__cta-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #1a7bbd, #26A9E0);
}

.page-register__cta-content {
    text-align: left;
    flex: 1;
    margin-right: 40px;
}

.page-register__cta-content .page-register__section-title,
.page-register__cta-content .page-register__section-description {
    text-align: left;
    color: var(--zbet-text-light);
}

.page-register__cta-buttons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.page-register__cta-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-register__hero-content {
        margin-right: 20px;
    }
    .page-register__hero-title {
        font-size: 3em;
    }
    .page-register__section-title {
        font-size: 2em;
    }
    .page-register__security-content,
    .page-register__cta-section {
        flex-direction: column;
        text-align: center;
    }
    .page-register__security-text,
    .page-register__cta-content {
        margin-right: 0;
        margin-bottom: 40px;
    }
    .page-register__security-text .page-register__section-title,
    .page-register__security-text .page-register__section-description,
    .page-register__cta-content .page-register__section-title,
    .page-register__cta-content .page-register__section-description {
        text-align: center;
    }
    .page-register__cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .page-register {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-register__hero-section {
        flex-direction: column;
        text-align: center;
        padding: 80px 15px;
        min-height: auto;
    }
    .page-register__hero-content {
        margin-right: 0;
        margin-bottom: 40px;
        max-width: 100%;
    }
    .page-register__hero-title {
        font-size: 2.5em;
    }
    .page-register__hero-description {
        font-size: 1em;
    }
    .page-register__hero-image-wrapper {
        width: 100%;
        max-width: 100%;
    }
    .page-register__section {
        padding: 40px 0;
    }
    .page-register__section-title {
        font-size: 1.8em;
    }
    .page-register__section-description {
        font-size: 0.95em;
    }
    .page-register__steps-grid {
        grid-template-columns: 1fr;
    }
    .page-register__step-card {
        padding: 25px;
    }
    .page-register__list-item {
        font-size: 1em;
        padding: 12px 15px;
    }
    .page-register__security-image-wrapper {
        order: -1; /* Image above text on mobile */
        margin-bottom: 30px;
    }
    .page-register__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-register__faq-answer {
        padding: 15px;
    }
    .page-register__cta-section {
        padding: 60px 15px;
    }
    .page-register__cta-content {
        margin-bottom: 30px;
    }
    .page-register__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .page-register__btn-primary,
    .page-register__btn-secondary {
        width: 100%;
        margin-right: 0;
        padding: 12px 20px;
    }

    /* Mobile image and video responsive rules */
    .page-register img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-register video,
    .page-register__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-register__section,
    .page-register__card,
    .page-register__container,
    .page-register__hero-section,
    .page-register__security-content,
    .page-register__cta-section,
    .page-register__cta-buttons,
    .page-register__video-section,
    .page-register__video-container,
    .page-register__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-register__hero-section { /* Override specific padding for hero */
        padding-left: 0;
        padding-right: 0;
    }
    .page-register__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-register__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }
}

@media (max-width: 480px) {
    .page-register__hero-title {
        font-size: 2em;
    }
    .page-register__section-title {
        font-size: 1.5em;
    }
    .page-register__step-title {
        font-size: 1.5em;
    }
    .page-register__faq-question {
        font-size: 1em;
    }
}