.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main, #FFF3E6); /* Default text color */
  background-color: var(--bg-color, #0D0E12); /* Default body background */
}

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

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding: 60px 20px;
  padding-top: 10px; /* Minimal padding-top as body handles --header-offset */
  overflow: hidden;
  background-color: var(--deep-orange, #D96800);
}

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

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-cockfighting__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFB04D; /* Glow color for main title */
}

.page-cockfighting__description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #FFF3E6;
}

.page-cockfighting__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  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: 700;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 165, 58, 0.4);
}

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

.page-cockfighting__btn-secondary:hover {
  background: #FF8C1A;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

.page-cockfighting__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #FFB04D; /* Glow color for section titles */
}

.page-cockfighting__introduction-section,
.page-cockfighting__guide-section,
.page-cockfighting__tips-section,
.page-cockfighting__faq-section {
  padding: 60px 0;
  background-color: var(--bg-color, #0D0E12);
  color: var(--text-main, #FFF3E6);
}

.page-cockfighting__platforms-section,
.page-cockfighting__bet-types-section,
.page-cockfighting__responsible-gambling-section {
  padding: 60px 0;
  background-color: var(--card-bg, #17191F);
  color: var(--text-main, #FFF3E6);
}

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

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

.page-cockfighting__platform-card {
  background-color: var(--bg-color, #0D0E12);
  border: 1px solid var(--border-color, #A84F0C);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__platform-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FF8C1A;
}

.page-cockfighting__card-description {
  font-size: 1rem;
  color: #FFF3E6;
  margin-bottom: 20px;
}

.page-cockfighting__card-button {
  width: auto;
  padding: 10px 20px;
  font-size: 1rem;
}

.page-cockfighting__cta-full-width {
  text-align: center;
  margin-top: 40px;
}

.page-cockfighting__guide-list,
.page-cockfighting__tips-list,
.page-cockfighting__responsible-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-cockfighting__guide-item,
.page-cockfighting__tips-item,
.page-cockfighting__responsible-item {
  background-color: var(--card-bg, #17191F);
  border: 1px solid var(--border-color, #A84F0C);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
}

.page-cockfighting__guide-heading,
.page-cockfighting__tips-heading {
  font-size: 1.3rem;
  font-weight: 600;
  color: #FFA53A;
  margin-bottom: 10px;
}

.page-cockfighting__content-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 30px;
  display: block;
}

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

.page-cockfighting__bet-type-card {
  background-color: var(--bg-color, #0D0E12);
  border: 1px solid var(--border-color, #A84F0C);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}

.page-cockfighting__faq-list {
  margin-top: 30px;
}

.page-cockfighting__faq-item {
  background-color: var(--card-bg, #17191F);
  border: 1px solid var(--border-color, #A84F0C);
  border-radius: 8px;
  margin-bottom: 15px;
  color: #FFF3E6;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  color: #FF8C1A;
  user-select: none;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  border-bottom: 1px solid var(--border-color, #A84F0C);
}

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

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

.page-cockfighting__faq-answer {
  padding: 15px 20px 20px;
  font-size: 1rem;
  color: #FFF3E6;
}

/* Details element native arrow removal */
.page-cockfighting__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-cockfighting__faq-item summary {
  list-style: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 4vw, 3rem);
  }
  .page-cockfighting__section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-cockfighting__description {
    font-size: 1rem;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .page-cockfighting__introduction-section,
  .page-cockfighting__platforms-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__bet-types-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__responsible-gambling-section,
  .page-cockfighting__faq-section {
    padding: 40px 0;
  }
  .page-cockfighting__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting__text-block,
  .page-cockfighting__card-description,
  .page-cockfighting__faq-answer p {
    font-size: 0.95rem;
  }
  .page-cockfighting__platform-grid,
  .page-cockfighting__bet-type-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__content-image,
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__platform-card,
  .page-cockfighting__guide-item,
  .page-cockfighting__tips-item,
  .page-cockfighting__responsible-item,
  .page-cockfighting__bet-type-card,
  .page-cockfighting__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__faq-question {
    font-size: 1.1rem;
  }
  .page-cockfighting__card-title {
    font-size: 1.3rem;
  }
  .page-cockfighting__guide-heading,
  .page-cockfighting__tips-heading {
    font-size: 1.2rem;
  }
}