/* style/register.css */

/* Base styles for the register page content */
.page-register {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: #121212; /* Dark background as per shared.css body background */
}

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

.page-register__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-register__section-intro {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

/* Hero Section */
.page-register__hero-section {
    position: relative;
    padding: 80px 0 60px;
    background-color: #1a1a1a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--header-offset, 120px); /* Desktop default */
}

.page-register__hero-section .page-register__container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.page-register__hero-content {
    flex: 1;
    min-width: 50%;
}

.page-register__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #26A9E0;
    line-height: 1.2;
    font-weight: bold;
}

.page-register__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-register__hero-image-wrapper {
    flex: 1;
    min-width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-register__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.page-register__btn-primary,
.page-register__btn-secondary,
.page-register__btn-link {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons adapt */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-register__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-register__btn-primary:hover {
    background-color: #1e87b7;
    border-color: #1e87b7;
    color: #ffffff;
}

.page-register__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
    margin-left: 20px;
}

.page-register__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-register__btn-link {
    background-color: transparent;
    color: #26A9E0;
    border: none;
    padding: 8px 15px;
    text-decoration: underline;
}

.page-register__btn-link:hover {
    color: #1e87b7;
}

.page-register__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap */
    gap: 20px;
    margin-top: 40px;
    justify-content: flex-start;
}

.page-register__cta-buttons--centered {
    justify-content: center;
}

/* Why Join Section */
.page-register__why-join-section {
    padding: 80px 0;
    background-color: #121212;
}

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

.page-register__feature-card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter dark background for cards */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease;
    color: #ffffff;
}

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

.page-register__feature-title {
    font-size: 1.6em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

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

/* Steps Section */
.page-register__steps-section {
    padding: 80px 0;
    background-color: #0d0d0d;
}

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

.page-register__step-item {
    text-align: center;
    color: #ffffff;
}

.page-register__step-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-register__step-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: bold;
}

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

.page-register__note-block {
    background-color: rgba(38, 169, 224, 0.1); /* Light transparent brand color */
    border-left: 5px solid #26A9E0;
    padding: 25px 30px;
    margin-top: 60px;
    border-radius: 5px;
    color: #ffffff;
}

.page-register__note-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-register__note-list {
    list-style: disc;
    margin-left: 25px;
    font-size: 1em;
    color: #e0e0e0;
}

.page-register__note-list li {
    margin-bottom: 8px;
}

/* Promotions Section */
.page-register__promotions-section {
    padding: 80px 0;
    background-color: #121212;
}

.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: rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    color: #ffffff;
}

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

.page-register__promo-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-register__promo-text {
    font-size: 1em;
    color: #e0e0e0;
}

/* Game Types Section */
.page-register__game-types-section {
    padding: 80px 0;
    background-color: #0d0d0d;
}

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

.page-register__game-card {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-register__game-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-register__game-text {
    font-size: 1em;
    color: #e0e0e0;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Security Section */
.page-register__security-section {
    padding: 80px 0;
    background-color: #121212;
}

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

.page-register__security-item {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    color: #ffffff;
}

.page-register__security-icon {
    width: 100px; /* Base size, min-width will enforce 200px */
    height: 100px;
    margin-bottom: 20px;
    filter: brightness(1.2); /* Slightly brighten for visibility on dark background, not changing hue */
}

.page-register__security-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: bold;
}

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

/* FAQ Section */
.page-register__faq-section {
    padding: 80px 0;
    background-color: #0d0d0d;
}

.page-register__faq-list {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.15);
    transition: background-color 0.3s ease;
}

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

.page-register__faq-question h3 {
    font-size: 1.2em;
    color: #26A9E0;
    margin: 0;
    font-weight: bold;
}

.page-register__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #26A9E0;
    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 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: #e0e0e0;
}

.page-register__faq-item.active .page-register__faq-answer {
    max-height: 1000px !important;
    padding: 15px 25px 25px;
}

.page-register__faq-answer p {
    margin: 0;
    font-size: 1em;
}

/* Final CTA Section */
.page-register__cta-final-section {
    padding: 80px 0;
    background-color: #1a1a1a;
    text-align: center;
    color: #ffffff;
}

.page-register__cta-final-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-register__cta-final-section .page-register__section-title {
    color: #26A9E0;
}
}