:root {
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --card-bg: #17191F;
    --bg-color: #0D0E12;
    --text-main: #FFF3E6;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange: #D96800;
}

.page-blog-huong-dan-ca-cuoc-the-thao-na99 {
    color: var(--text-main);
    background-color: var(--bg-color);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-blog-huong-dan-ca-cuoc-the-thao-na99__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-blog-huong-dan-ca-cuoc-the-thao-na99__section {
    padding: 40px 0;
}

.page-blog-huong-dan-ca-cuoc-the-thao-na99__section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-blog-huong-dan-ca-cuoc-the-thao-na99__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding */
    background-color: var(--bg-color);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-blog-huong-dan-ca-cuoc-the-thao-na99__hero-image {
    width: 100%;
    max-height: 600px;
    overflow: hidden;
    margin-bottom: 20px;
}

.page-blog-huong-dan-ca-cuoc-the-thao-na99__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-blog-huong-dan-ca-cuoc-the-thao-na99__hero-content {
    position: relative;
    z-index: 1;
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-blog-huong-dan-ca-cuoc-the-thao-na99__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--glow-color);
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: 700;
}

.page-blog-huong-dan-ca-cuoc-the-thao-na99__subtitle {
    font-size: 1.2em;
    color: var(--text-main);
    margin-bottom: 30px;
}

.page-blog-huong-dan-ca-cuoc-the-thao-na99__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-blog-huong-dan-ca-cuoc-the-thao-na99__btn-primary,
.page-blog-huong-dan-ca-cuoc-the-thao-na99__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-blog-huong-dan-ca-cuoc-the-thao-na99__btn-primary {
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange) 100%);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-blog-huong-dan-ca-cuoc-the-thao-na99__btn-primary:hover {
    background: linear-gradient(180deg, var(--deep-orange) 0%, var(--secondary-color) 100%);
    box-shadow: 0 0 15px var(--glow-color);
}

.page-blog-huong-dan-ca-cuoc-the-thao-na99__btn-secondary {
    background: var(--card-bg);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-blog-huong-dan-ca-cuoc-the-thao-na99__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-main);
    border-color: var(--text-main);
}

.page-blog-huong-dan-ca-cuoc-the-thao-na99__content-block p {
    font-size: 1em;
    margin-bottom: 15px;
    color: var(--text-main);
}

.page-blog-huong-dan-ca-cuoc-the-thao-na99__content-block a {
    color: var(--glow-color);
    text-decoration: none;
}

.page-blog-huong-dan-ca-cuoc-the-thao-na99__content-block a:hover {
    text-decoration: underline;
}

.page-blog-huong-dan-ca-cuoc-the-thao-na99__text-contrast-fix {
    color: var(--text-main);
}

.page-blog-huong-dan-ca-cuoc-the-thao-na99__benefits-grid,
.page-blog-huong-dan-ca-cuoc-the-thao-na99__bet-types-grid,
.page-blog-huong-dan-ca-cuoc-the-thao-na99__sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-blog-huong-dan-ca-cuoc-the-thao-na99__benefit-card,
.page-blog-huong-dan-ca-cuoc-the-thao-na99__bet-type-card,
.page-blog-huong-dan-ca-cuoc-the-thao-na99__sport-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog-huong-dan-ca-cuoc-the-thao-na99__benefit-card:hover,
.page-blog-huong-dan-ca-cuoc-the-thao-na99__bet-type-card:hover,
.page-blog-huong-dan-ca-cuoc-the-thao-na99__sport-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-huong-dan-ca-cuoc-the-thao-na99__benefit-card img,
.page-blog-huong-dan-ca-cuoc-the-thao-na99__bet-type-card img,
.page-blog-huong-dan-ca-cuoc-the-thao-na99__sport-card img,
.page-blog-huong-dan-ca-cuoc-the-thao-na99__tip-item img,
.page-blog-huong-dan-ca-cuoc-the-thao-na99__step-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-blog-huong-dan-ca-cuoc-the-thao-na99__card-title {
    font-size: 1.3em;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-blog-huong-dan-ca-cuoc-the-thao-na99__steps-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.page-blog-huong-dan-ca-cuoc-the-thao-na99__step-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-huong-dan-ca-cuoc-the-thao-na99__step-item:nth-child(even) {
    flex-direction: row-reverse;
}

.page-blog-huong-dan-ca-cuoc-the-thao-na99__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--glow-color);
    flex-shrink: 0;
}

.page-blog-huong-dan-ca-cuoc-the-thao-na99__step-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-blog-huong-dan-ca-cuoc-the-thao-na99__cta-bottom,
.page-blog-huong-dan-ca-cuoc-the-thao-na99__cta-final {
    text-align: center;
    margin-top: 40px;
}

.page-blog-huong-dan-ca-cuoc-the-thao-na99__tips-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.page-blog-huong-dan-ca-cuoc-the-thao-na99__tip-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog-huong-dan-ca-cuoc-the-thao-na99__tip-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-huong-dan-ca-cuoc-the-thao-na99__tip-title {
    font-size: 1.3em;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-blog-huong-dan-ca-cuoc-the-thao-na99__support-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
}

.page-blog-huong-dan-ca-cuoc-the-thao-na99__support-content img {
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}

.page-blog-huong-dan-ca-cuoc-the-thao-na99__support-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-blog-huong-dan-ca-cuoc-the-thao-na99__support-content li {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: var(--text-main);
}

.page-blog-huong-dan-ca-cuoc-the-thao-na99__support-content li strong {
    color: var(--glow-color);
}

/* FAQ Styles */
details.page-blog-huong-dan-ca-cuoc-the-thao-na99__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
}
details.page-blog-huong-dan-ca-cuoc-the-thao-na99__faq-item summary.page-blog-huong-dan-ca-cuoc-the-thao-na99__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;
}
details.page-blog-huong-dan-ca-cuoc-the-thao-na99__faq-item summary.page-blog-huong-dan-ca-cuoc-the-thao-na99__faq-question::-webkit-details-marker {
  display: none;
}
details.page-blog-huong-dan-ca-cuoc-the-thao-na99__faq-item summary.page-blog-huong-dan-ca-cuoc-the-thao-na99__faq-question:hover {
  background: rgba(var(--primary-color), 0.1);
}
.page-blog-huong-dan-ca-cuoc-the-thao-na99__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--primary-color);
}
.page-blog-huong-dan-ca-cuoc-the-thao-na99__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--glow-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-blog-huong-dan-ca-cuoc-the-thao-na99__faq-item .page-blog-huong-dan-ca-cuoc-the-thao-na99__faq-answer {
  padding: 0 20px 20px;
  background: rgba(var(--primary-color), 0.05);
  border-radius: 0 0 5px 5px;
  color: var(--text-main);
}

/* General Image and Container Responsive */
.page-blog-huong-dan-ca-cuoc-the-thao-na99 img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Media Queries */
@media (max-width: 1024px) {
    .page-blog-huong-dan-ca-cuoc-the-thao-na99__container {
        padding: 0 15px;
    }

    .page-blog-huong-dan-ca-cuoc-the-thao-na99__section-title {
        font-size: 32px;
    }

    .page-blog-huong-dan-ca-cuoc-the-thao-na99__hero-image {
        max-height: 500px;
    }

    .page-blog-huong-dan-ca-cuoc-the-thao-na99__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }

    .page-blog-huong-dan-ca-cuoc-the-thao-na99__subtitle {
        font-size: 1.1em;
    }

    .page-blog-huong-dan-ca-cuoc-the-thao-na99__benefits-grid,
    .page-blog-huong-dan-ca-cuoc-the-thao-na99__bet-types-grid,
    .page-blog-huong-dan-ca-cuoc-the-thao-na99__sports-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }

    .page-blog-huong-dan-ca-cuoc-the-thao-na99__steps-list {
        gap: 30px;
    }

    .page-blog-huong-dan-ca-cuoc-the-thao-na99__step-item {
        padding: 25px;
    }

    .page-blog-huong-dan-ca-cuoc-the-thao-na99__step-number {
        font-size: 2em;
    }

    .page-blog-huong-dan-ca-cuoc-the-thao-na99__step-title {
        font-size: 1.3em;
    }

    .page-blog-huong-dan-ca-cuoc-the-thao-na99__tips-list {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 849px) {
    .page-blog-huong-dan-ca-cuoc-the-thao-na99__hero-image img {
        object-fit: contain !important;
        aspect-ratio: unset !important; /* Allow aspect ratio to adjust */
        max-height: 400px; /* Limit height while containing */
    }
}

@media (max-width: 768px) {
    .page-blog-huong-dan-ca-cuoc-the-thao-na99 {
        font-size: 15px;
    }

    .page-blog-huong-dan-ca-cuoc-the-thao-na99__section {
        padding: 30px 0;
    }

    .page-blog-huong-dan-ca-cuoc-the-thao-na99__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .page-blog-huong-dan-ca-cuoc-the-thao-na99__hero-section {
        padding-top: 10px; /* Still small top padding */
    }

    .page-blog-huong-dan-ca-cuoc-the-thao-na99__hero-image {
        max-height: 300px;
    }

    .page-blog-huong-dan-ca-cuoc-the-thao-na99__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .page-blog-huong-dan-ca-cuoc-the-thao-na99__subtitle {
        font-size: 1em;
    }

    .page-blog-huong-dan-ca-cuoc-the-thao-na99__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
        overflow: hidden;
    }

    .page-blog-huong-dan-ca-cuoc-the-thao-na99__btn-primary,
    .page-blog-huong-dan-ca-cuoc-the-thao-na99__btn-secondary,
    .page-blog-huong-dan-ca-cuoc-the-thao-na99__cta-bottom .page-blog-huong-dan-ca-cuoc-the-thao-na99__btn-primary,
    .page-blog-huong-dan-ca-cuoc-the-thao-na99__cta-final .page-blog-huong-dan-ca-cuoc-the-thao-na99__btn-primary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-blog-huong-dan-ca-cuoc-the-thao-na99__benefits-grid,
    .page-blog-huong-dan-ca-cuoc-the-thao-na99__bet-types-grid,
    .page-blog-huong-dan-ca-cuoc-the-thao-na99__sports-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-blog-huong-dan-ca-cuoc-the-thao-na99__steps-list {
        gap: 25px;
    }

    .page-blog-huong-dan-ca-cuoc-the-thao-na99__step-item,
    .page-blog-huong-dan-ca-cuoc-the-thao-na99__step-item:nth-child(even) {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .page-blog-huong-dan-ca-cuoc-the-thao-na99__step-number {
        font-size: 2.2em;
        margin-bottom: 10px;
    }

    .page-blog-huong-dan-ca-cuoc-the-thao-na99__step-title {
        font-size: 1.2em;
    }

    .page-blog-huong-dan-ca-cuoc-the-thao-na99__tips-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-blog-huong-dan-ca-cuoc-the-thao-na99__tip-item {
        padding: 20px;
    }

    .page-blog-huong-dan-ca-cuoc-the-thao-na99__support-content img {
        max-width: 100%;
    }

    details.page-blog-huong-dan-ca-cuoc-the-thao-na99__faq-item summary.page-blog-huong-dan-ca-cuoc-the-thao-na99__faq-question {
        padding: 15px;
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-na99__faq-qtext {
        font-size: 15px;
    }
    details.page-blog-huong-dan-ca-cuoc-the-thao-na99__faq-item .page-blog-huong-dan-ca-cuoc-the-thao-na99__faq-answer {
        padding: 0 15px 15px;
    }

    /* General image responsive for mobile */
    .page-blog-huong-dan-ca-cuoc-the-thao-na99 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-na99__section,
    .page-blog-huong-dan-ca-cuoc-the-thao-na99__card,
    .page-blog-huong-dan-ca-cuoc-the-thao-na99__container,
    .page-blog-huong-dan-ca-cuoc-the-thao-na99__benefits-grid,
    .page-blog-huong-dan-ca-cuoc-the-thao-na99__bet-types-grid,
    .page-blog-huong-dan-ca-cuoc-the-thao-na99__sports-grid,
    .page-blog-huong-dan-ca-cuoc-the-thao-na99__steps-list,
    .page-blog-huong-dan-ca-cuoc-the-thao-na99__tips-list,
    .page-blog-huong-dan-ca-cuoc-the-thao-na99__support-content,
    .page-blog-huong-dan-ca-cuoc-the-thao-na99__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-na99__content-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-na99__products-section { /* For general product sections, ensuring no overflow */
        overflow-x: hidden;
    }
}