/* style/cockfighting.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #1A2E40; /* Dark Blue */
  --text-color-light: #ffffff;
  --text-color-dark: #333333;
  --bg-dark: #0a0a0a;
  --bg-light-card: rgba(255, 255, 255, 0.1);
  --border-color: rgba(255, 255, 255, 0.15);
}

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--text-color-light); /* Body background is dark #0a0a0a, so text is light */
  background-color: var(--bg-dark);
  line-height: 1.6;
}

/* 🚨 固定导航栏间距 */
.page-cockfighting__hero-section {
  padding-top: 120px; /* Desktop: Adjust based on shared header height */
}

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

.page-cockfighting__section {
  padding: 60px 0;
  text-align: center;
}

.page-cockfighting__dark-section {
  background-color: var(--secondary-color);
  color: var(--text-color-light);
}

.page-cockfighting__section-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.page-cockfighting__section-subtitle {
  font-size: 1.2em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
}

.page-cockfighting__highlight {
  color: var(--primary-color);
  font-weight: bold;
}

/* Hero Section */
.page-cockfighting__hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('[GALLERY:hero:u888vip1,đá gà trực tuyến,cá cược Việt Nam,trận đấu kịch tính,1920x1080]') no-repeat center center/cover;
  padding: 180px 0 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-cockfighting__main-title {
  font-size: 4.5em;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-description {
  font-size: 1.5em;
  color: rgba(255, 255, 255, 0.9);
  max-width: 900px;
  margin: 0 auto 40px;
}

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

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 18px 45px;
  border-radius: 50px;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-cockfighting__cta-button--primary {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.page-cockfighting__cta-button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__cta-button--secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-cockfighting__cta-button--secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* General Content Grid */
.page-cockfighting__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-cockfighting__content-grid-2-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 40px;
  text-align: left;
  align-items: center;
}

.page-cockfighting__content-grid > .page-cockfighting__text-block,
.page-cockfighting__content-grid-2-cols > .page-cockfighting__text-block {
  flex: 1;
}

.page-cockfighting__content-grid > .page-cockfighting__image-block,
.page-cockfighting__content-grid-2-cols > .page-cockfighting__image-block {
  flex: 1;
  text-align: center;
}

.page-cockfighting__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__introduction-section p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.85);
}

/* Types Section */
.page-cockfighting__grid-3-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: left;
}

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

.page-cockfighting__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__card-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-cockfighting__card p {
  font-size: 1.05em;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 20px;
}

.page-cockfighting__card-link {
  display: inline-block;
  padding: 10px 25px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__card-link:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

/* Benefits Section */
.page-cockfighting__benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-cockfighting__benefit-item {
  background-color: var(--bg-light-card);
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-color);
}

.page-cockfighting__benefit-item:last-child {
  margin-bottom: 0;
}

.page-cockfighting__benefit-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-cockfighting__benefit-item p {
  font-size: 1.05em;
  color: rgba(255, 255, 255, 0.75);
}

/* Guide Section */
.page-cockfighting__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-cockfighting__step-item {
  background-color: var(--bg-light-card);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-cockfighting__step-icon {
  font-size: 2.5em;
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 15px;
  display: block;
}

.page-cockfighting__step-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-cockfighting__step-item p {
  font-size: 1.05em;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 20px;
}

.page-cockfighting__step-link {
  display: inline-block;
  padding: 8px 20px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__step-link:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

/* Tips Section */
.page-cockfighting__tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.page-cockfighting__tip-item {
  background-color: var(--bg-light-card);
  padding: 15px 20px;
  border-left: 5px solid var(--primary-color);
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 1.05em;
  color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

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

/* App Section */
.page-cockfighting__app-benefits-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
}

.page-cockfighting__app-benefits-list li {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
}

.page-cockfighting__icon-check {
  color: var(--primary-color);
  font-size: 1.2em;
  margin-right: 10px;
}

.page-cockfighting__icon-check::before {
  content: '✓'; /* Unicode checkmark */
  font-weight: bold;
}

/* Promotions Section */
.page-cockfighting__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: left;
}

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

.page-cockfighting__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__promotion-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__promotion-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-cockfighting__promotion-card p {
  font-size: 1.05em;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 20px;
}

.page-cockfighting__promotion-link {
  display: inline-block;
  padding: 10px 25px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: auto; /* Push button to bottom */
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__promotion-link:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-cockfighting__cta-center {
  margin-top: 40px;
}

/* FAQ Section */
.page-cockfighting__faq-list {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background-color: var(--bg-light-card);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-color-light);
}

.page-cockfighting__faq-question:hover {
  background: rgba(255, 255, 255, 0.1);
}

.page-cockfighting__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--primary-color);
}

.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  transform: rotate(45deg); /* Change to X or rotate + to - visually */
  color: var(--text-color-light);
}

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  color: rgba(255, 255, 255, 0.8);
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid var(--border-color);
}

.page-cockfighting__faq-answer p {
  margin: 0;
  font-size: 1.05em;
  line-height: 1.6;
}

/* Conclusion Section */
.page-cockfighting__conclusion-section p {
  font-size: 1.2em;
  color: rgba(255, 255, 255, 0.85);
  max-width: 900px;
  margin: 0 auto 40px;
}

/* 🚨 移动端响应式设计 */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: 3.5em;
  }
  .page-cockfighting__hero-description {
    font-size: 1.3em;
  }
  .page-cockfighting__section-title {
    font-size: 2.5em;
  }
  .page-cockfighting__content-grid-2-cols {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__content-grid {
    flex-direction: column;
  }
  .page-cockfighting__content-grid > .page-cockfighting__image-block {
    order: -1;
  }
}

@media (max-width: 768px) {
  /* 🚨 移动端必须重新设置padding-top */
  .page-cockfighting__hero-section {
    padding-top: 100px !important; /* Mobile: Adjust based on shared header height */
    padding-bottom: 80px;
  }
  .page-cockfighting__container {
    padding: 0 15px;
  }
  .page-cockfighting__section {
    padding: 40px 0;
  }
  .page-cockfighting__main-title {
    font-size: 2.5em;
  }
  .page-cockfighting__hero-description {
    font-size: 1.1em;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 15px 30px !important;
    font-size: 1.1em !important;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__section-subtitle {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-cockfighting__grid-3-cols,
  .page-cockfighting__steps-grid,
  .page-cockfighting__promotions-grid {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__card,
  .page-cockfighting__step-item,
  .page-cockfighting__promotion-card {
    padding: 20px;
  }
  .page-cockfighting__card-title,
  .page-cockfighting__step-title,
  .page-cockfighting__promotion-title {
    font-size: 1.4em;
  }
  .page-cockfighting__image,
  .page-cockfighting__card-image,
  .page-cockfighting__promotion-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting__text-block p,
  .page-cockfighting__benefit-item p,
  .page-cockfighting__step-item p,
  .page-cockfighting__app-benefits-list li,
  .page-cockfighting__promotion-card p,
  .page-cockfighting__conclusion-section p {
    font-size: 1em;
  }
  .page-cockfighting__faq-question h3 {
    font-size: 1em;
  }
  .page-cockfighting__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  .page-cockfighting__faq-answer {
    padding: 0 15px;
  }
  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 15px !important;
  }
  .page-cockfighting__tip-item {
    font-size: 1em;
  }
  .page-cockfighting__app-benefits-list {
    margin: 15px 0;
  }
  .page-cockfighting__icon-check {
    font-size: 1em;
  }
  .page-cockfighting__cta-center {
    margin-top: 30px;
  }
  .page-cockfighting__content-grid,
  .page-cockfighting__content-grid-2-cols {
    gap: 30px;
  }
}