/* style/cockfighting.css */
:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --card-bg: #111111;
  --background-color: #0A0A0A;
  --text-main-color: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color); /* Default text color for the page */
  background-color: var(--background-color); /* Ensure body background is dark */
}

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

.page-cockfighting__dark-section {
  background-color: var(--background-color);
  color: var(--text-main-color);
}

.page-cockfighting__light-bg {
  background-color: #111111; /* Slightly lighter dark for contrast */
  color: var(--text-main-color);
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--secondary-color);
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

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

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  padding: 80px 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  border-bottom: 2px solid var(--border-color);
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 40px;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(var(--primary-color), 0.5);
}

.page-cockfighting__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-cockfighting__main-title {
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
  /* H1 font size with clamp for responsiveness, not fixed large value */
  font-size: clamp(2.2em, 4vw, 3.5em);
}

.page-cockfighting__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-main-color);
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-cockfighting__btn-primary {
  background: var(--button-gradient);
  color: #ffffff; /* White text for contrast */
  border: none;
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(var(--primary-color), 0.5);
}

.page-cockfighting__btn-secondary {
  background: none;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-cockfighting__btn-secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(var(--primary-color), 0.5);
}

/* Introduction Section */
.page-cockfighting__introduction-section {
  padding: 60px 0;
  border-bottom: 2px solid var(--border-color);
}

.page-cockfighting__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

/* Benefits Section */
.page-cockfighting__benefits-section {
  padding: 60px 0;
  border-bottom: 2px solid var(--border-color);
}

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

.page-cockfighting__card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main-color);
}

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

.page-cockfighting__card-title {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-cockfighting__card-text {
  font-size: 1em;
  color: var(--text-main-color);
}

.page-cockfighting__image-feature {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

/* Guide Section */
.page-cockfighting__guide-section {
  padding: 60px 0;
  border-bottom: 2px solid var(--border-color);
}

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

.page-cockfighting__step-item {
  text-align: center;
  padding: 30px;
}

.page-cockfighting__step-title {
  font-size: 1.3em;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-cockfighting__step-text {
  font-size: 1em;
  color: var(--text-main-color);
  margin-bottom: 20px;
}

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

.page-cockfighting__image-guide {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

/* Betting Types Section */
.page-cockfighting__betting-types-section {
  padding: 60px 0;
  border-bottom: 2px solid var(--border-color);
}

.page-cockfighting__betting-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
  display: grid;
  gap: 25px;
}

.page-cockfighting__betting-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-left: 5px solid var(--primary-color);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__betting-type {
  font-size: 1.4em;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-cockfighting__betting-description {
  font-size: 1em;
  color: var(--text-main-color);
}

.page-cockfighting__image-betting {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

/* Video Section */
.page-cockfighting__video-section {
  padding: 60px 0;
  border-bottom: 2px solid var(--border-color);
  text-align: center;
}

.page-cockfighting__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
  width: 100%; /* Desktop width */
  max-width: 1000px; /* Max width for video */
}

.page-cockfighting__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 60px 0;
  border-bottom: 2px solid var(--border-color);
}

.page-cockfighting__faq-list {
  margin-top: 40px;
  display: grid;
  gap: 20px;
}

.page-cockfighting__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  color: var(--text-main-color);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--primary-color);
  background-color: #1a1a1a; /* Slightly darker for question header */
  border-bottom: 1px solid var(--border-color);
}

.page-cockfighting__faq-question:hover {
  background-color: #222222;
}

.page-cockfighting__faq-qtext {
  flex-grow: 1;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

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

.page-cockfighting__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: var(--text-main-color);
  line-height: 1.6;
}

/* Conclusion Section */
.page-cockfighting__conclusion-section {
  padding: 60px 0 80px;
  text-align: center;
}

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

  .page-cockfighting__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
}

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

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

  .page-cockfighting__hero-section {
    padding: 40px 0 20px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-cockfighting__hero-description {
    font-size: 1.1em;
    margin-bottom: 20px;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

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

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

  .page-cockfighting__card {
    padding: 20px;
  }

  .page-cockfighting__card-title {
    font-size: 1.3em;
  }

  .page-cockfighting__step-title {
    font-size: 1.2em;
  }

  .page-cockfighting__betting-type {
    font-size: 1.2em;
  }

  /* Mobile image responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Mobile video responsiveness */
  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__video-section {
    padding-top: 10px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-cockfighting__video-wrapper {
    padding-left: 0;
    padding-right: 0;
  }

  .page-cockfighting__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

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