/* style/cockfighting.css */

:root {
  --jbo-green-main: #11A84E;
  --jbo-green-accent: #22C768;
  --jbo-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --jbo-card-bg: #11271B;
  --jbo-background: #08160F;
  --jbo-text-main: #F2FFF6;
  --jbo-text-secondary: #A7D9B8;
  --jbo-border: #2E7A4E;
  --jbo-glow: #57E38D;
  --jbo-gold: #F2C14E;
  --jbo-divider: #1E3A2A;
  --jbo-deep-green: #0A4B2C;
}

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

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

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

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

.page-cockfighting__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-cockfighting__section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--jbo-text-main);
  line-height: 1.2;
}

.page-cockfighting__light-bg .page-cockfighting__section-title,
.page-cockfighting__light-bg .page-cockfighting__sub-title {
  color: #000000;
}

.page-cockfighting__sub-title {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--jbo-green-accent);
}

.page-cockfighting__text-block {
  font-size: 18px;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__link-text {
  color: var(--jbo-gold);
  text-decoration: underline;
}

.page-cockfighting__link-text:hover {
  color: var(--jbo-glow);
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  padding: 0; /* Handled by body padding-top */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  min-height: 70vh;
  padding-top: 10px; /* Small top padding for visual separation */
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  height: auto;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px 60px;
  box-sizing: border-box;
}

.page-cockfighting__main-title {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  color: var(--jbo-gold);
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-cockfighting__description {
  font-size: 20px;
  margin-bottom: 30px;
  color: var(--jbo-text-main);
}

.page-cockfighting__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: var(--jbo-button-gradient);
  color: var(--jbo-text-main);
  border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px var(--jbo-glow);
}

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: var(--jbo-gold);
  border: 2px solid var(--jbo-gold);
}

.page-cockfighting__btn-secondary:hover {
  background-color: var(--jbo-gold);
  color: var(--jbo-background);
  box-shadow: 0 0 15px var(--jbo-gold);
}

/* Lists */
.page-cockfighting__list {
  list-style: none;
  padding: 0;
  margin: 0 auto 30px;
  text-align: left;
  max-width: 900px;
}

.page-cockfighting__list-item {
  font-size: 18px;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
  color: var(--jbo-text-main);
}

.page-cockfighting__light-bg .page-cockfighting__list-item {
  color: #333333;
}

.page-cockfighting__list-item::before {
  content: '✔';
  color: var(--jbo-gold);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-cockfighting__ordered-list {
  list-style: decimal;
  padding-left: 40px;
  margin: 0 auto 30px;
  text-align: left;
  max-width: 900px;
}

.page-cockfighting__ordered-list .page-cockfighting__list-item {
  padding-left: 0;
}

.page-cockfighting__ordered-list .page-cockfighting__list-item::before {
  content: none;
}

/* Video Section */
.page-cockfighting__video-section {
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
  background-color: var(--jbo-deep-green);
}

.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: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

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

.page-cockfighting__video-caption {
  font-size: 16px;
  color: var(--jbo-text-secondary);
  margin-top: 15px;
}

/* Bet Types Section */
.page-cockfighting__grid-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  list-style: none;
  padding: 0;
}

.page-cockfighting__card {
  background-color: var(--jbo-card-bg);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--jbo-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

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

.page-cockfighting__card-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--jbo-gold);
  margin-bottom: 15px;
}

.page-cockfighting__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-cockfighting__card-text {
  font-size: 16px;
  color: var(--jbo-text-secondary);
}

/* Benefits Section */
.page-cockfighting__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  list-style: none;
  padding: 0;
}

.page-cockfighting__benefit-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
  color: #333333;
}

.page-cockfighting__benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__benefit-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  display: block;
  object-fit: contain;
  min-width: 200px;
  min-height: 200px;
}

.page-cockfighting__benefit-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--jbo-green-main);
  margin-bottom: 15px;
}

.page-cockfighting__benefit-text {
  font-size: 16px;
  color: #555555;
  flex-grow: 1;
}

.page-cockfighting__center-buttons {
  margin-top: 40px;
}

.page-cockfighting__center-content {
  max-width: 900px;
  margin: 0 auto;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  background-color: #f8f8f8;
  color: #333333;
}

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

.page-cockfighting__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 18px;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
  list-style: none; /* For details/summary */
}

.page-cockfighting__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

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

.page-cockfighting__faq-qtext {
  flex-grow: 1;
  padding-right: 15px;
}

.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--jbo-green-main);
  transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
  padding: 20px;
  font-size: 16px;
  color: #555555;
  line-height: 1.6;
}

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

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

/* Conclusion Section */
.page-cockfighting__conclusion-section {
  background-color: var(--jbo-background);
  color: var(--jbo-text-main);
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-section {
    min-height: 60vh;
  }
  .page-cockfighting__hero-image-wrapper {
    max-height: 450px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(30px, 4.5vw, 50px);
  }
  .page-cockfighting__description {
    font-size: 18px;
  }
  .page-cockfighting__section-title {
    font-size: clamp(26px, 3.2vw, 38px);
  }
  .page-cockfighting__sub-title {
    font-size: clamp(20px, 2.3vw, 28px);
  }
  .page-cockfighting__text-block {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    min-height: 50vh;
    padding-bottom: 40px;
  }
  .page-cockfighting__hero-image-wrapper {
    max-height: 300px;
    margin-bottom: 20px;
  }
  .page-cockfighting__hero-content {
    padding-bottom: 40px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(28px, 6vw, 40px);
  }
  .page-cockfighting__description {
    font-size: 16px;
  }
  .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;
    font-size: 16px;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting__section {
    padding: 40px 0;
  }
  .page-cockfighting__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting__section-title {
    font-size: clamp(24px, 5vw, 32px);
    margin-bottom: 20px;
  }
  .page-cockfighting__sub-title {
    font-size: clamp(18px, 4.5vw, 24px);
    margin-top: 30px;
    margin-bottom: 15px;
  }
  .page-cockfighting__text-block,
  .page-cockfighting__list-item,
  .page-cockfighting__card-text,
  .page-cockfighting__benefit-text,
  .page-cockfighting__faq-answer p {
    font-size: 15px;
  }
  .page-cockfighting__list,
  .page-cockfighting__ordered-list,
  .page-cockfighting__faq-list {
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px; /* Adjust padding for lists */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting__video-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  .page-cockfighting__video-wrapper {
    margin: 20px auto;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-cockfighting__video,
  .page-cockfighting__video-link {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__grid-list,
  .page-cockfighting__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting__card,
  .page-cockfighting__benefit-item {
    padding: 20px;
  }
  .page-cockfighting__card-image,
  .page-cockfighting__benefit-icon {
    min-width: 200px;
    min-height: 150px;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover;
  }
  .page-cockfighting__faq-question {
    font-size: 16px;
    padding: 15px;
  }
  .page-cockfighting__faq-answer {
    padding: 15px;
  }
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__center-buttons {
    padding: 0 15px;
  }
}