/* style/register.css */

/* Variables for colors */
:root {
    --f8bet-sony-primary: #0A2342;
    --f8bet-sony-secondary: #E0B400;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f8f8f8;
    --background-dark: #0A2342;
}

.page-register {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--background-light);
}

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

.page-register__dark-bg {
    background-color: var(--background-dark);
    color: var(--text-light);
}

.page-register__light-bg {
    background-color: var(--background-light);
    color: var(--text-dark);
}

.page-register__text-white {
    color: var(--text-light) !important;
}

.page-register__hero-section {
    position: relative;
    padding: 80px 0 40px;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px);
}

.page-register__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--f8bet-sony-secondary);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-register__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-register__hero-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-register__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    color: var(--f8bet-sony-primary);
}

.page-register__dark-bg .page-register__section-title {
    color: var(--f8bet-sony-secondary);
}

.page-register__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
}

.page-register__why-join-section {
    padding: 80px 0;
}

.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: #ffffff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
}

.page-register__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.page-register__feature-icon {
    width: 100%;
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-register__feature-title {
    font-size: 1.5em;
    color: var(--f8bet-sony-primary);
    margin-bottom: 15px;
}

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

.page-register__steps-section {
    padding: 80px 0;
}

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

.page-register__step-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

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

.page-register__step-title {
    font-size: 1.6em;
    color: var(--text-light);
    margin-bottom: 10px;
}

.page-register__step-text {
    font-size: 1em;
    color: #cccccc;
}

.page-register__steps-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    margin-top: 50px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-register__bonus-section {
    padding: 80px 0;
}

.page-register__bonus-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-register__bonus-image {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.page-register__bonus-details {
    text-align: center;
}

.page-register__bonus-subtitle {
    font-size: 2em;
    color: var(--f8bet-sony-primary);
    margin-bottom: 20px;
}

.page-register__bonus-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    font-size: 1.1em;
    color: #555555;
}

.page-register__bonus-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.page-register__bonus-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0;
}

.page-register__security-section {
    padding: 80px 0;
}

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

.page-register__security-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-register__security-icon {
    width: 100%;
    max-width: 100px;
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-register__security-title {
    font-size: 1.5em;
    color: var(--text-light);
    margin-bottom: 15px;
}

.page-register__security-text {
    font-size: 1em;
    color: #cccccc;
}

.page-register__faq-section {
    padding: 80px 0;
}

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

.page-register__faq-item {
    background-color: #ffffff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--f8bet-sony-primary);
    cursor: pointer;
    background-color: #ffffff;
    transition: background-color 0.3s ease;
}

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

.page-register__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-register__faq-item.active .page-register__faq-toggle {
    transform: rotate(0deg);
}

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

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

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

.page-register__cta-section {
    padding: 80px 0;
    text-align: center;
}

.page-register__large-btn {
    padding: 18px 40px;
    font-size: 1.3em;
}

/* Buttons */
.page-register__btn-primary,
.page-register__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

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

.page-register__btn-primary:hover {
    background-color: darken(var(--f8bet-sony-secondary), 10%);
    color: var(--text-light);
}

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

.page-register__btn-secondary:hover {
    background-color: var(--f8bet-sony-secondary);
    color: var(--f8bet-sony-primary);
}

.page-register__mt-20 {
    margin-top: 20px;
}

.page-register__mt-40 {
    margin-top: 40px;
}

/* Responsive styles */
@media (min-width: 769px) {
    .page-register__bonus-content {
        flex-direction: row;
        text-align: left;
    }

    .page-register__bonus-details {
        text-align: left;
    }
}

@media (max-width: 1024px) {
    .page-register__hero-title {
        font-size: 2.8em;
    }
    .page-register__section-title {
        font-size: 2em;
    }
}

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

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

    .page-register__hero-title {
        font-size: 2.2em;
    }

    .page-register__hero-description {
        font-size: 1em;
    }

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

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

    .page-register__features-grid,
    .page-register__steps-grid,
    .page-register__security-grid {
        grid-template-columns: 1fr;
    }

    .page-register__bonus-content {
        flex-direction: column;
        gap: 20px;
    }

    .page-register__bonus-details {
        text-align: center;
    }

    .page-register__bonus-subtitle {
        font-size: 1.8em;
    }

    .page-register__bonus-list {
        font-size: 1em;
    }

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

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

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

    .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: auto;
        margin-right: auto;
    }

    .page-register__hero-section .page-register__btn-primary {
        max-width: 300px !important; /* Limit width for hero button */
        width: 100% !important;
    }

    .page-register__cta-section .page-register__btn-primary {
        max-width: 350px !important; /* Limit width for CTA button */
        width: 100% !important;
    }

    .page-register__steps-section .page-register__btn-secondary {
        max-width: 300px !important; /* Limit width for steps button */
        width: 100% !important;
    }

    .page-register__security-section .page-register__btn-secondary {
        max-width: 300px !important; /* Limit width for security button */
        width: 100% !important;
    }

    .page-register__bonus-section .page-register__btn-primary {
        max-width: 300px !important; /* Limit width for bonus button */
        width: 100% !important;
    }

    .page-register img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-register__hero-image,
    .page-register__steps-image,
    .page-register__bonus-image,
    .page-register__feature-icon,
    .page-register__security-icon {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .page-register__section,
    .page-register__card,
    .page-register__container,
    .page-register__hero-section,
    .page-register__why-join-section,
    .page-register__steps-section,
    .page-register__bonus-section,
    .page-register__security-section,
    .page-register__faq-section,
    .page-register__cta-section,
    .page-register__features-grid,
    .page-register__steps-grid,
    .page-register__security-grid,
    .page-register__bonus-content,
    .page-register__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important; /* Ensure no horizontal scroll */
    }

    .page-register__faq-item {
        margin-left: 0;
        margin-right: 0;
    }

    .page-register__hero-section,
    .page-register__why-join-section,
    .page-register__steps-section,
    .page-register__bonus-section,
    .page-register__security-section,
    .page-register__faq-section,
    .page-register__cta-section {
        padding-left: 0;
        padding-right: 0;
    }

    .page-register__hero-section .page-register__container,
    .page-register__why-join-section .page-register__container,
    .page-register__steps-section .page-register__container,
    .page-register__bonus-section .page-register__container,
    .page-register__security-section .page-register__container,
    .page-register__faq-section .page-register__container,
    .page-register__cta-section .page-register__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* Ensure contrast for text on brand colors */
.page-register__dark-bg p, 
.page-register__dark-bg li, 
.page-register__dark-bg .page-register__step-text, 
.page-register__dark-bg .page-register__security-text {
    color: var(--text-light);
}

.page-register__light-bg p, 
.page-register__light-bg li, 
.page-register__light-bg .page-register__feature-text {
    color: var(--text-dark);
}

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

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

.page-register__btn-primary:hover {
    background-color: #c9a300; /* Slightly darker gold */
    color: var(--text-light);
    border-color: #c9a300;
}

.page-register__btn-secondary:hover {
    background-color: var(--f8bet-sony-secondary);
    color: var(--f8bet-sony-primary);
    border-color: var(--f8bet-sony-secondary);
}