:root {
  --page-bg-color: #08160F;
  --card-bg-color: #11271B;
  --text-main-color: #F2FFF6;
  --text-secondary-color: #A7D9B8;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
}

.page-cockfighting-rules-betting {
  background-color: var(--page-bg-color);
  color: var(--text-main-color);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  font-size: 1.125rem; /* Base font size for readability */
}

.page-cockfighting-rules-betting__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-cockfighting-rules-betting__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px; /* Space between image and content */
}

.page-cockfighting-rules-betting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting-rules-betting__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-cockfighting-rules-betting__main-title {
  color: var(--gold-color);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-cockfighting-rules-betting__hero-description {
  color: var(--text-secondary-color);
  font-size: 1.25rem;
  margin-bottom: 30px;
}

.page-cockfighting-rules-betting__section {
  padding: 60px 20px;
  border-bottom: 1px solid var(--divider-color);
}

.page-cockfighting-rules-betting__section:last-of-type {
  border-bottom: none;
}

.page-cockfighting-rules-betting__container {
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-cockfighting-rules-betting__section-title {
  color: var(--gold-color);
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-cockfighting-rules-betting__sub-title {
  color: var(--text-main-color);
  font-size: 1.8rem;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 20px;
  border-left: 4px solid var(--deep-green-color);
  padding-left: 15px;
}

.page-cockfighting-rules-betting__text-block {
  color: var(--text-secondary-color);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.page-cockfighting-rules-betting__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting-rules-betting__list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-cockfighting-rules-betting__list-item {
  color: var(--text-secondary-color);
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
  font-size: 1.1rem;
}

.page-cockfighting-rules-betting__list-item::before {
  content: '★';
  color: var(--glow-color);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2em;
}

.page-cockfighting-rules-betting__ordered-list {
  list-style: decimal;
  padding-left: 20px;
  margin-bottom: 20px;
}

.page-cockfighting-rules-betting__ordered-list .page-cockfighting-rules-betting__list-item {
  padding-left: 0;
}

.page-cockfighting-rules-betting__ordered-list .page-cockfighting-rules-betting__list-item::before {
  content: none;
}

.page-cockfighting-rules-betting__btn-primary,
.page-cockfighting-rules-betting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-cockfighting-rules-betting__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main-color);
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting-rules-betting__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-cockfighting-rules-betting__btn-secondary {
  background-color: var(--card-bg-color);
  color: var(--glow-color);
  border: 2px solid var(--glow-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting-rules-betting__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  background-color: var(--deep-green-color);
}

.page-cockfighting-rules-betting__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-cockfighting-rules-betting__faq-list {
  margin-top: 30px;
}

.page-cockfighting-rules-betting__faq-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main-color);
}

.page-cockfighting-rules-betting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--gold-color);
  background-color: var(--deep-green-color);
  border-bottom: 1px solid var(--border-color);
  list-style: none; /* For details/summary */
}

.page-cockfighting-rules-betting__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

.page-cockfighting-rules-betting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-cockfighting-rules-betting__faq-answer {
  padding: 20px;
  padding-top: 0;
  color: var(--text-secondary-color);
  font-size: 1rem;
}

.page-cockfighting-rules-betting__faq-answer p {
  margin-bottom: 0;
  color: var(--text-secondary-color);
}

.page-cockfighting-rules-betting__cta-final {
  text-align: center;
  background-color: var(--deep-green-color);
  padding: 80px 20px;
}

.page-cockfighting-rules-betting__cta-container .page-cockfighting-rules-betting__section-title {
  color: var(--text-main-color);
}

.page-cockfighting-rules-betting__cta-container .page-cockfighting-rules-betting__text-block {
  font-size: 1.2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-cockfighting-rules-betting__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-cockfighting-rules-betting__section-title {
    font-size: 2rem;
  }
  .page-cockfighting-rules-betting__sub-title {
    font-size: 1.5rem;
  }
  .page-cockfighting-rules-betting__hero-description {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .page-cockfighting-rules-betting {
    font-size: 1rem;
  }
  .page-cockfighting-rules-betting__hero-section {
    padding: 10px 15px 40px;
  }
  .page-cockfighting-rules-betting__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-cockfighting-rules-betting__hero-description {
    font-size: 1rem;
  }
  .page-cockfighting-rules-betting__section {
    padding: 40px 15px;
  }
  .page-cockfighting-rules-betting__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .page-cockfighting-rules-betting__sub-title {
    font-size: 1.3rem;
  }
  .page-cockfighting-rules-betting__list-item, .page-cockfighting-rules-betting__text-block {
    font-size: 1rem;
  }

  /* Image responsive rules */
  .page-cockfighting-rules-betting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting-rules-betting__section,
  .page-cockfighting-rules-betting__container,
  .page-cockfighting-rules-betting__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-cockfighting-rules-betting__hero-image-wrapper {
    padding-left: 0;
    padding-right: 0;
  }

  /* Button responsive rules */
  .page-cockfighting-rules-betting__btn-primary,
  .page-cockfighting-rules-betting__btn-secondary,
  .page-cockfighting-rules-betting a[class*="button"],
  .page-cockfighting-rules-betting a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting-rules-betting__button-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px;
  }

  .page-cockfighting-rules-betting__cta-final {
    padding: 60px 15px;
  }

  .page-cockfighting-rules-betting__cta-container .page-cockfighting-rules-betting__text-block {
    font-size: 1.1rem;
  }

  .page-cockfighting-rules-betting__faq-question {
    font-size: 1.1rem;
    padding: 15px;
  }

  .page-cockfighting-rules-betting__faq-answer {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .page-cockfighting-rules-betting__main-title {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
  }
  .page-cockfighting-rules-betting__section-title {
    font-size: 1.6rem;
  }
  .page-cockfighting-rules-betting__sub-title {
    font-size: 1.2rem;
  }
}