.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #f4f4f4; /* From shared.css body background */
}

.page-cockfighting__section-padding {
  padding: 80px 0;
}

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

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

.page-cockfighting__container--flex {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-cockfighting__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #003366;
  text-align: center;
  margin-bottom: 40px;
}

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

.page-cockfighting__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting__text-block--light {
  color: #f0f0f0;
}

.page-cockfighting__text-link {
  color: #FFCC00;
  text-decoration: underline;
  font-weight: bold;
}

.page-cockfighting__text-link:hover {
  color: #fff;
}

/* Hero Section */
.page-cockfighting__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 space for fixed header */
  overflow: hidden;
  background: linear-gradient(135deg, #003366, #FFCC00);
}

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

.page-cockfighting__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-cockfighting__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: #ffffff;
}

.page-cockfighting__hero-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-cockfighting__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

.page-cockfighting__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;
  border: 2px solid transparent;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__cta-button--primary {
  background: #FFCC00;
  color: #003366;
}

.page-cockfighting__cta-button--primary:hover {
  background: #e6b800;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__cta-button--secondary {
  background: #003366;
  color: #ffffff;
  border-color: #FFCC00;
}

.page-cockfighting__cta-button--secondary:hover {
  background: #002244;
  border-color: #e6b800;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-primary {
  background: #003366;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary:hover {
  background: #FFCC00;
  color: #003366;
}

.page-cockfighting__btn-secondary {
  background: #f0f0f0;
  color: #003366;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 1px solid #003366;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-secondary:hover {
  background: #003366;
  color: #f0f0f0;
}

.page-cockfighting__btn-small {
  font-size: 14px;
  padding: 8px 15px;
}

.page-cockfighting__button-group {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.page-cockfighting__button-group--center {
  justify-content: center;
}

/* General Content Sections */
.page-cockfighting__light-bg {
  background-color: #f9f9f9;
  color: #333333;
}

.page-cockfighting__dark-bg {
  background-color: #003366;
  color: #ffffff;
}

.page-cockfighting__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.page-cockfighting__image--center {
  margin: 40px auto;
}

.page-cockfighting__image--margin-top {
  margin-top: 40px;
}

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

.page-cockfighting__card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-cockfighting__card--dark {
  background-color: #002244;
  color: #f0f0f0;
}

.page-cockfighting__card--dark:hover {
  background-color: #001a33;
}

.page-cockfighting__card-title {
  font-size: 22px;
  font-weight: bold;
  color: #003366;
  margin-bottom: 15px;
}

.page-cockfighting__card--dark .page-cockfighting__card-title {
  color: #FFCC00;
}

.page-cockfighting__card-text {
  font-size: 16px;
  color: #666666;
}

.page-cockfighting__card--dark .page-cockfighting__card-text {
  color: #cccccc;
}

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

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

.page-cockfighting__step-number {
  width: 60px;
  height: 60px;
  background-color: #003366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-cockfighting__step-title {
  font-size: 20px;
  font-weight: bold;
  color: #003366;
  margin-bottom: 15px;
}

.page-cockfighting__step-text {
  font-size: 16px;
  color: #666666;
  margin-bottom: 20px;
}

/* Advantages Section */
.page-cockfighting__grid-2-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__feature-card {
  background-color: #002244;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #f0f0f0;
}

.page-cockfighting__feature-title {
  font-size: 24px;
  font-weight: bold;
  color: #FFCC00;
  margin-bottom: 15px;
}

.page-cockfighting__feature-text {
  font-size: 16px;
  color: #cccccc;
}

/* Promotions Section */
.page-cockfighting__promo-card {
  display: flex;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-bottom: 30px;
}

.page-cockfighting__promo-image {
  width: 40%;
  height: auto;
  object-fit: cover;
}

.page-cockfighting__promo-content {
  width: 60%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-cockfighting__promo-title {
  font-size: 22px;
  font-weight: bold;
  color: #003366;
  margin-bottom: 10px;
}

.page-cockfighting__promo-text {
  font-size: 16px;
  color: #666666;
  margin-bottom: 20px;
}

/* Tips Section */
.page-cockfighting__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__tips-item {
  background-color: #002244;
  border-radius: 8px;
  padding: 25px 30px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #f0f0f0;
}

.page-cockfighting__tips-title {
  font-size: 20px;
  font-weight: bold;
  color: #FFCC00;
  margin-bottom: 10px;
}

.page-cockfighting__tips-text {
  font-size: 16px;
  color: #cccccc;
}

/* Mobile App Section */
.page-cockfighting__app-content {
  flex: 1;
  padding-right: 40px;
}

.page-cockfighting__app-features-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  font-size: 17px;
  color: #333333;
}

.page-cockfighting__app-features-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-cockfighting__app-features-list li::before {
  content: '✅';
  position: absolute;
  left: 0;
  color: #003366;
}

.page-cockfighting__app-image-wrapper {
  flex-shrink: 0;
  width: 400px;
}

.page-cockfighting__app-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-cockfighting__faq-list {
  margin-top: 40px;
}

.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.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 15px;
  opacity: 0;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #ffffff;
  border-radius: 0 0 5px 5px;
  border-top: 1px solid #e0e0e0;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #ffffff;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-question {
  border-radius: 5px 5px 0 0;
  border-bottom: none;
}

.page-cockfighting__faq-question:hover {
  background: #f5f5f5;
}

.page-cockfighting__faq-question:active {
  background: #eeeeee;
}

.page-cockfighting__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #003366;
}

.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #003366;
  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 {
  color: #FFCC00;
  transform: rotate(45deg);
}

/* Conclusion Section */
.page-cockfighting__conclusion-section .page-cockfighting__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 40px;
  }
  .page-cockfighting__section-title {
    font-size: 30px;
  }
  .page-cockfighting__promo-card {
    flex-direction: column;
  }
  .page-cockfighting__promo-image,
  .page-cockfighting__promo-content {
    width: 100%;
  }
  .page-cockfighting__container--flex {
    flex-direction: column;
  }
  .page-cockfighting__app-content {
    padding-right: 0;
    margin-bottom: 30px;
  }
  .page-cockfighting__app-image-wrapper {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__hero-image img {
    border-radius: 4px;
  }
  .page-cockfighting__hero-title {
    font-size: 32px;
  }
  .page-cockfighting__hero-description {
    font-size: 17px;
  }
  .page-cockfighting__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-cockfighting__cta-button--primary,
  .page-cockfighting__cta-button--secondary {
    margin: 0 auto;
  }

  .page-cockfighting__section-padding {
    padding: 40px 0;
  }
  .page-cockfighting__section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
  .page-cockfighting__text-block {
    font-size: 16px;
  }
  .page-cockfighting__grid-3-cols, .page-cockfighting__steps-grid, .page-cockfighting__grid-2-cols {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__promo-card {
    flex-direction: column;
  }
  .page-cockfighting__promo-image,
  .page-cockfighting__promo-content {
    width: 100%;
  }
  .page-cockfighting__feature-card {
    padding: 25px;
  }
  .page-cockfighting__feature-title {
    font-size: 20px;
  }
  .page-cockfighting__tips-item {
    padding: 20px;
  }
  .page-cockfighting__app-features-list {
    font-size: 16px;
  }
  .page-cockfighting__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-cockfighting__faq-question h3 {
    font-size: 15px;
    width: calc(100% - 40px);
  }
  .page-cockfighting__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-cockfighting__faq-answer {
    padding: 0 15px;
  }
  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 15px !important;
  }

  /* Image and Button responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting__section, .page-cockfighting__card, .page-cockfighting__container, .page-cockfighting__promo-card, .page-cockfighting__feature-card, .page-cockfighting__tips-item, .page-cockfighting__app-content, .page-cockfighting__app-image-wrapper, .page-cockfighting__faq-item, .page-cockfighting__hero-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__cta-button, .page-cockfighting__btn-primary, .page-cockfighting__btn-secondary, .page-cockfighting a[class*="button"], .page-cockfighting a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-cockfighting__button-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-cockfighting__button-group--center {
    flex-direction: column;
  }
}