/* style/cockfighting.css */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light body background */
  background-color: #f4f4f4; /* From shared.css body background */
}

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  background-color: #08160F; /* Custom Background */
  color: #F2FFF6; /* Custom Text Main */
  overflow: hidden;
}

.page-cockfighting__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle overlay */
  z-index: 0;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-cockfighting__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #F2FFF6; /* Custom Text Main */
  margin-bottom: 20px;
}

.page-cockfighting__description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #A7D9B8; /* Custom Text Secondary */
  margin-bottom: 30px;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom Button Color */
  color: #F2FFF6; /* Custom Text Main */
  border: none;
}

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
  background: transparent;
  color: #57E38D; /* Custom Glow */
  border: 2px solid #57E38D; /* Custom Glow */
}

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

.page-cockfighting__introduction-section,
.page-cockfighting__rules-section,
.page-cockfighting__features-section,
.page-cockfighting__responsible-gaming-section,
.page-cockfighting__cta-bottom-section {
  background-color: #f4f4f4; /* Light background from body */
  color: #333333; /* Dark text for contrast */
}

.page-cockfighting__bet-types-section,
.page-cockfighting__strategies-section,
.page-cockfighting__promotions-section,
.page-cockfighting__faq-section {
  background-color: #08160F; /* Custom Background */
  color: #F2FFF6; /* Custom Text Main */
}

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

.page-cockfighting__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: inherit;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-cockfighting__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #2AD16F, #13994A);
  margin: 15px auto 0 auto;
  border-radius: 2px;
}

.page-cockfighting__content-area {
  font-size: 1rem;
  line-height: 1.7;
}

.page-cockfighting__content-area p {
  margin-bottom: 15px;
  color: inherit;
}

.page-cockfighting__image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-cockfighting__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-cockfighting__list-item {
  background-color: #11271B; /* Custom Card BG */
  border-left: 5px solid #2AD16F;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  color: #F2FFF6; /* Custom Text Main */
}

.page-cockfighting__list-item:nth-child(even) {
  border-left-color: #22C768;
}

.page-cockfighting__list-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #F2FFF6; /* Custom Text Main */
  margin-top: 0;
  margin-bottom: 10px;
}

.page-cockfighting__list-item p {
  color: #A7D9B8; /* Custom Text Secondary */
}

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

.page-cockfighting__card {
  background-color: #11271B; /* Custom Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  color: #F2FFF6; /* Custom Text Main */
}

.page-cockfighting__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-cockfighting__card-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #F2FFF6; /* Custom Text Main */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-cockfighting__card p {
  font-size: 0.95rem;
  color: #A7D9B8; /* Custom Text Secondary */
  padding: 0 15px;
}

.page-cockfighting__icon-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

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

.page-cockfighting__icon {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
  min-width: 200px; /* Enforce min size, but smaller icons are used for purpose here */
  min-height: 200px; /* Enforce min size */
  width: 200px; /* Override icon size to meet 200px min requirement */
  height: 200px; /* Override icon size to meet 200px min requirement */
}

.page-cockfighting__icon-list-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #11A84E;
  margin-bottom: 10px;
}

.page-cockfighting__icon-list-item p {
  font-size: 0.9rem;
  color: #555555;
}

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

.page-cockfighting__promo-card {
  background-color: #11271B; /* Custom Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  color: #F2FFF6; /* Custom Text Main */
  display: flex;
  flex-direction: column;
}

.page-cockfighting__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-cockfighting__promo-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #F2FFF6; /* Custom Text Main */
  margin-bottom: 10px;
  padding: 0 15px;
  flex-grow: 1;
}

.page-cockfighting__promo-card p {
  font-size: 0.95rem;
  color: #A7D9B8; /* Custom Text Secondary */
  padding: 0 15px;
  flex-grow: 1;
}

.page-cockfighting__promo-card .page-cockfighting__btn-secondary {
  margin-top: auto; /* Push button to bottom */
  align-self: center;
}

.page-cockfighting__responsible-gaming-section .page-cockfighting__list {
  list-style: disc;
  padding-left: 20px;
  color: #333333;
}

.page-cockfighting__responsible-gaming-section .page-cockfighting__list-strong {
  color: #11A84E;
}

.page-cockfighting__faq-item {
  background-color: #11271B; /* Custom Card BG */
  border: 1px solid #2E7A4E; /* Custom Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6; /* Custom Text Main */
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: #F2FFF6; /* Custom Text Main */
  background-color: #11271B; /* Custom Card BG */
  user-select: none;
}

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

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

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #57E38D; /* Custom Glow */
}

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

.page-cockfighting__faq-answer {
  padding: 0 20px 18px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #A7D9B8; /* Custom Text Secondary */
}

.page-cockfighting__cta-bottom-section {
  text-align: center;
  padding-bottom: 60px;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-cockfighting__hero-section {
    padding: 40px 15px;
  }

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

  .page-cockfighting__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }

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

  .page-cockfighting__cards-grid,
  .page-cockfighting__icon-list,
  .page-cockfighting__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 30px 15px;
    padding-top: 10px !important;
  }

  .page-cockfighting__main-title {
    font-size: 2.2rem;
  }

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

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

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

  .page-cockfighting__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .page-cockfighting__container {
    padding: 20px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Image responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-cockfighting__icon {
    width: 200px !important;
    height: 200px !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* Video responsiveness (if any, though not explicitly in HTML for this page) */
  .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;
  }

  .page-cockfighting__content-area,
  .page-cockfighting__card,
  .page-cockfighting__promo-card,
  .page-cockfighting__icon-list-item,
  .page-cockfighting__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__cards-grid,
  .page-cockfighting__icon-list,
  .page-cockfighting__promo-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .page-cockfighting__list-item {
    padding: 15px;
  }

  .page-cockfighting__list-title {
    font-size: 1.2rem;
  }

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

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

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: 1.8rem;
  }

  .page-cockfighting__section-title {
    font-size: 1.6rem;
  }

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

  .page-cockfighting__cta-buttons {
    gap: 8px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  .page-cockfighting__cards-grid,
  .page-cockfighting__icon-list,
  .page-cockfighting__promo-grid {
    gap: 10px;
  }

  .page-cockfighting__card-image,
  .page-cockfighting__promo-image {
    height: 180px;
  }

  .page-cockfighting__card-title,
  .page-cockfighting__promo-title {
    font-size: 1.1rem;
  }

  .page-cockfighting__icon-list-title {
    font-size: 1.1rem;
  }
}