:root {
    --page-primary-color: #017439;
    --page-secondary-color: #FFFFFF;
    --page-text-color-dark: #333333;
    --page-text-color-light: #ffffff;
    --page-bg-dark: #1a1a2e; /* From shared.css body background */
    --page-register-btn-bg: #C30808;
    --page-login-btn-bg: #C30808;
    --page-register-login-font: #FFFF00;
}

/* Base styles for the main content area, assuming a dark body background from shared.css */
.page-resources-choose-maubinh-platform {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--page-text-color-light); /* Light text on dark body background */
    background-color: var(--page-bg-dark); /* Ensure consistency with body background */
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    box-sizing: border-box;
}

.page-resources-choose-maubinh-platform__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.page-resources-choose-maubinh-platform__section {
    padding: 60px 0;
    text-align: center;
    position: relative;
}

.page-resources-choose-maubinh-platform__section:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for contrast */
}

.page-resources-choose-maubinh-platform__section-title {
    font-size: 2.5em;
    color: var(--page-secondary-color); /* White for titles */
    margin-bottom: 30px;
    font-weight: bold;
}

.page-resources-choose-maubinh-platform__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--page-text-color-light);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-resources-choose-maubinh-platform__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: 80px 20px;
    background: linear-gradient(45deg, var(--page-primary-color), #004d2b);
    overflow: hidden;
    color: var(--page-text-color-light);
    text-align: center;
    box-sizing: border-box;
}

.page-resources-choose-maubinh-platform__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-resources-choose-maubinh-platform__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--page-secondary-color);
    line-height: 1.2;
}

.page-resources-choose-maubinh-platform__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: var(--page-text-color-light);
}

.page-resources-choose-maubinh-platform__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-resources-choose-maubinh-platform__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

/* Buttons */
.page-resources-choose-maubinh-platform__btn-primary,
.page-resources-choose-maubinh-platform__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    font-size: 1.1em;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-resources-choose-maubinh-platform__btn-primary {
    background-color: var(--page-register-btn-bg); /* Use custom color for register/login */
    color: var(--page-register-login-font); /* Use custom font color */
    border: 2px solid var(--page-register-btn-bg);
}

.page-resources-choose-maubinh-platform__btn-primary:hover {
    background-color: #a30606;
    border-color: #a30606;
    transform: translateY(-2px);
}

.page-resources-choose-maubinh-platform__btn-secondary {
    background-color: transparent;
    color: var(--page-secondary-color);
    border: 2px solid var(--page-secondary-color);
    margin-left: 20px;
}

.page-resources-choose-maubinh-platform__btn-secondary:hover {
    background-color: var(--page-secondary-color);
    color: var(--page-primary-color);
    transform: translateY(-2px);
}

.page-resources-choose-maubinh-platform__btn-large {
    padding: 18px 35px;
    font-size: 1.2em;
}

.page-resources-choose-maubinh-platform__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-resources-choose-maubinh-platform__cta-block {
    background-color: rgba(1, 116, 57, 0.1); /* Slightly transparent primary color */
    padding: 30px;
    border-radius: 10px;
    margin-top: 50px;
}

.page-resources-choose-maubinh-platform__cta-text {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: var(--page-text-color-light);
}

.page-resources-choose-maubinh-platform__cta-text a {
    color: var(--page-register-login-font); /* Yellow for links within CTA */
    text-decoration: underline;
}

.page-resources-choose-maubinh-platform__cta-text a:hover {
    color: #ffd700;
}


/* Image Styling */
.page-resources-choose-maubinh-platform__image-container {
    margin: 40px auto;
    max-width: 1000px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-choose-maubinh-platform__image {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px; /* Keep consistent border-radius */
}

/* Card Grid */
.page-resources-choose-maubinh-platform__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-choose-maubinh-platform__card {
    background-color: rgba(255, 255, 255, 0.1); /* Light transparent background for cards on dark body */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    color: var(--page-text-color-light); /* Light text on card background */
    transition: transform 0.3s ease;
    height: 100%; /* Ensure cards are same height in a row */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.page-resources-choose-maubinh-platform__card:hover {
    transform: translateY(-5px);
}

.page-resources-choose-maubinh-platform__card-title {
    font-size: 1.5em;
    color: var(--page-secondary-color);
    margin-bottom: 15px;
}

.page-resources-choose-maubinh-platform__card-text {
    font-size: 1em;
    color: var(--page-text-color-light);
}

/* Platform List */
.page-resources-choose-maubinh-platform__platform-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-resources-choose-maubinh-platform__platform-item {
    background-color: rgba(1, 116, 57, 0.2); /* Slightly transparent primary color for platform items */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--page-text-color-light);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.page-resources-choose-maubinh-platform__platform-name {
    font-size: 1.8em;
    color: var(--page-secondary-color);
    margin-bottom: 15px;
}

.page-resources-choose-maubinh-platform__platform-description {
    font-size: 1.1em;
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-resources-choose-maubinh-platform__platform-features {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.page-resources-choose-maubinh-platform__platform-features li {
    margin-bottom: 8px;
    font-size: 1em;
    color: var(--page-text-color-light);
}

/* Tips & Strategies */
.page-resources-choose-maubinh-platform__tip-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-resources-choose-maubinh-platform__tip-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    text-align: left;
    color: var(--page-text-color-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.page-resources-choose-maubinh-platform__tip-title {
    font-size: 1.4em;
    color: var(--page-secondary-color);
    margin-bottom: 10px;
}

.page-resources-choose-maubinh-platform__tip-text {
    font-size: 1em;
    flex-grow: 1;
}

/* Promotions */
.page-resources-choose-maubinh-platform__promo-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-resources-choose-maubinh-platform__promo-item {
    background-color: rgba(1, 116, 57, 0.2);
    padding: 25px;
    border-radius: 10px;
    text-align: left;
    color: var(--page-text-color-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.page-resources-choose-maubinh-platform__promo-title {
    font-size: 1.4em;
    color: var(--page-register-login-font); /* Yellow for promo titles */
    margin-bottom: 10px;
}

.page-resources-choose-maubinh-platform__promo-text {
    font-size: 1em;
    flex-grow: 1;
}

/* Comparison Table */
.page-resources-choose-maubinh-platform__table-wrapper {
    overflow-x: auto; /* For responsive table */
    margin-top: 40px;
}

.page-resources-choose-maubinh-platform__comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    font-size: 1em;
    color: var(--page-text-color-light);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.page-resources-choose-maubinh-platform__comparison-table th,
.page-resources-choose-maubinh-platform__comparison-table td {
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: left;
}

.page-resources-choose-maubinh-platform__comparison-table th {
    background-color: var(--page-primary-color);
    color: var(--page-secondary-color);
    font-weight: bold;
    white-space: nowrap;
}