/* style/register.css */

/* Custom Colors */
:root {
    --shbet1-primary: #11A84E;
    --shbet1-secondary: #22C768;
    --shbet1-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --shbet1-card-bg: #11271B;
    --shbet1-background: #08160F;
    --shbet1-text-main: #F2FFF6;
    --shbet1-text-secondary: #A7D9B8;
    --shbet1-border: #2E7A4E;
    --shbet1-glow: #57E38D;
    --shbet1-gold: #F2C14E;
    --shbet1-divider: #1E3A2A;
    --shbet1-deep-green: #0A4B2C;
}

/* Base styles for the register page */
.page-register {
    font-family: 'Arial', sans-serif;
    color: var(--shbet1-text-main); /* Default text color for the page */
    background-color: var(--shbet1-background); /* Body background handled by shared.css */
    line-height: 1.6;
}

.page-register__section {
    padding: 60px 20px;
    background-color: var(--shbet1-background);
}

.page-register__dark-section {
    background-color: var(--shbet1-deep-green);
    color: var(--shbet1-text-main);
}

.page-register__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Added for mobile responsiveness */
    box-sizing: border-box;
}

.page-register__section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--shbet1-gold);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-register__section-description {
    font-size: 18px;
    color: var(--shbet1-text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-register__text-link {
    color: var(--shbet1-secondary);
    text-decoration: underline;
}

.page-register__text-link:hover {
    color: var(--shbet1-gold);
}

/* Hero Section */
.page-register__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 20px 60px 20px; /* Small top padding */
    text-align: center;
    overflow: hidden;
    background-color: var(--shbet1-deep-green);
}

.page-register__hero-image-wrapper {
    width: 100%;
    max-height: 70vh; /* Limit height for hero image */
    overflow: hidden;
    margin-bottom: 30px;
}

.page-register__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-register__hero-content {
    position: relative;
    z-index: 2;
    padding: 0 15px;
    max-width: 900px;
}

.page-register__main-title {
    font-size: clamp(32px, 5vw, 54px);
    font-weight: 800;
    color: var(--shbet1-gold);
    margin-bottom: 20px;
    line-height: 1.1;
}

.page-register__hero-description {
    font-size: 20px;
    color: var(--shbet1-text-main);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-register__hero-cta {
    padding: 15px 30px;
    font-size: 20px;
    font-weight: 700;
}

/* Buttons */
.page-register__btn-primary,
.page-register__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-register__btn-primary {
    background: var(--shbet1-button-gradient);
    color: var(--shbet1-text-main);
    border: 2px solid transparent;
}

.page-register__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

.page-register__btn-secondary:hover {
    background: var(--shbet1-primary);
    color: var(--shbet1-text-main);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-register__large-cta {
    font-size: 20px;
    padding: 15px 30px;
    min-width: 220px;
}

/* Cards */
.page-register__card {
    background-color: var(--shbet1-card-bg);
    border: 1px solid var(--shbet1-border);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: var(--shbet1-text-main);
}

/* Why Register Section */
.page-register__why-register {
    background-color: var(--shbet1-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 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-register__feature-icon {
    width: 100%; /* Ensure images are responsive */
    max-width: 180px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-register__feature-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--shbet1-gold);
    margin-bottom: 15px;
}

.page-register__feature-text {
    font-size: 16px;
    color: var(--shbet1-text-secondary);
}

/* Registration Steps Section */
.page-register__registration-steps {
    background-color: var(--shbet1-deep-green);
}

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

.page-register__step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 25px;
}

.page-register__step-number {
    background: var(--shbet1-button-gradient);
    color: var(--shbet1-text-main);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 0 15px var(--shbet1-glow);
}

.page-register__step-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--shbet1-gold);
    margin-bottom: 15px;
}

.page-register__step-text {
    font-size: 16px;
    color: var(--shbet1-text-secondary);
}

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

/* Security & Privacy Section */
.page-register__security-privacy {
    background-color: var(--shbet1-background);
}

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

.page-register__security-item {
    background-color: var(--shbet1-card-bg);
    border: 1px solid var(--shbet1-border);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-register__security-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--shbet1-gold);
    margin-bottom: 15px;
}

.page-register__security-text {
    font-size: 16px;
    color: var(--shbet1-text-secondary);
}

.page-register__security-note {
    margin-top: 40px;
    text-align: center;
    font-size: 16px;
    color: var(--shbet1-text-secondary);
}

/* Promotions Section */
.page-register__promotions {
    background-color: var(--shbet1-deep-green);
}

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

.page-register__promo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
}

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

.page-register__promo-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--shbet1-gold);
    margin-bottom: 15px;
}

.page-register__promo-text {
    font-size: 16px;
    color: var(--shbet1-text-secondary);
    margin-bottom: 25px;
}

.page-register__view-all-promos {
    margin-top: 50px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Section */
.page-register__faq {
    background-color: var(--shbet1-background);
}

.page-register__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-register__faq-item {
    margin-bottom: 15px;
    text-align: left;
    overflow: hidden;
}

.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 18px;
    font-weight: 600;
    color: var(--shbet1-text-main);
    cursor: pointer;
    background-color: var(--shbet1-card-bg);
    border-bottom: 1px solid var(--shbet1-divider);
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.page-register__faq-item[open] .page-register__faq-question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.page-register__faq-question:hover {
    background-color: var(--shbet1-deep-green);
}

.page-register__faq-qtext {
    flex-grow: 1;
    color: var(--shbet1-text-main);
}

.page-register__faq-toggle {
    font-size: 24px;
    font-weight: 700;
    color: var(--shbet1-gold);
    margin-left: 20px;
    transition: transform 0.3s ease;
}

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

.page-register__faq-answer {
    padding: 15px 25px 20px 25px;
    font-size: 16px;
    color: var(--shbet1-text-secondary);
    background-color: var(--shbet1-card-bg);
    border-top: 1px solid var(--shbet1-divider);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.page-register__faq-answer p {
    margin: 0;
}

/* Final CTA Section */
.page-register__final-cta {
    background-color: var(--shbet1-deep-green);
    text-align: center;
}

.page-register__final-register-btn {
    padding: 18px 40px;
    font-size: 22px;
    margin-top: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-register__hero-image-wrapper {
        max-height: 60vh;
    }
    .page-register__section-title {
        font-size: clamp(26px, 3.5vw, 38px);
    }
    .page-register__hero-description {
        font-size: 18px;
    }
    .page-register__main-title {
        font-size: clamp(30px, 4.5vw, 48px);
    }
    .page-register__features-grid,
    .page-register__steps-list,
    .page-register__security-features,
    .page-register__promo-cards {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .page-register__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }
    .page-register__hero-image-wrapper {
        max-height: 50vh;
    }
    .page-register__hero-content {
        padding: 0 10px;
    }
    .page-register__main-title {
        font-size: clamp(28px, 8vw, 40px);
    }
    .page-register__hero-description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .page-register__hero-cta,
    .page-register__large-cta,
    .page-register__final-register-btn {
        padding: 12px 20px;
        font-size: 18px;
        width: 100% !important; /* Ensure buttons are full width */
    }
    .page-register__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-register__section {
        padding: 40px 15px;
    }
    .page-register__section-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-register__feature-title,
    .page-register__step-title,
    .page-register__security-title,
    .page-register__promo-title {
        font-size: 20px;
    }
    .page-register__feature-text,
    .page-register__step-text,
    .page-register__security-text,
    .page-register__promo-text,
    .page-register__security-note,
    .page-register__faq-question,
    .page-register__faq-answer {
        font-size: 15px;
    }
    .page-register__step-item,
    .page-register__security-item,
    .page-register__promo-card {
        padding: 25px 20px;
    }
    .page-register img {
        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__why-register,
    .page-register__registration-steps,
    .page-register__security-privacy,
    .page-register__promotions,
    .page-register__faq,
    .page-register__final-cta,
    .page-register__cta-buttons,
    .page-register__button-group {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-register__faq-question {
        padding: 15px 20px;
    }
    .page-register__faq-answer {
        padding: 10px 20px 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-register__main-title {
        font-size: clamp(26px, 9vw, 36px);
    }
    .page-register__section-title {
        font-size: clamp(24px, 7vw, 32px);
    }
    .page-register__hero-image-wrapper {
        max-height: 40vh;
    }
}