/* style/register.css */
.page-register {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light body background */
    background-color: #FFFFFF; /* Ensure consistency with body background */
}

/* Fixed Header Offset */
.page-register__hero-section {
    padding-top: var(--header-offset, 120px);
}

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

/* Hero Section */
.page-register__hero-section {
    background-color: #017439; /* Brand primary color */
    color: #ffffff; /* Light text for dark background */
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-register__hero-section .page-register__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 40px;
}

.page-register__hero-content {
    max-width: 600px;
    margin: 0;
    text-align: left;
}

.page-register__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFF00; /* Custom color for register/login font */
    text-align: left;
}

.page-register__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    text-align: left;
}

.page-register__hero-image-wrapper {
    flex-shrink: 0;
}

.page-register__hero-image {
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    display: block;
}

/* CTA Buttons */
.page-register__cta-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-register__cta-buttons--center {
    justify-content: center;
}

.page-register__btn-primary,
.page-register__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-register__btn-primary {
    background-color: #C30808; /* Custom Register/Login button color */
    color: #FFFF00; /* Custom Register/Login font color */
    border: 2px solid #C30808;
}

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

.page-register__btn-secondary {
    background-color: #ffffff;
    color: #017439; /* Brand primary color for text */
    border: 2px solid #017439;
}

.page-register__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #005f2e;
    border-color: #005f2e;
}

/* General Section Styles */
.page-register__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
    color: #017439; /* Brand primary color for titles on light background */
}

.page-register__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #555555;
}

.page-register__dark-bg .page-register__section-title {
    color: #FFFF00; /* Custom color for titles on dark background */
}

.page-register__dark-bg .page-register__section-intro {
    color: #f0f0f0; /* Light text for dark background */
}

.page-register__why-register-section,
.page-register__guide-section,
.page-register__verification-section,
.page-register__bonus-section,
.page-register__responsible-gaming-section,
.page-register__faq-section,
.page-register__cta-section {
    padding: 60px 0;
}

.page-register__why-register-section,
.page-register__verification-section,
.page-register__responsible-gaming-section,
.page-register__cta-section {
    background-color: #ffffff;
    color: #333333;
}

.page-register__guide-section,
.page-register__bonus-section,
.page-register__faq-section {
    background-color: #017439;
    color: #ffffff;
}

/* Features Grid */
.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: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    color: #333333;
}

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

.page-register__feature-icon {
    width: 200px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 5px;
}

.page-register__feature-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #017439;
}

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

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

.page-register__step-card {
    background-color: #005f2e;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-register__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #FFFF00;
    margin-bottom: 15px;
    background-color: #C30808;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.page-register__step-description {
    font-size: 1.05em;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-register__step-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: auto;
}

/* Verification List */
.page-register__verification-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-register__verification-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-register__verification-icon {
    font-size: 1.5em;
    color: #017439;
    margin-right: 15px;
    flex-shrink: 0;
}

.page-register__verification-item p {
    margin: 0;
    color: #333333;
}

/* Bonus Section */
.page-register__bonus-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

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

.page-register__bonus-details {
    flex: 1;
    min-width: 300px;
    color: #ffffff;
}

.page-register__bonus-subtitle {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #FFFF00;
}

.page-register__bonus-description {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0;
}

/* Responsible Gaming List */
.page-register__responsible-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-register__responsible-item {
    display: flex;
    align-items: flex-start;
    font-size: 1.1em;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    color: #333333;
}

.page-register__responsible-icon {
    font-size: 1.5em;
    color: #C30808;
    margin-right: 15px;
    flex-shrink: 0;
}

.page-register__responsible-item p {
    margin: 0;
    color: #333333;
}

/* FAQ Section */
.page-register__faq-list {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-register__faq-item {
    background-color: #005f2e;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #017439;
    color: #ffffff;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

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

.page-register__faq-title {
    margin: 0;
    font-size: 1.2em;
    flex-grow: 1;
    color: #ffffff;
}

.page-register__faq-toggle {
    font-size: 1.8em;
    line-height: 1;
    margin-left: 20px;
    transition: transform 0.3s ease;
    color: #FFFF00;
}

.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: #005f2e;
    color: #f0f0f0;
}

.page-register__faq-item.active .page-register__faq-answer {
    max-height: 1000px !important;
    padding: 20px !important;
}

.page-register__faq-text {
    margin: 0;
    padding-bottom: 10px;
    color: #f0f0f0;
}

.page-register__faq-text a {
    color: #FFFF00;
    text-decoration: underline;
}

.page-register__faq-text a:hover {
    color: #fff;
}

/* CTA Final Section */
.page-register__cta-container {
    background-color: #f9f9f9;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #333333;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-register__hero-title {
        font-size: 2.8em;
    }
    .page-register__section-title {
        font-size: 2em;
    }
    .page-register__hero-section .page-register__container {
        flex-direction: column;
        text-align: center;
    }
    .page-register__hero-content {
        margin-bottom: 40px;
        text-align: center;
    }
    .page-register__hero-title,
    .page-register__hero-description {
        text-align: center;
    }
    .page-register__cta-buttons {
        justify-content: center;
    }
    .page-register__hero-image-wrapper {
        /* Keep image visible on tablet, adjust size */
        width: 100%;
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .page-register__hero-section {
        padding: 60px 0;
    }
    .page-register__hero-title {
        font-size: 2.2em;
    }
    .page-register__hero-description {
        font-size: 1em;
    }
    .page-register__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-register__btn-primary,
    .page-register__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Images responsiveness */
    .page-register img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-register__container,
    .page-register__hero-section,
    .page-register__why-register-section,
    .page-register__guide-section,
    .page-register__verification-section,
.page-register__bonus-section,
    .page-register__responsible-gaming-section,
    .page-register__faq-section,
    .page-register__cta-section,
    .page-register__feature-card,
    .page-register__step-card,
    .page-register__responsible-item,
    .page-register__faq-item,
    .page-register__cta-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }

    .page-register__hero-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-register__section-title {
        font-size: 1.8em;
    }
    .page-register__section-intro {
        font-size: 0.95em;
    }
    .page-register__feature-title {
        font-size: 1.3em;
    }
    .page-register__step-title {
        font-size: 1.4em;
    }
    .page-register__bonus-subtitle {
        font-size: 1.5em;
    }
    .page-register__faq-title {
        font-size: 1em;
    }
    .page-register__faq-toggle {
        font-size: 1.5em;
    }
    .page-register__hero-image-wrapper {
        display: none; /* Hide hero image on smaller mobile screens */
    }
}

/* Ensure no filter is used for images */
.page-register img {
    filter: none;
}