/* style/sports.css */
/* 
  Màu sắc chính: #26A9E0
  Màu sắc phụ: #FFFFFF
  Màu nền body: #000000 (dark) -> Sử dụng màu chữ #FFFFFF cho các phần nền tối
  Màu chữ mặc định cho nền sáng: #333333 hoặc #000000
*/

.page-sports {
  color: #ffffff; /* Mặc định cho nền body tối */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #000000; /* Đảm bảo nền chính của trang là màu đen */
}

.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Đảm bảo không bị che bởi header */
  background-color: #000000; /* Nền hero tối */
  color: #ffffff;
  min-height: 70vh;
  overflow: hidden;
}

.page-sports__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-sports__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Làm mờ ảnh nền để chữ nổi bật */
}

.page-sports__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-sports__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-sports__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-sports__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-sports__btn-primary {
  background-color: #26A9E0; /* Brand color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-sports__btn-primary:hover {
  background-color: #1e87b7;
  border-color: #1e87b7;
}

.page-sports__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-sports__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

.page-sports__section {
  padding: 60px 20px;
  background-color: #000000; /* Mặc định nền tối */
  color: #ffffff; /* Mặc định chữ sáng */
}

.page-sports__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0; /* Tiêu đề sử dụng màu thương hiệu */
}

.page-sports__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-sports__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-sports__highlight {
  color: #26A9E0; /* Màu nhấn cho các từ khóa quan trọng */
  font-weight: bold;
}

/* Why Choose Section */
.page-sports__why-choose {
  background-color: #0d0d0d; /* Hơi sáng hơn body để tạo lớp */
}

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

.page-sports__feature-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-sports__feature-item:hover {
  transform: translateY(-10px);
}

.page-sports__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-sports__feature-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-sports__feature-text {
  color: #cccccc;
}

.page-sports__center-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Betting Types Section */
.page-sports__betting-types {
  background-color: #000000;
}

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

.page-sports__betting-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-sports__betting-card:hover {
  transform: translateY(-10px);
}

.page-sports__card-image {
  width: 100%;
  height: 250px; /* Cố định chiều cao cho hình ảnh thẻ */
  object-fit: cover;
}

.page-sports__card-title {
  font-size: 1.4em;
  color: #26A9E0;
  padding: 20px 20px 10px;
}

.page-sports__card-text {
  color: #cccccc;
  padding: 0 20px 20px;
}

.page-sports__subsection-title {
  font-size: 2em;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-sports__subsection-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #f0f0f0;
}

.page-sports__sports-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 600px;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 30px;
}

.page-sports__sports-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 10px 20px;
  border-radius: 5px;
  color: #ffffff;
  font-size: 1.05em;
  flex-grow: 1;
  text-align: center;
  min-width: 150px;
}

/* How to Bet Section */
.page-sports__how-to-bet {
  background-color: #1a1a1a; /* Nền tối */
}

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

.page-sports__step-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-sports__step-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-sports__step-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-sports__step-text {
  color: #cccccc;
}

/* Live Betting Section */
.page-sports__live-betting {
  background-color: #000000;
}

.page-sports__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  margin: 40px auto;
  max-width: 800px;
  background-color: #000;
  border-radius: 10px;
  overflow: hidden;
}

.page-sports__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  cursor: pointer;
}

.page-sports__video-caption {
  text-align: center;
  margin-top: 15px;
  font-style: italic;
  color: #cccccc;
}

/* Promotions Section */
.page-sports__promotions {
  background-color: #0d0d0d;
}

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

.page-sports__promo-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-sports__promo-card:hover {
  transform: translateY(-10px);
}

/* Responsible Gambling Section */
.page-sports__responsible-gambling {
  background-color: #1a1a1a;
}

.page-sports__responsible-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.page-sports__responsible-image {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.page-sports__responsible-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 500px;
  color: #cccccc;
  font-size: 1.1em;
}

.page-sports__responsible-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-left: 4px solid #26A9E0;
  border-radius: 5px;
}

/* FAQ Section */
.page-sports__faq {
  background-color: #000000;
}

.page-sports__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-sports__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.08);
  transition: background-color 0.3s ease;
}

.page-sports__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.page-sports__faq-title {
  font-size: 1.2em;
  color: #ffffff;
  margin: 0;
}

.page-sports__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-sports__faq-item.active .page-sports__faq-toggle {
  transform: rotate(45deg); /* Change + to X or - */
}

.page-sports__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #cccccc;
}

.page-sports__faq-item.active .page-sports__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 25px;
}

.page-sports__faq-text {
  margin: 0;
}

/* Final CTA Section */
.page-sports__final-cta {
  background-color: #26A9E0; /* Sử dụng màu thương hiệu cho CTA cuối cùng */
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

.page-sports__final-cta .page-sports__section-title {
  color: #ffffff; /* Tiêu đề màu trắng trên nền xanh */
}

.page-sports__final-cta .page-sports__section-description {
  color: #f0f0f0;
}

.page-sports__center-text {
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: 3em;
  }
  .page-sports__section-title {
    font-size: 2em;
  }
  .page-sports__hero-description,
  .page-sports__section-description,
  .page-sports__feature-text,
  .page-sports__card-text,
  .page-sports__step-text,
  .page-sports__video-caption,
  .page-sports__responsible-list,
  .page-sports__faq-text {
    font-size: 1em;
  }
}