:root {
    --primary-color: #113B7A;
    --secondary-color: #1D5FD1;
    --text-main: #F3F8FF;
    --text-secondary: #AFC4E8;
    --card-bg: #10233F;
    --border: #244D84;
    --glow: #4FA8FF;
    --gold: #F2C14E;
    --divider: #1B3357;
    --deep-navy: #08162B;
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    --primary-color-rgb: 17, 59, 122; /* RGB for #113B7A */
    --card-bg-rgb: 16, 35, 63; /* RGB for #10233F */
}

.page-huong-dan-ca-cuoc-dang-ky-tai-khoan {
    font-family: 'Arial', sans-serif;
    color: var(--text-secondary); /* Default text color for the page, good contrast with deep-navy body */
    background-color: var(--deep-navy); /* Body background is deep-navy from shared.css */
}

/* Base container styling */
.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
    box-sizing: border-box;
}

/* Section styling */
.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__section {
    padding: 40px 0;
    position: relative;
    z-index: 1;
}

.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--gold); /* Gold for titles */
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.3;
}

.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__section-title--white {
    color: var(--text-main); /* White for titles on dark backgrounds */
}

.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__text-block {
    font-size: 18px;
    line-height: 1.7;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px;
    color: var(--text-secondary); /* Secondary text color */
}

.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__text-block--white {
    color: var(--text-main); /* Main text color for dark backgrounds */
}

/* Hero Section */
.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    background: linear-gradient(180deg, var(--deep-navy) 0%, #000000 100%);
    overflow: hidden;
}

.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__hero-image {
    width: 100%;
    max-height: 600px; /* Limit hero image height */
    overflow: hidden;
    margin-bottom: 30px; /* Space between image and content */
}

.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Cover the area, may crop */
    aspect-ratio: 16/9; /* Maintain aspect ratio */
    min-width: 200px;
    min-height: 200px;
}

.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__hero-content {
    max-width: 900px;
    padding: 0 15px;
    box-sizing: border-box;
    color: var(--text-main);
}

.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__main-title {
    font-size: clamp(32px, 4.5vw, 56px); /* Responsive font size */
    color: var(--gold);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__hero-description {
    font-size: 19px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: var(--text-secondary);
}

/* CTA Button */
.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    max-width: 100%; /* Ensure button doesn't exceed container */
    box-sizing: border-box;
}

.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__btn-primary:hover {
    background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__btn-secondary {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    margin-left: 20px;
}

.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__btn-secondary:hover {
    background: var(--gold);
    color: var(--deep-navy);
    transform: translateY(-2px);
}

/* Introduction Section */
.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__introduction {
    background-color: var(--deep-navy);
    color: var(--text-secondary);
}

.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__feature-item {
    background-color: var(--card-bg); /* Use custom card background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    color: var(--text-secondary);
    border: 1px solid var(--border); /* Use custom border color */
}

.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__feature-title {
    font-size: 22px;
    color: var(--text-main);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__feature-item p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Step-by-Step Guide Section */
.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__guide-steps {
    background-color: #0d203f; /* Slightly lighter dark background */
    color: var(--text-secondary);
}

.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__step-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
    border: 1px solid var(--border);
}

.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__step-title {
    font-size: 24px;
    color: var(--gold);
    margin-bottom: 20px;
    font-weight: 600;
}

.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__step-item p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__step-details {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__step-details li {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__step-details strong {
    color: var(--text-main);
}

.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__step-image-wrapper {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__step-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%; /* Ensure images are responsive */
    min-width: 200px; /* Minimum size */
    min-height: 200px; /* Minimum size */
}

.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Important Notes Section */
.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__important-notes {
    background-color: var(--deep-navy);
    color: var(--text-secondary);
}

.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__note-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__note-item {
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
}

.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__note-title {
    font-size: 20px;
    color: var(--text-main);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__note-item p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* FAQ Section */
.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__faq {
    background-color: #0d203f; /* Slightly lighter dark background */
    color: var(--text-secondary);
}

.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

details.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--border);
    overflow: hidden;
    background: var(--card-bg);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
details.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__faq-item summary.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__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;
    color: var(--text-main);
}
details.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__faq-item summary.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__faq-question::-webkit-details-marker {
    display: none;
}
details.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__faq-item summary.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__faq-question:hover {
    background: rgba(var(--primary-color-rgb), 0.1); /* Use primary color with transparency for hover */
}
.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__faq-qtext {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--text-main);
}
.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--gold);
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}
details.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__faq-item .page-huong-dan-ca-cuoc-dang-ky-tai-khoan__faq-answer {
    padding: 0 20px 20px;
    background: rgba(var(--card-bg-rgb), 0.5); /* Slightly transparent card background */
    border-radius: 0 0 8px 8px;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}
.page-huong-dan-ca-cuoc-dang-ky-tai-khoan__faq-answer p {
    margin: 0;
    color: var(--text-secondary);
}