/* style/register.css */
.page-register__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px);
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: #017439; /* Dark brand green background */
}

.page-register__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
    overflow: hidden;
}

.page-register__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.page-register__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.page-register__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.page-register__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    line-height: 1.6;
    color: #f0f0f0;
}

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

.page-register__cta-buttons--center {
    margin-top: 40px;
}

.page-register__btn-primary,
.page-register__btn-secondary {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    display: inline-block;
    max-width: 100%;
    box-sizing: border-box;
}

.page-register__btn-primary {
    background: #C30808; /* Custom red for register */
    color: #FFFF00; /* Custom yellow font */
    border: 2px solid #C30808;
}

.page-register__btn-primary:hover {
    background: #a30606;
    border-color: #a30606;
}

.page-register__btn-secondary {
    background: #ffffff;
    color: #017439; /* Brand green text */
    border: 2px solid #017439;
}

.page-register__btn-secondary:hover {
    background: #f0f0f0;
    color: #005a2d;
}

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

.page-register__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    color: #017439; /* Brand green */
}

.page-register__dark-bg .page-register__section-title {
    color: #ffffff;
}

.page-register__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
    color: #333333;
}

.page-register__dark-bg .page-register__section-intro {
    color: #f0f0f0;
}

.page-register__light-bg {
    background: #ffffff;
    color: #333333;
    padding: 80px 0;
}

.page-register__dark-bg {
    background: #017439;
    color: #ffffff;
    padding: 80px 0;
}

.page-register__why-join-section .page-register__section-title,
.page-register__important-notes-section .page-register__section-title,
.page-register__game-explore-section .page-register__section-title,
.page-register__contact-section .page-register__section-title {
    color: #017439;
}

.page-register__why-join-section .page-register__section-intro,
.page-register__important-notes-section .page-register__section-intro,
.page-register__game-explore-section .page-register__section-intro,
.page-register__contact-section .page-register__section-intro {
    color: #333333;
}

/* Feature Grid */
.page-register__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-register__feature-card {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-register__feature-card:hover {
    transform: translateY(-10px);
}

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

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

.page-register__card-description {
    font-size: 1em;
    line-height: 1.6;
    color: #555555;
}

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

.page-register__step-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
}

.page-register__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #FFFF00; /* Custom yellow */
    margin-bottom: 15px;
    background: #C30808; /* Custom red */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-register__step-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-register__step-description {
    font-size: 1em;
    line-height: 1.6;
    color: #f0f0f0;
}

/* Important Notes */
.page-register__note-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-register__note-item {
    background: #f0f0f0;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-left: 5px solid #017439;
    border-radius: 5px;
    font-size: 1.1em;
    line-height: 1.6;
    color: #333333;
}

.page-register__note-item strong {
    color: #017439;
}

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

.page-register__promo-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.page-register__promo-card:hover {
    transform: translateY(-10px);
}

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

.page-register__promo-card .page-register__card-title {
    color: #ffffff;
}

.page-register__promo-card .page-register__card-description {
    color: #f0f0f0;
}

/* Game Explore Section */
.page-register__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-register__game-card {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.page-register__game-card:hover {
    transform: translateY(-10px);
}

.page-register__game-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 15px;
    border-radius: 8px;
}

.page-register__game-card .page-register__card-title {
    color: #017439;
}

.page-register__game-card .page-register__card-description {
    color: #555555;
}

/* FAQ Section */
.page-register__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-register__faq-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transition: background 0.3s ease;
}

.page-register__faq-question:hover {
    background: rgba(255, 255, 255, 0.15);
}

.page-register__faq-title {
    font-size: 1.2em;
    margin: 0;
    flex-grow: 1;
    color: #ffffff;
}

.page-register__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #FFFF00; /* Custom yellow */
    margin-left: 15px;
    transition: transform 0.3s ease;
}

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

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

.page-register__faq-item.active .page-register__faq-answer {
    max-height: 1000px !important; /* Sufficiently large */
    padding: 20px;
}

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

/* Contact Section */
.page-register__contact-section {
    text-align: center;
}

/* Video Section */
.page-register__video-section {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-register__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.page-register__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
}

.page-register__video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    z-index: 1;
    pointer-events: none;
}

/* Responsive adjustments */
@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__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-register__hero-title {
        font-size: 2.2em;
    }
    .page-register__hero-description {
        font-size: 1em;
    }
    .page-register__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-register__btn-primary, .page-register__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-register__light-bg, .page-register__dark-bg {
        padding: 60px 0;
    }
    .page-register__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-register__section-title {
        font-size: 1.8em;
    }
    .page-register__section-intro {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-register__feature-grid, .page-register__step-grid, .page-register__promo-grid, .page-register__game-grid {
        grid-template-columns: 1fr;
    }
    .page-register__feature-card, .page-register__step-item, .page-register__promo-card, .page-register__game-card {
        padding: 20px;
    }
    .page-register__faq-question {
        padding: 15px;
    }
    .page-register__faq-title {
        font-size: 1.1em;
    }
    .page-register__faq-answer {
        padding: 0 15px;
    }
    .page-register__faq-item.active .page-register__faq-answer {
        padding: 15px !important;
    }
    /* Mobile image and video responsive */
    .page-register img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-register video,
    .page-register__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-register__video-section,
    .page-register__video-container,
    .page-register__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-register__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }
}

@media (max-width: 480px) {
    .page-register__hero-title {
        font-size: 1.8em;
    }
    .page-register__section-title {
        font-size: 1.6em;
    }
}