/* style/cockfighting.css */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Inherited from shared.css, ensuring contrast */
}

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

.page-cockfighting__section-title {
  color: #FFD700;
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #f0f0f0;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 700px;
  background-color: #0A2463; /* Main brand color for hero */
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  box-sizing: border-box;
}

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

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
}

.page-cockfighting__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700;
  line-height: 1.2;
}

.page-cockfighting__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-cockfighting__btn-primary {
  background-color: #FFD700;
  color: #0A2463;
  border: 2px solid #FFD700;
}

.page-cockfighting__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A2463;
}

/* Introduction Section */
.page-cockfighting__introduction-section {
  background-color: #ffffff;
  color: #333333;
  padding: 60px 0;
}

.page-cockfighting__introduction-section .page-cockfighting__section-title {
  color: #0A2463;
}

.page-cockfighting__introduction-section .page-cockfighting__text-block {
  color: #333333;
}

/* Video Section */
.page-cockfighting__video-section {
  background-color: #0A2463;
  padding: 60px 0;
  text-align: center;
}

.page-cockfighting__video-wrapper {
  max-width: 800px;
  margin: 30px auto;
  background-color: #000;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  box-sizing: border-box;
}

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

/* Bet Types Section */
.page-cockfighting__bet-types-section {
  background-color: #f5f5f5;
  color: #333333;
  padding: 60px 0;
}

.page-cockfighting__bet-types-section .page-cockfighting__section-title {
  color: #0A2463;
}

.page-cockfighting__bet-types-section .page-cockfighting__text-block {
  color: #333333;
}

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

.page-cockfighting__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease;
  color: #333333;
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
}

.page-cockfighting__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px;
}

.page-cockfighting__card-title {
  font-size: 1.5em;
  color: #0A2463;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__card-text {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

/* Guide Section */
.page-cockfighting__guide-section {
  background-color: #0A2463;
  padding: 60px 0;
}

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

.page-cockfighting__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  color: #ffffff;
}

.page-cockfighting__step-icon {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background-color: #FFD700;
  color: #0A2463;
  border-radius: 50%;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px auto;
}

.page-cockfighting__step-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-cockfighting__step-text {
  font-size: 1em;
  line-height: 1.6;
}

.page-cockfighting__guide-cta {
  text-align: center;
  margin-top: 40px;
}

/* Advantages Section */
.page-cockfighting__advantages-section {
  background-color: #ffffff;
  color: #333333;
  padding: 60px 0;
}

.page-cockfighting__advantages-section .page-cockfighting__section-title {
  color: #0A2463;
}

.page-cockfighting__advantages-section .page-cockfighting__text-block {
  color: #333333;
}

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

.page-cockfighting__advantage-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-cockfighting__advantage-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
  min-width: 200px; /* Ensure minimum size for content images */
  min-height: 200px;
  width: 200px; /* Display size, not generation size */
  height: 150px; /* Display size, not generation size */
}

.page-cockfighting__advantage-title {
  font-size: 1.4em;
  color: #0A2463;
  margin-bottom: 10px;
}

.page-cockfighting__advantage-text {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

/* Strategies Section */
.page-cockfighting__strategies-section {
  background-color: #0A2463;
  padding: 60px 0;
}

.page-cockfighting__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__strategy-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #FFD700;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  color: #ffffff;
}

.page-cockfighting__strategy-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-cockfighting__strategy-text {
  font-size: 1em;
  line-height: 1.7;
}

/* Promotions Section */
.page-cockfighting__promotions-section {
  background-color: #f5f5f5;
  color: #333333;
  padding: 60px 0;
}

.page-cockfighting__promotions-section .page-cockfighting__section-title {
  color: #0A2463;
}

.page-cockfighting__promotions-section .page-cockfighting__text-block {
  color: #333333;
}

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

.page-cockfighting__promo-cards .page-cockfighting__card {
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__promo-cards .page-cockfighting__card-image {
  height: 200px; /* Fixed height for consistency */
  margin-bottom: 20px;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px;
}

.page-cockfighting__promo-cards .page-cockfighting__card-title {
  color: #0A2463;
  margin-bottom: 15px;
}

.page-cockfighting__promo-cards .page-cockfighting__card-text {
  color: #555555;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-cockfighting__promo-cards .page-cockfighting__btn-primary {
  margin-top: auto; /* Push button to bottom */
  width: auto;
  padding: 10px 20px;
  font-size: 1em;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  background-color: #0A2463;
  padding: 60px 0;
}

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

.page-cockfighting__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #FFD700;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

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

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

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-cockfighting__faq-answer p {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 2.8em;
  }
  .page-cockfighting__hero-description {
    font-size: 1.2em;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__card-image, .page-cockfighting__promo-cards .page-cockfighting__card-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-cockfighting__hero-section {
    min-height: 500px;
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
  }
  .page-cockfighting__hero-title {
    font-size: 2.2em;
  }
  .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: 12px 20px;
    font-size: 1em;
  }
  .page-cockfighting__content-area {
    padding: 30px 15px;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-cockfighting__text-block {
    font-size: 0.95em;
  }
  .page-cockfighting__video-wrapper {
    margin-left: 15px;
    margin-right: 15px;
    width: auto !important;
    max-width: calc(100% - 30px) !important;
  }
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting video, .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper,
  .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;
    overflow: hidden !important;
  }
  .page-cockfighting__promo-cards .page-cockfighting__card-image,
  .page-cockfighting__card-image {
    height: auto; /* Allow auto height for better mobile scaling */
    min-height: 200px; /* Maintain minimum size */
    max-height: 300px; /* Prevent excessively tall images */
  }
  .page-cockfighting__advantage-icon {
    min-width: 150px;
    width: 150px;
    height: auto;
  }
  .page-cockfighting__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-cockfighting__faq-answer {
    padding: 0 20px;
  }
  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-title {
    font-size: 1.8em;
  }
  .page-cockfighting__section-title {
    font-size: 1.5em;
  }
  .page-cockfighting__text-block {
    font-size: 0.9em;
  }
  .page-cockfighting__card-title {
    font-size: 1.3em;
  }
  .page-cockfighting__step-title {
    font-size: 1.2em;
  }
  .page-cockfighting__faq-question {
    font-size: 1em;
  }
}