.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Inherited from body, but explicitly set for clarity */
}

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  text-align: center;
  overflow: hidden;
  color: #ffffff;
}

.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.4); /* Darken image for text readability */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}

.page-cockfighting__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-cockfighting__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: rgba(10, 25, 47, 0.9); /* Slightly transparent dark blue */
  border-radius: 8px;
  margin-bottom: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  color: #e0e0e0;
  margin-bottom: 20px;
  text-align: justify;
}

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

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

.page-cockfighting__card {
  background: #0A192F; /* Brand primary color */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  color: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.page-cockfighting__feature-title,
.page-cockfighting__card-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
  text-align: center;
}

.page-cockfighting__benefits-list,
.page-cockfighting__unordered-list {
  list-style-type: disc;
  margin-left: 20px;
  color: #f0f0f0;
}

.page-cockfighting__benefits-list li,
.page-cockfighting__unordered-list li {
  margin-bottom: 10px;
}

.page-cockfighting__dark-bg {
  background-color: #0A192F;
  color: #ffffff;
}

.page-cockfighting__login-guide-section {
  padding: 80px 0;
  background-color: #0A192F;
  color: #ffffff;
}

.page-cockfighting__guide-flex {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-cockfighting__guide-steps {
  flex: 1;
  min-width: 300px;
}

.page-cockfighting__step-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-cockfighting__ordered-list {
  list-style-type: decimal;
  margin-left: 20px;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-cockfighting__ordered-list li {
  margin-bottom: 10px;
}

.page-cockfighting__guide-image-wrapper {
  flex: 1;
  min-width: 400px;
  text-align: center;
}

.page-cockfighting__guide-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__image-center {
  text-align: center;
  margin: 40px 0;
}

.page-cockfighting__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

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

.page-cockfighting__btn-primary {
  background-color: #FFD700;
  color: #0A192F;
  border: 2px solid #FFD700;
}

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

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

.page-cockfighting__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A192F;
}

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

.page-cockfighting__cta-buttons {
  margin-top: 50px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-cockfighting__center-buttons {
  justify-content: center;
}

.page-cockfighting__faq-section {
  padding: 80px 0;
  background-color: #0A192F;
  color: #ffffff;
}

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

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-cockfighting__faq-title {
  font-size: 1.2em;
  color: #FFD700;
  margin: 0;
}

.page-cockfighting__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  transform: rotate(0deg); /*  becomes "-" */
}

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

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-cockfighting__faq-answer p {
  margin-bottom: 0;
}

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

.page-cockfighting__conclusion-section {
  text-align: center;
  padding-bottom: 80px;
}

.page-cockfighting__conclusion-section .page-cockfighting__text-block {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 2.8em;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__guide-flex {
    flex-direction: column;
  }
  .page-cockfighting__guide-steps,
  .page-cockfighting__guide-image-wrapper {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is below fixed header */
  }
  .page-cockfighting__hero-title {
    font-size: 2em;
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting__content-area,
  .page-cockfighting__login-guide-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section {
    padding: 30px 15px;
  }
  .page-cockfighting__features-grid,
  .page-cockfighting__betting-grid,
  .page-cockfighting__strategy-grid,
  .page-cockfighting__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__card {
    padding: 20px;
  }
  .page-cockfighting__guide-steps,
  .page-cockfighting__guide-image-wrapper {
    padding: 0 15px;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    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__faq-question {
    padding: 15px 20px;
  }
  .page-cockfighting__faq-answer {
    padding: 0 20px;
  }
  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 15px 20px;
  }

  /* Image responsive rules */
  .page-cockfighting img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__guide-image-wrapper,
  .page-cockfighting__image-center {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }
  .page-cockfighting__content-area {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-title {
    font-size: 1.6em;
  }
  .page-cockfighting__section-title {
    font-size: 1.5em;
  }
  .page-cockfighting__hero-buttons {
    flex-direction: column;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    font-size: 0.9em;
    padding: 12px 20px;
  }
}