.page-cockfighting {
  font-family: Arial, sans-serif;
  color: #FFFFFF;
  background-color: #100224;
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
  padding-top: 20px;
}

.page-cockfighting__section-title--white {
  color: #FFFFFF;
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
}

.page-cockfighting__cta-button--login {
  background-color: #EA7C07;
  color: #FFFFFF;
}

.page-cockfighting__cta-button--login:hover {
  background-color: #d66a06;
  transform: translateY(-2px);
}

.page-cockfighting__cta-button--register {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-cockfighting__cta-button--register:hover {
  background-color: #1f8ec4;
  transform: translateY(-2px);
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding */
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 675px; /* Limit height for desktop */
}

.page-cockfighting__hero-content {
  text-align: center;
  padding: 40px 20px;
  background-color: rgba(0, 0, 0, 0.5); /* Slightly darker background for text readability */
  width: 100%;
  box-sizing: border-box;
}

.page-cockfighting__main-title {
  font-weight: bold;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 0.05em;
  max-width: 800px; /* Control H1 width */
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
}

.page-cockfighting__hero-description {
  font-size: 1.2em;
  color: #FFFFFF;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.page-cockfighting__about-section {
  padding: 60px 0;
  background-color: #1a0833;
}

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

.page-cockfighting__text-content {
  flex: 1;
}

.page-cockfighting__text-content p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #E0E0E0;
}

.page-cockfighting__image-wrapper {
  flex: 1;
  min-width: 200px; /* Ensure image is not too small */
}

.page-cockfighting__image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-cockfighting__read-more-button {
  display: inline-block;
  background-color: #26A9E0;
  color: #FFFFFF;
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-cockfighting__read-more-button:hover {
  background-color: #1f8ec4;
}

/* Features Section */
.page-cockfighting__features-section {
  padding: 60px 0;
}

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

.page-cockfighting__feature-card {
  background-color: #1a0833;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__feature-card img {
  width: 100%;
  max-width: 200px; /* Ensure card images are reasonable size */
  height: auto;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-cockfighting__card-title {
  font-size: 1.4em;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-cockfighting__feature-card p {
  font-size: 1em;
  line-height: 1.5;
  color: #E0E0E0;
}

/* Betting Types Section */
.page-cockfighting__betting-types-section {
  padding: 60px 0;
  background-color: #1a0833;
}

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

.page-cockfighting__type-item {
  background-color: #100224;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__type-heading {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-cockfighting__type-item p {
  font-size: 1em;
  line-height: 1.5;
  color: #E0E0E0;
}

.page-cockfighting__learn-more-rules-button {
  display: block;
  width: fit-content;
  margin: 0 auto;
  background-color: #EA7C07;
  color: #FFFFFF;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-cockfighting__learn-more-rules-button:hover {
  background-color: #d66a06;
}

/* Tips Section */
.page-cockfighting__tips-section {
  padding: 60px 0;
}

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

.page-cockfighting__tip-card {
  background-color: #1a0833;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__tip-card .page-cockfighting__card-title {
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-cockfighting__tip-card p {
  font-size: 1em;
  line-height: 1.5;
  color: #E0E0E0;
}

.page-cockfighting__responsible-gaming-note {
  text-align: center;
  font-size: 0.9em;
  color: #AAAAAA;
  margin-top: 20px;
}

/* CTA Section */
.page-cockfighting__cta-section {
  background: linear-gradient(90deg, #26A9E0, #1f8ec4);
  padding: 60px 20px;
  text-align: center;
}

.page-cockfighting__cta-text {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #FFFFFF;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-cockfighting__faq-question {
  font-size: 1.2em;
  color: #26A9E0;
  padding: 18px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  position: relative;
}

.page-cockfighting__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-cockfighting__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-cockfighting__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-cockfighting__faq-answer p {
  padding-bottom: 18px;
  line-height: 1.6;
  color: #E0E0E0;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 200px; /* Adjust as needed */
  padding-top: 10px;
}

.page-cockfighting__faq-answer a {
  color: #26A9E0;
  text-decoration: none;
}

.page-cockfighting__faq-answer a:hover {
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-cockfighting__content-grid {
    flex-direction: column;
  }
  .page-cockfighting__hero-image {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
  }
  .page-cockfighting__cta-button {
    padding: 10px 25px;
    font-size: 1em;
  }
  .page-cockfighting__text-content p {
    font-size: 0.95em;
  }
  .page-cockfighting__feature-card img,
  .page-cockfighting__image-wrapper img {
    max-width: 100%;
    min-width: 200px;
    min-height: 200px;
  }
  .page-cockfighting__features-grid,
  .page-cockfighting__types-list,
  .page-cockfighting__tips-grid {
    grid-template-columns: 1fr;
  }
  /* Mobile image overflow prevention */
  .page-cockfighting img {
    max-width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-content {
    padding: 30px 15px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.5em, 7vw, 2em);
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting__feature-card,
  .page-cockfighting__type-item,
  .page-cockfighting__tip-card {
    padding: 20px;
  }
  .page-cockfighting__card-title,
  .page-cockfighting__type-heading {
    font-size: 1.2em;
  }
  .page-cockfighting__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
}