:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
}

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--text-main);
  background-color: var(--background);
  line-height: 1.6;
}

.page-cockfighting__hero-section,
.page-cockfighting__introduction-section,
.page-cockfighting__game-types-section,
.page-cockfighting__features-section,
.page-cockfighting__how-to-play-section,
.page-cockfighting__responsible-gambling-section,
.page-cockfighting__faq-section,
.page-cockfighting__cta-bottom-section {
  padding-top: 60px;
  padding-bottom: 60px;
  padding-left: 20px;
  padding-right: 20px;
}

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding for hero section */
  background: var(--background);
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Max height for hero image to prevent excessive vertical space */
  overflow: hidden;
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin-top: 30px;
  padding: 0 20px;
}

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

.page-cockfighting__hero-description {
  font-size: 1.15rem;
  color: var(--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-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

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

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

.page-cockfighting__btn-secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: translateY(-2px);
}

.page-cockfighting__btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
  min-width: unset;
}

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

.page-cockfighting__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-cockfighting__paragraph {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting__introduction-section {
  background-color: #ffffff;
  color: #333333;
}

.page-cockfighting__introduction-section .page-cockfighting__section-title {
  color: #333333;
}
.page-cockfighting__introduction-section .page-cockfighting__paragraph {
  color: #555555;
}

.page-cockfighting__game-types-section,
.page-cockfighting__how-to-play-section,
.page-cockfighting__faq-section {
  background-color: var(--background);
}

.page-cockfighting__game-types-section .page-cockfighting__section-title,
.page-cockfighting__how-to-play-section .page-cockfighting__section-title,
.page-cockfighting__faq-section .page-cockfighting__section-title {
  color: var(--text-main);
}
.page-cockfighting__game-types-section .page-cockfighting__paragraph,
.page-cockfighting__how-to-play-section .page-cockfighting__paragraph,
.page-cockfighting__faq-section .page-cockfighting__paragraph {
  color: var(--text-secondary);
}


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

.page-cockfighting__card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

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

.page-cockfighting__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  padding: 20px 20px 10px;
  color: var(--gold-color);
}

.page-cockfighting__card-description {
  font-size: 1rem;
  color: var(--text-secondary);
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-cockfighting__features-section {
  background-color: #f5f5f5;
  color: #333333;
}
.page-cockfighting__features-section .page-cockfighting__section-title {
  color: #333333;
}
.page-cockfighting__features-section .page-cockfighting__feature-title {
  color: #333333;
}
.page-cockfighting__features-section .page-cockfighting__feature-description {
  color: #555555;
}


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

.page-cockfighting__feature-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e0e0;
}

.page-cockfighting__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Enforce minimum size for desktop */
  min-height: 200px;
}

.page-cockfighting__feature-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-cockfighting__feature-description {
  font-size: 0.95rem;
  color: #666666;
}

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

.page-cockfighting__step-item {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--button-gradient);
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 0 0 5px rgba(var(--primary-color), 0.3);
}

.page-cockfighting__step-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--gold-color);
}

.page-cockfighting__step-description {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-cockfighting__responsible-gambling-section {
  background-color: #ffffff;
  color: #333333;
  text-align: center;
}
.page-cockfighting__responsible-gambling-section .page-cockfighting__section-title {
  color: #333333;
}
.page-cockfighting__responsible-gambling-section .page-cockfighting__paragraph {
  color: #555555;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.page-cockfighting__responsible-gambling-section .page-cockfighting__btn-secondary {
  margin-top: 30px;
}

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

.page-cockfighting__faq-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.page-cockfighting__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-item summary:hover {
  background-color: rgba(var(--primary-color), 0.1);
}

.page-cockfighting__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--gold-color);
  transition: transform 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  transform: rotate(45deg); /* Rotate '+' to 'x' */
}
.page-cockfighting__faq-item[open] summary .page-cockfighting__faq-toggle {
  content: "−"; /* Change to minus sign */
  transform: rotate(0deg); /* Reset rotation */
}

.page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.page-cockfighting__cta-bottom-section {
  background-color: #f5f5f5;
  color: #333333;
  text-align: center;
}
.page-cockfighting__cta-bottom-section .page-cockfighting__section-title {
  color: #333333;
}
.page-cockfighting__cta-bottom-section .page-cockfighting__paragraph {
  color: #555555;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    margin-top: 20px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section,
  .page-cockfighting__introduction-section,
  .page-cockfighting__game-types-section,
  .page-cockfighting__features-section,
  .page-cockfighting__how-to-play-section,
  .page-cockfighting__responsible-gambling-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-bottom-section {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

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

  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-cockfighting__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    min-width: unset;
    padding: 12px 20px;
    font-size: 0.95rem;
  }
  
  /* Images responsive */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__card-image {
    height: 200px; /* Adjust height for mobile cards */
  }

  .page-cockfighting__feature-icon {
    width: 80px;
    height: 80px;
    min-width: unset; /* Override desktop min-width */
    min-height: unset; /* Override desktop min-height */
  }
  
  /* Video responsive (if any, current page has no video) */
  .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__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__paragraph {
    font-size: 0.95rem;
  }

  .page-cockfighting__card-title {
    font-size: 1.3rem;
  }

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

  .page-cockfighting__step-title {
    font-size: 1.3rem;
  }

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

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