/* style/register.css */

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

.page-register {
    font-family: Arial, sans-serif;
    color: var(--vclub-text-main);
    background-color: var(--vclub-background); /* Body background is dark, so text is light */
}

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

/* Hero Section */
.page-register__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background-color: var(--vclub-deep-green);
    overflow: hidden;
}

.page-register__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 30px; /* Space between image and content */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-register__hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 1;
    color: var(--vclub-text-main);
}

.page-register__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--vclub-gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-register__subtitle {
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    color: var(--vclub-text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.page-register__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
}

.page-register__btn-primary {
    background: var(--vclub-button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-register__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    opacity: 0.9;
}

.page-register__btn-secondary {
    background: var(--vclub-card-bg);
    color: var(--vclub-gold-color);
    border: 2px solid var(--vclub-border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-register__btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    background-color: var(--vclub-deep-green);
}

/* General Section Styling */
.page-register__benefits-section,
.page-register__how-to-register-section,
.page-register__security-section,
.page-register__promotions-section,
.page-register__mobile-app-section,
.page-register__faq-section,
.page-register__final-cta-section {
    padding: 80px 0;
    border-bottom: 1px solid var(--vclub-divider-color);
}

.page-register__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--vclub-gold-color);
    text-align: center;
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.3;
}

.page-register__section-description {
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    color: var(--vclub-text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    line-height: 1.7;
}

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

.page-register__benefit-card {
    background-color: var(--vclub-card-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--vclub-border-color);
}

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

.page-register__benefit-icon {
    width: 100%; /* Ensure full width within card */
    max-width: 200px; /* Limit icon size */
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 8px var(--vclub-glow-color));
    border-radius: 10px;
}

.page-register__benefit-title {
    font-size: 1.5rem;
    color: var(--vclub-gold-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-register__benefit-text {
    font-size: 1rem;
    color: var(--vclub-text-secondary);
    line-height: 1.6;
}

/* How to Register Section */
.page-register__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-register__step-card {
    background-color: var(--vclub-card-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--vclub-border-color);
    position: relative;
    overflow: hidden;
}

.page-register__step-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(242, 193, 78, 0.2);
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
    z-index: 0;
}

.page-register__step-title {
    font-size: 1.6rem;
    color: var(--vclub-gold-color);
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.page-register__step-text {
    font-size: 1rem;
    color: var(--vclub-text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.page-register__cta-container {
    text-align: center;
    margin-top: 60px;
}

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

.page-register__security-item {
    background-color: var(--vclub-card-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--vclub-border-color);
}

.page-register__security-icon {
    width: 100%; /* Ensure full width within card */
    max-width: 180px; /* Limit icon size */
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px var(--vclub-accent-color));
    border-radius: 10px;
}

.page-register__security-title {
    font-size: 1.5rem;
    color: var(--vclub-gold-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-register__security-text {
    font-size: 1rem;
    color: var(--vclub-text-secondary);
    line-height: 1.6;
}

.page-register__security-text a {
    color: var(--vclub-accent-color);
    text-decoration: none;
}

.page-register__security-text a:hover {
    text-decoration: underline;
}

/* Promotions Section */
.page-register__promotions-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 50px;
}

.page-register__promotion-item {
    display: flex;
    align-items: center;
    background-color: var(--vclub-card-bg);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--vclub-border-color);
    overflow: hidden;
}

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

.page-register__promotion-content {
    padding: 30px;
    width: 60%;
}

.page-register__promotion-title {
    font-size: 1.6rem;
    color: var(--vclub-gold-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-register__promotion-text {
    font-size: 1rem;
    color: var(--vclub-text-secondary);
    line-height: 1.6;
}

/* Mobile App Section */
.page-register__app-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.page-register__app-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--vclub-border-color);
}

.page-register__app-text {
    max-width: 500px;
    text-align: left;
}

.page-register__app-title {
    font-size: 2rem;
    color: var(--vclub-gold-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.page-register__app-description {
    font-size: 1.1rem;
    color: var(--vclub-text-secondary);
    line-height: 1.7;
    margin-bottom: 30px;
}

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

.page-register__faq-item {
    background-color: var(--vclub-card-bg);
    border: 1px solid var(--vclub-border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--vclub-text-main);
    cursor: pointer;
    background-color: var(--vclub-deep-green);
    border-bottom: 1px solid var(--vclub-divider-color);
}

.page-register__faq-item[open] .page-register__faq-question {
    border-bottom: 1px solid var(--vclub-border-color);
}

.page-register__faq-qtext {
    flex-grow: 1;
    color: var(--vclub-gold-color);
}

.page-register__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--vclub-glow-color);
    transition: transform 0.3s ease;
}

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

.page-register__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: var(--vclub-text-secondary);
    line-height: 1.6;
    background-color: var(--vclub-card-bg);
}

.page-register__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-register__faq-item summary {
    list-style: none;
}

/* Final CTA Section */
.page-register__final-cta-section {
    text-align: center;
    padding-bottom: 80px;
}

.page-register__final-cta-section .page-register__cta-button {
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-register__hero-content {
        padding: 0 20px;
    }
    .page-register__promotions-list {
        padding: 0 20px;
    }
    .page-register__promotion-item {
        flex-direction: column;
    }
    .page-register__promotion-image,
    .page-register__promotion-content {
        width: 100%;
    }
    .page-register__promotion-content {
        padding: 20px;
    }
    .page-register__app-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .page-register__app-text {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-register__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body has padding-top, this is decorative */
    }

    .page-register__main-title {
        font-size: 2.2rem;
    }

    .page-register__subtitle {
        font-size: 1rem;
    }

    .page-register__section-title {
        font-size: 1.8rem;
    }

    .page-register__section-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .page-register__benefits-section,
    .page-register__how-to-register-section,
    .page-register__security-section,
    .page-register__promotions-section,
    .page-register__mobile-app-section,
    .page-register__faq-section,
    .page-register__final-cta-section {
        padding: 50px 0;
    }

    .page-register__container {
        padding: 0 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Images responsive */
    .page-register img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-register__hero-image-wrapper,
    .page-register__benefit-card,
    .page-register__step-card,
    .page-register__security-item,
    .page-register__promotion-item,
    .page-register__app-image,
    .page-register__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Buttons responsive */
    .page-register__cta-button,
    .page-register__btn-primary,
    .page-register__btn-secondary,
    .page-register a[class*="button"],
    .page-register a[class*="btn"] {
        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;
    }
    
    .page-register__cta-container,
    .page-register__button-group,
    .page-register__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

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

    .page-register__faq-answer {
        font-size: 0.95rem;
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-register__main-title {
        font-size: 1.8rem;
    }
    .page-register__section-title {
        font-size: 1.5rem;
    }
    .page-register__benefit-title,
    .page-register__step-title,
    .page-register__security-title,
    .page-register__promotion-title,
    .page-register__app-title {
        font-size: 1.3rem;
    }
    .page-register__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* Ensure no filter is applied to images */
.page-register img {
    filter: none !important;
}