.page-register {
    color: #333333; /* Default text color for light body background */
}

.page-register__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: #000000; /* Dark background for hero section */
    color: #FFFFFF;
    min-height: 600px;
}

.page-register__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.6;
}

.page-register__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-register__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
}

.page-register__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FCBC45; /* Login color for emphasis */
}

.page-register__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-register__cta-button {
    display: inline-block;
    background-color: #FCBC45; /* Login color */
    color: #000000; /* Main color for contrast */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-register__cta-button:hover {
    background-color: #e0a53a;
    transform: translateY(-3px);
}

.page-register__secondary-button {
    display: inline-block;
    background-color: #000000; /* Main color */
    color: #FCBC45; /* Login color */
    padding: 12px 25px;
    border: 2px solid #FCBC45;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-register__secondary-button:hover {
    background-color: #FCBC45;
    color: #000000;
}

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

.page-register__section-title {
    font-size: 2.5em;
    color: #000000; /* Main color */
    text-align: center;
    margin-bottom: 25px;
}

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

.page-register__value-section, .page-register__steps-section, .page-register__conditions-section, .page-register__download-section, .page-register__banking-section, .page-register__promotions-section, .page-register__responsible-gaming-section, .page-register__support-section, .page-register__faq-section {
    padding: 60px 0;
    background-color: #FFFFFF; /* White background */
}

.page-register__value-section:nth-of-type(odd) {
    background-color: #f8f8f8;
}

.page-register__value-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.page-register__value-item {
    background-color: #FFFFFF;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 25px;
    font-size: 1.05em;
    line-height: 1.6;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.page-register__value-item:hover {
    transform: translateY(-5px);
}

.page-register__steps-grid, .page-register__conditions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.page-register__steps-image, .page-register__conditions-image {
    text-align: center;
}

.page-register__steps-image img, .page-register__conditions-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

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

.page-register__step-item {
    margin-bottom: 30px;
}

.page-register__step-title {
    font-size: 1.6em;
    color: #000000; /* Main color */
    margin-bottom: 10px;
}

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

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

.page-register__conditions-item {
    margin-bottom: 25px;
}

.page-register__condition-title {
    font-size: 1.5em;
    color: #000000; /* Main color */
    margin-bottom: 8px;
}

.page-register__condition-description {
    font-size: 1em;
    line-height: 1.6;
}

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

.page-register__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #000000; /* Main color */
    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[open] .page-register__faq-toggle {
    transform: rotate(45deg);
}

.page-register__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    line-height: 1.6;
    color: #555;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-register__hero-title {
        font-size: 3em;
    }
    .page-register__hero-description {
        font-size: 1.1em;
    }
    .page-register__section-title {
        font-size: 2em;
    }
    .page-register__steps-grid, .page-register__conditions-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .page-register__hero-section {
        min-height: 500px;
    }
    .page-register__hero-title {
        font-size: 2.5em;
    }
    .page-register__hero-description {
        font-size: 1em;
    }
    .page-register__cta-button {
        padding: 12px 25px;
        font-size: 1.1em;
    }
    .page-register__section-title {
        font-size: 1.8em;
    }
    .page-register__section-intro {
        font-size: 0.95em;
    }
    .page-register__value-list {
        grid-template-columns: 1fr;
    }
    .page-register__steps-grid, .page-register__conditions-grid {
        grid-template-columns: 1fr;
    }
    .page-register__steps-image, .page-register__conditions-image {
        order: -1; /* Image first on mobile */
        margin-bottom: 30px;
    }
    .page-register__steps-image img, .page-register__conditions-image img {
        max-width: 100%;
        height: auto;
    }
    /* Ensure all content area images are responsive and do not overflow */
    .page-register img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce minimum size */
        min-height: 200px; /* Enforce minimum size */
    }
}

@media (max-width: 480px) {
    .page-register__hero-title {
        font-size: 2em;
    }
    .page-register__hero-description {
        font-size: 0.9em;
    }
    .page-register__cta-button {
        padding: 10px 20px;
        font-size: 1em;
    }
    .page-register__section-title {
        font-size: 1.5em;
    }
    .page-register__step-title, .page-register__condition-title {
        font-size: 1.3em;
    }
    .page-register__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-register__faq-toggle {
        font-size: 1.2em;
    }
    .page-register__container {
        padding: 20px 15px;
    }
}