/* style/cockfighting.css */
/* Body background color from shared.css is var(--background-color), which for this theme is #08160F (dark). */
/* Text colors are set to #F2FFF6 (Text Main) for general content and #A7D9B8 (Text Secondary) for secondary text. */
/* Card backgrounds are #11271B (Card BG). */

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  line-height: 1.6;
}

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

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  color: #F2FFF6; /* Text Main */
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  padding: 30px;
  border-radius: 10px;
}

.page-cockfighting__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold */
}

.page-cockfighting__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
  box-sizing: border-box;
  max-width: 100%;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button custom color */
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
  background: #1E3A2A; /* Divider for a subtle background */
  color: #57E38D; /* Glow */
  border: 2px solid #2E7A4E; /* Border */
}

.page-cockfighting__btn-secondary:hover {
  background: #2E7A4E; /* Border on hover */
  color: #F2FFF6; /* Text Main */
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #F2C14E; /* Gold */
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #F2FFF6; /* Text Main */
}

.page-cockfighting__highlight {
  color: #57E38D; /* Glow */
  font-weight: bold;
}

.page-cockfighting__dark-section {
  background-color: #0A4B2C; /* Deep Green */
  padding: 60px 0;
}

.page-cockfighting__introduction-section {
  padding: 60px 0;
}

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

.page-cockfighting__feature-item {
  text-align: center;
  padding: 25px;
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #F2FFF6;
}

.page-cockfighting__feature-title {
  font-size: 1.5em;
  color: #57E38D; /* Glow */
  margin-bottom: 15px;
}

.page-cockfighting__feature-description {
  color: #A7D9B8; /* Text Secondary */
}

.page-cockfighting__how-to-join-section {
  padding: 60px 0;
  background-color: #08160F; /* Background */
}

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

.page-cockfighting__step-card {
  text-align: center;
  padding: 30px;
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #F2FFF6;
}

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

.page-cockfighting__step-title {
  font-size: 1.6em;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-cockfighting__step-description {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 25px;
}

.page-cockfighting__types-section {
  padding: 60px 0;
}

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

.page-cockfighting__type-card {
  text-align: center;
  padding: 30px;
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #F2FFF6;
}

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

.page-cockfighting__type-title {
  font-size: 1.6em;
  color: #57E38D; /* Glow */
  margin-bottom: 15px;
}

.page-cockfighting__type-description {
  color: #A7D9B8; /* Text Secondary */
}

.page-cockfighting__rules-odds-section {
  padding: 60px 0;
  background-color: #08160F; /* Background */
}

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

.page-cockfighting__info-block {
  padding: 30px;
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #F2FFF6;
}

.page-cockfighting__info-title {
  font-size: 1.5em;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
}

.page-cockfighting__info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-cockfighting__info-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: #A7D9B8; /* Text Secondary */
}

.page-cockfighting__info-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #57E38D; /* Glow */
  font-weight: bold;
}

.page-cockfighting__promotions-section {
  padding: 60px 0;
}

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

.page-cockfighting__promo-card {
  text-align: center;
  padding: 30px;
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #F2FFF6;
}

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

.page-cockfighting__promo-title {
  font-size: 1.6em;
  color: #57E38D; /* Glow */
  margin-bottom: 15px;
}

.page-cockfighting__promo-description {
  color: #A7D9B8; /* Text Secondary */
}

.page-cockfighting__promo-cta {
  margin-top: 50px;
}

.page-cockfighting__support-section {
  padding: 60px 0;
  background-color: #08160F; /* Background */
}

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

.page-cockfighting__support-item {
  padding: 30px;
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #F2FFF6;
}

.page-cockfighting__support-title {
  font-size: 1.5em;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
}

.page-cockfighting__support-description {
  color: #A7D9B8; /* Text Secondary */
}

.page-cockfighting__support-description a {
  color: #57E38D; /* Glow */
  text-decoration: underline;
}

.page-cockfighting__support-description a:hover {
  color: #F2C14E; /* Gold */
}

.page-cockfighting__faq-section {
  padding: 60px 0;
}

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

.page-cockfighting__faq-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #F2FFF6; /* Text Main */
}

.page-cockfighting__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-weight: bold;
  cursor: pointer;
  color: #F2FFF6; /* Text Main */
  position: relative;
}

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

.page-cockfighting__faq-question {
  font-size: 1.2em;
  color: #57E38D; /* Glow */
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #F2C14E; /* Gold */
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  content: '−';
}

.page-cockfighting__faq-answer {
  padding: 15px 25px 20px;
  border-top: 1px solid #1E3A2A; /* Divider */
  color: #A7D9B8; /* Text Secondary */
}

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

.page-cockfighting__faq-answer a {
  color: #57E38D; /* Glow */
  text-decoration: underline;
}

.page-cockfighting__faq-answer a:hover {
  color: #F2C14E; /* Gold */
}

.page-cockfighting__conclusion-section {
  padding: 60px 0;
  text-align: center;
  background-color: #0A4B2C; /* Deep Green */
}

.page-cockfighting__conclusion-section .page-cockfighting__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #F2FFF6; /* Text Main */
}

.page-cockfighting__conclusion-section .page-cockfighting__cta-buttons {
  margin-top: 40px;
  justify-content: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: 2.8em;
  }

  .page-cockfighting__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-cockfighting__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-cockfighting__hero-content {
    padding: 20px;
  }

  .page-cockfighting__main-title {
    font-size: 2em; /* Adjusted font size for mobile H1 */
  }

  .page-cockfighting__hero-description {
    font-size: 1em;
  }

  .page-cockfighting__hero-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 !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-cockfighting__container {
    padding: 0 15px;
  }

  .page-cockfighting__text-block {
    font-size: 1em;
  }

  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-section,
  .page-cockfighting__introduction-section,
  .page-cockfighting__how-to-join-section,
  .page-cockfighting__types-section,
  .page-cockfighting__rules-odds-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__support-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Ensure no horizontal scroll */
  }

  .page-cockfighting__features-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__type-cards-grid,
  .page-cockfighting__info-grid,
  .page-cockfighting__promo-cards-grid,
  .page-cockfighting__support-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__feature-item,
  .page-cockfighting__step-card,
  .page-cockfighting__type-card,
  .page-cockfighting__info-block,
  .page-cockfighting__promo-card,
  .page-cockfighting__support-item {
    padding: 20px;
  }

  .page-cockfighting__step-image,
  .page-cockfighting__type-image,
  .page-cockfighting__promo-image {
    height: auto;
  }

  .page-cockfighting__faq-question {
    font-size: 1.1em;
  }

  .page-cockfighting__faq-item summary {
    padding: 15px 20px;
  }

  .page-cockfighting__faq-answer {
    padding: 10px 20px 15px;
  }
  
  .page-cockfighting__cta-buttons {
    flex-wrap: wrap !important;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: 1.8em;
  }

  .page-cockfighting__section-title {
    font-size: 1.5em;
  }

  .page-cockfighting__hero-content {
    padding: 15px;
  }
}