:root {
    --main-color: #C61F1F;
    --accent-color: #E53030;
    --button-gradient: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
    --card-bg: #2A1212;
    --bg-color: #140C0C;
    --text-main: #FFF1E8;
    --border-color: #6A1E1E;
    --gold-color: #F3C54D;
    --deep-red: #7E0D0D;
}

/* General styles for the page */
.page-the-thao-luat-ca-cuoc {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background: var(--bg-color);
}

.page-the-thao-luat-ca-cuoc__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-the-thao-luat-ca-cuoc__section {
    padding: 60px 0;
    margin-bottom: 20px;
}

.page-the-thao-luat-ca-cuoc__dark-bg {
    background: var(--bg-color);
    color: var(--text-main);
}

.page-the-thao-luat-ca-cuoc__light-bg {
    background: #ffffff;
    color: #333333;
}

.page-the-thao-luat-ca-cuoc__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-main);
}

.page-the-thao-luat-ca-cuoc__light-bg .page-the-thao-luat-ca-cuoc__section-title {
    color: #333333;
}

/* Hero Section */
.page-the-thao-luat-ca-cuoc__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    padding-top: 10px; /* Assuming body handles header offset */
    background: var(--bg-color);
    color: var(--text-main);
    overflow: hidden;
}

.page-the-thao-luat-ca-cuoc__hero-image-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    overflow: hidden;
}

.page-the-thao-luat-ca-cuoc__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    display: block;
}

.page-the-thao-luat-ca-cuoc__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
    padding: 40px 15px;
}

.page-the-thao-luat-ca-cuoc__main-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-main);
}

.page-the-thao-luat-ca-cuoc__description {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-main);
}

/* CTA Buttons */
.page-the-thao-luat-ca-cuoc__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-the-thao-luat-ca-cuoc__btn-primary,
.page-the-thao-luat-ca-cuoc__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-the-thao-luat-ca-cuoc__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
}

.page-the-thao-luat-ca-cuoc__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-the-thao-luat-ca-cuoc__btn-secondary {
    background: transparent;
    color: var(--gold-color);
    border: 2px solid var(--gold-color);
}

.page-the-thao-luat-ca-cuoc__btn-secondary:hover {
    background: var(--gold-color);
    color: var(--bg-color);
    transform: translateY(-2px);
}

/* Intro Section */
.page-the-thao-luat-ca-cuoc__intro-section {
    background: var(--bg-color);
    color: var(--text-main);
    padding-top: 40px;
}
.page-the-thao-luat-ca-cuoc__intro-section p {
    font-size: 17px;
    margin-bottom: 20px;
}
.page-the-thao-luat-ca-cuoc__intro-section strong {
    color: var(--gold-color);
}

/* General Rules Section & Dispute Section */
.page-the-thao-luat-ca-cuoc__content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.page-the-thao-luat-ca-cuoc__card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main);
}

.page-the-thao-luat-ca-cuoc__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-the-thao-luat-ca-cuoc__card-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--gold-color);
}

.page-the-thao-luat-ca-cuoc__card p {
    font-size: 16px;
    line-height: 1.7;
}

.page-the-thao-luat-ca-cuoc__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Specific Rules Section */
.page-the-thao-luat-ca-cuoc__specific-rules {
    background: #ffffff;
    color: #333333;
}
.page-the-thao-luat-ca-cuoc__specific-rules .page-the-thao-luat-ca-cuoc__section-title {
    color: #333333;
}
.page-the-thao-luat-ca-cuoc__specific-rules p {
    font-size: 17px;
    margin-bottom: 15px;
}

.page-the-thao-luat-ca-cuoc__sport-category {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #e0e0e0;
}
.page-the-thao-luat-ca-cuoc__sport-category:last-child {
    border-bottom: none;
}

.page-the-thao-luat-ca-cuoc__sport-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--deep-red);
    margin-top: 30px;
    margin-bottom: 20px;
}

.page-the-thao-luat-ca-cuoc__list {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 20px;
}

.page-the-thao-luat-ca-cuoc__list li {
    margin-bottom: 10px;
    font-size: 16px;
}
.page-the-thao-luat-ca-cuoc__list li strong {
    color: var(--main-color);
}

.page-the-thao-luat-ca-cuoc__image-in-content {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* Dispute Section specific color contrast fix */
.page-the-thao-luat-ca-cuoc__dispute-section .page-the-thao-luat-ca-cuoc__card {
    background: #ffffff; /* Override card bg for light section */
    color: #333333; /* Override card text for light section */
    border: 1px solid var(--border-color);
}
.page-the-thao-luat-ca-cuoc__dispute-section .page-the-thao-luat-ca-cuoc__card-title {
    color: var(--deep-red);
}

/* Privacy Section */
.page-the-thao-luat-ca-cuoc__privacy-section {
    background: var(--bg-color);
    color: var(--text-main);
}
.page-the-thao-luat-ca-cuoc__privacy-section .page-the-thao-luat-ca-cuoc__list {
    list-style: decimal;
    color: var(--text-main);
}
.page-the-thao-luat-ca-cuoc__privacy-section .page-the-thao-luat-ca-cuoc__list li {
    font-size: 17px;
    margin-bottom: 15px;
}
.page-the-thao-luat-ca-cuoc__privacy-section .page-the-thao-luat-ca-cuoc__list li strong {
    color: var(--gold-color);
}


/* Responsible Gambling Section */
.page-the-thao-luat-ca-cuoc__responsible-gambling {
    background: var(--deep-red);
    color: #ffffff;
}
.page-the-thao-luat-ca-cuoc__responsible-gambling .page-the-thao-luat-ca-cuoc__section-title {
    color: #ffffff;
}
.page-the-thao-luat-ca-cuoc__responsible-gambling .page-the-thao-luat-ca-cuoc__card {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.page-the-thao-luat-ca-cuoc__responsible-gambling .page-the-thao-luat-ca-cuoc__card-title {
    color: var(--gold-color);
}


/* FAQ Section */
.page-the-thao-luat-ca-cuoc__faq-section {
    background: #f9f9f9;
    color: #333333;
}
.page-the-thao-luat-ca-cuoc__faq-section .page-the-thao-luat-ca-cuoc__section-title {
    color: #333333;
}

details.page-the-thao-luat-ca-cuoc__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-the-thao-luat-ca-cuoc__faq-item summary.page-the-thao-luat-ca-cuoc__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-the-thao-luat-ca-cuoc__faq-item summary.page-the-thao-luat-ca-cuoc__faq-question::-webkit-details-marker {
  display: none;
}
details.page-the-thao-luat-ca-cuoc__faq-item summary.page-the-thao-luat-ca-cuoc__faq-question:hover {
  background: #f5f5f5;
}