.page-register {
    background-color: #1a1a1a; /* Dark background to match luxury casino feel */
    color: #f0f0f0; /* Light text for contrast */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

/* Hero Section */
.page-register__hero-section {
    position: relative;
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #8B0000, #FFD700); /* Blend primary and secondary colors */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-register__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.2; /* Subtly blend background image */
    overflow: hidden;
}

.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;
    margin: 0 auto;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-register__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for main title */
    line-height: 1.2;
}

.page-register__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
}

.page-register__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #8B0000; /* Deep red text */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-register__cta-button:hover {
    background-color: #e6c200; /* Slightly darker gold on hover */
    transform: translateY(-3px);
}

.page-register__cta-button--small {
    font-size: 1em;
    padding: 12px 25px;
}

/* General Section Styling */
.page-register__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold for section titles */
    text-align: center;
    margin-bottom: 50px;
    padding-top: 60px;
}

/* Value Section */
.page-register__value-section {
    padding: 80px 0;
    background-color: #2c2c2c;
}

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

.page-register__value-item {
    background-color: #3a3a3a;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

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

.page-register__value-item img {
    width: 100%; /* Occupy full width of card */
    max-width: 400px; /* Example max-width, ensuring it's >= 200px */
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-register__value-heading {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
}

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

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

.page-register__steps-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.page-register__steps-text {
    flex: 1;
    min-width: 300px;
}

.page-register__steps-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-register__steps-image img {
    width: 100%;
    max-width: 600px; /* Ensuring it's >= 200px */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

.page-register__step-item {
    background-color: #3a3a3a;
    margin-bottom: 20px;
    padding: 25px;
    border-left: 5px solid #FFD700;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.page-register__step-heading {
    font-size: 1.5em;
    color: #FFD700;
    margin-top: 0;
    margin-bottom: 10px;
}

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

/* Terms Section */
.page-register__terms-section {
    padding: 80px 0;
    background-color: #2c2c2c;
}

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

.page-register__terms-text {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.page-register__terms-list {
    list-style: disc;
    padding-left: 25px;
    color: #e0e0e0;
}

.page-register__terms-item {
    margin-bottom: 10px;
    font-size: 1em;
}

.page-register__terms-item a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-register__terms-item a:hover {
    color: #e6c200;
    text-decoration: underline;
}

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

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

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

.page-register__faq-question {
    width: 100%;
    background-color: #8B0000; /* Deep red for question background */
    color: #ffffff; /* White text for question */
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    text-align: left;
    border: none;
    cursor: pointer;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
    background-color: #a00000; /* Slightly lighter red on hover */
}

.page-register__faq-question::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-register__faq-question.active::after {
    content: '-';
    transform: rotate(0deg); /* No rotation needed for '-' */
}

.page-register__faq-answer {
    padding: 0 25px;
    background-color: #4a4a4a; /* Slightly lighter dark for answer background */
    color: #e0e0e0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-register__faq-answer p {
    margin: 20px 0; /* Add margin to paragraph inside answer */
}

.page-register__faq-answer.open {
    max-height: 200px; /* Adjust as needed for content */
    padding: 20px 25px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-register__hero-title {
        font-size: 2.8em;
    }
    .page-register__section-title {
        font-size: 2em;
    }
    .page-register__value-heading {
        font-size: 1.5em;
    }
}

@media (max-width: 768px) {
    .page-register {
        padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
    }
    .page-register__hero-section {
        padding: 60px 15px;
    }
    .page-register__hero-title {
        font-size: 2.2em;
    }
    .page-register__hero-description {
        font-size: 1.1em;
    }
    .page-register__cta-button {
        font-size: 1em;
        padding: 12px 25px;
    }
    .page-register__section-title {
        font-size: 1.8em;
        margin-bottom: 40px;
    }
    .page-register__value-grid {
        grid-template-columns: 1fr;
    }
    .page-register__steps-content {
        flex-direction: column;
    }
    .page-register__steps-image {
        order: -1; /* Image above text on mobile */
    }
    .page-register__faq-question {
        font-size: 1.1em;
    }

    /* Important: Mobile image scaling */
    .page-register img {
        max-width: 100%;
        height: auto;
    }
    .page-register__value-item img,
    .page-register__steps-image img {
        width: 100%; /* Ensure images scale down */
        height: auto;
        min-width: 200px; /* Ensure minimum size is maintained if parent allows */
        min-height: 200px; /* Ensure minimum size is maintained if parent allows */
        object-fit: cover; /* Maintain aspect ratio */
    }
}

@media (max-width: 480px) {
    .page-register__hero-title {
        font-size: 1.8em;
    }
    .page-register__hero-description {
        font-size: 1em;
    }
    .page-register__section-title {
        font-size: 1.5em;
    }
    .page-register__value-item,
    .page-register__step-item,
    .page-register__faq-item {
        padding: 20px;
    }
    .page-register__faq-question {
        padding: 15px 20px;
    }
}