/* Base styles for the page */
.page-huong-dan-dat-cuoc {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #FFF3E6; /* Text Main */
    background-color: #0D0E12; /* Background */
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.page-huong-dan-dat-cuoc__article-wrap {
    max-width: 1150px;
    margin: 0 auto;
    padding: 20px; /* Default desktop padding */
}

/* Hero Section */
.page-huong-dan-dat-cuoc__hero-section {
    padding-top: 10px; /* Small top padding, not var(--header-offset) */
    padding-bottom: 60px;
    text-align: center;
    background: linear-gradient(180deg, #17191F 0%, #0D0E12 100%); /* Card BG to Background */
    border-bottom: 1px solid #A84F0C; /* Border */
}

.page-huong-dan-dat-cuoc__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-huong-dan-dat-cuoc__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive H1 font size */
    font-weight: 700;
    color: #FFB04D; /* Glow */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 8px rgba(255, 176, 77, 0.4);
}

.page-huong-dan-dat-cuoc__intro-text {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #FFF3E6; /* Text Main */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-huong-dan-dat-cuoc__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-huong-dan-dat-cuoc__btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* Ensure button doesn't overflow */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-huong-dan-dat-cuoc__btn-primary {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
    color: #ffffff; /* White text for contrast */
    border: none;
    box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-huong-dan-dat-cuoc__btn-primary:hover {
    background: linear-gradient(180deg, #FFB04D 0%, #E6781A 100%); /* Slightly lighter hover */
    box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
    transform: translateY(-2px);
}

.page-huong-dan-dat-cuoc__btn-secondary {
    background-color: transparent;
    color: #FF8C1A; /* Main color */
    border: 2px solid #FF8C1A; /* Main color border */
    box-shadow: 0 4px 10px rgba(255, 140, 26, 0.2);
}

.page-huong-dan-dat-cuoc__btn-secondary:hover {
    background-color: rgba(255, 140, 26, 0.1); /* Light background on hover */
    color: #FFB04D; /* Glow color */
    border-color: #FFB04D;
    transform: translateY(-2px);
}

/* General Section Styling */
.page-huong-dan-dat-cuoc__section {
    padding: 50px 0;
    border-bottom: 1px solid rgba(168, 79, 12, 0.3); /* Border with transparency */
}

.page-huong-dan-dat-cuoc__section:last-of-type {
    border-bottom: none;
    padding-bottom: 80px;
}

.page-huong-dan-dat-cuoc__section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FF8C1A; /* Main color */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-huong-dan-dat-cuoc__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #D96800 0%, #FFA53A 100%); /* Deep Orange to Aux */
    border-radius: 2px;
}

.page-huong-dan-dat-cuoc__sub-section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #FFA53A; /* Aux color */
    margin-top: 35px;
    margin-bottom: 20px;
    border-left: 5px solid #FF8C1A; /* Main color border */
    padding-left: 15px;
}

.page-huong-dan-dat-cuoc__sub-sub-section-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #FFB04D; /* Glow color */
    margin-top: 25px;
    margin-bottom: 15px;
}

.page-huong-dan-dat-cuoc p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #FFF3E6; /* Text Main */
}

.page-huong-dan-dat-cuoc__list {
    list-style-type: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-huong-dan-dat-cuoc__list li {
    background-color: #17191F; /* Card BG */
    border: 1px solid #A84F0C; /* Border */
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    position: relative;
    padding-left: 60px; /* For custom bullet */
}

.page-huong-dan-dat-cuoc__list li::before {
    content: '★'; /* Custom bullet point */
    color: #FFB04D; /* Glow color */
    font-size: 1.5rem;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
}

.page-huong-dan-dat-cuoc__list li p {
    margin-bottom: 0;
}

/* Images and Figures */
.page-huong-dan-dat-cuoc__figure {
    margin: 30px auto;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
    background-color: #17191F; /* Card BG */
    border: 1px solid #A84F0C; /* Border */
}

.page-huong-dan-dat-cuoc__figure img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px 8px 0 0;
}

.page-huong-dan-dat-cuoc__figcaption {
    font-size: 0.9rem;
    color: #FFF3E6; /* Text Main */
    padding: 15px;
    background-color: #17191F; /* Card BG */
    border-top: 1px solid rgba(168, 79, 12, 0.5); /* Border with transparency */
    border-radius: 0 0 8px 8px;
}

/* Registration Steps Section */
.page-huong-dan-dat-cuoc__registration-steps {
    text-align: center;
}

.page-huong-dan-dat-cuoc__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-huong-dan-dat-cuoc__step-item {
    background-color: #17191F; /* Card BG */
    border: 1px solid #A84F0C; /* Border */
    border-radius: 10px;
    padding-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-huong-dan-dat-cuoc__step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.page-huong-dan-dat-cuoc__step-item img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px 8px 0 0;
    margin-bottom: 15px;
}

.page-huong-dan-dat-cuoc__step-caption {
    padding: 0 20px;
}

.page-huong-dan-dat-cuoc__step-title {
    font-size: 1.3rem;
    color: #FFB04D; /* Glow color */
    margin-bottom: 10px;
}

.page-huong-dan-dat-cuoc__cta-center {
    text-align: center;
    margin-top: 40px;
}

/* FAQ Section */
.page-huong-dan-dat-cuoc__faq-list {
    margin-top: 30px;
}

.page-huong-dan-dat-cuoc__faq-item {
    background-color: #17191F; /* Card BG */
    border: 1px solid #A84F0C; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-huong-dan-dat-cuoc__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #FFA53A; /* Aux color */
    cursor: pointer;
    background-color: #17191F; /* Card BG */
    border-bottom: 1px solid rgba(168, 79, 12, 0.3); /* Border with transparency */
    list-style: none; /* Hide default marker for details summary */
}

.page-huong-dan-dat-cuoc__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for Chrome */
}

.page-huong-dan-dat-cuoc__faq-question:hover {
    background-color: rgba(255, 140, 26, 0.05); /* Light hover effect */
}

.page-huong-dan-dat-cuoc__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    color: #FF8C1A; /* Main color */
    transition: transform 0.3s ease;
}

.page-huong-dan-dat-cuoc__faq-item[open] .page-huong-dan-dat-cuoc__faq-toggle {
    transform: rotate(45deg); /* Rotate + to form X or similar */
}

.page-huong-dan-dat-cuoc__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: #FFF3E6; /* Text Main */
    line-height: 1.6;
}

.page-huong-dan-dat-cuoc__faq-answer p {
    margin-bottom: 0;
}

/* Conclusion Section */
.page-huong-dan-dat-cuoc__conclusion-section {
    text-align: center;
    padding-top: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-huong-dan-dat-cuoc__article-wrap {
        padding: 15px;
    }

    .page-huong-dan-dat-cuoc__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .page-huong-dan-dat-cuoc__section-title {
        font-size: 2.2rem;
    }

    .page-huong-dan-dat-cuoc__sub-section-title {
        font-size: 1.6rem;
    }

    .page-huong-dan-dat-cuoc__sub-sub-section-title {
        font-size: 1.2rem;
    }

    .page-huong-dan-dat-cuoc__list li {
        padding-left: 50px;
    }

    .page-huong-dan-dat-cuoc__list li::before {
        left: 15px;
    }
}


/* Mobile Responsive Styles (max-width: 768px) - MUST INCLUDE ALL REQUIRED BLOCKS */
@media (max-width: 768px) {
    /* 1. Top section title + CTAs */
    .page-huong-dan-dat-cuoc__hero-section {
        padding-top: 10px !important; /* Small top padding */
        padding-bottom: 40px;
    }

    .page-huong-dan-dat-cuoc__hero-content {
        padding: 0 15px; /* Mobile padding */
    }

    .page-huong-dan-dat-cuoc__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem); /* Smaller H1 for mobile */
        margin-bottom: 15px;
    }

    .page-huong-dan-dat-cuoc__intro-text {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .page-huong-dan-dat-cuoc__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        padding: 0 15px; /* Ensure container has padding */
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    /* 2. Single-column long text containers */
    .page-huong-dan-dat-cuoc__article-wrap {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-huong-dan-dat-cuoc__section {
        padding: 30px 0; /* Smaller section padding */
    }

    .page-huong-dan-dat-cuoc__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .page-huong-dan-dat-cuoc__sub-section-title {
        font-size: 1.4rem;
        margin-top: 25px;
        margin-bottom: 15px;
        padding-left: 10px;
    }

    .page-huong-dan-dat-cuoc__sub-sub-section-title {
        font-size: 1.1rem;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .page-huong-dan-dat-cuoc p,
    .page-huong-dan-dat-cuoc li {
        font-size: 0.95rem; /* Slightly smaller text for mobile readability */
        line-height: 1.5;
    }

    .page-huong-dan-dat-cuoc__list li {
        padding: 15px 15px 15px 50px;
        margin-bottom: 10px;
    }

    .page-huong-dan-dat-cuoc__list li::before {
        left: 15px;
        font-size: 1.2rem;
    }

    /* 3. Generic images and figure */
    .page-huong-dan-dat-cuoc img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
}