/* style/sports.css */
/* 
  Màu sắc chủ đạo: #017439 (xanh lá)
  Màu phụ: #FFFFFF (trắng)
  Màu đăng ký/đăng nhập: #C30808 (đỏ)
  Màu chữ đăng ký/đăng nhập: #FFFF00 (vàng)
  Màu chữ mặc định: #333333 (đen xám) trên nền sáng
  Màu chữ mặc định: #FFFFFF (trắng) trên nền tối
*/

.page-sports {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background: var(--secondary-color, #FFFFFF); /* Body background is light */
}

/* --- HERO Section --- */
.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background: linear-gradient(135deg, var(--primary-color, #017439) 0%, #017439 50%, #017439 100%); /* Solid green */
  color: #ffffff;
  overflow: hidden; /* Prevent content overflow */
}

.page-sports__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-sports__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
}

.page-sports__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-sports__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-sports__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFF00; /* Yellow for prominence */
  line-height: 1.2;
}

.page-sports__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #ffffff;
}

.page-sports__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Ensure buttons wrap on smaller screens */
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.page-sports__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Ensure padding is included in width */
  min-width: 200px; /* Minimum width for buttons */
}

.page-sports__btn-primary {
  background: var(--primary-color, #017439);
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-sports__btn-primary:hover {
  background: #ffffff;
  color: var(--primary-color, #017439);
  border-color: var(--primary-color, #017439);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-sports__btn-secondary {
  background: #ffffff;
  color: var(--primary-color, #017439);
  border: 2px solid var(--primary-color, #017439);
}

.page-sports__btn-secondary:hover {
  background: var(--primary-color, #017439);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-sports__btn-register {
  background: #C30808; /* Specific color for register */
  color: #FFFF00; /* Specific font color for register */
  border: 2px solid #FFFF00;
}

.page-sports__btn-register:hover {
  background: #FFFF00;
  color: #C30808;
  border-color: #C30808;
}

.page-sports__btn-login {
  background: #C30808; /* Specific color for login */
  color: #FFFF00; /* Specific font color for login */
  border: 2px solid #FFFF00;
}

.page-sports__btn-login:hover {
  background: #FFFF00;
  color: #C30808;
  border-color: #C30808;
}


/* --- General Section Styles --- */
.page-sports__section {
  padding: 80px 20px;
  text-align: center;
}

.page-sports__container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.page-sports__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: var(--primary-color, #017439);
}

.page-sports__section-title--light {
  color: #ffffff;
}

.page-sports__section-description {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #555555;
}

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

.page-sports__light-bg {
  background: #ffffff; /* Light background for default text color */
  color: #333333;
}

.page-sports__dark-bg {
  background: var(--primary-color, #017439); /* Dark background for light text color */
  color: #ffffff;
}

/* --- Introduction Section (Module 1) --- */
.page-sports__introduction-section {
  padding-top: 40px; /* Adjust padding if hero already has a lot */
}

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

.page-sports__feature-item {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-sports__feature-title {
  font-size: 1.5em;
  color: var(--primary-color, #017439);
  margin-bottom: 15px;
}

.page-sports__feature-item p {
  font-size: 1em;
  color: #555555;
}

.page-sports__feature-item a {
  color: var(--primary-color, #017439);
  text-decoration: none;
  font-weight: bold;
}

.page-sports__feature-item a:hover {
  text-decoration: underline;
}

/* --- Quick Access Section (Module 2) --- */
.page-sports__quick-access-section {
  background: var(--primary-color, #017439);
  color: #ffffff;
}

.page-sports__quick-links-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-sports__quick-link-button {
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  min-width: 220px;
  box-sizing: border-box;
}

/* --- Core Games Section (Module 3) --- */
.page-sports__core-games-section {
  text-align: left;
}

.page-sports__game-category {
  margin-bottom: 60px;
}

.page-sports__game-category-title {
  font-size: 2em;
  color: var(--primary-color, #017439);
  margin-bottom: 20px;
  text-align: center;
}

.page-sports__game-category p {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 20px;
}

/* --- Promotions Section (Module 4) --- */
.page-sports__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-sports__promotion-card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: #ffffff;
}

.page-sports__promotion-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.page-sports__promotion-title {
  font-size: 1.5em;
  color: #FFFF00; /* Yellow for titles on dark background */
  margin-bottom: 15px;
}

.page-sports__promotion-card p {
  font-size: 1em;
  color: #f0f0f0;
}

.page-sports__promotion-card a {
  color: #FFFF00;
  text-decoration: none;
  font-weight: bold;
}

.page-sports__promotion-card a:hover {
  text-decoration: underline;
}

/* --- Security & Support Section (Module 5) --- */
.page-sports__info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-sports__info-card {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-sports__info-title {
  font-size: 1.5em;
  color: var(--primary-color, #017439);
  margin-bottom: 15px;
}

.page-sports__info-card p {
  font-size: 1em;
  color: #555555;
}

.page-sports__info-card a {
  color: var(--primary-color, #017439);
  text-decoration: none;
  font-weight: bold;
}

.page-sports__info-card a:hover {
  text-decoration: underline;
}

/* --- FAQ Section (Module 6) --- */
.page-sports__faq-section {
  text-align: left;
}

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