:root {
    --primary-color: #E53935;
    --secondary-color: #FF5A4F;
    --text-main-color: #333333;
    --card-bg-color: #FFFFFF;
    --border-color: #E0E0E0;
    --body-bg-color: #F5F7FA;
}

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

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

.page-register__section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-register__section-description {
    font-size: 18px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #555555;
}

.page-register__card {
    background: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.page-register__card-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 15px;
    margin-bottom: 10px;
}

.page-register__card-text {
    font-size: 16px;
    color: #666666;
}

/* Buttons */
.page-register__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-register__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-register__cta-button--secondary {
    background: linear-gradient(180deg, #66bb6a 0%, #43a047 100%); /* Example secondary color */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-register__cta-button--secondary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.page-register__cta-button--ghost {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

.page-register__cta-button--ghost:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
}

.page-register__cta-button--large {
    padding: 18px 50px;
    font-size: 20px;
}

/* Hero Section */
.page-register__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    overflow: hidden;
}

.page-register__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-register__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-register__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-register__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 900px;
    margin-top: -80px; /* Overlap slightly with image for design, but content is below */
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.page-register__main-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.page-register__hero-description {
    font-size: 20px;
    color: #444444;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Benefits Section */
.page-register__benefits-section {
    padding: 80px 0;
}

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

.page-register__benefit-card img {
    width: 100%;
    max-width: 250px;
    height: auto;
    object-fit: contain;
    margin-bottom: 15px;
}

/* Process Section */
.page-register__process-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: #ffffff;
}

.page-register__process-section .page-register__section-title,
.page-register__process-section .page-register__section-description {
    color: #ffffff;
}

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

.page-register__step-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-register__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--primary-color);
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-register__step-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.page-register__step-text {
    font-size: 16px;
    color: #f0f0f0;
}

.page-register__step-text ul {
    list-style: disc inside;
    text-align: left;
    margin-top: 10px;
    padding-left: 15px;
}

.page-register__step-text ul li {
    margin-bottom: 5px;
}

.page-register__cta-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
}

/* Games Section */
.page-register__games-section {
    padding: 80px 0;
}

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

.page-register__game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-register__game-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-register__game-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

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

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

.page-register__promo-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-register__promo-cta {
    text-align: center;
    margin-top: 50px;
}

/* Customer Support Section */
.page-register__customer-support-section {
    padding: 80px 0;
}

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

.page-register__channel-item {
    background: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-register__channel-item img {
    
    
    object-fit: contain;
    margin-bottom: 15px;
}

.page-register__channel-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-register__channel-text {
    font-size: 16px;
    color: #666666;
    margin-bottom: 20px;
}

.page-register__channel-link {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-register__channel-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-register__support-note {
    text-align: center;
    font-style: italic;
    margin-top: 40px;
    color: #777777;
}

/* FAQ Section */
.page-register__faq-section {
    padding: 80px 0;
    background-color: var(--body-bg-color);
}

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

details.page-register__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--card-bg-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

details.page-register__faq-item summary.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}

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

details.page-register__faq-item summary.page-register__faq-question:hover {
    background: #f5f5f5;
}

.page-register__faq-qtext {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--text-main-color);
}

.page-register__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #666;
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}

details.page-register__faq-item .page-register__faq-answer {
    padding: 0 20px 20px;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
    color: #555555;
    font-size: 16px;
}

details.page-register__faq-item .page-register__faq-answer p {
    margin-bottom: 10px;
}

details.page-register__faq-item .page-register__faq-answer ul {
    list-style: disc inside;
    padding-left: 20px;
    margin-top: 10px;
}

details.page-register__faq-item .page-register__faq-answer ul li {
    margin-bottom: 5px;
}

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

.page-register__cta-final-section .page-register__section-title,
.page-register__cta-final-section .page-register__section-description {
    color: #ffffff;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-register__main-title {
        font-size: 42px;
    }
    .page-register__section-title {
        font-size: 32px;
    }
    .page-register__hero-content {
        margin-top: -60px;
    }
}

@media (max-width: 768px) {
    .page-register__hero-section,
    .page-register__benefits-section,
    .page-register__process-section,
    .page-register__games-section,
    .page-register__promotions-section,
    .page-register__customer-support-section,
    .page-register__faq-section,
    .page-register__cta-final-section {
        padding: 40px 0;
    }
    
    .page-register__hero-section {
        padding-top: 10px !important;
    }

    .page-register__hero-content {
        margin-top: -40px;
        padding: 15px;
    }

    .page-register__main-title {
        font-size: 32px;
        line-height: 1.2;
    }

    .page-register__hero-description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .page-register__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-register__cta-button--large {
        padding: 15px 40px;
        font-size: 18px;
    }

    .page-register__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

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

    .page-register__benefits-grid,
    .page-register__process-steps,
    .page-register__games-grid,
    .page-register__promo-grid,
    .page-register__support-channels {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }

    .page-register__card-title {
        font-size: 20px;
    }

    .page-register__card-text {
        font-size: 15px;
    }

    .page-register__step-item,
    .page-register__channel-item {
        padding: 20px;
    }

    .page-register__step-number {
        width: 40px;
        height: 40px;
        font-size: 20px;
        margin-bottom: 15px;
    }

    .page-register__step-title,
    .page-register__channel-title {
        font-size: 18px;
    }

    .page-register__step-text,
    .page-register__channel-text {
        font-size: 15px;
    }

    .page-register__cta-container {
        flex-direction: column;
        gap: 15px;
    }

    .page-register__container {
        padding: 0 15px;
    }

    .page-register img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .page-register__card,
    .page-register__section,
    .page-register__container,
    .page-register__hero-section,
    .page-register__benefits-section,
    .page-register__process-section,
    .page-register__games-section,
    .page-register__promotions-section,
    .page-register__customer-support-section,
    .page-register__faq-section,
    .page-register__cta-final-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    details.page-register__faq-item summary.page-register__faq-question {
        padding: 15px;
    }

    .page-register__faq-qtext {
        font-size: 16px;
    }

    .page-register__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }

    details.page-register__faq-item .page-register__faq-answer {
        padding: 0 15px 15px;
        font-size: 15px;
    }

    .page-register__cta-final-content .page-register__cta-button {
        max-width: 100% !important;
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .page-register__main-title {
        font-size: 28px;
    }
    .page-register__section-title {
        font-size: 24px;
    }
    .page-register__cta-button {
        font-size: 15px;
        padding: 10px 25px;
    }
    .page-register__hero-content {
        margin-top: -30px;
    }
}