.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #f8f8f8; /* Light background for the main page */
}

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

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

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

.page-cockfighting__text-block {
  font-size: 17px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #555555;
}

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

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  box-sizing: border-box;
}

.page-cockfighting__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-cockfighting__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-cockfighting__hero-content {
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
  z-index: 2;
}

.page-cockfighting__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFD700; /* Gold color for main title */
}

.page-cockfighting__description {
  font-size: 19px;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%;
  box-sizing: border-box;
}

.page-cockfighting__btn-primary {
  background: #FFD700;
  color: #1E90FF;
  border: 2px solid #FFD700;
}

.page-cockfighting__btn-primary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-secondary {
  background: #1E90FF;
  color: #ffffff;
  border: 2px solid #1E90FF;
}

.page-cockfighting__btn-secondary:hover {
  background: #1a7fdc;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.page-cockfighting__intro-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-cockfighting__feature-item {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__feature-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

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

/* Bet Types Section */
.page-cockfighting__bet-types-section {
  padding: 80px 0;
  background-color: #1E90FF;
}

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

.page-cockfighting__bet-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  padding: 30px;
  text-align: center;
  color: #ffffff;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-cockfighting__bet-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.2);
}

.page-cockfighting__bet-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-cockfighting__bet-card-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__bet-card-description {
  font-size: 16px;
  color: #f0f0f0;
}

/* Guide Section */
.page-cockfighting__guide-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-cockfighting__step-item {
  background: #fdfdfd;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.page-cockfighting__step-item:hover {
  transform: translateY(-3px);
  border-color: #FFD700;
}

.page-cockfighting__step-number {
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  background: #FFD700;
  color: #1E90FF;
  font-size: 28px;
  font-weight: bold;
  margin: 0 auto 20px auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__step-title {
  font-size: 22px;
  color: #1E90FF;
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-cockfighting__btn-link {
  display: inline-block;
  padding: 10px 25px;
  background: #1E90FF;
  color: #ffffff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%;
  box-sizing: border-box;
}

.page-cockfighting__btn-link:hover {
  background: #1a7fdc;
}

/* Advantages Section */
.page-cockfighting__advantages-section {
  padding: 80px 0;
  background-color: #1E90FF;
}

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

.page-cockfighting__advantage-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  padding: 30px;
  text-align: center;
  color: #ffffff;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-cockfighting__advantage-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.2);
}

.page-cockfighting__advantage-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-cockfighting__advantage-description {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-cockfighting__btn-link--light {
  background: #FFD700;
  color: #1E90FF;
}

.page-cockfighting__btn-link--light:hover {
  background: #e6c200;
}

/* Tips Section */
.page-cockfighting__tips-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-cockfighting__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
}

.page-cockfighting__tips-item {
  background: #fdfdfd;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 25px 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__tips-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__tips-item-title {
  font-size: 22px;
  color: #1E90FF;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-cockfighting__tips-item-description {
  font-size: 16px;
  color: #555555;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 80px 0;
  background-color: #1E90FF;
}

.page-cockfighting__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
}

.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #FFD700;
  color: #1E90FF;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

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

.page-cockfighting__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #1E90FF;
  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: 32px;
  height: 32px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  transform: rotate(45deg);
  color: #0d47a1;
}

.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 25px;
  opacity: 0;
  background: #ffffff;
  color: #333333;
  border-radius: 0 0 8px 8px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
}

/* CTA Bottom Section */
.page-cockfighting__cta-bottom-section {
  padding: 80px 0;
  text-align: center;
  background-color: #f8f8f8;
}

/* General Image Styling */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: 42px;
  }
  .page-cockfighting__section-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-cockfighting__hero-content {
    padding: 15px;
  }
  .page-cockfighting__main-title {
    font-size: 36px;
  }
  .page-cockfighting__description {
    font-size: 17px;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    box-sizing: border-box !important;
  }
  .page-cockfighting__section-title {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .page-cockfighting__text-block {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-cockfighting__container {
    padding: 20px 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-cockfighting__intro-section, .page-cockfighting__bet-types-section, .page-cockfighting__guide-section, .page-cockfighting__advantages-section, .page-cockfighting__tips-section, .page-cockfighting__faq-section, .page-cockfighting__cta-bottom-section {
    padding: 40px 0;
  }
  .page-cockfighting__feature-item, .page-cockfighting__bet-card, .page-cockfighting__step-item, .page-cockfighting__advantage-card, .page-cockfighting__tips-item {
    padding: 20px;
  }
  .page-cockfighting__feature-title, .page-cockfighting__bet-card-title, .page-cockfighting__step-title, .page-cockfighting__advantage-title, .page-cockfighting__tips-item-title {
    font-size: 20px;
  }
  .page-cockfighting__feature-description, .page-cockfighting__bet-card-description, .page-cockfighting__step-description, .page-cockfighting__advantage-description, .page-cockfighting__tips-item-description {
    font-size: 15px;
  }
  .page-cockfighting__feature-image, .page-cockfighting__bet-card-image, .page-cockfighting__advantage-image {
    height: 180px;
  }
  .page-cockfighting__btn-link {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 10px 15px;
  }
  .page-cockfighting__faq-question {
    padding: 15px 20px;
  }
  .page-cockfighting__faq-question h3 {
    font-size: 16px;
  }
  .page-cockfighting__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 15px 20px !important;
  }

  /* Mobile image overflow prevention */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting__hero-section, .page-cockfighting__intro-section, .page-cockfighting__bet-types-section, .page-cockfighting__guide-section, .page-cockfighting__advantages-section, .page-cockfighting__tips-section, .page-cockfighting__faq-section, .page-cockfighting__cta-bottom-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-cockfighting__intro-features, .page-cockfighting__bet-types-grid, .page-cockfighting__guide-steps, .page-cockfighting__advantages-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: 30px;
  }
  .page-cockfighting__description {
    font-size: 16px;
  }
  .page-cockfighting__cta-button {
    padding: 10px 15px;
    font-size: 15px;
  }
  .page-cockfighting__section-title {
    font-size: 24px;
  }
  .page-cockfighting__text-block {
    font-size: 14px;
  }
  .page-cockfighting__feature-title, .page-cockfighting__bet-card-title, .page-cockfighting__step-title, .page-cockfighting__advantage-title, .page-cockfighting__tips-item-title {
    font-size: 18px;
  }
  .page-cockfighting__feature-description, .page-cockfighting__bet-card-description, .page-cockfighting__step-description, .page-cockfighting__advantage-description, .page-cockfighting__tips-item-description {
    font-size: 14px;
  }
}