/* style/blog-huong-dan-dang-ky-1xbet.css */

:root {
    --primary-color: #C91F17;
    --secondary-color: #E53935;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
    --card-bg: #D32F2F;
    --background-color-page: #B71C1C; /* Main content background */
    --text-main-color: #FFF5E1;
    --border-color: #F2B544;
    --glow-color: #FFCC66;
    --gold-color: #F4D34D;
    --deep-red-color: #7A0E0E;
    --light-bg-section: #ffffff; /* For light background sections */
    --dark-text-color: #333333; /* For text on light backgrounds */
}

.page-blog-huong-dan-dang-ky-1xbet {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main-color); /* Default text color for dark sections */
    background-color: var(--background-color-page); /* Main page background from custom colors */
}

.page-blog-huong-dan-dang-ky-1xbet__container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

/* Hero Section */
.page-blog-huong-dan-dang-ky-1xbet__hero-section {
    padding-top: 10px; /* Small top padding, relying on body padding-top from shared */
    padding-bottom: 60px;
    background-color: var(--primary-color); /* Use primary color for hero background */
    color: var(--text-main-color);
}

.page-blog-huong-dan-dang-ky-1xbet__hero-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    padding: 60px 16px;
}

.page-blog-huong-dan-dang-ky-1xbet__hero-content {
    flex: 1 1 50%;
    min-width: 300px;
}

.page-blog-huong-dan-dang-ky-1xbet__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-main-color);
}

.page-blog-huong-dan-dang-ky-1xbet__subtitle {
    font-size: 1.125rem;
    margin-bottom: 30px;
    color: var(--text-main-color);
}

.page-blog-huong-dan-dang-ky-1xbet__cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    width: 100%;
}

.page-blog-huong-dan-dang-ky-1xbet__hero-image-wrapper {
    flex: 1 1 40%;
    text-align: center;
}

.page-blog-huong-dan-dang-ky-1xbet__hero-side-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* General Section Styles */
.page-blog-huong-dan-dang-ky-1xbet__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-main-color);
}

.page-blog-huong-dan-dang-ky-1xbet__sub-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--text-main-color);
}

.page-blog-huong-dan-dang-ky-1xbet__text-block {
    font-size: 1rem;
    margin-bottom: 20px;
}

.page-blog-huong-dan-dang-ky-1xbet__cta-center {
    text-align: center;
    margin-top: 40px;
}

/* Button Styles */
.page-blog-huong-dan-dang-ky-1xbet__btn-primary,
.page-blog-huong-dan-dang-ky-1xbet__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    width: auto;
    text-align: center;
}

.page-blog-huong-dan-dang-ky-1xbet__btn-primary {
    background: var(--button-gradient);
    color: var(--deep-red-color); /* Dark text for light gradient button */
    border: none;
    box-shadow: 0 5px 15px rgba(255, 216, 106, 0.4);
}

.page-blog-huong-dan-dang-ky-1xbet__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-blog-huong-dan-dang-ky-1xbet__btn-secondary {
    background: none;
    color: var(--text-main-color);
    border: 2px solid var(--border-color);
}

.page-blog-huong-dan-dang-ky-1xbet__btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gold-color);
}

.page-blog-huong-dan-dang-ky-1xbet__btn-small {
    padding: 10px 20px;
    font-size: 1rem;
}

/* Dark Background Section */
.page-blog-huong-dan-dang-ky-1xbet__dark-section {
    background-color: var(--background-color-page);
    color: var(--text-main-color);
    padding: 60px 0;
}

/* Light Background Section */
.page-blog-huong-dan-dang-ky-1xbet__light-bg {
    background-color: var(--light-bg-section);
    color: var(--dark-text-color);
    padding: 60px 0;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.page-blog-huong-dan-dang-ky-1xbet__light-bg .page-blog-huong-dan-dang-ky-1xbet__section-title,
.page-blog-huong-dan-dang-ky-1xbet__light-bg .page-blog-huong-dan-dang-ky-1xbet__sub-title {
    color: var(--dark-text-color);
}

.page-blog-huong-dan-dang-ky-1xbet__light-bg .page-blog-huong-dan-dang-ky-1xbet__text-block {
    color: var(--dark-text-color);
}

/* Feature List */
.page-blog-huong-dan-dang-ky-1xbet__feature-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-blog-huong-dan-dang-ky-1xbet__feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: var(--card-bg); /* Use card background color */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: var(--text-main-color);
}

.page-blog-huong-dan-dang-ky-1xbet__feature-item:hover {
    transform: translateY(-5px);
}

.page-blog-huong-dan-dang-ky-1xbet__feature-icon {
    width: 100px; /* Ensure images are not small icons */
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 3px solid var(--border-color);
}

.page-blog-huong-dan-dang-ky-1xbet__feature-item h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--gold-color);
}

.page-blog-huong-dan-dang-ky-1xbet__feature-item p {
    font-size: 0.95rem;
    color: var(--text-main-color);
}

/* Registration Methods */
.page-blog-huong-dan-dang-ky-1xbet__registration-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-blog-huong-dan-dang-ky-1xbet__method-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: var(--text-main-color);
}

.page-blog-huong-dan-dang-ky-1xbet__method-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-blog-huong-dan-dang-ky-1xbet__method-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--gold-color);
}

.page-blog-huong-dan-dang-ky-1xbet__method-card p {
    font-size: 1rem;
    margin-bottom: 25px;
    color: var(--text-main-color);
}

/* Guide Section */
.page-blog-huong-dan-dang-ky-1xbet__guide-section {
    padding: 60px 0;
}

.page-blog-huong-dan-dang-ky-1xbet__step-by-step {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    margin-top: 40px;
}

.page-blog-huong-dan-dang-ky-1xbet__step-item {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--text-main-color);
}

.page-blog-huong-dan-dang-ky-1xbet__step-number {
    width: 60px;
    height: 60px;
    background: var(--button-gradient);
    color: var(--deep-red-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
    box-shadow: 0 3px 10px rgba(255, 216, 106, 0.5);
}

.page-blog-huong-dan-dang-ky-1xbet__step-title {
    font-size: 1.8rem;
    color: var(--gold-color);
    margin-bottom: 20px;
}

.page-blog-huong-dan-dang-ky-1xbet__step-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 25px;
    display: block;
}

.page-blog-huong-dan-dang-ky-1xbet__step-item p {
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Important Notes Section */
.page-blog-huong-dan-dang-ky-1xbet__notes-section {
    padding: 60px 0;
}

.page-blog-huong-dan-dang-ky-1xbet__note-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.page-blog-huong-dan-dang-ky-1xbet__note-item {
    background-color: #f0f0f0; /* Light background for notes */
    border-left: 5px solid var(--primary-color);
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 1.05rem;
    color: var(--dark-text-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Promotion Section */
.page-blog-huong-dan-dang-ky-1xbet__promo-section {
    padding: 60px 0;
    text-align: center;
}

.page-blog-huong-dan-dang-ky-1xbet__promo-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px auto;
    display: block;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-blog-huong-dan-dang-ky-1xbet__faq-section {
    padding: 60px 0;
}

.page-blog-huong-dan-dang-ky-1xbet__faq-list {
    margin-top: 40px;
}

.page-blog-huong-dan-dang-ky-1xbet__faq-item {
    background-color: var(--card-bg);
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: var(--text-main-color);
}

.page-blog-huong-dan-dang-ky-1xbet__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--gold-color);
    list-style: none; /* For details/summary */
}

.page-blog-huong-dan-dang-ky-1xbet__faq-question::-webkit-details-marker {
    display: none;
}

.page-blog-huong-dan-dang-ky-1xbet__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-blog-huong-dan-dang-ky-1xbet__faq-item[open] .page-blog-huong-dan-dang-ky-1xbet__faq-toggle {
    transform: rotate(45deg);
}

.page-blog-huong-dan-dang-ky-1xbet__faq-answer {
    padding: 0 20px 20px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-main-color);
}

/* Conclusion Section */
.page-blog-huong-dan-dang-ky-1xbet__conclusion-section {
    padding: 60px 0;
    text-align: center;
}

/* --- Responsive Styles --- */

/* All images responsive by default */
.page-blog-huong-dan-dang-ky-1xbet img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .page-blog-huong-dan-dang-ky-1xbet {
        font-size: 16px; /* Enhanced readability for mobile */
        line-height: 1.6;
    }

    .page-blog-huong-dan-dang-ky-1xbet__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden; /* Prevent horizontal scroll */
    }

    /* HERO Section */
    .page-blog-huong-dan-dang-ky-1xbet__hero-section {
        padding-top: 10px !important; /* Fixed header spacing */
        padding-bottom: 40px !important;
    }

    .page-blog-huong-dan-dang-ky-1xbet__hero-container {
        flex-direction: column; /* Stack elements vertically */
        padding: 30px 15px;
        gap: 20px;
    }

    .page-blog-huong-dan-dang-ky-1xbet__main-title {
        font-size: 2.2rem; /* Adjust H1 size for mobile */
        text-align: center;
    }

    .page-blog-huong-dan-dang-ky-1xbet__subtitle {
        font-size: 1rem;
        text-align: center;
    }

    .page-blog-huong-dan-dang-ky-1xbet__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        width: 100%;
    }

    .page-blog-huong-dan-dang-ky-1xbet__btn-primary,
    .page-blog-huong-dan-dang-ky-1xbet__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1rem !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-blog-huong-dan-dang-ky-1xbet__hero-image-wrapper {
        order: -1; /* Image above text on mobile */
        width: 100%;
    }

    /* General Section Titles */
    .page-blog-huong-dan-dang-ky-1xbet__section-title {
        font-size: 2rem;
        margin-bottom: 25px;
    }

    .page-blog-huong-dan-dang-ky-1xbet__sub-title {
        font-size: 1.3rem;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    /* Feature List */
    .page-blog-huong-dan-dang-ky-1xbet__feature-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-blog-huong-dan-dang-ky-1xbet__feature-item {
        padding: 25px;
    }

    .page-blog-huong-dan-dang-ky-1xbet__feature-icon {
        width: 80px; /* Maintain square aspect ratio, but smaller */
        height: 80px;
    }

    /* Registration Methods */
    .page-blog-huong-dan-dang-ky-1xbet__registration-methods {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-blog-huong-dan-dang-ky-1xbet__method-card {
        padding: 25px;
    }

    /* Guide Section */
    .page-blog-huong-dan-dang-ky-1xbet__step-by-step {
        gap: 30px;
    }

    .page-blog-huong-dan-dang-ky-1xbet__step-item {
        padding: 30px;
    }

    .page-blog-huong-dan-dang-ky-1xbet__step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .page-blog-huong-dan-dang-ky-1xbet__step-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    /* Notes Section */
    .page-blog-huong-dan-dang-ky-1xbet__note-item {
        font-size: 0.95rem;
        padding: 12px 15px;
    }

    /* Promo Section */
    .page-blog-huong-dan-dang-ky-1xbet__promo-image {
        margin: 20px auto;
    }

    /* FAQ Section */
    .page-blog-huong-dan-dang-ky-1xbet__faq-question {
        font-size: 1rem;
        padding: 15px;
    }

    .page-blog-huong-dan-dang-ky-1xbet__faq-toggle {
        font-size: 1.5rem;
    }

    .page-blog-huong-dan-dang-ky-1xbet__faq-answer {
        padding: 0 15px 15px;
        font-size: 0.9rem;
    }

    /* All other images within content areas */
    .page-blog-huong-dan-dang-ky-1xbet__content-area img,
    .page-blog-huong-dan-dang-ky-1xbet__guide-section img,
    .page-blog-huong-dan-dang-ky-1xbet__promo-section img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-blog-huong-dan-dang-ky-1xbet__dark-section,
    .page-blog-huong-dan-dang-ky-1xbet__light-bg,
    .page-blog-huong-dan-dang-ky-1xbet__notes-section,
    .page-blog-huong-dan-dang-ky-1xbet__promo-section,
    .page-blog-huong-dan-dang-ky-1xbet__faq-section,
    .page-blog-huong-dan-dang-ky-1xbet__conclusion-section {
        padding: 40px 0 !important;
    }
}