/* style/register.css */

/* Variables and general styling for the page */
.page-register {
    background-color: #0A0A0A; /* Page background from custom colors */
    color: #FFF6D6; /* Main text color for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

/* Section Styling */
.page-register__hero-section,
.page-register__benefits-section,
.page-register__steps-section,
.page-register__tips-section,
.page-register__after-registration-section,
.page-register__faq-section,
.page-register__join-cta-section {
    padding: 60px 0;
    text-align: center;
}

.page-register__hero-section {
    padding-top: 10px; /* Minimal top padding, body handles header offset */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.page-register__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-register__hero-content {
    position: relative; /* Position relative to allow z-index, but no absolute positioning for text over image */
    z-index: 2;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -100px; /* Pull content slightly up, but not over image */
    background: rgba(17, 17, 17, 0.8); /* Card BG with transparency */
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.page-register__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: #FFD36B; /* Glow color for main title */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 1px;
}

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

.page-register__section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #FFD36B;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-register__section-intro {
    font-size: 1.1rem;
    color: #FFF6D6;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* 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;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-register__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
    color: #111111; /* Dark text for bright button */
    border: none;
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-register__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-register__btn-secondary {
    background-color: transparent;
    color: #FFD36B; /* Glow color for text */
    border: 2px solid #FFD36B; /* Border from Glow color */
    margin-left: 20px;
}

.page-register__btn-secondary:hover {
    background-color: #FFD36B;
    color: #111111;
    transform: translateY(-3px);
}

.page-register__btn-text-link {
    color: #FFD36B;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.page-register__btn-text-link:hover {
    color: #FFF6D6;
}

.page-register__arrow-icon {
    margin-left: 8px;
    font-size: 1.2em;
}

/* Benefits Grid */
.page-register__benefits-grid,
.page-register__tips-grid,
.page-register__after-registration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-register__benefit-card,
.page-register__tip-card,
.page-register__after-registration-card {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border color */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 350px; /* Ensure cards have similar height */
}

.page-register__benefit-card:hover,
.page-register__tip-card:hover,
.page-register__after-registration-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

.page-register__benefit-icon,
.page-register__tip-icon {
    width: 100%; /* Ensure image fills card width */
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure no extra space below image */
}

.page-register__card-title {
    font-size: 1.5rem;
    color: #FFD36B;
    margin-bottom: 15px;
}

.page-register__card-text {
    font-size: 1rem;
    color: #FFF6D6;
}

/* Steps Section */
.page-register__steps-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.page-register__step-item {
    display: flex;
    align-items: flex-start;
    text-align: left;
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.page-register__step-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #F2C14E; /* Main color for numbers */
    margin-right: 20px;
    flex-shrink: 0;
}

.page-register__step-content {
    flex-grow: 1;
}

.page-register__step-title {
    font-size: 1.6rem;
    color: #FFD36B;
    margin-bottom: 10px;
}

.page-register__step-text {
    font-size: 1rem;
    color: #FFF6D6;
}

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

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

.page-register__faq-item {
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.page-register__faq-question:hover {
    background-color: rgba(242, 193, 78, 0.1); /* Subtle hover effect */
}

.page-register__faq-question h3 {
    margin: 0;
    color: inherit;
    font-size: 1.2rem;
}

.page-register__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #F2C14E;
}

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

.page-register__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #FFF6D6;
}

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

.page-register__faq-answer p {
    margin: 0;
    font-size: 1rem;
    color: #FFF6D6;
}

/* Join CTA Section */
.page-register__join-cta-section {
    background: linear-gradient(rgba(10,10,10,0.8), rgba(10,10,10,0.8)), url('[GALLERY:bg:1920x1080:lodibet,register,cta,background,gold,abstract]') no-repeat center center/cover;
    padding: 80px 20px;
    border-top: 1px solid #3A2A12;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-register__hero-content {
        margin-top: -50px;
        padding: 30px;
    }

    .page-register__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-register__hero-description {
        font-size: 1.1rem;
    }
    .page-register__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
}

@media (max-width: 768px) {
    .page-register {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-register__hero-section,
    .page-register__benefits-section,
    .page-register__steps-section,
    .page-register__tips-section,
    .page-register__after-registration-section,
    .page-register__faq-section,
    .page-register__join-cta-section {
        padding: 40px 0;
    }

    .page-register__hero-content {
        margin-top: -30px;
        padding: 20px;
        max-width: 95%;
    }

    .page-register__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-register__hero-description {
        font-size: 1rem;
    }

    .page-register__btn-primary,
    .page-register__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        margin-left: 0; /* Remove margin for stacked buttons */
    }
    
    .page-register__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px; /* Add padding to container */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-register__container {
        padding: 0 15px;
    }

    .page-register__benefits-grid,
    .page-register__tips-grid,
    .page-register__after-registration-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-register__benefit-card,
    .page-register__tip-card,
    .page-register__after-registration-card {
        padding: 20px;
    }

    .page-register__benefit-icon,
    .page-register__tip-icon {
        height: 180px; /* Adjust height for smaller screens */
    }

    .page-register__card-title {
        font-size: 1.3rem;
    }

    .page-register__step-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .page-register__step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .page-register__step-title {
        font-size: 1.4rem;
    }

    .page-register__faq-question {
        font-size: 1.1rem;
        padding: 15px 20px;
    }

    .page-register__faq-question h3 {
        font-size: 1.1rem;
    }

    .page-register__faq-answer {
        padding: 0 20px;
    }

    .page-register__faq-item.active .page-register__faq-answer {
        padding: 10px 20px 20px 20px;
    }

    /* Mobile image adaptation */
    .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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* For sections that need specific top padding on mobile */
    .page-register__hero-section {
        padding-top: 10px !important; /* Ensure minimal top padding, body handles header offset */
    }
}

@media (max-width: 480px) {
    .page-register__main-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }
    .page-register__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    .page-register__hero-content {
        margin-top: -20px;
    }
    .page-register__btn-primary,
    .page-register__btn-secondary {
        font-size: 0.9rem;
        padding: 12px 20px;
    }
}