/* style/register.css */

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

.page-register {
    font-family: Arial, sans-serif;
    color: var(--shbet65-text-main); /* Main text color for the page */
    background-color: var(--shbet65-background); /* Page background color */
    line-height: 1.6;
}

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

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

.page-register__section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--shbet65-gold);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
}

.page-register__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 30px;
    color: var(--shbet65-text-secondary);
}

.page-register__card {
    background-color: var(--shbet65-card-bg);
    border: 1px solid var(--shbet65-border);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--shbet65-text-main);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-register__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-register__card-title {
    font-size: 1.4em;
    color: var(--shbet65-gold);
    margin-bottom: 15px;
    font-weight: bold;
}

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

.page-register__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-register__list li {
    background-color: var(--shbet65-card-bg);
    border: 1px solid var(--shbet65-border);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    color: var(--shbet65-text-main);
}

.page-register__list-title {
    font-size: 1.3em;
    color: var(--shbet65-gold);
    margin-bottom: 10px;
}

.page-register__btn-primary,
.page-register__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
}

.page-register__btn-primary {
    background: var(--shbet65-button-gradient);
    color: var(--shbet65-text-main);
    border: none;
}

.page-register__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

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

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

.page-register__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-register__btn-large {
    padding: 18px 35px;
    font-size: 1.2em;
}

.page-register__btn-center {
    display: block;
    margin: 30px auto 0 auto;
    max-width: fit-content;
}

/* Hero Section */
.page-register__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding */
    padding-bottom: 60px;
    background-color: var(--shbet65-background);
}

.page-register__hero-image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.page-register__hero-image {
    width: 100%;
    max-width: 1920px; /* Base max-width for large screens */
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}

.page-register__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-register__main-title {
    font-weight: bold;
    color: var(--shbet65-gold);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-register__hero-description {
    font-size: 1.2em;
    color: var(--shbet65-text-secondary);
    margin-bottom: 40px;
}

.page-register__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* Why Register Section */
.page-register__why-register .page-register__grid {
    margin-top: 40px;
}

.page-register__image-center {
    display: block;
    margin: 40px auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.page-register__image-padding {
    padding: 0 20px;
    box-sizing: border-box;
}

/* Registration Guide Section */
.page-register__registration-guide {
    background-color: var(--shbet65-deep-green);
}

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

.page-register__step-item {
    background-color: var(--shbet65-card-bg);
    border: 1px solid var(--shbet65-border);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    color: var(--shbet65-text-main);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-register__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--shbet65-gold);
    margin-bottom: 15px;
}

.page-register__step-title {
    font-size: 1.5em;
    color: var(--shbet65-gold);
    margin-bottom: 15px;
}

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

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

.page-register__promo-card {
    background-color: var(--shbet65-card-bg);
    border: 1px solid var(--shbet65-border);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: var(--shbet65-text-main);
}

.page-register__promo-title {
    font-size: 1.3em;
    color: var(--shbet65-gold);
    margin-bottom: 15px;
}

/* Mobile App Section */
.page-register__mobile-app {
    background-color: var(--shbet65-deep-green);
}

.page-register__mobile-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
}

.page-register__mobile-image {
    max-width: 400px; /* Specific max-width for mobile app image */
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-register__mobile-text {
    flex: 1;
    color: var(--shbet65-text-main);
}

.page-register__mobile-text p {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: var(--shbet65-text-secondary);
}

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

.page-register__faq-list {
    margin-top: 40px;
}

.page-register__faq-item {
    background-color: var(--shbet65-card-bg);
    border: 1px solid var(--shbet65-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--shbet65-text-main);
}

.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--shbet65-gold);
    cursor: pointer;
    list-style: none; /* For details/summary */
}

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

.page-register__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
}

.page-register__faq-answer {
    padding: 0 20px 20px;
    font-size: 1em;
    color: var(--shbet65-text-secondary);
}

/* Experience CTA Section */
.page-register__experience-cta {
    background: var(--shbet65-deep-green);
    text-align: center;
    padding: 80px 0;
}

.page-register__center-content {
    max-width: 800px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-register__main-title {
        font-size: 2.8em;
    }
    .page-register__section-title {
        font-size: 2em;
    }
    .page-register__hero-description,
    .page-register__mobile-text p {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-register__container {
        padding: 0 15px;
    }

    .page-register__section {
        padding: 40px 0;
    }

    .page-register__hero-section {
        padding-bottom: 40px;
    }

    .page-register__hero-image-wrapper {
        margin-bottom: 30px;
    }

    .page-register__main-title {
        font-size: 2.2em; /* Smaller on mobile */
    }

    .page-register__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-register__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-register__cta-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .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;
    }

    .page-register__mobile-content {
        flex-direction: column;
        gap: 30px;
    }

    .page-register__mobile-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* General image responsiveness for content area */
    .page-register img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-register__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Ensure containers are responsive */
    .page-register__section,
    .page-register__card,
    .page-register__container,
    .page-register__hero-image-wrapper,
    .page-register__mobile-text,
    .page-register__cta-buttons,
    .page-register__step-item,
    .page-register__promo-card,
    .page-register__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-register__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-register__video-section {
        padding-top: 10px !important; /* body handles header offset */
    }
    
    .page-register__faq-question {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-register__main-title {
        font-size: 1.8em;
    }
    .page-register__section-title {
        font-size: 1.5em;
    }
    .page-register__card-title,
    .page-register__list-title,
    .page-register__step-title,
    .page-register__promo-title {
        font-size: 1.2em;
    }
    .page-register__btn-primary,
    .page-register__btn-secondary {
        padding: 12px 20px;
        font-size: 0.9em;
    }
    .page-register__hero-image-wrapper {
        margin-bottom: 20px;
    }
    .page-register__hero-content {
        padding: 0 10px;
    }
}