/* style/the-thao.css */
:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --card-bg: #17191F;
  --page-bg: #0D0E12;
  --text-main: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange: #D96800;
}

.page-the-thao {
  font-family: 'Arial', sans-serif;
  color: var(--text-main);
  line-height: 1.6;
  background-color: var(--page-bg);
}

.page-the-thao__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-the-thao__section {
  padding: 40px 0;
  margin-bottom: 20px;
}

.page-the-thao__dark-section {
  background-color: var(--page-bg);
  color: var(--text-main);
}

.page-the-thao__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-the-thao__section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: var(--primary-color);
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-the-thao__main-title {
  font-size: clamp(32px, 4.5vw, 55px);
  font-weight: 800;
  text-align: center;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.1;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: rgba(255, 243, 230, 0.9);
}

.page-the-thao__text-block {
  font-size: 17px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-the-thao__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--deep-orange) 0%, var(--page-bg) 100%);
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.page-the-thao__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-the-thao__hero-content {
  position: relative;
  z-index: 1;
  padding: 20px;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.page-the-thao__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange) 100%);
  color: var(--text-main);
  border: 2px solid var(--secondary-color);
}

.page-the-thao__btn-primary:hover {
  background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-the-thao__btn-secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-the-thao__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--page-bg);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.3);
}

.page-the-thao__btn-small {
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 6px;
}

.page-the-thao__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-the-thao__feature-item {
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-the-thao__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-the-thao__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-the-thao__feature-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-the-thao__feature-description {
  font-size: 16px;
  color: #555555;
}

.page-the-thao__bet-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-the-thao__bet-type-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-the-thao__bet-type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 140, 26, 0.3);
}

.page-the-thao__card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-the-thao__card-description {
  font-size: 16px;
  color: rgba(255, 243, 230, 0.8);
}

.page-the-thao__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-the-thao__step-item {
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-the-thao__step-number {
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--text-main);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(255, 140, 26, 0.4);
}

.page-the-thao__step-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-the-thao__step-description {
  font-size: 16px;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-the-thao__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-the-thao__promo-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-the-thao__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 140, 26, 0.3);
}

.page-the-thao__promo-image {
  width: 100%;
  height: auto;
  max-width: 300px;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-the-thao__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

.page-the-thao__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__tip-item {
  background-color: #f8f8f8;
  border-left: 5px solid var(--primary-color);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 17px;
  color: #333333;
  text-align: left;
}

.page-the-thao__tip-item strong {
  color: var(--primary-color);
}

.page-the-thao__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main);
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  background-color: rgba(255, 140, 26, 0.1);
  color: var(--text-main);
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-the-thao__faq-question::-webkit-details-marker, 
.page-the-thao__faq-question::marker {
  display: none;
}

.page-the-thao__faq-question:hover {
  background-color: rgba(255, 140, 26, 0.2);
}

.page-the-thao__faq-toggle {
  font-size: 24px;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
  transform: rotate(45deg);
}

.page-the-thao__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 16px;
  color: rgba(255, 243, 230, 0.8);
}

.page-the-thao__faq-answer p {
  margin: 0;
}

.page-the-thao img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-the-thao__container {
    padding: 20px 30px;
  }

  .page-the-thao__hero-content {
    padding: 15px;
  }

  .page-the-thao__main-title {
    font-size: clamp(30px, 4vw, 48px);
  }

  .page-the-thao__description {
    font-size: 17px;
  }

  .page-the-thao__section-title {
    font-size: clamp(26px, 3.2vw, 38px);
  }

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-the-thao__features-grid,
  .page-the-thao__bet-type-grid,
  .page-the-thao__steps-grid,
  .page-the-thao__promo-grid {
    gap: 25px;
  }

  .page-the-thao__feature-title,
  .page-the-thao__step-title,
  .page-the-thao__card-title {
    font-size: 20px;
  }

  .page-the-thao__tip-item,
  .page-the-thao__faq-question,
  .page-the-thao__faq-answer {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-the-thao__container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-the-thao__hero-section {
    flex-direction: column;
    padding-top: 10px !important;
  }

  .page-the-thao__hero-image-wrapper {
    max-height: none;
    margin-bottom: 15px;
  }

  .page-the-thao__hero-image {
    object-fit: contain !important; /* Mobile: contain to avoid cropping */
    aspect-ratio: unset !important;
    max-height: none !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-the-thao__main-title {
    font-size: clamp(28px, 8vw, 40px);
    margin-bottom: 15px;
  }

  .page-the-thao__description {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .page-the-thao a[class*="button"],
  .page-the-thao a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-the-thao__section-title {
    font-size: clamp(24px, 7vw, 32px);
    margin-bottom: 25px;
  }

  .page-the-thao__text-block {
    font-size: 15px;
    margin-bottom: 25px;
  }

  .page-the-thao__features-grid,
  .page-the-thao__bet-type-grid,
  .page-the-thao__steps-grid,
  .page-the-thao__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-the-thao__feature-item,
  .page-the-thao__bet-type-card,
  .page-the-thao__step-item,
  .page-the-thao__promo-card {
    padding: 20px;
  }

  .page-the-thao__feature-title,
  .page-the-thao__step-title,
  .page-the-thao__card-title {
    font-size: 18px;
  }

  .page-the-thao__feature-description,
  .page-the-thao__step-description,
  .page-the-thao__card-description {
    font-size: 14px;
  }

  .page-the-thao__tip-item {
    font-size: 15px;
    padding: 15px;
  }

  .page-the-thao__faq-question {
    font-size: 16px;
    padding: 15px 20px;
  }

  .page-the-thao__faq-answer {
    font-size: 14px;
    padding: 0 20px 15px 20px;
  }

  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-the-thao__section,
  .page-the-thao__card,
  .page-the-thao__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* General image responsiveness for content area */
.page-the-thao img {
  max-width: 100%;
  height: auto;
  display: block;
}