/* style/cockfighting.css */

/* General Styles */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

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

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

.page-cockfighting__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #11A84E, #22C768);
  border-radius: 2px;
}

.page-cockfighting__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
  text-align: justify;
}

.page-cockfighting__highlight {
  color: #F2C14E; /* Gold */
  font-weight: bold;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  border: none;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-cockfighting__btn-secondary {
  background: #11271B; /* Card BG */
  color: #2AD16F;
  border: 2px solid #2AD16F;
}

.page-cockfighting__btn-secondary:hover {
  background: #2AD16F;
  color: #11271B;
}

.page-cockfighting__btn-full-width {
  width: 100%;
  max-width: 400px;
  margin: 20px auto 0 auto;
  display: block;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Ensure sufficient height */
  padding: 10px 0 60px 0; /* body handles top padding, this is decorative */
  overflow: hidden;
}

.page-cockfighting__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6);
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 20px;
  background-color: rgba(17, 39, 27, 0.7); /* Card BG with transparency */
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

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

.page-cockfighting__hero-description {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Intro Section */
.page-cockfighting__intro-section {
  padding: 60px 0;
  background-color: #08160F; /* Background */
}

/* Benefits Section */
.page-cockfighting__benefits-section {
  padding: 60px 0;
  background-color: #11271B; /* Card BG */
}

.page-cockfighting__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-cockfighting__benefit-card {
  background-color: #08160F; /* Background */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #1E3A2A; /* Divider */
}

.page-cockfighting__benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(34, 199, 104, 0.4);
}

.page-cockfighting__benefit-icon {
  width: 100%;
  height: auto;
  max-width: 150px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-cockfighting__card-title {
  font-size: 1.5rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: 700;
}

.page-cockfighting__card-description {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1rem;
}

/* How-To Section */
.page-cockfighting__how-to-section {
  padding: 60px 0;
  background-color: #08160F; /* Background */
}

.page-cockfighting__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  counter-reset: step-counter;
}

.page-cockfighting__step-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  border: 1px solid #1E3A2A; /* Divider */
}

.page-cockfighting__step-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  top: -15px;
  left: 20px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.3rem;
  box-shadow: 0 2px 10px rgba(34, 199, 104, 0.5);
}

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

.page-cockfighting__step-item p {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1rem;
}

/* Types Section */
.page-cockfighting__types-section {
  padding: 60px 0;
  background-color: #11271B; /* Card BG */
}

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

.page-cockfighting__game-item {
  background-color: #08160F; /* Background */
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #1E3A2A; /* Divider */
}

.page-cockfighting__game-thumbnail {
  width: 100%;
  height: auto;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-cockfighting__game-name {
  font-size: 1.4rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-cockfighting__game-item p {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1rem;
}

/* Strategy Section */
.page-cockfighting__strategy-section {
  padding: 60px 0;
  background-color: #08160F; /* Background */
}

.page-cockfighting__strategy-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  margin-top: 30px;
}

.page-cockfighting__strategy-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #1E3A2A; /* Divider */
}

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

.page-cockfighting__strategy-item p {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1rem;
}

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

.page-cockfighting__faq-list {
  max-width: 800px;
  margin: 0 auto;
  margin-top: 30px;
}

.page-cockfighting__faq-item {
  background-color: #08160F; /* Background */
  border: 1px solid #1E3A2A; /* Divider */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  list-style: none;
  user-select: none;
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-item summary:hover {
  background-color: #1E3A2A; /* Darker Divider for hover */
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2AD16F;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  color: #F2C14E; /* Gold */
}

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

/* Conclusion Section */
.page-cockfighting__conclusion-section {
  padding: 60px 0;
  background-color: #08160F; /* Background */
  text-align: center;
}

.page-cockfighting__conclusion-section .page-cockfighting__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    padding: 15px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
  }
  .page-cockfighting__hero-description {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    min-height: 500px;
    padding-bottom: 40px;
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }
  .page-cockfighting__text-block,
  .page-cockfighting__card-description,
  .page-cockfighting__step-item p,
  .page-cockfighting__game-item p,
  .page-cockfighting__strategy-item p,
  .page-cockfighting__faq-answer {
    font-size: 1rem;
  }

  /* Mobile image responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Mobile button responsiveness */
  .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: 12px 15px !important;
  }

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

  /* Container padding for mobile */
  .page-cockfighting__container,
  .page-cockfighting__hero-content,
  .page-cockfighting__benefits-grid,
  .page-cockfighting__steps,
  .page-cockfighting__game-list,
  .page-cockfighting__strategy-list,
  .page-cockfighting__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-cockfighting__hero-section {
    padding-top: 10px !important;
  }
  .page-cockfighting__benefit-icon,
  .page-cockfighting__game-thumbnail {
    min-width: 250px !important; /* Ensure min size for content images */
    min-height: 250px !important;
  }
  .page-cockfighting__benefit-card,
  .page-cockfighting__step-item,
  .page-cockfighting__game-item,
  .page-cockfighting__strategy-item,
  .page-cockfighting__faq-item {
    padding: 20px;
  }
  .page-cockfighting__faq-item summary {
    padding: 15px 20px;
  }
  .page-cockfighting__faq-answer {
    padding: 0 20px 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-section {
    min-height: 400px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .page-cockfighting__hero-description {
    font-size: 1rem;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    font-size: 1rem;
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.3rem, 7vw, 2rem);
  }
  .page-cockfighting__text-block {
    font-size: 0.95rem;
  }
  .page-cockfighting__benefit-icon,
  .page-cockfighting__game-thumbnail {
    min-width: 200px !important; /* Ensure min size for content images */
    min-height: 200px !important;
  }
}