/* style/cockfighting.css */

.page-cockfighting {
  background-color: var(--background-color);
  color: var(--Text-Main);
  font-family: 'Arial', sans-serif;
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  text-align: center;
  overflow: hidden;
}

.page-cockfighting__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3; /* Slightly transparent to let text stand out */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(17, 39, 27, 0.7); /* Card BG with transparency */
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  margin-top: 50px; /* Space from top */
}

.page-cockfighting__main-title {
  color: var(--Text-Main);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__intro-text {
  color: var(--Text-Secondary);
  font-size: 1.15em;
  line-height: 1.6;
  margin-bottom: 30px;
}

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

.page-cockfighting__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1em;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--Text-Main);
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

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

.page-cockfighting__btn-secondary:hover {
  background: rgba(87, 227, 141, 0.1);
  transform: translateY(-2px);
}

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

.page-cockfighting__btn-large {
  padding: 16px 40px;
  font-size: 1.2em;
}

.page-cockfighting__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px; /* Small top padding */
  text-align: center;
  background-color: var(--Background);
}

.page-cockfighting__video-container {
  width: 100%; /* Must be 100% for desktop */
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-cockfighting__section-title {
  color: var(--Text-Main);
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__section-description {
  color: var(--Text-Secondary);
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 40px;
  text-align: center;
}

.page-cockfighting__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.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: none;
  display: block;
}

.page-cockfighting__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: var(--Background);
  color: var(--Text-Main);
}

.page-cockfighting__text-block {
  color: var(--Text-Secondary);
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 25px;
}

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

.page-cockfighting__card {
  background-color: var(--Card-B-G);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--Text-Main);
  border: 1px solid var(--Border);
}

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

.page-cockfighting__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-cockfighting__card-title {
  color: var(--Glow);
  font-size: 1.4em;
  font-weight: 600;
  padding: 15px 20px 10px;
}

.page-cockfighting__card-text {
  color: var(--Text-Secondary);
  font-size: 0.95em;
  line-height: 1.6;
  padding: 0 20px 20px;
}

.page-cockfighting__guide-list,
.page-cockfighting__tips-list,
.page-cockfighting__security-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.page-cockfighting__guide-list li,
.page-cockfighting__tips-list li,
.page-cockfighting__security-list li {
  background-color: var(--Card-B-G);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-left: 5px solid var(--Glow);
}

.page-cockfighting__list-title {
  color: var(--Text-Main);
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
}

.page-cockfighting__list-text {
  color: var(--Text-Secondary);
  line-height: 1.6;
  font-size: 1em;
}

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

.page-cockfighting__card--promo .page-cockfighting__card-title {
  color: var(--Gold);
}

.page-cockfighting__cta-buttons--center {
  text-align: center;
  margin-top: 30px;
}

.page-cockfighting__security-list {
  list-style-type: disc;
  padding-left: 20px;
  color: var(--Text-Secondary);
}

.page-cockfighting__security-list li {
  background: none;
  box-shadow: none;
  border-left: none;
  padding: 8px 0;
  margin-bottom: 5px;
  color: var(--Text-Secondary);
}

.page-cockfighting__security-list li::marker {
  color: var(--Glow);
}

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

.page-cockfighting__faq-item {
  background-color: var(--Card-B-G);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid var(--Border);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  color: var(--Text-Main);
  font-weight: 600;
  font-size: 1.15em;
  transition: background-color 0.3s ease;
  list-style: none;
}

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

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  background-color: var(--Deep-Green);
  color: var(--Glow);
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--Glow);
  transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
  padding: 0 25px 25px;
  color: var(--Text-Secondary);
  line-height: 1.6;
  font-size: 1em;
}

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

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

/* 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__hero-content {
    padding: 30px 15px;
    margin-top: 30px;
  }
  .page-cockfighting__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-cockfighting__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn {
    width: 100%;
    max-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__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  .page-cockfighting__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-cockfighting__content-area {
    padding: 40px 15px;
  }
  .page-cockfighting__grid-container,
  .page-cockfighting__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__card-image {
    height: 180px;
  }
  .page-cockfighting__card-title {
    font-size: 1.2em;
  }
  .page-cockfighting__card-text {
    font-size: 0.9em;
  }
  .page-cockfighting__guide-list li,
  .page-cockfighting__tips-list li,
  .page-cockfighting__security-list li {
    padding: 20px;
  }
  .page-cockfighting__list-title {
    font-size: 1.1em;
  }
  .page-cockfighting__list-text {
    font-size: 0.95em;
  }
  .page-cockfighting__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-cockfighting__faq-answer {
    padding: 0 20px 20px;
  }
  
  /* Mobile image responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile video responsiveness */
  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .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;
  }
  
  .page-cockfighting__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  /* Ensure all containers with images/videos/buttons are constrained */
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__button-group,
  .page-cockfighting__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: 1.8em;
  }
  .page-cockfighting__section-title {
    font-size: 1.5em;
  }
  .page-cockfighting__btn {
    font-size: 1em;
    padding: 12px 20px;
  }
  .page-cockfighting__intro-text {
    font-size: 0.95em;
  }
}