/* style/cockfighting.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-dark: #0a0a0a;
  --bg-light: #f8f9fa;
  --btn-login-color: #EA7C07;
}

.page-cockfighting {
  color: var(--text-light); /* Body background is dark, so use light text */
  background-color: var(--bg-dark);
}

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

.page-cockfighting__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
  display: block;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-light);
}

.page-cockfighting__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--secondary-color);
}

.page-cockfighting__description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--secondary-color);
}

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

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

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

.page-cockfighting__btn-primary:hover {
  background-color: darken(var(--primary-color), 10%);
  border-color: darken(var(--primary-color), 10%);
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-cockfighting__btn-login {
  background-color: var(--btn-login-color);
  border-color: var(--btn-login-color);
  color: var(--text-light);
}

.page-cockfighting__btn-login:hover {
  background-color: darken(var(--btn-login-color), 10%);
  border-color: darken(var(--btn-login-color), 10%);
}

.page-cockfighting__video-section {
  padding: 80px 20px;
  text-align: center;
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-cockfighting__video-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
}

.page-cockfighting__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin-top: 30px;
  cursor: pointer;
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--primary-color);
}

.page-cockfighting__text-block {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--text-dark);
}

.page-cockfighting__features-section,
.page-cockfighting__guide-section,
.page-cockfighting__commitment-section,
.page-cockfighting__final-cta {
  padding: 80px 20px;
  text-align: center;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-cockfighting__features-section .page-cockfighting__section-title,
.page-cockfighting__guide-section .page-cockfighting__section-title,
.page-cockfighting__commitment-section .page-cockfighting__section-title,
.page-cockfighting__final-cta .page-cockfighting__section-title {
  color: var(--secondary-color);
}

.page-cockfighting__features-section .page-cockfighting__description,
.page-cockfighting__guide-section .page-cockfighting__description,
.page-cockfighting__commitment-section .page-cockfighting__description,
.page-cockfighting__final-cta .page-cockfighting__description {
  color: var(--secondary-color);
}

.page-cockfighting__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto 0 auto;
}

.page-cockfighting__feature-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-light);
}

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

.page-cockfighting__feature-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Min size constraint */
  min-height: 200px; /* Min size constraint */
}

.page-cockfighting__feature-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-cockfighting__feature-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--secondary-color);
}

.page-cockfighting__types-section,
.page-cockfighting__tips-section,
.page-cockfighting__faq-section {
  padding: 80px 20px;
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-cockfighting__content-area {
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

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

.page-cockfighting__type-item,
.page-cockfighting__tip-card {
  background: var(--secondary-color);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  color: var(--text-dark);
}

.page-cockfighting__type-item:hover,
.page-cockfighting__tip-card:hover {
  transform: translateY(-5px);
}

.page-cockfighting__type-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-bottom: 15px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Min size constraint */
  min-height: 200px; /* Min size constraint */
}

.page-cockfighting__type-title,
.page-cockfighting__tip-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-cockfighting__type-description,
.page-cockfighting__tip-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-dark);
}

.page-cockfighting__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__guide-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  margin-bottom: 20px;
  border-radius: 12px;
  text-align: left;
  color: var(--text-light);
}

.page-cockfighting__guide-step-title {
  font-size: 1.6rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-cockfighting__guide-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.page-cockfighting__guide-item .page-cockfighting__btn-primary,
.page-cockfighting__guide-item .page-cockfighting__btn-secondary {
  margin-top: 10px;
}

.page-cockfighting__commitment-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 40px auto;
}

.page-cockfighting__commitment-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  color: var(--text-light);
}

.page-cockfighting__commitment-title {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-cockfighting__commitment-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--secondary-color);
}

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

.page-cockfighting__faq-item {
  background: var(--secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-dark);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  background: #fdfdfd;
  border-bottom: 1px solid #e0e0e0;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  border-bottom: 1px solid #e0e0e0;
}

.page-cockfighting__faq-qtext {
  flex-grow: 1;
  pointer-events: none; /* Prevent summary click from being blocked by inner elements */
}

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--primary-color);
  transition: transform 0.3s ease;
  pointer-events: none; /* Prevent summary click from being blocked by inner elements */
}

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

.page-cockfighting__faq-answer {
  padding: 15px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
  background: #ffffff;
}

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

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

.page-cockfighting__final-cta {
  padding-top: 60px;
  padding-bottom: 100px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    max-width: 700px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-cockfighting__description {
    font-size: 1rem;
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
  }

  .page-cockfighting__hero-section,
  .page-cockfighting__video-section,
  .page-cockfighting__features-section,
  .page-cockfighting__types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__commitment-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__final-cta {
    padding: 40px 15px;
  }

  /* 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: 0;
    padding-right: 0;
    overflow: hidden !important;
  }

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

  /* Mobile button responsiveness */
  .page-cockfighting__cta-button,
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting a[class*="button"],
  .page-cockfighting a[class*="btn"] {
    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__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;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px;
  }

  .page-cockfighting__content-area,
  .page-cockfighting__features-grid,
  .page-cockfighting__type-list,
  .page-cockfighting__tips-grid,
  .page-cockfighting__guide-list,
  .page-cockfighting__commitment-items,
  .page-cockfighting__faq-list {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__feature-card,
  .page-cockfighting__type-item,
  .page-cockfighting__tip-card,
  .page-cockfighting__guide-item,
  .page-cockfighting__commitment-item {
    padding: 20px;
  }

  .page-cockfighting__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-cockfighting__faq-answer {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
}