/* style/cockfighting.css */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a1a; /* Inherited from shared, for context */
}

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

.page-cockfighting__dark-bg {
  background-color: #26A9E0; /* Brand primary color for dark sections */
  color: #ffffff;
}

.page-cockfighting__light-bg {
  background-color: #FFFFFF;
  color: #333333; /* Dark text for light background */
}

.page-cockfighting__hero-section {
  position: relative;
  padding: 100px 0 60px; /* Adjust padding-top for header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-cockfighting__hero-title,
.page-cockfighting__hero-description {
  position: relative;
  z-index: 1;
  color: #ffffff;
}

.page-cockfighting__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-cockfighting__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
}

.page-cockfighting__cta-buttons {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-cockfighting__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-cockfighting__btn-primary:hover {
  background-color: #d16b06;
  border-color: #d16b06;
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: inherit;
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  color: inherit;
}

.page-cockfighting__text-block a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-cockfighting__image {
  width: 100%;
  height: auto;
  max-width: 800px;
  min-width: 200px; /* Min size for content images */
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

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

.page-cockfighting__feature-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: #ffffff;
  transition: transform 0.3s ease;
}

.page-cockfighting__feature-card:hover {
  transform: translateY(-5px);
}

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

.page-cockfighting__card-text {
  font-size: 1em;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-cockfighting__card-text a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-cockfighting__bet-types-list,
.page-cockfighting__guide-list,
.page-cockfighting__tips-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 900px;
  text-align: left;
}

.page-cockfighting__bet-types-list li,
.page-cockfighting__guide-list li,
.page-cockfighting__tips-list li {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter for list items on dark bg */
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 8px;
  border-left: 5px solid #26A9E0;
  color: inherit;
}

.page-cockfighting__light-bg .page-cockfighting__bet-types-list li,
.page-cockfighting__light-bg .page-cockfighting__guide-list li,
.page-cockfighting__light-bg .page-cockfighting__tips-list li {
  background-color: #f9f9f9;
  color: #333333;
}

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

.page-cockfighting__guide-list p,
.page-cockfighting__tips-list p {
  line-height: 1.7;
  color: inherit;
}

.page-cockfighting__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
  margin-top: 15px;
}

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

.page-cockfighting__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter for FAQ items on dark bg */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: #ffffff;
}

.page-cockfighting__light-bg .page-cockfighting__faq-item {
  background-color: #f9f9f9;
  color: #333333;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #ffffff;
  background-color: #26A9E0; /* Brand color for FAQ question */
  border-radius: 8px;
  list-style: none; /* For <summary> tag */
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Safari */
  -khtml-user-select: none;    /* Konqueror HTML */
  -moz-user-select: none;      /* Old versions of Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

.page-cockfighting__light-bg .page-cockfighting__faq-question {
  color: #ffffff;
  background-color: #26A9E0;
}

.page-cockfighting__faq-question::-webkit-details-marker {
  display: none;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  line-height: 1.7;
  color: inherit;
}

.page-cockfighting__faq-answer p {
  margin-bottom: 10px;
  color: inherit;
}

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

.page-cockfighting__cta-section {
  background-color: #26A9E0; /* Brand color for CTA section */
  color: #ffffff;
  padding: 60px 0;
}

.page-cockfighting__cta-content {
  max-width: 800px;
}

.page-cockfighting__cta-title {
  font-size: 2.2em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-cockfighting__cta-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-cockfighting__btn-large {
  padding: 18px 40px;
  font-size: 1.1em;
  background-color: #EA7C07;
  border-color: #EA7C07;
}

.page-cockfighting__btn-large:hover {
  background-color: #d16b06;
  border-color: #d16b06;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 3em;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 80px 0 40px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-cockfighting__hero-title {
    font-size: 2.5em;
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting__btn-large {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-cockfighting__section {
    padding: 60px 0;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting__text-block,
  .page-cockfighting__card-text,
  .page-cockfighting__guide-list p,
  .page-cockfighting__tips-list p,
  .page-cockfighting__faq-answer p,
  .page-cockfighting__cta-description {
    font-size: 0.95em;
  }
  .page-cockfighting__image {
    min-width: 200px !important; /* Ensure min size */
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__container,
  .page-cockfighting__hero-section,
  .page-cockfighting__section,
  .page-cockfighting__feature-card,
  .page-cockfighting__bet-types-list li,
  .page-cockfighting__guide-list li,
  .page-cockfighting__tips-list li,
  .page-cockfighting__faq-item,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-cockfighting__hero-image-wrapper {
    overflow: hidden;
  }
  .page-cockfighting__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-cockfighting__faq-answer {
    padding: 0 20px 15px;
  }
  .page-cockfighting__cta-title {
    font-size: 1.8em;
  }
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-title {
    font-size: 2em;
  }
  .page-cockfighting__section-title {
    font-size: 1.5em;
  }
  .page-cockfighting__card-title {
    font-size: 1.3em;
  }
  .page-cockfighting__list-title {
    font-size: 1.1em;
  }
  .page-cockfighting__cta-title {
    font-size: 1.5em;
  }
}