.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: #f9f9f9; /* Light background for the page */
}

/* Hero Section */
.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, main offset handled by body */
  background: linear-gradient(135deg, #26A9E0, #34B7F1); /* Gradient background for visual appeal */
  color: #ffffff;
  overflow: hidden;
}

.page-cockfighting__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Ensure full width on desktop */
}

.page-cockfighting__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-cockfighting__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-cockfighting__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #e0f7fa;
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: #EA7C07; /* Login button color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.15rem;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-cockfighting__cta-button:hover {
  background: #d46c06;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__cta-button--dark {
  background: #26A9E0;
}

.page-cockfighting__cta-button--dark:hover {
  background: #1e88e5;
}

/* General Section Styling */
.page-cockfighting__section {
  padding: 80px 20px;
  background-color: #ffffff;
  border-bottom: 1px solid #eeeeee;
}

.page-cockfighting__section:last-of-type {
  border-bottom: none;
}

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

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-cockfighting__intro-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

/* How-To-Play Section */
.page-cockfighting__how-to-play-section {
  background-color: #f0f8ff; /* Light background */
}

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

.page-cockfighting__step-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-cockfighting__step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__step-card img {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  max-width: 100%;
  display: block;
}

.page-cockfighting__step-card h3 {
  font-size: 1.5rem;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-cockfighting__step-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: #555555;
}

.page-cockfighting__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
  flex-wrap: wrap;
}

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

.page-cockfighting__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-cockfighting__btn-primary:hover {
  background: #1e88e5;
  border-color: #1e88e5;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-cockfighting__btn-secondary:hover {
  background: #f0f8ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Advantages Section */
.page-cockfighting__advantages-section {
  background-color: #ffffff;
}

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

.page-cockfighting__advantage-list li {
  display: flex;
  align-items: center;
  background: #f0f8ff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333333;
  transition: transform 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-cockfighting__advantage-list li:hover {
  transform: translateX(5px);
}

.page-cockfighting__advantage-list li img {
  
  
  margin-right: 15px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  background: #26A9E0;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-cockfighting__advantage-list li strong {
  color: #26A9E0;
}

/* Tips Section */
.page-cockfighting__tips-section {
  background: linear-gradient(135deg, #26A9E0, #1e88e5); /* Darker background */
  color: #ffffff;
}

.page-cockfighting__tips-section .page-cockfighting__section-title {
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__tips-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #e0f7fa;
}

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

.page-cockfighting__tip-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-cockfighting__tip-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.page-cockfighting__tip-card h3 {
  font-size: 1.4rem;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-cockfighting__tip-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: #555555;
  text-align: left;
}

/* Promotions Section */
.page-cockfighting__promotions-section {
  background-color: #f0f8ff;
}

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

.page-cockfighting__promo-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-cockfighting__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__promo-card img {
  width: 100%;
  height: 280px; /* Consistent image height for cards */
  object-fit: cover;
  display: block;
  max-width: 100%;
}

.page-cockfighting__promo-card h3 {
  font-size: 1.4rem;
  color: #26A9E0;
  padding: 20px 20px 10px;
}

.page-cockfighting__promo-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: #555555;
  padding: 0 20px 20px;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  background-color: #ffffff;
}

.page-cockfighting__faq-list {
  margin-top: 40px;
}

details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question::-webkit-details-marker {
  display: none;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question:hover {
  background: #f5f5f5;
}
.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-cockfighting__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #26A9E0;
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 25px 25px;
  background: #f9f9f9;
  border-radius: 0 0 10px 10px;
  font-size: 1rem;
  line-height: 1.7;
  color: #555555;
}

/* Bottom CTA Section */
.page-cockfighting__cta-bottom-section {
  background: linear-gradient(135deg, #26A9E0, #1e88e5);
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

.page-cockfighting__cta-bottom-content {
  max-width: 900px;
}

.page-cockfighting__cta-bottom-section .page-cockfighting__section-title {
  color: #ffffff;
  margin-bottom: 25px;
}

.page-cockfighting__cta-bottom-section p {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 40px;
  color: #e0f7fa;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-section {
    padding: 50px 15px;
    padding-top: 10px;
  }
  .page-cockfighting__section {
    padding: 60px 15px;
  }
  .page-cockfighting__step-card img,
  .page-cockfighting__promo-card img {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-top: 10px !important; /* Ensure small top padding on mobile */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-cockfighting__hero-image {
    margin-bottom: 20px;
  }

  .page-cockfighting__hero-image img {
    border-radius: 8px;
  }

  .page-cockfighting__main-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }

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

  .page-cockfighting__cta-button {
    padding: 15px 30px;
    font-size: 1rem;
  }

  .page-cockfighting__section {
    padding: 40px 15px;
  }

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

  .page-cockfighting__intro-section p,
  .page-cockfighting__tips-section p,
  .page-cockfighting__promo-card p,
  .page-cockfighting__faq-answer p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .page-cockfighting__steps-grid,
  .page-cockfighting__advantage-list,
  .page-cockfighting__tips-grid,
  .page-cockfighting__promo-cards {
    gap: 20px;
  }

  .page-cockfighting__step-card,
  .page-cockfighting__tip-card,
  .page-cockfighting__promo-card {
    padding: 20px;
  }

  .page-cockfighting__step-card img,
  .page-cockfighting__promo-card img {
    
  }

  .page-cockfighting__step-card h3,
  .page-cockfighting__tip-card h3,
  .page-cockfighting__promo-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
  }

  .page-cockfighting__advantage-list li {
    font-size: 1rem;
    padding: 15px;
  }

  .page-cockfighting__advantage-list li img {
    
    
    margin-right: 10px;
  }

  .page-cockfighting__button-group {
    flex-direction: column;
    gap: 15px;
    margin-top: 40px;
  }

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

  details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
    padding: 15px 20px;
  }

  .page-cockfighting__faq-qtext {
    font-size: 1rem;
  }

  .page-cockfighting__faq-toggle {
    font-size: 24px;
    margin-left: 15px;
    width: 25px;
  }

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

  .page-cockfighting__cta-bottom-section {
    padding: 50px 15px;
  }

  .page-cockfighting__cta-bottom-section .page-cockfighting__section-title {
    font-size: 1.8rem;
  }

  .page-cockfighting__cta-bottom-section p {
    font-size: 1rem;
  }

  /* Mobile image and container overflow fix */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-container,
  .page-cockfighting__promo-card,
  .page-cockfighting__step-card,
  .page-cockfighting__tip-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__hero-container {
    padding-left: 0;
    padding-right: 0;
  }
  .page-cockfighting__hero-image {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__button-group {
    padding-left: 15px;
    padding-right: 15px;
  }
  .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-wrap: wrap !important;
    gap: 10px;
  }
}