.page-cockfighting {
  color: #ffffff; /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  min-height: 600px;
  overflow: hidden;
}

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

.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;
  padding: 20px;
}

.page-cockfighting__hero-title {
  font-size: 3.5em;
  color: #FFFF00; /* Register/Login font color for highlight */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-cockfighting__hero-description {
  font-size: 1.3em;
  color: #ffffff;
  margin-bottom: 40px;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-cockfighting__btn-primary {
  background: #C30808; /* Register color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-cockfighting__btn-primary:hover {
  background: #a30606;
  transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
  background: #017439; /* Main brand color */
  color: #ffffff;
  border: 2px solid #017439;
}

.page-cockfighting__btn-secondary:hover {
  background: #005a2e;
  transform: translateY(-2px);
}

.page-cockfighting__btn-small {
  padding: 10px 20px;
  font-size: 1em;
}

.page-cockfighting__section {
  padding: 60px 20px;
  text-align: center;
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #FFFF00; /* Highlight color */
}

.page-cockfighting__section-description,
.page-cockfighting__paragraph {
  font-size: 1.1em;
  margin-bottom: 30px;
  line-height: 1.8;
}

.page-cockfighting__light-bg {
  background: #1a1a1a; /* Slightly lighter dark background for contrast */
  color: #ffffff;
}

.page-cockfighting__dark-bg {
  background: #017439; /* Main brand color for sections */
  color: #ffffff;
}

.page-cockfighting__image-content {
  margin: 40px auto;
  max-width: 800px;
}

.page-cockfighting__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark bg */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}

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

.page-cockfighting__card-title {
  font-size: 1.5em;
  color: #FFFF00; /* Highlight color */
  margin-bottom: 15px;
}

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

.page-cockfighting__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-cockfighting__guide-item {
  background: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #017439;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__guide-step-title {
  font-size: 1.4em;
  color: #FFFF00; /* Highlight color */
  margin-bottom: 10px;
}

.page-cockfighting__guide-item p {
  color: #e0e0e0;
  margin-bottom: 15px;
}

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

.page-cockfighting__feature-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  height: 100%;
}

.page-cockfighting__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2)); /* subtle shadow for icons */
}

.page-cockfighting__feature-title {
  font-size: 1.4em;
  color: #FFFF00; /* Highlight color */
  margin-bottom: 10px;
}