/* style/resources-caxeng-win-registration-deposit-withdrawal-guide.css */

/* Base styles for the page content, ensuring text contrast with dark body background */
.page-resources-caxeng-win-registration-deposit-withdrawal-guide {
    color: #ffffff; /* Light text for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: transparent; /* Body background is handled by shared.css */
}

.page-resources-caxeng-win-registration-deposit-withdrawal-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-resources-caxeng-win-registration-deposit-withdrawal-guide__hero-section {
    position: relative;
    width: 100%;
    height: 70vh; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    min-height: 400px; /* Minimum height for hero */
}

.page-resources-caxeng-win-registration-deposit-withdrawal-guide__hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.page-resources-caxeng-win-registration-deposit-withdrawal-guide__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 1;
}

.page-resources-caxeng-win-registration-deposit-withdrawal-guide__hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 900px;
    padding: 20px;
}

.page-resources-caxeng-win-registration-deposit-withdrawal-guide__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.page-resources-caxeng-win-registration-deposit-withdrawal-guide__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* General Section Styling */
.page-resources-caxeng-win-registration-deposit-withdrawal-guide__content-section {
    padding: 60px 0;
    background-color: #1a1a2e; /* Dark background for content sections */
    color: #ffffff; /* Light text for these sections */
}

.page-resources-caxeng-win-registration-deposit-withdrawal-guide__content-section:nth-child(even) {
    background-color: #1a1a2e; /* Slightly different shade for alternating sections if desired */
}

.page-resources-caxeng-win-registration-deposit-withdrawal-guide__section-title {
    font-size: 2.5em;
    color: #017439; /* Brand primary color for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-resources-caxeng-win-registration-deposit-withdrawal-guide__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

/* Image Styling */
.page-resources-caxeng-win-registration-deposit-withdrawal-guide__image-wrapper {
    margin: 40px auto;
    text-align: center;
    max-width: 800px; /* Constrain image width */
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.page-resources-caxeng-win-registration-deposit-withdrawal-guide__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    /* No CSS filters allowed */
}

/* List Styling */
.page-resources-caxeng-win-registration-deposit-withdrawal-guide__step-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.page-resources-caxeng-win-registration-deposit-withdrawal-guide__list-item {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for list items */
    border-left: 5px solid #017439;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.page-resources-caxeng-win-registration-deposit-withdrawal-guide__list-title {
    font-size: 1.5em;
    color: #017439; /* Brand primary color for list titles */
    margin-top: 0;
    margin-bottom: 10px;
}

.page-resources-caxeng-win-registration-deposit-withdrawal-guide__sub-list {
    list-style: disc;
    margin-left: 20px;
    margin-top: 10px;
}

.page-resources-caxeng-win-registration-deposit-withdrawal-guide__sub-list li {
    margin-bottom: 5px;
}

.page-resources-caxeng-win-registration-deposit-withdrawal-guide__promo-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-resources-caxeng-win-registration-deposit-withdrawal-guide__promo-list .page-resources-caxeng-win-registration-deposit-withdrawal-guide__list-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-left: 5px solid #017439;
}

/* Call to Action Buttons */
.page-resources-caxeng-win-registration-deposit-withdrawal-guide__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.page-resources-caxeng-win-registration-deposit-withdrawal-guide__cta-buttons--center {
    text-align: center;
}

.page-resources-caxeng-win-registration-deposit-withdrawal-guide__btn-primary,
.page-resources-caxeng-win-registration-deposit-withdrawal-guide__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box; /* Ensure padding and border are included in width */
    max-width: 100%; /* Ensure responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow word breaking */
    text-align: center;
}

.page-resources-caxeng-win-registration-deposit-withdrawal-guide__btn-primary {
    background-color: #C30808; /* Custom color for register/login */
    color: #FFFF00; /* Custom font color for register/login */
    border: 2px solid #C30808;
}

.page-resources-caxeng-win-registration-deposit-withdrawal-guide__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
    color: #ffffff;
}

.page-resources-caxeng-win-registration-deposit-withdrawal-guide__btn-secondary {
    background-color: transparent;
    color: #017439; /* Brand primary color */
    border: 2px solid #017439;
}

.page-resources-caxeng-win-registration-deposit-withdrawal-guide__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
}

/* FAQ Section */
.page-resources-caxeng-win-registration-deposit-withdrawal-guide__faq-section {
    background-color: #1a1a2e;
}

.page-resources-caxeng-win-registration-deposit-withdrawal-guide__faq-list {
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-resources-caxeng-win-registration-deposit-withdrawal-guide__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.page-resources-caxeng-win-registration-deposit-withdrawal-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.08);
    transition: background-color 0.3s ease;
}

.page-resources-caxeng-win-registration-deposit-withdrawal-guide__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.page-resources-caxeng-win-registration-deposit-withdrawal-guide__faq-title {
    margin: 0;
    font-size: 1.2em;
    color: #ffffff;
    font-weight: bold;
}

.page-resources-caxeng-win-registration-deposit-withdrawal-guide__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #017439;
    transition: transform 0.3s ease;
}

.page-resources-caxeng-win-registration-deposit-withdrawal-guide__faq-item.active .page-resources-caxeng-win-registration-deposit-withdrawal-guide__faq-toggle {
    transform: rotate(45deg);
    color: #C30808; /* Red for active toggle */
}

.page-resources-caxeng-win-registration-deposit-withdrawal-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(255, 255, 255, 0.03);
    color: #e0e0e0;
}

.page-resources-caxeng-win-registration-deposit-withdrawal-guide__faq-item.active .page-resources-caxeng-win-registration-deposit-withdrawal-guide__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px 25px 25px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-caxeng-win-registration-deposit-withdrawal-guide__hero-title {
        font-size: 3em;
    }
    .page-resources-caxeng-win-registration-deposit-withdrawal-guide__hero-description {
        font-size: 1.2em;
    }
    .page-resources-caxeng-win-registration-deposit-withdrawal-guide__section-title {
        font-size: 2em;
    }
    .page-resources-caxeng-win-registration-deposit-withdrawal-guide__list-title {
        font-size: 1.3em;
    }
}

@media (max-width: 768px) {
    .page-resources-caxeng-win-registration-deposit-withdrawal-guide__hero-section {
        height: 60vh;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-resources-caxeng-win-registration-deposit-withdrawal-guide__hero-title {
        font-size: 2.5em;
    }
    .page-resources-caxeng-win-registration-deposit-withdrawal-guide__hero-description {
        font-size: 1em;
    }
    .page-resources-caxeng-win-registration-deposit-withdrawal-guide__cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}